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
|
void |
exec(Aggregate op) |
<T extends Aggregate> |
exec(Batch<T> batch)
This method executes previously built batch
|
INDArray |
exec(BroadcastOp broadcast,
int... dimension)
Execute an broadcast along one or more dimensions
|
void |
exec(GridOp op)
Execute GridOp
|
INDArray |
exec(IndexAccumulation indexAccum,
int... dimension)
Execute an index accumulation along one or more dimensions
|
void |
exec(List<Aggregate> batch)
This method takes abritrary sized list of aggregates, and packs them into batches
|
void |
exec(MetaOp op)
Execute MetaOp
|
Op |
exec(Op op)
Execute the operation
|
Op |
exec(Op op,
int... dimension)
Execute the operation along 1 or more dimensions
|
INDArray |
exec(RandomOp op)
This method executes specified RandomOp using default RNG available via Nd4j.getRandom()
|
INDArray |
exec(RandomOp op,
Random rng)
This method executes specific RandomOp against specified RNG
|
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
|
Properties |
getEnvironmentInformation()
This method return set of key/value and key/key/value objects, describing current environment
|
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
|
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 executeAccumulation execAndReturn(Variance op, boolean biasCorrected)
op
- the operation to executeIndexAccumulation execAndReturn(IndexAccumulation op)
op
- the index accumulation operation to executeINDArray execAndReturn(ScalarOp op)
op
- the operation to executeINDArray execAndReturn(BroadcastOp op)
op
- Op exec(Op op, int... dimension)
op
- the operation to executeINDArray exec(Accumulation accumulation, int... dimension)
accumulation
- the accumulationdimension
- the dimensionINDArray exec(BroadcastOp broadcast, int... dimension)
broadcast
- the accumulationdimension
- the dimensionINDArray exec(Variance accumulation, boolean biasCorrected, int... dimension)
accumulation
- the accumulationdimension
- the dimensionINDArray exec(IndexAccumulation indexAccum, int... dimension)
indexAccum
- the index accumulation operationdimension
- the dimension/s to execute alongINDArray execAndReturn(Op op)
op
- the operation to executeOpExecutioner.ExecutionMode executionMode()
void setExecutionMode(OpExecutioner.ExecutionMode executionMode)
executionMode
- the execution modevoid exec(MetaOp op)
op
- void exec(GridOp op)
op
- void exec(Aggregate op)
<T extends Aggregate> void exec(Batch<T> batch)
batch
- void exec(List<Aggregate> batch)
batch
- INDArray exec(RandomOp op)
op
- INDArray exec(RandomOp op, Random rng)
op
- rng
- Properties getEnvironmentInformation()
Copyright © 2016. All Rights Reserved.