public class SConv2D extends Conv2D
DynamicCustomOp.DynamicCustomOpsBuilder, DynamicCustomOp.SameDiffBuilderinplaceCall, outputVariablesdimensions, extraArgs, inPlace, sameDiff, scalarValue| Constructor and Description |
|---|
SConv2D() |
SConv2D(SameDiff sameDiff,
SDVariable[] inputFunctions,
INDArray[] inputArrays,
INDArray[] outputs,
Conv2DConfig conv2DConfig) |
| Modifier and Type | Method and Description |
|---|---|
String |
configFieldName()
Returns the name of the field to be used for looking up field names.
|
List<SDVariable> |
doDiff(List<SDVariable> f1)
The actual implementation for automatic differentiation.
|
boolean |
isConfigProperties()
Returns true if the fields for this class should be looked up from a configuration class.
|
String |
onnxName()
The opName of this function in onnx
|
String |
opName()
This method returns op opName as string
|
void |
setValueFor(Field target,
Object value)
Set the value for this function.
|
String |
tensorflowName()
The opName of this function tensorflow
|
String[] |
tensorflowNames()
The opName of this function tensorflow
|
addArgs, attributeAdaptersForFunction, getValue, initFromOnnx, initFromTensorFlow, mappingsForFunction, propertiesForFunctionaddIArgument, addInputArgument, addOutputArgument, addTArgument, asProperties, assertValidForExecution, builder, calculateOutputShape, getDescriptor, getIArgument, getInputArgument, getOutputArgument, getTArgument, iArgs, inputArguments, numIArguments, numInputArguments, numOutputArguments, numTArguments, opHash, opNum, opType, outputArguments, outputVariables, outputVariables, populateInputsAndOutputsFromSameDiff, removeIArgument, removeInputArgument, removeOutputArgument, removeTArgument, sameDiffBuilder, setInputArgument, setOutputArgument, tArgs, toString, updateInputsFromSameDiffarg, args, diff, dup, equals, f, hashCode, hasPlaceHolderInputs, larg, onnxNames, rarg, resolvePropertiesFromSameDiffBeforeExecution, setInstanceIdclone, finalize, getClass, notify, notifyAll, wait, wait, waitisInplaceCallpublic SConv2D(SameDiff sameDiff, SDVariable[] inputFunctions, INDArray[] inputArrays, INDArray[] outputs, Conv2DConfig conv2DConfig)
public SConv2D()
public String opName()
DynamicCustomOppublic List<SDVariable> doDiff(List<SDVariable> f1)
DifferentialFunctionpublic boolean isConfigProperties()
DifferentialFunctionisConfigProperties in class Conv2Dpublic String configFieldName()
DifferentialFunctionDifferentialFunction.isConfigProperties()
to facilitate mapping fields for model import.configFieldName in class Conv2Dpublic void setValueFor(Field target, Object value)
DifferentialFunctionND4JIllegalStateException
will be thrown.setValueFor in class Conv2Dtarget - the target fieldvalue - the value to setpublic String[] tensorflowNames()
DifferentialFunctiontensorflowNames in class Conv2Dpublic String onnxName()
DifferentialFunctionpublic String tensorflowName()
DifferentialFunctiontensorflowName in class Conv2DCopyright © 2018. All rights reserved.