Class HardTanhDerivative
- java.lang.Object
-
- org.nd4j.autodiff.functions.DifferentialFunction
-
- org.nd4j.linalg.api.ops.BaseOp
-
- org.nd4j.linalg.api.ops.BaseTransformOp
-
- org.nd4j.linalg.api.ops.BaseTransformStrictOp
-
- org.nd4j.linalg.api.ops.impl.transforms.gradient.HardTanhDerivative
-
- All Implemented Interfaces:
Op,TransformOp,TransformStrictOp
@Deprecated public class HardTanhDerivative extends BaseTransformStrictOp
Deprecated.
-
-
Field Summary
-
Fields inherited from class org.nd4j.linalg.api.ops.BaseOp
dimensionz, extraArgz, x, xVertexId, y, yVertexId, z, zVertexId
-
Fields inherited from class org.nd4j.autodiff.functions.DifferentialFunction
dimensions, extraArgs, inPlace, ownName, ownNameSetWithDefault, sameDiff, scalarValue
-
-
Constructor Summary
Constructors Constructor Description HardTanhDerivative(SameDiff sameDiff, SDVariable i_v)Deprecated.HardTanhDerivative(SameDiff sameDiff, SDVariable i_v, boolean inPlace)Deprecated.HardTanhDerivative(INDArray x)Deprecated.HardTanhDerivative(INDArray x, INDArray z)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<SDVariable>doDiff(List<SDVariable> i_v)Deprecated.The actual implementation for automatic differentiation.StringonnxName()Deprecated.The opName of this function in onnxStringopName()Deprecated.The name of the opintopNum()Deprecated.The number of the op (mainly for old legacy XYZ ops likeOp)StringtensorflowName()Deprecated.The opName of this function tensorflow-
Methods inherited from class org.nd4j.linalg.api.ops.BaseTransformStrictOp
calculateOutputDataTypes, calculateOutputShape, calculateOutputShape, getOpType, opType, resultType, resultType, validateDataTypes
-
Methods inherited from class org.nd4j.linalg.api.ops.BaseTransformOp
z
-
Methods inherited from class org.nd4j.linalg.api.ops.BaseOp
clearArrays, computeVariables, defineDimensions, dimensions, equals, extraArgs, extraArgsBuff, extraArgsDataBuff, getFinalResult, getInputArgument, getNumOutputs, getOpType, hashCode, initFromOnnx, initFromTensorFlow, outputVariables, setX, setY, setZ, toCustomOp, toString, x, y
-
Methods inherited from class org.nd4j.autodiff.functions.DifferentialFunction
arg, arg, argNames, args, attributeAdaptersForFunction, configFieldName, configureWithSameDiff, diff, dup, getBooleanFromProperty, getDoubleValueFromProperty, getIntValueFromProperty, getLongValueFromProperty, getStringFromProperty, getValue, isConfigProperties, larg, mappingsForFunction, onnxNames, outputs, outputVariable, outputVariables, outputVariablesNames, propertiesForFunction, rarg, replaceArg, setInstanceId, setPropertiesForFunction, setValueFor, tensorflowNames
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.nd4j.linalg.api.ops.Op
clearArrays, extraArgs, extraArgsBuff, extraArgsDataBuff, setExtraArgs, setX, setY, setZ, toCustomOp, x, y, z
-
-
-
-
Constructor Detail
-
HardTanhDerivative
public HardTanhDerivative(SameDiff sameDiff, SDVariable i_v, boolean inPlace)
Deprecated.
-
HardTanhDerivative
public HardTanhDerivative(SameDiff sameDiff, SDVariable i_v)
Deprecated.
-
HardTanhDerivative
public HardTanhDerivative(INDArray x)
Deprecated.
-
-
Method Detail
-
opNum
public int opNum()
Deprecated.Description copied from class:DifferentialFunctionThe number of the op (mainly for old legacy XYZ ops likeOp)- Specified by:
opNumin interfaceOp- Overrides:
opNumin classDifferentialFunction- Returns:
-
opName
public String opName()
Deprecated.Description copied from class:DifferentialFunctionThe name of the op- Specified by:
opNamein interfaceOp- Overrides:
opNamein classDifferentialFunction- Returns:
- the opName of this operation
-
onnxName
public String onnxName()
Deprecated.Description copied from class:DifferentialFunctionThe opName of this function in onnx
-
tensorflowName
public String tensorflowName()
Deprecated.Description copied from class:DifferentialFunctionThe opName of this function tensorflow- Overrides:
tensorflowNamein classBaseOp- Returns:
-
doDiff
public List<SDVariable> doDiff(List<SDVariable> i_v)
Deprecated.Description copied from class:DifferentialFunctionThe actual implementation for automatic differentiation.- Specified by:
doDiffin classDifferentialFunction- Returns:
-
-