Package org.deeplearning4j.nn.api
Enum Layer.Type
- java.lang.Object
-
- java.lang.Enum<Layer.Type>
-
- org.deeplearning4j.nn.api.Layer.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<Layer.Type>
- Enclosing interface:
- Layer
public static enum Layer.Type extends Enum<Layer.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONVOLUTIONAL
CONVOLUTIONAL3D
FEED_FORWARD
MULTILAYER
NORMALIZATION
RECURRENT
RECURSIVE
SUBSAMPLING
UPSAMPLING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Layer.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static Layer.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FEED_FORWARD
public static final Layer.Type FEED_FORWARD
-
RECURRENT
public static final Layer.Type RECURRENT
-
CONVOLUTIONAL
public static final Layer.Type CONVOLUTIONAL
-
CONVOLUTIONAL3D
public static final Layer.Type CONVOLUTIONAL3D
-
SUBSAMPLING
public static final Layer.Type SUBSAMPLING
-
UPSAMPLING
public static final Layer.Type UPSAMPLING
-
RECURSIVE
public static final Layer.Type RECURSIVE
-
MULTILAYER
public static final Layer.Type MULTILAYER
-
NORMALIZATION
public static final Layer.Type NORMALIZATION
-
-
Method Detail
-
values
public static Layer.Type[] 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 (Layer.Type c : Layer.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Layer.Type 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
-
-