public class NormalDistribution extends org.deeplearning4j.nn.conf.distribution.NormalDistribution implements OptionHandler
| Constructor and Description |
|---|
NormalDistribution()
Constructions normal distribution with mean 0 and unit variance.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getMean() |
java.lang.String[] |
getOptions()
Gets the current settings of the Classifier.
|
double |
getStd() |
java.util.Enumeration<Option> |
listOptions()
Returns an enumeration describing the available options.
|
void |
setMean(double mean) |
void |
setOptions(java.lang.String[] options)
Parses a given list of options.
|
void |
setStd(double std) |
public NormalDistribution()
@OptionMetadata(displayName="mean", description="The mean (default = 1e-3).", commandLineParamName="mean", commandLineParamSynopsis="-mean <double>", displayOrder=1) public double getMean()
getMean in class org.deeplearning4j.nn.conf.distribution.NormalDistributionpublic void setMean(double mean)
setMean in class org.deeplearning4j.nn.conf.distribution.NormalDistribution@OptionMetadata(displayName="standard deviation", description="The standard deviation (default = 1).", commandLineParamName="std", commandLineParamSynopsis="-std <double>", displayOrder=2) public double getStd()
getStd in class org.deeplearning4j.nn.conf.distribution.NormalDistributionpublic void setStd(double std)
setStd in class org.deeplearning4j.nn.conf.distribution.NormalDistributionpublic java.util.Enumeration<Option> listOptions()
listOptions in interface OptionHandlerpublic java.lang.String[] getOptions()
getOptions in interface OptionHandlerpublic void setOptions(java.lang.String[] options)
throws java.lang.Exception
setOptions in interface OptionHandleroptions - the list of options as an array of stringsjava.lang.Exception - if an option is not supported