public class DefaultOpExecutioner extends Object implements OpExecutioner
OpExecutioner.ExecutionMode| Modifier and Type | Field and Description |
|---|---|
protected OpExecutioner.ExecutionMode |
executionMode |
| Constructor and Description |
|---|
DefaultOpExecutioner() |
| Modifier and Type | Method and Description |
|---|---|
INDArray |
exec(Accumulation op,
int... dimension)
Execute an accumulation along one or more dimensions
|
INDArray |
exec(BroadcastOp broadcast,
int... dimension)
Execute an broadcast along one or more dimensions
|
INDArray |
exec(IndexAccumulation op,
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
|
INDArray |
exec(Variance accumulation,
boolean biasCorrected,
int... dimension)
Execute an accumulation along one or more dimensions
|
Accumulation |
execAndReturn(Accumulation op)
Execute and return the result from an accumulation
|
INDArray |
execAndReturn(BroadcastOp op)
Execute and return the result from a vector op
|
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(TransformOp op)
Execute a TransformOp and return the result
|
Accumulation |
execAndReturn(Variance op,
boolean biasCorrected)
Execute and return the result from an accumulation
|
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
|
void |
setExecutionMode(OpExecutioner.ExecutionMode executionMode)
Set the execution mode
|
protected OpExecutioner.ExecutionMode executionMode
public Op exec(Op op)
OpExecutionerexec in interface OpExecutionerop - the operation to executepublic INDArray execAndReturn(Op op)
OpExecutionerexecAndReturn in interface OpExecutionerop - the operation to executepublic void iterateOverAllRows(Op op)
OpExecutioneriterateOverAllRows in interface OpExecutionerop - the operation to applypublic void iterateOverAllColumns(Op op)
OpExecutioneriterateOverAllColumns in interface OpExecutionerop - the operation to applypublic INDArray execAndReturn(TransformOp op)
OpExecutionerexecAndReturn in interface OpExecutionerop - the operation to executepublic Accumulation execAndReturn(Accumulation op)
OpExecutionerexecAndReturn in interface OpExecutionerop - the operation to executepublic Accumulation execAndReturn(Variance op, boolean biasCorrected)
OpExecutionerexecAndReturn in interface OpExecutionerop - the operation to executepublic INDArray execAndReturn(ScalarOp op)
OpExecutionerexecAndReturn in interface OpExecutionerop - the operation to executepublic IndexAccumulation execAndReturn(IndexAccumulation op)
OpExecutionerexecAndReturn in interface OpExecutionerop - the index accumulation operation to executepublic INDArray execAndReturn(BroadcastOp op)
OpExecutionerexecAndReturn in interface OpExecutionerpublic Op exec(Op op, int... dimension)
OpExecutionerexec in interface OpExecutionerop - the operation to executepublic INDArray exec(Accumulation op, int... dimension)
OpExecutionerexec in interface OpExecutionerop - the accumulationdimension - the dimensionpublic INDArray exec(Variance accumulation, boolean biasCorrected, int... dimension)
OpExecutionerexec in interface OpExecutioneraccumulation - the accumulationdimension - the dimensionpublic INDArray exec(IndexAccumulation op, int... dimension)
OpExecutionerexec in interface OpExecutionerop - the index accumulation operationdimension - the dimension/s to execute alongpublic OpExecutioner.ExecutionMode executionMode()
OpExecutionerexecutionMode in interface OpExecutionerpublic void setExecutionMode(OpExecutioner.ExecutionMode executionMode)
OpExecutionersetExecutionMode in interface OpExecutionerexecutionMode - the execution modepublic INDArray exec(BroadcastOp broadcast, int... dimension)
OpExecutionerexec in interface OpExecutionerbroadcast - the accumulationdimension - the dimensionCopyright © 2016. All Rights Reserved.