public class LastIndex extends BaseIndexAccumulation
| Modifier and Type | Field and Description |
|---|---|
protected double |
compare |
protected Condition |
condition |
protected double |
eps |
protected int |
mode |
finalResultextraArgs, extraArgz, n, numProcessed, passThrough, x, xVertexId, y, yVertexId, z, zVertexIddimensions, inPlace, sameDiff, scalarValue| Constructor and Description |
|---|
LastIndex() |
LastIndex(INDArray x,
Condition condition) |
LastIndex(INDArray x,
Condition condition,
double eps) |
LastIndex(SameDiff sameDiff,
SDVariable i_v,
int[] dimensions,
Condition condition,
double compare,
double eps,
int mode) |
LastIndex(SameDiff sameDiff,
SDVariable i_v,
SDVariable i_v2,
int[] dimensions,
Condition condition,
double compare,
double eps,
int mode) |
| Modifier and Type | Method and Description |
|---|---|
List<SDVariable> |
doDiff(List<SDVariable> f1)
The actual implementation for automatic differentiation.
|
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) |
Map<String,Object> |
propertiesForFunction()
Returns the properties for a given function
|
String |
tensorflowName()
The opName of this function tensorflow
|
float |
zeroHalf()
Initial value for the index accumulation.
|
calculateOutputShape, getFinalResult, init, setFinalResult, zeroComplex, zeroDouble, zeroFloat, zeroPairequals, exec, exec, extraArgs, extraArgsBuff, extraArgsDataBuff, getOpType, hashCode, initFromOnnx, initFromTensorFlow, isExecSpecial, isPassThrough, n, numProcessed, outputVariables, setN, setX, setY, setZ, toCustomOp, toString, x, y, zarg, args, asProperties, attributeAdaptersForFunction, configFieldName, diff, dup, f, getValue, hasPlaceHolderInputs, isConfigProperties, larg, mappingsForFunction, onnxNames, opType, outputVariables, rarg, resolvePropertiesFromSameDiffBeforeExecution, setInstanceId, setValueFor, tensorflowNamesclone, finalize, getClass, notify, notifyAll, wait, wait, waitexec, exec, extraArgs, extraArgsBuff, extraArgsDataBuff, isExecSpecial, isPassThrough, n, numProcessed, setExtraArgs, setN, setX, setY, setZ, toCustomOp, x, y, zprotected Condition condition
protected double compare
protected double eps
protected int mode
public LastIndex(SameDiff sameDiff, SDVariable i_v, int[] dimensions, Condition condition, double compare, double eps, int mode)
public LastIndex(SameDiff sameDiff, SDVariable i_v, SDVariable i_v2, int[] dimensions, Condition condition, double compare, double eps, int mode)
public LastIndex()
public Map<String,Object> propertiesForFunction()
DifferentialFunctionpropertiesForFunction in class DifferentialFunctionpublic int opNum()
DifferentialFunctionOp)opNum in interface OpopNum in class DifferentialFunctionpublic String opName()
DifferentialFunctionopName in interface OpopName in class DifferentialFunctionpublic String onnxName()
DifferentialFunctiononnxName in class DifferentialFunctionpublic String tensorflowName()
DifferentialFunctiontensorflowName in class DifferentialFunctionpublic List<SDVariable> doDiff(List<SDVariable> f1)
DifferentialFunctiondoDiff in class DifferentialFunctionpublic float zeroHalf()
IndexAccumulationCopyright © 2018. All rights reserved.