public class SquaredNorm extends BaseReduceFloatOp
isComplex, isEmptyReduce, keepDimsdimensionz, extraArgz, x, xVertexId, y, yVertexId, z, zVertexIddimensions, extraArgs, inPlace, sameDiff, scalarValue| Constructor and Description |
|---|
SquaredNorm() |
SquaredNorm(INDArray input,
INDArray output,
boolean keepDims,
int... dimensions) |
SquaredNorm(SameDiff sameDiff,
SDVariable input,
boolean keepDims,
int... dimensions) |
| Modifier and Type | Method and Description |
|---|---|
List<SDVariable> |
doDiff(List<SDVariable> grad)
The actual implementation for automatic differentiation.
|
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
|
calculateOutputDataTypes, calculateOutputShape, getOpType, opType, resultType, validateDataTypeshasReductionIndices, initFromOnnx, initFromTensorFlow, isComplexAccumulation, isKeepDims, noOp, setDimensionsdefineDimensions, dimensions, equals, extraArgs, extraArgsBuff, extraArgsDataBuff, getFinalResult, getNumOutputs, getOpType, hashCode, outputVariables, setX, setY, setZ, toCustomOp, toString, x, y, zarg, arg, argNames, args, attributeAdaptersForFunction, configFieldName, diff, dup, f, getValue, isConfigProperties, larg, mappingsForFunction, onnxNames, outputVariable, outputVariables, outputVariablesNames, propertiesForFunction, rarg, replaceArg, resolvePropertiesFromSameDiffBeforeExecution, setInstanceId, setPropertiesForFunction, setValueFor, tensorflowNamesclone, finalize, getClass, notify, notifyAll, wait, wait, waitdimensions, getFinalResult, isComplexAccumulation, isKeepDims, noOp, setDimensionsextraArgs, extraArgsBuff, extraArgsDataBuff, setExtraArgs, setX, setY, setZ, toCustomOp, x, y, zpublic SquaredNorm(SameDiff sameDiff, SDVariable input, boolean keepDims, int... dimensions)
public SquaredNorm(INDArray input, INDArray output, boolean keepDims, int... dimensions)
public SquaredNorm()
public int opNum()
DifferentialFunctionOp)opNum in interface OpopNum in class DifferentialFunctionpublic String opName()
DifferentialFunctionopName in interface OpopName in class DifferentialFunctionpublic String onnxName()
DifferentialFunctiononnxName in class DifferentialFunctionpublic String tensorflowName()
DifferentialFunctiontensorflowName in class DifferentialFunctionpublic List<SDVariable> doDiff(List<SDVariable> grad)
DifferentialFunctiondoDiff in class DifferentialFunctionCopyright © 2019. All rights reserved.