Interface GridExecutioner
-
- All Superinterfaces:
OpExecutioner
public interface GridExecutioner extends OpExecutioner
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.nd4j.linalg.api.ops.executioner.OpExecutioner
OpExecutioner.ExecutionerType, OpExecutioner.ProfilingMode
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
aggregate(Aggregate op)
This method enqueues aggregate op for future invocationvoid
aggregate(Aggregate op, long key)
This method enqueues aggregate op for future invocation.void
flushQueue()
This method forces all currently enqueued ops to be executed immediately PLEASE NOTE: This call CAN be non-blocking, if specific backend implementation supports that.void
flushQueueBlocking()
This method forces all currently enqueued ops to be executed immediately PLEASE NOTE: This call is always blocking, until all queued operations are finishedint
getQueueLength()
This method returns number of operations currently enqueued for execution-
Methods inherited from interface org.nd4j.linalg.api.ops.executioner.OpExecutioner
allocateOutputArrays, bitmapDecode, bitmapEncode, bitmapEncode, buildContext, calculateOutputShape, calculateOutputShape, commit, createConstantBuffer, createConstantBuffer, createConstantBuffer, createConstantBuffer, createShapeInfo, createShapeInfo, enableDebugMode, enableVerboseMode, exec, exec, exec, exec, exec, exec, exec, exec, exec, exec, exec, exec, exec, exec, exec, exec, execAndReturn, execAndReturn, execAndReturn, execAndReturn, execAndReturn, execAndReturn, execAndReturn, execAndReturn, executeGraph, forgetGraph, getCustomOperations, getEnvironmentInformation, getLastOp, getProfilingMode, getString, getTADManager, inspectArray, isDebug, isExperimentalMode, isVerbose, printEnvironmentInformation, push, registerGraph, scatterUpdate, setElementsThreshold, setProfilingConfig, setProfilingMode, setTadThreshold, tadShapeInfoAndOffsets, thresholdDecode, thresholdEncode, thresholdEncode, type, useCount
-
-
-
-
Method Detail
-
flushQueue
void flushQueue()
This method forces all currently enqueued ops to be executed immediately PLEASE NOTE: This call CAN be non-blocking, if specific backend implementation supports that.
-
flushQueueBlocking
void flushQueueBlocking()
This method forces all currently enqueued ops to be executed immediately PLEASE NOTE: This call is always blocking, until all queued operations are finished
-
getQueueLength
int getQueueLength()
This method returns number of operations currently enqueued for execution- Returns:
-
aggregate
void aggregate(Aggregate op)
This method enqueues aggregate op for future invocation- Parameters:
op
-
-
aggregate
void aggregate(Aggregate op, long key)
This method enqueues aggregate op for future invocation. Key value will be used to batch individual ops- Parameters:
op
-key
-
-
-