public class SquaredNorm extends BaseReduction
DynamicCustomOp.DynamicCustomOpsBuilder, DynamicCustomOp.SameDiffBuilderdimensions, keepDimsiArguments, inplaceCall, inputArguments, outputArguments, outputVariables, tArgumentsextraArgs, 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 |
opName()
This method returns op opName as string
|
addArgsaddIArgument, addIArgument, addInputArgument, addOutputArgument, addTArgument, asProperties, assertValidForExecution, builder, calculateOutputShape, getDescriptor, getIArgument, getInputArgument, getOutputArgument, getTArgument, iArgs, initFromOnnx, initFromTensorFlow, inputArguments, numIArguments, numInputArguments, numOutputArguments, numTArguments, onnxName, opHash, opNum, opType, outputArguments, outputVariables, outputVariables, populateInputsAndOutputsFromSameDiff, removeIArgument, removeInputArgument, removeOutputArgument, removeTArgument, sameDiffBuilder, setInputArgument, setOutputArgument, tArgs, tensorflowName, toStringarg, arg, argNames, args, attributeAdaptersForFunction, configFieldName, diff, dup, equals, f, getNumOutputs, getValue, hashCode, hasPlaceHolderInputs, isConfigProperties, larg, mappingsForFunction, onnxNames, outputVariable, outputVariablesNames, propertiesForFunction, rarg, resolvePropertiesFromSameDiffBeforeExecution, setInstanceId, setValueFor, tensorflowNamesclone, finalize, getClass, notify, notifyAll, wait, wait, waitisInplaceCallpublic SquaredNorm(SameDiff sameDiff, SDVariable input, boolean keepDims, int... dimensions)
public SquaredNorm(INDArray input, INDArray output, boolean keepDims, int... dimensions)
public SquaredNorm()
public String opName()
DynamicCustomOpopName in interface CustomOpopName in class BaseReductionpublic List<SDVariable> doDiff(List<SDVariable> grad)
DifferentialFunctiondoDiff in class DynamicCustomOpCopyright © 2018. All rights reserved.