public class CosineDistance extends BaseReduce3Op
isComplex, isEmptyReduce, keepDims
dimensionz, extraArgz, x, xVertexId, y, yVertexId, z, zVertexId
dimensions, extraArgs, inPlace, sameDiff, scalarValue
Constructor and Description |
---|
CosineDistance() |
CosineDistance(INDArray x,
INDArray y,
boolean allDistances,
int... dimension) |
CosineDistance(INDArray x,
INDArray y,
INDArray z) |
CosineDistance(INDArray x,
INDArray y,
INDArray z,
boolean keepDims,
boolean allDistances,
int... dimensions) |
CosineDistance(INDArray x,
INDArray y,
INDArray z,
boolean allDistances,
int... dimension) |
CosineDistance(INDArray x,
INDArray y,
INDArray z,
int... dimension) |
CosineDistance(INDArray x,
INDArray y,
int... dimension) |
CosineDistance(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.
|
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
|
calculateOutputDataTypes, getOpType, onnxName, opType, resultType
calculateOutputShape, validateDataTypes
hasReductionIndices, initFromOnnx, initFromTensorFlow, isComplexAccumulation, isKeepDims, noOp, setDimensions
defineDimensions, dimensions, equals, extraArgs, extraArgsBuff, extraArgsDataBuff, getFinalResult, getNumOutputs, getOpType, hashCode, outputVariables, setX, setY, setZ, toCustomOp, toString, x, y, z
arg, arg, argNames, args, attributeAdaptersForFunction, configFieldName, diff, dup, f, getValue, isConfigProperties, larg, mappingsForFunction, onnxNames, outputVariable, outputVariables, outputVariablesNames, propertiesForFunction, rarg, replaceArg, resolvePropertiesFromSameDiffBeforeExecution, setInstanceId, setPropertiesForFunction, setValueFor, tensorflowNames
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
dimensions, getFinalResult, isComplexAccumulation, isKeepDims, noOp, setDimensions
extraArgs, extraArgsBuff, extraArgsDataBuff, setExtraArgs, setX, setY, setZ, toCustomOp, x, y, z
public CosineDistance(SameDiff sameDiff, SDVariable i_v, SDVariable i_v2, int... dimensions)
public CosineDistance()
public CosineDistance(INDArray x, INDArray y, INDArray z, boolean allDistances, int... dimension)
public CosineDistance(INDArray x, INDArray y, boolean allDistances, int... dimension)
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 tensorflowName()
DifferentialFunction
tensorflowName
in class BaseReduce3Op
Copyright © 2019. All rights reserved.