public class DefaultOpExecutioner extends Object implements OpExecutioner
Constructor and Description |
---|
DefaultOpExecutioner() |
Modifier and Type | Method and Description |
---|---|
INDArray |
exec(Accumulation op,
int dimension)
Execute an accumulation along a dimension
|
Op |
exec(Op op)
Execute the operation
|
Op |
exec(Op op,
int dimension)
Execute the operation
|
Accumulation |
execAndReturn(Accumulation op)
Execute and return the result from an accumulation
|
INDArray |
execAndReturn(ScalarOp op)
Execute and return the result from an accumulation
|
INDArray |
execAndReturn(ScalarOp op,
int dimension)
Execute and return the result from an accumulation
|
INDArray |
execAndReturn(TransformOp op)
Execute the operation
|
INDArray |
execAndReturn(TransformOp op,
int dimension)
Execute the operation
|
void |
iterateOverAllColumns(Op op)
Iterate over every column of every slice
|
void |
iterateOverAllRows(Op op)
Iterate over every row of every slice
|
public Op exec(Op op)
OpExecutioner
exec
in interface OpExecutioner
op
- the operation to executepublic void iterateOverAllRows(Op op)
OpExecutioner
iterateOverAllRows
in interface OpExecutioner
op
- the operation to applypublic void iterateOverAllColumns(Op op)
OpExecutioner
iterateOverAllColumns
in interface OpExecutioner
op
- the operation to applypublic INDArray execAndReturn(TransformOp op)
OpExecutioner
execAndReturn
in interface OpExecutioner
op
- the operation to executepublic Accumulation execAndReturn(Accumulation op)
OpExecutioner
execAndReturn
in interface OpExecutioner
op
- the operation to executepublic INDArray execAndReturn(ScalarOp op)
OpExecutioner
execAndReturn
in interface OpExecutioner
op
- the operation to executepublic Op exec(Op op, int dimension)
OpExecutioner
exec
in interface OpExecutioner
op
- the operation to executepublic INDArray exec(Accumulation op, int dimension)
OpExecutioner
exec
in interface OpExecutioner
op
- the accumulationdimension
- the dimensionpublic INDArray execAndReturn(TransformOp op, int dimension)
OpExecutioner
execAndReturn
in interface OpExecutioner
op
- the operation to executepublic INDArray execAndReturn(ScalarOp op, int dimension)
OpExecutioner
execAndReturn
in interface OpExecutioner
op
- the operation to executeCopyright © 2015. All Rights Reserved.