public class TanhDerivative extends BaseTransformOp
extraArgs, extraArgz, n, numProcessed, passThrough, x, xVertexId, y, yVertexId, z, zVertexId
dimensions, inPlace, sameDiff, scalarValue
Constructor and Description |
---|
TanhDerivative() |
TanhDerivative(INDArray x) |
TanhDerivative(INDArray x,
INDArray z) |
TanhDerivative(INDArray x,
INDArray y,
INDArray z,
long n) |
TanhDerivative(INDArray x,
INDArray z,
long n) |
TanhDerivative(SameDiff sameDiff,
SDVariable i_v,
boolean inPlace) |
TanhDerivative(SameDiff sameDiff,
SDVariable i_v,
int[] shape,
boolean inPlace,
java.lang.Object[] extraArgs) |
TanhDerivative(SameDiff sameDiff,
SDVariable i_v,
java.lang.Object[] extraArgs) |
Modifier and Type | Method and Description |
---|---|
java.util.List<SDVariable> |
doDiff(java.util.List<SDVariable> f1)
The actual implementation for automatic differentiation.
|
java.lang.String |
onnxName()
The opName of this function in onnx
|
java.lang.String |
opName()
The name of the op
|
int |
opNum()
The number of the op (mainly for old legacy XYZ ops
like
Op ) |
java.lang.String |
tensorflowName()
The opName of this function tensorflow
|
calculateOutputShape, opType, z
equals, exec, exec, extraArgs, extraArgsBuff, extraArgsDataBuff, getOpType, hashCode, init, initFromOnnx, initFromTensorFlow, isExecSpecial, isPassThrough, n, numProcessed, outputVariables, setN, setX, setY, setZ, toCustomOp, toString, x, y
arg, arg, argNames, args, asProperties, attributeAdaptersForFunction, configFieldName, diff, dup, f, getNumOutputs, getValue, hasPlaceHolderInputs, isConfigProperties, larg, mappingsForFunction, onnxNames, outputVariable, outputVariables, outputVariablesNames, propertiesForFunction, rarg, resolvePropertiesFromSameDiffBeforeExecution, setInstanceId, setValueFor, tensorflowNames
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
exec, exec, extraArgs, extraArgsBuff, extraArgsDataBuff, init, isExecSpecial, isPassThrough, n, numProcessed, setExtraArgs, setN, setX, setY, setZ, toCustomOp, x, y
public TanhDerivative(SameDiff sameDiff, SDVariable i_v, boolean inPlace)
public TanhDerivative(SameDiff sameDiff, SDVariable i_v, int[] shape, boolean inPlace, java.lang.Object[] extraArgs)
public TanhDerivative(SameDiff sameDiff, SDVariable i_v, java.lang.Object[] extraArgs)
public TanhDerivative()
public TanhDerivative(INDArray x)
public int opNum()
DifferentialFunction
Op
)opNum
in interface Op
opNum
in class DifferentialFunction
public java.lang.String opName()
DifferentialFunction
opName
in interface Op
opName
in class DifferentialFunction
public java.lang.String onnxName()
DifferentialFunction
onnxName
in class DifferentialFunction
public java.lang.String tensorflowName()
DifferentialFunction
tensorflowName
in class DifferentialFunction
public java.util.List<SDVariable> doDiff(java.util.List<SDVariable> f1)
DifferentialFunction
doDiff
in class DifferentialFunction