public class AddOp extends BaseDynamicTransformOp
DynamicCustomOp.DynamicCustomOpsBuilder
Modifier and Type | Field and Description |
---|---|
static String |
OP_NAME |
axis, bArguments, dArguments, iArguments, inplaceCall, inputArguments, outputArguments, outputVariables, tArguments
dimensions, extraArgs, inPlace, sameDiff, scalarValue
Constructor and Description |
---|
AddOp() |
AddOp(INDArray[] inputs,
INDArray[] outputs) |
AddOp(@NonNull INDArray x,
@NonNull INDArray y) |
AddOp(INDArray first,
INDArray second,
INDArray result) |
AddOp(@NonNull SameDiff sameDiff,
@NonNull SDVariable x,
@NonNull SDVariable y) |
Modifier and Type | Method and Description |
---|---|
List<SDVariable> |
doDiff(List<SDVariable> i_v)
The actual implementation for automatic differentiation.
|
String |
onnxName()
The opName of this function in onnx
|
String |
opName()
This method returns op opName as string
|
String[] |
tensorflowNames()
The opName of this function tensorflow
|
calculateOutputDataTypes
addBArgument, addDArgument, addIArgument, addIArgument, addInputArgument, addOutputArgument, addTArgument, assertValidForExecution, bArgs, builder, calculateOutputShape, calculateOutputShape, clearArrays, dArgs, getBArgument, getDescriptor, getIArgument, getInputArgument, getOutputArgument, getTArgument, iArgs, initFromOnnx, initFromTensorFlow, inputArguments, numBArguments, numDArguments, numIArguments, numInputArguments, numOutputArguments, numTArguments, opHash, opNum, opType, outputArguments, outputVariables, outputVariables, removeIArgument, removeInputArgument, removeOutputArgument, removeTArgument, setInputArgument, setInputArguments, setOutputArgument, tArgs, tensorflowName, toString, wrapFilterNull, wrapOrNull, wrapOrNull
arg, arg, argNames, args, attributeAdaptersForFunction, configFieldName, diff, dup, equals, getNumOutputs, getValue, hashCode, isConfigProperties, larg, mappingsForFunction, onnxNames, outputs, outputVariable, outputVariablesNames, propertiesForFunction, rarg, replaceArg, setInstanceId, setPropertiesForFunction, setValueFor
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isInplaceCall
public static final String OP_NAME
public AddOp()
public AddOp(@NonNull @NonNull SameDiff sameDiff, @NonNull @NonNull SDVariable x, @NonNull @NonNull SDVariable y)
public String opName()
DynamicCustomOp
opName
in interface CustomOp
opName
in class DynamicCustomOp
public String onnxName()
DifferentialFunction
onnxName
in class DynamicCustomOp
public String[] tensorflowNames()
DifferentialFunction
tensorflowNames
in class DifferentialFunction
public List<SDVariable> doDiff(List<SDVariable> i_v)
DifferentialFunction
doDiff
in class DynamicCustomOp
Copyright © 2020. All rights reserved.