Enum InputType.Type
- java.lang.Object
-
- java.lang.Enum<InputType.Type>
-
- org.deeplearning4j.nn.conf.inputs.InputType.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<InputType.Type>
- Enclosing class:
- InputType
public static enum InputType.Type extends Enum<InputType.Type>
The type of activations in/out of a given GraphVertex
FF: Standard feed-foward (2d minibatch, 1d per example) data
RNN: Recurrent neural network (3d minibatch) time series data
CNN: 2D Convolutional neural network (4d minibatch, [miniBatchSize, channels, height, width]) CNNFlat: Flattened 2D conv net data (2d minibatch, [miniBatchSize, height * width * channels]) CNN3D: 3D convolutional neural network (5d minibatch, [miniBatchSize, channels, height, width, channels])
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InputType.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static InputType.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FF
public static final InputType.Type FF
-
RNN
public static final InputType.Type RNN
-
CNN
public static final InputType.Type CNN
-
CNNFlat
public static final InputType.Type CNNFlat
-
CNN3D
public static final InputType.Type CNN3D
-
-
Method Detail
-
values
public static InputType.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 (InputType.Type c : InputType.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 InputType.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
-
-