public static enum NeuralNetwork.ActivationFunction extends Enum<NeuralNetwork.ActivationFunction>
Enum Constant and Description |
---|
LINEAR
Linear activation function.
|
LOGISTIC_SIGMOID
Logistic sigmoid activation function.
|
SOFTMAX
Softmax activation for multi-class cross entropy objection function.
|
Modifier and Type | Method and Description |
---|---|
static NeuralNetwork.ActivationFunction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NeuralNetwork.ActivationFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NeuralNetwork.ActivationFunction LINEAR
public static final NeuralNetwork.ActivationFunction LOGISTIC_SIGMOID
public static final NeuralNetwork.ActivationFunction SOFTMAX
public static NeuralNetwork.ActivationFunction[] values()
for (NeuralNetwork.ActivationFunction c : NeuralNetwork.ActivationFunction.values()) System.out.println(c);
public static NeuralNetwork.ActivationFunction 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. All rights reserved.