public enum WeightInitScheme extends java.lang.Enum<WeightInitScheme>
Enum Constant and Description |
---|
HE
As per He et al.
|
ONES
Weights are initialized with ones
|
XAVIER
As per Glorot and Bengio (2010): Gaussian distribution with mean 0, variance 2.0/(fanIn + fanOut)
|
XAVIER_UNIFORM
As per Glorot and Bengio (2010): Uniform distribution U(-s,s) with s = sqrt(6/(fanIn + fanOut))
|
ZEROS
Weights are initialized with zeros
|
Modifier and Type | Method and Description |
---|---|
static WeightInitScheme |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WeightInitScheme[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final WeightInitScheme HE
public static final WeightInitScheme ONES
public static final WeightInitScheme XAVIER
public static final WeightInitScheme XAVIER_UNIFORM
public static final WeightInitScheme ZEROS
public static WeightInitScheme valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static WeightInitScheme[] values()
for (WeightInitScheme c : WeightInitScheme.values()) System.out.println(c);