public static enum BackPropagationNet.WeightInitialization extends Enum<BackPropagationNet.WeightInitialization>
Enum Constant and Description |
---|
GUASSIAN |
TANH_NORMALIZED_INITIALIZATION |
UNIFORM |
Modifier and Type | Method and Description |
---|---|
abstract double |
getWeight(int inputSize,
int layerSize,
double eta,
Random rand) |
static BackPropagationNet.WeightInitialization |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BackPropagationNet.WeightInitialization[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BackPropagationNet.WeightInitialization UNIFORM
public static final BackPropagationNet.WeightInitialization GUASSIAN
public static final BackPropagationNet.WeightInitialization TANH_NORMALIZED_INITIALIZATION
public static BackPropagationNet.WeightInitialization[] values()
for (BackPropagationNet.WeightInitialization c : BackPropagationNet.WeightInitialization.values()) System.out.println(c);
public static BackPropagationNet.WeightInitialization valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract double getWeight(int inputSize, int layerSize, double eta, Random rand)
inputSize
- also referred to as the faninlayerSize
- also referred to as the fanouteta
- the initial learning raterand
- the source of randomnessCopyright © 2017. All rights reserved.