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