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