public class NDArrayConsumer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DIRECT_ROUTE |
Constructor and Description |
---|
NDArrayConsumer() |
Modifier and Type | Method and Description |
---|---|
org.nd4j.linalg.api.ndarray.INDArray[] |
getArrays()
Receive an ndarray from the queue
|
org.nd4j.linalg.api.ndarray.INDArray |
getINDArray() |
void |
start()
Start the consumer
|
public static final java.lang.String DIRECT_ROUTE
public void start() throws java.lang.Exception
java.lang.Exception
public org.nd4j.linalg.api.ndarray.INDArray[] getArrays() throws java.lang.Exception
java.lang.Exception
public org.nd4j.linalg.api.ndarray.INDArray getINDArray() throws java.lang.Exception
java.lang.Exception