public class ScalarSet extends BaseScalarOp
extraArgs, extraArgz, n, numProcessed, passThrough, x, xVertexId, y, yVertexId, z, zVertexId
dimensions, inPlace, sameDiff, scalarValue
Constructor and Description |
---|
ScalarSet() |
ScalarSet(INDArray x,
INDArray y,
INDArray z,
long n,
Number num) |
ScalarSet(INDArray x,
Number num) |
ScalarSet(SameDiff sameDiff,
SDVariable i_v,
Number scalar) |
ScalarSet(SameDiff sameDiff,
SDVariable i_v,
Number scalar,
boolean inPlace) |
ScalarSet(SameDiff sameDiff,
SDVariable i_v,
Number scalar,
boolean inPlace,
Object[] extraArgs) |
ScalarSet(SameDiff sameDiff,
SDVariable i_v,
Number scalar,
Object[] extraArgs) |
Modifier and Type | Method and Description |
---|---|
List<SDVariable> |
doDiff(List<SDVariable> i_v1)
The actual implementation for automatic differentiation.
|
void |
init(INDArray x,
INDArray y,
INDArray z,
long n)
Initialize the operation based on the parameters
|
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 ) |
String |
tensorflowName()
The opName of this function tensorflow
|
calculateOutputShape, getDimension, opType, scalar, setDimension, setScalar, 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 ScalarSet()
public ScalarSet(SameDiff sameDiff, SDVariable i_v, Number scalar)
public ScalarSet(SameDiff sameDiff, SDVariable i_v, Number scalar, boolean inPlace)
public ScalarSet(SameDiff sameDiff, SDVariable i_v, Number scalar, boolean inPlace, Object[] extraArgs)
public ScalarSet(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 String onnxName()
DifferentialFunction
onnxName
in class DifferentialFunction
public String tensorflowName()
DifferentialFunction
tensorflowName
in class DifferentialFunction
public void init(INDArray x, INDArray y, INDArray z, long n)
Op
public List<SDVariable> doDiff(List<SDVariable> i_v1)
DifferentialFunction
doDiff
in class DifferentialFunction
Copyright © 2018. All rights reserved.