Class BaseMetaOp
- java.lang.Object
-
- org.nd4j.autodiff.functions.DifferentialFunction
-
- org.nd4j.linalg.api.ops.BaseOp
-
- org.nd4j.linalg.api.ops.impl.grid.BaseGridOp
-
- org.nd4j.linalg.api.ops.impl.meta.BaseMetaOp
-
- Direct Known Subclasses:
InvertedPredicateMetaOp
,PostulateMetaOp
,PredicateMetaOp
,ReduceMetaOp
public abstract class BaseMetaOp extends BaseGridOp implements MetaOp
-
-
Field Summary
-
Fields inherited from class org.nd4j.linalg.api.ops.impl.grid.BaseGridOp
grid, queuedOps
-
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 Modifier Constructor Description BaseMetaOp()
BaseMetaOp(INDArray x, INDArray y)
protected
BaseMetaOp(GridPointers opA, GridPointers opB)
protected
BaseMetaOp(OpDescriptor opA, OpDescriptor opB)
protected
BaseMetaOp(Op opA, Op opB)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Op
getFirstOp()
OpDescriptor
getFirstOpDescriptor()
Op
getSecondOp()
OpDescriptor
getSecondOpDescriptor()
void
setFirstPointers(GridPointers pointers)
void
setSecondPointers(GridPointers pointers)
-
Methods inherited from class org.nd4j.linalg.api.ops.impl.grid.BaseGridOp
getGridDescriptor, onnxName, tensorflowName
-
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, z
-
Methods inherited from class org.nd4j.autodiff.functions.DifferentialFunction
arg, arg, argNames, args, attributeAdaptersForFunction, calculateOutputDataTypes, calculateOutputShape, calculateOutputShape, configFieldName, configureWithSameDiff, diff, doDiff, dup, getBooleanFromProperty, getDoubleValueFromProperty, getIntValueFromProperty, getLongValueFromProperty, getStringFromProperty, getValue, isConfigProperties, larg, mappingsForFunction, onnxNames, opName, opNum, opType, 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.GridOp
getGridDescriptor
-
Methods inherited from interface org.nd4j.linalg.api.ops.Op
clearArrays, extraArgs, extraArgsBuff, extraArgsDataBuff, opName, opNum, setExtraArgs, setX, setY, setZ, toCustomOp, x, y, z
-
-
-
-
Constructor Detail
-
BaseMetaOp
public BaseMetaOp()
-
BaseMetaOp
protected BaseMetaOp(OpDescriptor opA, OpDescriptor opB)
-
BaseMetaOp
protected BaseMetaOp(GridPointers opA, GridPointers opB)
-
-
Method Detail
-
getFirstOpDescriptor
public OpDescriptor getFirstOpDescriptor()
- Specified by:
getFirstOpDescriptor
in interfaceMetaOp
-
getSecondOpDescriptor
public OpDescriptor getSecondOpDescriptor()
- Specified by:
getSecondOpDescriptor
in interfaceMetaOp
-
getFirstOp
public Op getFirstOp()
- Specified by:
getFirstOp
in interfaceMetaOp
- Returns:
-
getSecondOp
public Op getSecondOp()
- Specified by:
getSecondOp
in interfaceMetaOp
-
setFirstPointers
public void setFirstPointers(GridPointers pointers)
- Specified by:
setFirstPointers
in interfaceMetaOp
-
setSecondPointers
public void setSecondPointers(GridPointers pointers)
- Specified by:
setSecondPointers
in interfaceMetaOp
-
-