public class ScalarEquals extends BaseScalarOp
extraArgs, extraArgz, n, numProcessed, passThrough, x, xVertexId, y, yVertexId, z, zVertexId
dimensions, inPlace, sameDiff, scalarValue
Constructor and Description |
---|
ScalarEquals() |
ScalarEquals(INDArray x) |
ScalarEquals(INDArray x,
INDArray y,
INDArray z,
long n,
Number num) |
ScalarEquals(INDArray x,
Number num) |
ScalarEquals(SameDiff sameDiff,
SDVariable i_v,
Number scalar) |
ScalarEquals(SameDiff sameDiff,
SDVariable i_v,
Number scalar,
boolean inPlace) |
ScalarEquals(SameDiff sameDiff,
SDVariable i_v,
Number scalar,
boolean inPlace,
Object[] extraArgs) |
ScalarEquals(SameDiff sameDiff,
SDVariable i_v,
Number scalar,
Object[] extraArgs) |
Modifier and Type | Method and Description |
---|---|
List<SDVariable> |
doDiff(List<SDVariable> f1)
The actual implementation for automatic differentiation.
|
int[] |
getDimension()
Dimension to do the vector op along.
|
String |
onnxName()
The opName of this function in onnx
|
String |
opName()
The name of the op
|
int |
opNum()
The number of the op (mainly for old legacy XYZ ops
like
Op ) |
void |
setDimension(int... dimension)
Set the dimension for the vector op.
|
String |
tensorflowName()
The opName of this function tensorflow
|
calculateOutputShape, opType, scalar, setScalar, 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, args, asProperties, attributeAdaptersForFunction, configFieldName, diff, dup, f, getValue, hasPlaceHolderInputs, isConfigProperties, larg, mappingsForFunction, onnxNames, outputVariables, 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 ScalarEquals()
public ScalarEquals(INDArray x)
public ScalarEquals(SameDiff sameDiff, SDVariable i_v, Number scalar)
public ScalarEquals(SameDiff sameDiff, SDVariable i_v, Number scalar, boolean inPlace)
public ScalarEquals(SameDiff sameDiff, SDVariable i_v, Number scalar, boolean inPlace, Object[] extraArgs)
public ScalarEquals(SameDiff sameDiff, SDVariable i_v, Number scalar, Object[] extraArgs)
public int opNum()
DifferentialFunction
Op
)opNum
in interface Op
opNum
in class DifferentialFunction
public String opName()
DifferentialFunction
opName
in interface Op
opName
in class DifferentialFunction
public int[] getDimension()
BroadcastOp
getDimension
in interface BroadcastOp
getDimension
in class BaseScalarOp
public void setDimension(int... dimension)
BroadcastOp
setDimension
in interface BroadcastOp
setDimension
in class BaseScalarOp
public List<SDVariable> doDiff(List<SDVariable> f1)
DifferentialFunction
doDiff
in class DifferentialFunction
public String onnxName()
DifferentialFunction
onnxName
in class DifferentialFunction
public String tensorflowName()
DifferentialFunction
tensorflowName
in class DifferentialFunction
Copyright © 2018. All rights reserved.