public static enum NeuralNet.Loss extends java.lang.Enum<NeuralNet.Loss>
Enum Constant and Description |
---|
CrossEntropy |
MeanSquare |
Modifier and Type | Method and Description |
---|---|
static NeuralNet.Loss |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NeuralNet.Loss[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NeuralNet.Loss MeanSquare
public static final NeuralNet.Loss CrossEntropy
public static NeuralNet.Loss[] values()
for (NeuralNet.Loss c : NeuralNet.Loss.values()) System.out.println(c);
public static NeuralNet.Loss 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