Package org.nd4j.enums
Enum CellAct
- java.lang.Object
-
- java.lang.Enum<CellAct>
-
- org.nd4j.enums.CellAct
-
- All Implemented Interfaces:
Serializable,Comparable<CellAct>
public enum CellAct extends Enum<CellAct>
Activations
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AFFINEELUHARD_SIGMOIDLEAKY_RELURELUSCALED_TAHNSIGMOIDSOFTPLUSSOFTSIGNTANHTHRESHHOLD_RELU
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CellActvalueOf(String name)Returns the enum constant of this type with the specified name.static CellAct[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TANH
public static final CellAct TANH
-
RELU
public static final CellAct RELU
-
SIGMOID
public static final CellAct SIGMOID
-
AFFINE
public static final CellAct AFFINE
-
LEAKY_RELU
public static final CellAct LEAKY_RELU
-
THRESHHOLD_RELU
public static final CellAct THRESHHOLD_RELU
-
SCALED_TAHN
public static final CellAct SCALED_TAHN
-
HARD_SIGMOID
public static final CellAct HARD_SIGMOID
-
ELU
public static final CellAct ELU
-
SOFTSIGN
public static final CellAct SOFTSIGN
-
SOFTPLUS
public static final CellAct SOFTPLUS
-
-
Method Detail
-
values
public static CellAct[] 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 (CellAct c : CellAct.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CellAct 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
-
-