Enum Class LayerType

java.lang.Object
java.lang.Enum<LayerType>
deepnetts.net.layers.LayerType
All Implemented Interfaces:
Serializable, Comparable<LayerType>, Constable

public enum LayerType extends Enum<LayerType>
Supported types of layers. Layers are main processing and building block in a neural network.
See Also:
  • Enum Constant Details

    • INPUT

      public static final LayerType INPUT
      Accepts external input to the network.
    • CONVOLUTIONAL

      public static final LayerType CONVOLUTIONAL
      Performs detection of pixel patterns.
    • MAXPOOLING

      public static final LayerType MAXPOOLING
      Downsizes the input.
    • FULLY_CONNECTED

      public static final LayerType FULLY_CONNECTED
      Looks for patterns in inputs.
    • OUTPUT

      public static final LayerType OUTPUT
      Provides final output of the network.
  • Method Details

    • values

      public static LayerType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static LayerType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • equalsName

      public boolean equalsName(String otherName)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<LayerType>