public class ManhattanDistance extends BaseAccumulation
Modifier and Type | Field and Description |
---|---|
static String |
OP_NAME |
finalResult, isComplex, keepDims, newFormat
extraArgs, extraArgz, n, numProcessed, passThrough, x, xVertexId, y, yVertexId, z, zVertexId
dimensions, inPlace, sameDiff, scalarValue
Constructor and Description |
---|
ManhattanDistance() |
ManhattanDistance(INDArray x) |
ManhattanDistance(INDArray x,
INDArray y) |
ManhattanDistance(INDArray x,
INDArray y,
boolean allDistances) |
ManhattanDistance(INDArray x,
INDArray y,
INDArray z,
boolean allDistances) |
ManhattanDistance(INDArray x,
INDArray y,
INDArray z,
long n) |
ManhattanDistance(INDArray x,
INDArray y,
long n) |
ManhattanDistance(SameDiff sameDiff,
SDVariable i_v,
int[] dimensions) |
ManhattanDistance(SameDiff sameDiff,
SDVariable i_v,
SDVariable i_v2,
int[] dimensions) |
Modifier and Type | Method and Description |
---|---|
List<SDVariable> |
doDiff(List<SDVariable> i_v1)
The actual implementation for automatic differentiation.
|
Op.Type |
getOpType() |
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 ) |
Op.Type |
opType()
The type of the op
|
String |
tensorflowName()
The opName of this function tensorflow
|
calculateOutputShape, getFinalResult, hasReductionIndices, initFromOnnx, initFromTensorFlow, isComplexAccumulation, isKeepDims, noOp, setFinalResult, zeroDouble, zeroFloat, zeroHalf
equals, exec, exec, extraArgs, extraArgsBuff, extraArgsDataBuff, getOpType, hashCode, init, isExecSpecial, isPassThrough, n, numProcessed, outputVariables, setN, setX, setY, setZ, toCustomOp, toString, x, y, z
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, z
public static final String OP_NAME
public ManhattanDistance(SameDiff sameDiff, SDVariable i_v, int[] dimensions)
public ManhattanDistance(SameDiff sameDiff, SDVariable i_v, SDVariable i_v2, int[] dimensions)
public ManhattanDistance()
public ManhattanDistance(INDArray x)
public Op.Type opType()
DifferentialFunction
opType
in class BaseAccumulation
public Op.Type getOpType()
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 List<SDVariable> doDiff(List<SDVariable> i_v1)
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.