public class ReplaceNans extends BaseTransformOp
extraArgs, extraArgz, n, numProcessed, passThrough, x, xVertexId, y, yVertexId, z, zVertexId
dimensions, inPlace, sameDiff, scalarValue
Constructor and Description |
---|
ReplaceNans() |
ReplaceNans(INDArray x,
double set) |
ReplaceNans(INDArray x,
INDArray z,
double set) |
ReplaceNans(INDArray x,
INDArray z,
double set,
long n) |
ReplaceNans(SameDiff sameDiff,
SDVariable i_v,
boolean inPlace,
double set) |
ReplaceNans(SameDiff sameDiff,
SDVariable i_v,
int[] shape,
boolean inPlace,
java.lang.Object[] extraArgs,
double set) |
ReplaceNans(SameDiff sameDiff,
SDVariable i_v,
java.lang.Object[] extraArgs,
double set) |
Modifier and Type | Method and Description |
---|---|
java.util.List<SDVariable> |
doDiff(java.util.List<SDVariable> f1)
The actual implementation for automatic differentiation.
|
void |
init(INDArray x,
INDArray y,
INDArray z,
long n)
Initialize the operation based on the parameters
|
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, 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, isExecSpecial, isPassThrough, n, numProcessed, setExtraArgs, setN, setX, setY, setZ, toCustomOp, x, y
public ReplaceNans(SameDiff sameDiff, SDVariable i_v, boolean inPlace, double set)
public ReplaceNans(SameDiff sameDiff, SDVariable i_v, int[] shape, boolean inPlace, java.lang.Object[] extraArgs, double set)
public ReplaceNans(SameDiff sameDiff, SDVariable i_v, java.lang.Object[] extraArgs, double set)
public ReplaceNans()
public ReplaceNans(INDArray x, double set)
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 void init(INDArray x, INDArray y, INDArray z, long n)
Op
public java.util.List<SDVariable> doDiff(java.util.List<SDVariable> f1)
DifferentialFunction
doDiff
in class DifferentialFunction