public interface Accumulation extends Op
Modifier and Type | Method and Description |
---|---|
Number |
getFinalResult()
Get the final result (may return null if getAndSetFinalResult has not
been called, or for accumulation ops on complex arrays)
|
Op.Type |
getOpType() |
boolean |
isComplexAccumulation() |
boolean |
isKeepDims()
This method returns TRUE if we're going to keep axis, FALSE otherwise
|
INDArray |
noOp()
Returns the no op version
of the input
Basically when a reduce can't happen (eg: sum(0) on a row vector)
you have a no op state for a given reduction.
|
void |
setFinalResult(double value)
Get the final result (may return null if getAndSetFinalResult has not
been called, or for accumulation ops on complex arrays)
|
double |
zeroDouble()
Initial value (used to initialize the accumulation op)
|
float |
zeroFloat()
Initial value (used to initialize the accumulation op)
|
float |
zeroHalf()
Initial value for half
|
exec, exec, extraArgs, extraArgsBuff, extraArgsDataBuff, init, isExecSpecial, isPassThrough, n, numProcessed, opName, opNum, setExtraArgs, setN, setX, setY, setZ, toCustomOp, x, y, z
INDArray noOp()
Number getFinalResult()
void setFinalResult(double value)
double zeroDouble()
float zeroFloat()
float zeroHalf()
boolean isComplexAccumulation()
Op.Type getOpType()
boolean isKeepDims()
Copyright © 2018. All rights reserved.