Class ScalarGreaterThanOrEqual
- java.lang.Object
-
- org.nd4j.autodiff.functions.DifferentialFunction
-
- org.nd4j.linalg.api.ops.BaseOp
-
- org.nd4j.linalg.api.ops.BaseScalarBoolOp
-
- org.nd4j.linalg.api.ops.impl.scalar.comparison.ScalarGreaterThanOrEqual
-
public class ScalarGreaterThanOrEqual extends BaseScalarBoolOp
Return a binary (0 or 1) when greater than or equal to a number- Author:
- Adam Gibson
-
-
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 ScalarGreaterThanOrEqual()
ScalarGreaterThanOrEqual(SameDiff sameDiff, SDVariable i_v, Number scalar)
ScalarGreaterThanOrEqual(SameDiff sameDiff, SDVariable i_v, Number scalar, boolean inPlace)
ScalarGreaterThanOrEqual(SameDiff sameDiff, SDVariable i_v, Number scalar, boolean inPlace, Object[] extraArgs)
ScalarGreaterThanOrEqual(SameDiff sameDiff, SDVariable i_v, Number scalar, Object[] extraArgs)
ScalarGreaterThanOrEqual(INDArray x, Number num)
ScalarGreaterThanOrEqual(INDArray x, INDArray z, Number num)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<SDVariable>
doDiff(List<SDVariable> f1)
The actual implementation for automatic differentiation.String
opName()
The name of the opint
opNum()
The number of the op (mainly for old legacy XYZ ops likeOp
)-
Methods inherited from class org.nd4j.linalg.api.ops.BaseScalarBoolOp
calculateOutputDataTypes, calculateOutputShape, calculateOutputShape, getDimension, getOpType, opType, scalar, setDimension, setScalar, setScalar, validateDataTypes, 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, onnxName, outputVariables, setX, setY, setZ, tensorflowName, 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
-
Methods inherited from interface org.nd4j.linalg.api.ops.ScalarOp
dimensions
-
-
-
-
Constructor Detail
-
ScalarGreaterThanOrEqual
public ScalarGreaterThanOrEqual()
-
ScalarGreaterThanOrEqual
public ScalarGreaterThanOrEqual(SameDiff sameDiff, SDVariable i_v, Number scalar)
-
ScalarGreaterThanOrEqual
public ScalarGreaterThanOrEqual(SameDiff sameDiff, SDVariable i_v, Number scalar, boolean inPlace)
-
ScalarGreaterThanOrEqual
public ScalarGreaterThanOrEqual(SameDiff sameDiff, SDVariable i_v, Number scalar, boolean inPlace, Object[] extraArgs)
-
ScalarGreaterThanOrEqual
public ScalarGreaterThanOrEqual(SameDiff sameDiff, SDVariable i_v, Number scalar, Object[] extraArgs)
-
-
Method Detail
-
opNum
public int opNum()
Description copied from class:DifferentialFunction
The number of the op (mainly for old legacy XYZ ops likeOp
)- Specified by:
opNum
in interfaceOp
- Overrides:
opNum
in classDifferentialFunction
- Returns:
-
opName
public String opName()
Description copied from class:DifferentialFunction
The name of the op- Specified by:
opName
in interfaceOp
- Overrides:
opName
in classDifferentialFunction
- Returns:
- the opName of this operation
-
doDiff
public List<SDVariable> doDiff(List<SDVariable> f1)
Description copied from class:DifferentialFunction
The actual implementation for automatic differentiation.- Specified by:
doDiff
in classDifferentialFunction
- Returns:
-
-