public interface ReduceOp extends Op
Modifier and Type | Method and Description |
---|---|
INDArray |
dimensions()
This method returns dimensions for this op
|
Number |
getFinalResult() |
Op.Type |
getOpType() |
boolean |
isComplexAccumulation()
Deprecated.
|
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.
|
DataType |
resultType()
This method returns datatype for result array wrt given inputs
|
void |
setDimensions(int... dimensions) |
boolean |
validateDataTypes() |
extraArgs, extraArgsBuff, extraArgsDataBuff, opName, opNum, setExtraArgs, setX, setY, setZ, toCustomOp, x, y, z
INDArray noOp()
INDArray dimensions()
@Deprecated boolean isComplexAccumulation()
Op.Type getOpType()
boolean isKeepDims()
DataType resultType()
boolean validateDataTypes()
Number getFinalResult()
void setDimensions(int... dimensions)
Copyright © 2019. All rights reserved.