public class Entropy extends BaseReduceFloatOp
dimensionVariable, isComplex, isEmptyReduce, keepDimsdimensionz, extraArgz, x, xVertexId, y, yVertexId, z, zVertexIddimensions, extraArgs, inPlace, ownName, ownNameSetWithDefault, sameDiff, scalarValue| Constructor and Description |
|---|
Entropy() |
Entropy(INDArray in,
boolean keepDims,
int[] dimensions) |
Entropy(INDArray input,
INDArray output,
boolean keepDims,
int... dimensions) |
Entropy(INDArray x,
INDArray y,
INDArray z,
boolean keepDims,
int... dimensions) |
Entropy(INDArray x,
INDArray y,
INDArray z,
int... dimensions) |
Entropy(INDArray x,
INDArray z,
int... dimensions) |
Entropy(INDArray x,
int... dimensions) |
Entropy(INDArray in,
int[] dimensions,
boolean keepDims) |
Entropy(SameDiff sameDiff,
SDVariable i_v,
boolean keepDims,
int[] dimensions) |
Entropy(SameDiff sameDiff,
SDVariable i_v,
boolean keepDims,
SDVariable dimensions) |
Entropy(SameDiff sameDiff,
SDVariable i_v,
int[] dimensions) |
Entropy(SameDiff sameDiff,
SDVariable input,
int[] dimensions,
boolean keepDims) |
Entropy(SameDiff sameDiff,
SDVariable input,
SDVariable dimensions) |
Entropy(SameDiff sameDiff,
SDVariable input,
SDVariable dimensions,
boolean keepDims) |
Entropy(SameDiff sameDiff,
SDVariable i_v,
SDVariable i_v2,
int[] dimensions) |
Entropy(SameDiff sameDiff,
SDVariable i_v,
SDVariable i_v2,
SDVariable 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, validateDataTypesconfigureWithSameDiff, hasReductionIndices, initFromOnnx, initFromTensorFlow, isComplexAccumulation, isKeepDims, noOp, setDimensions, setPropertiesForFunctionclearArrays, computeVariables, 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, getBooleanFromProperty, getDoubleValueFromProperty, getIntValueFromProperty, getLongValueFromProperty, getStringFromProperty, getValue, isConfigProperties, larg, mappingsForFunction, onnxNames, outputs, outputVariable, outputVariables, outputVariablesNames, propertiesForFunction, rarg, replaceArg, setInstanceId, 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(SameDiff sameDiff, SDVariable i_v, boolean keepDims, SDVariable dimensions)
public Entropy(SameDiff sameDiff, SDVariable i_v, SDVariable i_v2, SDVariable dimensions)
public Entropy(SameDiff sameDiff, SDVariable input, SDVariable dimensions, boolean keepDims)
public Entropy(SameDiff sameDiff, SDVariable input, SDVariable dimensions)
public Entropy()
public Entropy(INDArray x, int... dimensions)
public Entropy(INDArray in, boolean keepDims, int[] dimensions)
public Entropy(SameDiff sameDiff, SDVariable i_v, boolean keepDims, int[] dimensions)
public Entropy(SameDiff sameDiff, SDVariable i_v, SDVariable i_v2, int[] dimensions)
public Entropy(SameDiff sameDiff, SDVariable input, int[] dimensions, boolean keepDims)
public Entropy(INDArray in, int[] dimensions, boolean keepDims)
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 © 2022. All rights reserved.