public class LogNormalDistribution extends BaseRandomOp
shapedimensionz, extraArgz, x, xVertexId, y, yVertexId, z, zVertexIddimensions, extraArgs, inPlace, sameDiff, scalarValue| Constructor and Description |
|---|
LogNormalDistribution() |
LogNormalDistribution(INDArray z)
This op fills Z with random values within -1.0..0..1.0
|
LogNormalDistribution(INDArray z,
double stddev)
This op fills Z with random values within stddev..0..stddev
|
LogNormalDistribution(INDArray z,
double mean,
double stddev)
This op fills Z with random values within stddev..mean..stddev boundaries
|
LogNormalDistribution(INDArray z,
INDArray means,
double stddev) |
LogNormalDistribution(SameDiff sd,
double mean,
double stdev,
long... shape) |
| Modifier and Type | Method and Description |
|---|---|
List<DataType> |
calculateOutputDataTypes(List<DataType> inputDataTypes)
Calculate the data types for the output arrays.
|
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) |
void |
setZ(INDArray z)
set z (the solution ndarray)
|
String |
tensorflowName()
The opName of this function tensorflow
|
calculateOutputShape, isInPlace, opTypedefineDimensions, dimensions, equals, extraArgs, extraArgsBuff, extraArgsDataBuff, getFinalResult, getNumOutputs, getOpType, hashCode, initFromOnnx, initFromTensorFlow, outputVariables, setX, setY, toCustomOp, toString, x, y, zarg, arg, argNames, args, attributeAdaptersForFunction, configFieldName, diff, dup, f, getValue, isConfigProperties, larg, mappingsForFunction, onnxNames, outputVariable, outputVariables, outputVariablesNames, propertiesForFunction, rarg, replaceArg, resolvePropertiesFromSameDiffBeforeExecution, setInstanceId, setPropertiesForFunction, setValueFor, tensorflowNamesclone, finalize, getClass, notify, notifyAll, wait, wait, waitextraArgs, extraArgsBuff, extraArgsDataBuff, setExtraArgs, setX, setY, toCustomOp, x, y, zpublic LogNormalDistribution()
public LogNormalDistribution(SameDiff sd, double mean, double stdev, long... shape)
public LogNormalDistribution(@NonNull
INDArray z,
double mean,
double stddev)
z - mean - stddev - public LogNormalDistribution(@NonNull
INDArray z,
@NonNull
INDArray means,
double stddev)
public LogNormalDistribution(@NonNull
INDArray z)
z - public LogNormalDistribution(@NonNull
INDArray z,
double stddev)
z - public String onnxName()
DifferentialFunctiononnxName in class DifferentialFunctionpublic String tensorflowName()
DifferentialFunctiontensorflowName in class DifferentialFunctionpublic int opNum()
DifferentialFunctionOp)opNum in interface OpopNum in class DifferentialFunctionpublic String opName()
DifferentialFunctionopName in interface OpopName in class DifferentialFunctionpublic void setZ(INDArray z)
Oppublic List<SDVariable> doDiff(List<SDVariable> f1)
DifferentialFunctiondoDiff in class DifferentialFunctionpublic List<DataType> calculateOutputDataTypes(List<DataType> inputDataTypes)
DifferentialFunctionDifferentialFunction.calculateOutputShape(), this method differs in that it does not
require the input arrays to be populated.
This is important as it allows us to do greedy datatype inference for the entire net - even if arrays are not
available.calculateOutputDataTypes in class BaseRandomOpinputDataTypes - The data types of the inputsCopyright © 2019. All rights reserved.