public class Max extends BaseAccumulation
finalResult, isComplex, keepDims, newFormat
extraArgs, extraArgz, n, numProcessed, passThrough, x, xVertexId, y, yVertexId, z, zVertexId
dimensions, inPlace, sameDiff, scalarValue
Constructor and Description |
---|
Max() |
Max(INDArray x) |
Max(INDArray x,
INDArray y) |
Max(INDArray x,
INDArray y,
INDArray z,
boolean newFormat,
boolean keepDims,
int[] dimensions) |
Max(INDArray x,
INDArray y,
INDArray z,
long n)
Initialize with the given
input, pairwise transform, result, and number
of elements
|
Max(INDArray x,
INDArray y,
long n) |
Max(SameDiff sameDiff,
SDVariable i_v,
boolean keepDims,
int[] dimensions) |
Max(SameDiff sameDiff,
SDVariable i_v,
SDVariable i_v2,
int[] dimensions) |
Modifier and Type | Method and Description |
---|---|
List<SDVariable> |
doDiff(List<SDVariable> grad)
The actual implementation for automatic differentiation.
|
Op.Type |
getOpType() |
String |
onnxName()
The opName of this function in onnx
|
String |
opName()
The name of the op
|
int |
opNum()
The number of the op (mainly for old legacy XYZ ops
like
Op ) |
String |
tensorflowName()
The opName of this function tensorflow
|
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
|
calculateOutputShape, getFinalResult, hasReductionIndices, initFromOnnx, initFromTensorFlow, isComplexAccumulation, isKeepDims, noOp, opType, setFinalResult
equals, exec, exec, extraArgs, extraArgsBuff, extraArgsDataBuff, getOpType, hashCode, init, isExecSpecial, isPassThrough, n, numProcessed, outputVariables, setN, setX, setY, setZ, toCustomOp, toString, x, y, z
arg, arg, argNames, args, asProperties, attributeAdaptersForFunction, configFieldName, diff, dup, f, getNumOutputs, getValue, hasPlaceHolderInputs, isConfigProperties, larg, mappingsForFunction, onnxNames, outputVariable, outputVariables, outputVariablesNames, propertiesForFunction, rarg, resolvePropertiesFromSameDiffBeforeExecution, setInstanceId, setValueFor, tensorflowNames
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
exec, exec, extraArgs, extraArgsBuff, extraArgsDataBuff, init, isExecSpecial, isPassThrough, n, numProcessed, setExtraArgs, setN, setX, setY, setZ, toCustomOp, x, y, z
public Max(SameDiff sameDiff, SDVariable i_v, boolean keepDims, int[] dimensions)
public Max(SameDiff sameDiff, SDVariable i_v, SDVariable i_v2, int[] dimensions)
public Max()
public Max(INDArray x, INDArray y, INDArray z, long n)
x
- the inputy
- the pairwise transformz
- the resultn
- the number of elementspublic Max(INDArray x)
public int opNum()
DifferentialFunction
Op
)opNum
in interface Op
opNum
in class DifferentialFunction
public String opName()
DifferentialFunction
opName
in interface Op
opName
in class DifferentialFunction
public double zeroDouble()
Accumulation
zeroDouble
in interface Accumulation
zeroDouble
in class BaseAccumulation
public float zeroHalf()
Accumulation
zeroHalf
in interface Accumulation
zeroHalf
in class BaseAccumulation
public float zeroFloat()
Accumulation
zeroFloat
in interface Accumulation
zeroFloat
in class BaseAccumulation
public List<SDVariable> doDiff(List<SDVariable> grad)
DifferentialFunction
doDiff
in class DifferentialFunction
public String onnxName()
DifferentialFunction
onnxName
in class DifferentialFunction
public String tensorflowName()
DifferentialFunction
tensorflowName
in class DifferentialFunction
public Op.Type getOpType()
Copyright © 2018. All rights reserved.