public static enum SGD.Momentum extends Enum<SGD.Momentum>
Enum Constant and Description |
---|
NESTEROV
Nesterov momentum.
|
NONE
No momentum.
|
STANDARD
Standard momentum.
|
Modifier and Type | Method and Description |
---|---|
static SGD.Momentum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SGD.Momentum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SGD.Momentum NONE
public static final SGD.Momentum STANDARD
public static final SGD.Momentum NESTEROV
public static SGD.Momentum[] values()
for (SGD.Momentum c : SGD.Momentum.values()) System.out.println(c);
public static SGD.Momentum 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 nullCopyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.