public class Entropy extends BaseReduceFloatOp
isComplex, isEmptyReduce, keepDimsdimensionz, extraArgz, x, xVertexId, y, yVertexId, z, zVertexIddimensions, extraArgs, inPlace, ownName, ownNameSetWithDefault, sameDiff, scalarValue| Constructor and Description |
|---|
Entropy() |
Entropy(INDArray x,
INDArray z,
int... dimensions) |
Entropy(INDArray x,
int... dimensions) |
Entropy(SameDiff sameDiff,
SDVariable i_v,
int[] dimensions) |
| Modifier and Type | Method and Description |
|---|---|
List<SDVariable> |
doDiff(List<SDVariable> f1)
The actual implementation for automatic differentiation.
|
Op.Type |
getOpType() |
static List<SDVariable> |
grad(SameDiff sd,
SDVariable arg,
SDVariable grad,
int[] dimensions) |
String |
opName()
The name of the op
|
int |
opNum()
The number of the op (mainly for old legacy XYZ ops
like
Op) |
calculateOutputDataTypes, calculateOutputShape, calculateOutputShape, opType, resultType, resultType, validateDataTypeshasReductionIndices, initFromOnnx, initFromTensorFlow, isComplexAccumulation, isKeepDims, noOp, setDimensionsclearArrays, defineDimensions, dimensions, equals, extraArgs, extraArgsBuff, extraArgsDataBuff, getFinalResult, getInputArgument, getNumOutputs, getOpType, hashCode, onnxName, outputVariables, setX, setY, setZ, tensorflowName, toCustomOp, toString, x, y, zarg, arg, argNames, args, attributeAdaptersForFunction, configFieldName, diff, dup, getValue, isConfigProperties, larg, mappingsForFunction, onnxNames, outputs, outputVariable, outputVariables, outputVariablesNames, propertiesForFunction, rarg, replaceArg, setInstanceId, setPropertiesForFunction, setValueFor, tensorflowNamesclone, finalize, getClass, notify, notifyAll, wait, wait, waitdimensions, getFinalResult, isComplexAccumulation, isKeepDims, noOp, setDimensionsclearArrays, extraArgs, extraArgsBuff, extraArgsDataBuff, setExtraArgs, setX, setY, setZ, toCustomOp, x, y, zpublic Entropy(SameDiff sameDiff, SDVariable i_v, int[] dimensions)
public Entropy()
public Entropy(INDArray x, int... dimensions)
public int opNum()
DifferentialFunctionOp)opNum in interface OpopNum in class DifferentialFunctionpublic String opName()
DifferentialFunctionopName in interface OpopName in class DifferentialFunctionpublic Op.Type getOpType()
getOpType in interface ReduceOpgetOpType in class BaseReduceFloatOppublic List<SDVariable> doDiff(List<SDVariable> f1)
DifferentialFunctiondoDiff in class DifferentialFunctionpublic static List<SDVariable> grad(SameDiff sd, SDVariable arg, SDVariable grad, int[] dimensions)
Copyright © 2021. All rights reserved.