Enum 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 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 name
        NullPointerException - if the argument is null