public interface IndexAccumulation extends Op
Accumulation
in that both are
accumulation/reduction operations, however index accumulation returns
an integer corresponding to an index, rather than a real (or complex)
value.Modifier and Type | Method and Description |
---|---|
int |
getFinalResult()
Get the final result of the IndexAccumulation
|
void |
setFinalResult(int idx)
Set the final index/result of the accumulation.
|
IComplexNumber |
zeroComplex()
Complex initial value
|
double |
zeroDouble()
Initial value for the index accumulation
|
float |
zeroFloat()
Initial value for the index accumulation.
|
float |
zeroHalf()
Initial value for the index accumulation.
|
org.nd4j.linalg.primitives.Pair<Double,Integer> |
zeroPair()
The initial value and initial index to use
for the accumulation
|
exec, exec, extraArgs, extraArgsBuff, extraArgsDataBuff, init, isExecSpecial, isPassThrough, n, numProcessed, opName, opNum, setExtraArgs, setN, setX, setY, setZ, toCustomOp, x, y, z
void setFinalResult(int idx)
int getFinalResult()
double zeroDouble()
float zeroFloat()
float zeroHalf()
org.nd4j.linalg.primitives.Pair<Double,Integer> zeroPair()
IComplexNumber zeroComplex()
Copyright © 2018. All rights reserved.