public interface OpExecutioner
Modifier and Type | Interface and Description |
---|---|
static class |
OpExecutioner.ExecutionMode |
Modifier and Type | Method and Description |
---|---|
INDArray |
exec(Accumulation accumulation,
int... dimension)
Execute an accumulation along one or more dimensions
|
INDArray |
exec(IndexAccumulation indexAccum,
int... dimension)
Execute an index accumulation along one or more dimensions
|
Op |
exec(Op op)
Execute the operation
|
Op |
exec(Op op,
int... dimension)
Execute the operation along 1 or more dimensions
|
Accumulation |
execAndReturn(Accumulation op)
Execute and return the result from an accumulation
|
IndexAccumulation |
execAndReturn(IndexAccumulation op)
Execute and return the result from an index accumulation
|
INDArray |
execAndReturn(Op op)
Execute and return a result
ndarray from the given op
|
INDArray |
execAndReturn(ScalarOp op)
Execute and return the result from a scalar op
|
INDArray |
execAndReturn(ScalarOp op,
int... dimension)
Execute and return the result from an scalar op
|
INDArray |
execAndReturn(TransformOp op)
Execute a TransformOp and return the result
|
INDArray |
execAndReturn(TransformOp op,
int... dimension)
Execute a transform operation along one or more dimensions
|
INDArray |
execAndReturn(VectorOp op)
Execute and return the result from a vector op
|
OpExecutioner.ExecutionMode |
executionMode()
Get the execution mode for this
execuioner
|
void |
iterateOverAllColumns(Op op)
Iterate over every column of every slice
|
void |
iterateOverAllRows(Op op)
Iterate over every row of every slice
|
ParallelExecutioner |
parallelExecutioner() |
void |
setExecutionMode(OpExecutioner.ExecutionMode executionMode)
Set the execution mode
|
ParallelExecutioner parallelExecutioner()
void iterateOverAllRows(Op op)
op
- the operation to applyvoid iterateOverAllColumns(Op op)
op
- the operation to applyINDArray execAndReturn(TransformOp op)
op
- the operation to executeAccumulation execAndReturn(Accumulation op)
op
- the operation to executeIndexAccumulation execAndReturn(IndexAccumulation op)
op
- the index accumulation operation to executeINDArray execAndReturn(ScalarOp op)
op
- the operation to executeOp exec(Op op, int... dimension)
op
- the operation to executeINDArray exec(Accumulation accumulation, int... dimension)
accumulation
- the accumulationdimension
- the dimensionINDArray exec(IndexAccumulation indexAccum, int... dimension)
indexAccum
- the index accumulation operationdimension
- the dimension/s to execute alongINDArray execAndReturn(TransformOp op, int... dimension)
op
- the operation to executeINDArray execAndReturn(Op op)
op
- the operation to executeINDArray execAndReturn(ScalarOp op, int... dimension)
op
- the operation to executeOpExecutioner.ExecutionMode executionMode()
void setExecutionMode(OpExecutioner.ExecutionMode executionMode)
executionMode
- the execution modeCopyright © 2015. All Rights Reserved.