public abstract class BaseGradientOp extends BaseTransformOp implements GradientOp
extraArgs, extraArgz, n, numProcessed, passThrough, x, xVertexId, y, yVertexId, z, zVertexIddimensions, inPlace, sameDiff, scalarValue| Constructor and Description |
|---|
BaseGradientOp() |
BaseGradientOp(INDArray x) |
BaseGradientOp(INDArray x,
INDArray z) |
BaseGradientOp(INDArray x,
INDArray y,
INDArray z,
long n) |
BaseGradientOp(INDArray x,
INDArray z,
long n) |
BaseGradientOp(SameDiff sameDiff,
SDVariable i_v1,
SDVariable i_v2) |
BaseGradientOp(SameDiff sameDiff,
SDVariable i_v1,
SDVariable i_v2,
boolean inPlace) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isExecSpecial()
Whether the executioner
needs to do a special call or not
|
boolean |
isPassThrough()
Returns whether the op should be executed or not (through the executioner)
|
INDArray |
wrt()
The array
to the gradient with respect to
|
calculateOutputShape, opType, zequals, exec, exec, extraArgs, extraArgsBuff, extraArgsDataBuff, getOpType, hashCode, init, initFromOnnx, initFromTensorFlow, n, numProcessed, outputVariables, setN, setX, setY, setZ, toCustomOp, toString, x, yarg, args, asProperties, attributeAdaptersForFunction, configFieldName, diff, doDiff, dup, f, getValue, hasPlaceHolderInputs, isConfigProperties, larg, mappingsForFunction, onnxName, onnxNames, opName, opNum, outputVariables, propertiesForFunction, rarg, resolvePropertiesFromSameDiffBeforeExecution, setInstanceId, setValueFor, tensorflowName, tensorflowNamesclone, finalize, getClass, notify, notifyAll, wait, wait, waitexec, exec, extraArgs, extraArgsBuff, extraArgsDataBuff, init, n, numProcessed, opName, opNum, setExtraArgs, setN, setX, setY, setZ, toCustomOp, x, y, zpublic BaseGradientOp(SameDiff sameDiff, SDVariable i_v1, SDVariable i_v2)
public BaseGradientOp(SameDiff sameDiff, SDVariable i_v1, SDVariable i_v2, boolean inPlace)
public BaseGradientOp()
public BaseGradientOp(INDArray x)
public INDArray wrt()
wrt in interface GradientOppublic boolean isExecSpecial()
OpisExecSpecial in interface OpisExecSpecial in class BaseOppublic boolean isPassThrough()
OpisPassThrough in interface OpisPassThrough in class BaseOpCopyright © 2018. All rights reserved.