Enum LSTMActivations
- java.lang.Object
-
- java.lang.Enum<LSTMActivations>
-
- org.nd4j.linalg.api.ops.impl.layers.recurrent.config.LSTMActivations
-
- All Implemented Interfaces:
Serializable
,Comparable<LSTMActivations>
public enum LSTMActivations extends Enum<LSTMActivations>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AFFINE
ELU
HARD_SIGMOID
LEAKY_RELU
RELU
SCALED_TAHN
SIGMOID
SOFTPLUS
SOFTSIGN
TANH
THRESHHOLD_RELU
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LSTMActivations
valueOf(String name)
Returns the enum constant of this type with the specified name.static LSTMActivations[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TANH
public static final LSTMActivations TANH
-
RELU
public static final LSTMActivations RELU
-
SIGMOID
public static final LSTMActivations SIGMOID
-
AFFINE
public static final LSTMActivations AFFINE
-
LEAKY_RELU
public static final LSTMActivations LEAKY_RELU
-
THRESHHOLD_RELU
public static final LSTMActivations THRESHHOLD_RELU
-
SCALED_TAHN
public static final LSTMActivations SCALED_TAHN
-
HARD_SIGMOID
public static final LSTMActivations HARD_SIGMOID
-
ELU
public static final LSTMActivations ELU
-
SOFTSIGN
public static final LSTMActivations SOFTSIGN
-
SOFTPLUS
public static final LSTMActivations SOFTPLUS
-
-
Method Detail
-
values
public static LSTMActivations[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LSTMActivations c : LSTMActivations.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LSTMActivations valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-