public class NativeOpExecutioner extends DefaultOpExecutioner
OpExecutioner.ExecutionMode, OpExecutioner.ProfilingMode| Modifier and Type | Field and Description |
|---|---|
protected ThreadLocal<org.bytedeco.javacpp.PointerPointer> |
extraz |
executionMode, profilingMode| Constructor and Description |
|---|
NativeOpExecutioner() |
| Modifier and Type | Method and Description |
|---|---|
INDArray |
bitmapDecode(INDArray encoded,
INDArray target) |
long |
bitmapEncode(INDArray indArray,
INDArray target,
double threshold) |
INDArray |
exec(Accumulation op,
int... dimension) |
void |
exec(Aggregate op)
This method takes arbitrary
sized list of
Aggregate,
and packs them into batches
Note here that this is mainly used for random number generation
for RandomOp and things like Distribution |
<T extends Aggregate> |
exec(Batch<T> batch)
This method executes previously built batch
|
INDArray |
exec(BroadcastOp op,
int... dimension) |
INDArray |
exec(IndexAccumulation op,
int... dimension) |
void |
exec(List<Aggregate> batch)
This method takes arbitrary
sized list of
Aggregate,
and packs them into batches
Note here that this is mainly used for random number generation
for RandomOp and things like Distribution |
Op |
exec(Op op) |
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
|
Properties |
getEnvironmentInformation()
This method return set of key/value and
key/key/value objects,
describing current environment
|
protected <T extends Aggregate> |
getPointer(Batch<T> batch) |
TADManager |
getTADManager() |
INDArray |
thresholdDecode(INDArray encoded,
INDArray target) |
INDArray |
thresholdEncode(INDArray input,
double threshold) |
INDArray |
thresholdEncode(INDArray input,
double threshold,
Integer boundary) |
bitmapEncode, checkForCompression, commit, exec, exec, exec, exec, execAndReturn, execAndReturn, execAndReturn, execAndReturn, execAndReturn, execAndReturn, execAndReturn, executionMode, getLastOp, getProfilingMode, interceptIntDataType, iterateOverAllColumns, iterateOverAllRows, printEnvironmentInformation, profilingHookIn, profilingHookIn, profilingHookOut, push, setExecutionMode, setProfilingMode, validateDataType, validateDataTypeprotected ThreadLocal<org.bytedeco.javacpp.PointerPointer> extraz
public Op exec(Op op)
exec in interface OpExecutionerexec in class DefaultOpExecutionerpublic INDArray exec(IndexAccumulation op, int... dimension)
exec in interface OpExecutionerexec in class DefaultOpExecutionerpublic INDArray exec(Accumulation op, int... dimension)
exec in interface OpExecutionerexec in class DefaultOpExecutionerpublic INDArray exec(BroadcastOp op, int... dimension)
exec in interface OpExecutionerexec in class DefaultOpExecutionerpublic <T extends Aggregate> void exec(Batch<T> batch)
exec in interface OpExecutionerexec in class DefaultOpExecutionerbatch - public void exec(List<Aggregate> batch)
Aggregate,
and packs them into batches
Note here that this is mainly used for random number generation
for RandomOp and things like Distributionexec in interface OpExecutionerexec in class DefaultOpExecutionerbatch - the list of Aggregate to
execute uponpublic void exec(Aggregate op)
Aggregate,
and packs them into batches
Note here that this is mainly used for random number generation
for RandomOp and things like Distributionexec in interface OpExecutionerexec in class DefaultOpExecutionerop - the list of Aggregate to
execute uponpublic Properties getEnvironmentInformation()
getEnvironmentInformation in interface OpExecutionergetEnvironmentInformation in class DefaultOpExecutionerpublic INDArray exec(RandomOp op)
exec in interface OpExecutionerexec in class DefaultOpExecutionerop - public INDArray exec(RandomOp op, Random rng)
exec in interface OpExecutionerexec in class DefaultOpExecutionerop - rng - public TADManager getTADManager()
getTADManager in interface OpExecutionergetTADManager in class DefaultOpExecutionerpublic INDArray thresholdEncode(INDArray input, double threshold)
thresholdEncode in interface OpExecutionerthresholdEncode in class DefaultOpExecutionerpublic INDArray thresholdEncode(INDArray input, double threshold, Integer boundary)
thresholdEncode in interface OpExecutionerthresholdEncode in class DefaultOpExecutionerpublic INDArray thresholdDecode(INDArray encoded, INDArray target)
thresholdDecode in interface OpExecutionerthresholdDecode in class DefaultOpExecutionerpublic long bitmapEncode(INDArray indArray, INDArray target, double threshold)
bitmapEncode in interface OpExecutionerbitmapEncode in class DefaultOpExecutionerpublic INDArray bitmapDecode(INDArray encoded, INDArray target)
bitmapDecode in interface OpExecutionerbitmapDecode in class DefaultOpExecutionerCopyright © 2017. All rights reserved.