public class Constant extends BaseTransformOp
extraArgs, extraArgz, n, numProcessed, passThrough, x, xVertexId, y, yVertexId, z, zVertexIddimensions, inPlace, sameDiff, scalarValue| Modifier | Constructor and Description |
|---|---|
|
Constant() |
|
Constant(SameDiff sameDiff,
SDVariable i_v,
int[] shape) |
protected |
Constant(SameDiff sameDiff,
SDVariable i_v,
int[] shape,
boolean inPlace) |
| Modifier and Type | Method and Description |
|---|---|
List<SDVariable> |
doDiff(List<SDVariable> i_v)
The actual implementation for automatic differentiation.
|
DifferentialFunction |
dup()
Duplicate this function
|
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
|
calculateOutputShape, opType, zequals, exec, exec, extraArgs, extraArgsBuff, extraArgsDataBuff, getOpType, hashCode, init, initFromOnnx, initFromTensorFlow, isExecSpecial, isPassThrough, n, numProcessed, outputVariables, setN, setX, setY, setZ, toCustomOp, toString, x, yarg, args, asProperties, attributeAdaptersForFunction, configFieldName, diff, f, getValue, hasPlaceHolderInputs, isConfigProperties, larg, mappingsForFunction, onnxNames, outputVariables, propertiesForFunction, rarg, resolvePropertiesFromSameDiffBeforeExecution, setInstanceId, setValueFor, tensorflowNamesclone, finalize, getClass, notify, notifyAll, wait, wait, waitexec, exec, extraArgs, extraArgsBuff, extraArgsDataBuff, init, isExecSpecial, isPassThrough, n, numProcessed, setExtraArgs, setN, setX, setY, setZ, toCustomOp, x, ypublic Constant()
protected Constant(SameDiff sameDiff, SDVariable i_v, int[] shape, boolean inPlace)
public Constant(SameDiff sameDiff, SDVariable i_v, int[] shape)
public List<SDVariable> doDiff(List<SDVariable> i_v)
DifferentialFunctiondoDiff in class DifferentialFunctionpublic DifferentialFunction dup()
DifferentialFunctiondup in class DifferentialFunctionpublic 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 DifferentialFunctionCopyright © 2018. All rights reserved.