public enum LearningRatePolicy extends java.lang.Enum<LearningRatePolicy>
None = do not apply decay policy aka fixed in Caffe
Exponential = applies decay rate to the power of the # batches
Inverse = divide learning rate by negative (1 + decay rate * # batches)^power
Poly = polynomial decay that hits 0 when iterations are complete
Sigmoid = sigmoid decay rate
Step = decay rate to the power of the floor (nearest integer) of # of batches by # of steps
Schedule = rate to use at a specific iteration
Score = apply decay when score stops improving
Enum Constant and Description |
---|
Exponential |
Inverse |
None |
Poly |
Schedule |
Score |
Sigmoid |
Step |
TorchStep |
Modifier and Type | Method and Description |
---|---|
static LearningRatePolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LearningRatePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LearningRatePolicy None
public static final LearningRatePolicy Exponential
public static final LearningRatePolicy Inverse
public static final LearningRatePolicy Poly
public static final LearningRatePolicy Sigmoid
public static final LearningRatePolicy Step
public static final LearningRatePolicy TorchStep
public static final LearningRatePolicy Schedule
public static final LearningRatePolicy Score
public static LearningRatePolicy[] values()
for (LearningRatePolicy c : LearningRatePolicy.values()) System.out.println(c);
public static LearningRatePolicy 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 null