public class NDArrayPublisher
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DIRECT_ROUTE |
static java.lang.String |
NDARRAY_TYPE |
Constructor and Description |
---|
NDArrayPublisher() |
Modifier and Type | Method and Description |
---|---|
void |
publish(org.nd4j.linalg.api.ndarray.INDArray arr)
Publish an ndarray
|
void |
publish(org.nd4j.linalg.api.ndarray.INDArray[] arr)
Publish an ndarray
|
void |
start()
Start the publisher
|
public static final java.lang.String DIRECT_ROUTE
public static final java.lang.String NDARRAY_TYPE
public void publish(org.nd4j.linalg.api.ndarray.INDArray[] arr) throws java.lang.Exception
arr
- the ndarray to publishjava.lang.Exception
public void publish(org.nd4j.linalg.api.ndarray.INDArray arr) throws java.lang.Exception
arr
- the ndarray to publishjava.lang.Exception
public void start() throws java.lang.Exception
java.lang.Exception