Enum MPSCNNNeuronType

java.lang.Object
java.lang.Enum<MPSCNNNeuronType>
org.robovm.apple.metalps.MPSCNNNeuronType
All Implemented Interfaces:
Serializable, Comparable<MPSCNNNeuronType>, ValuedEnum

public enum MPSCNNNeuronType
extends Enum<MPSCNNNeuronType>
implements ValuedEnum
  • Enum Constant Details

    • None

      public static final MPSCNNNeuronType None
      Since:
      Available in iOS 11.0 and later.
    • ReLU

      public static final MPSCNNNeuronType ReLU
      Since:
      Available in iOS 11.0 and later.
    • Linear

      public static final MPSCNNNeuronType Linear
      Since:
      Available in iOS 11.0 and later.
    • Sigmoid

      public static final MPSCNNNeuronType Sigmoid
      Since:
      Available in iOS 11.0 and later.
    • HardSigmoid

      public static final MPSCNNNeuronType HardSigmoid
      Since:
      Available in iOS 11.0 and later.
    • TanH

      public static final MPSCNNNeuronType TanH
      Since:
      Available in iOS 11.0 and later.
    • Absolute

      public static final MPSCNNNeuronType Absolute
      Since:
      Available in iOS 11.0 and later.
    • SoftPlus

      public static final MPSCNNNeuronType SoftPlus
      Since:
      Available in iOS 11.0 and later.
    • SoftSign

      public static final MPSCNNNeuronType SoftSign
      Since:
      Available in iOS 11.0 and later.
    • ELU

      public static final MPSCNNNeuronType ELU
      Since:
      Available in iOS 11.0 and later.
    • PReLU

      public static final MPSCNNNeuronType PReLU
      Since:
      Available in iOS 11.0 and later.
    • ReLUN

      public static final MPSCNNNeuronType ReLUN
      Since:
      Available in iOS 11.0 and later.
    • Power

      public static final MPSCNNNeuronType Power
      Since:
      Available in iOS 11.3 and later.
    • Exponential

      public static final MPSCNNNeuronType Exponential
      Since:
      Available in iOS 11.3 and later.
    • Logarithm

      public static final MPSCNNNeuronType Logarithm
      Since:
      Available in iOS 11.3 and later.
    • GeLU

      public static final MPSCNNNeuronType GeLU
      Since:
      Available in iOS 13.0 and later.
    • Count

      public static final MPSCNNNeuronType Count
      Since:
      Available in iOS 11.0 and later.
  • Method Details

    • values

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

      public static MPSCNNNeuronType 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
    • value

      public long value()
      Specified by:
      value in interface ValuedEnum
    • valueOf

      public static MPSCNNNeuronType valueOf​(long n)
      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:
      n - 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