Enum Model.NodeClass

java.lang.Object
java.lang.Enum<Model.NodeClass>
org.tensorflow.proto.data.model.Model.NodeClass
All Implemented Interfaces:
Internal.EnumLite, ProtocolMessageEnum, Serializable, Comparable<Model.NodeClass>
Enclosing class:
Model

public static enum Model.NodeClass extends Enum<Model.NodeClass> implements ProtocolMessageEnum
Class of a node in the performance model.
Protobuf enum tensorflow.data.model.NodeClass
  • Enum Constant Details

    • UNKNOWN

      public static final Model.NodeClass UNKNOWN
      UNKNOWN = 0;
    • INTERLEAVE_MANY

      public static final Model.NodeClass INTERLEAVE_MANY
      INTERLEAVE_MANY = 1;
    • ASYNC_INTERLEAVE_MANY

      public static final Model.NodeClass ASYNC_INTERLEAVE_MANY
      ASYNC_INTERLEAVE_MANY = 2;
    • KNOWN_RATIO

      public static final Model.NodeClass KNOWN_RATIO
      KNOWN_RATIO = 3;
    • ASYNC_KNOWN_RATIO

      public static final Model.NodeClass ASYNC_KNOWN_RATIO
      ASYNC_KNOWN_RATIO = 4;
    • UNKNOWN_RATIO

      public static final Model.NodeClass UNKNOWN_RATIO
      UNKNOWN_RATIO = 5;
    • ASYNC_UNKNOWN_RATIO

      public static final Model.NodeClass ASYNC_UNKNOWN_RATIO
      ASYNC_UNKNOWN_RATIO = 6;
    • UNRECOGNIZED

      public static final Model.NodeClass UNRECOGNIZED
  • Field Details

    • UNKNOWN_VALUE

      public static final int UNKNOWN_VALUE
      UNKNOWN = 0;
      See Also:
    • INTERLEAVE_MANY_VALUE

      public static final int INTERLEAVE_MANY_VALUE
      INTERLEAVE_MANY = 1;
      See Also:
    • ASYNC_INTERLEAVE_MANY_VALUE

      public static final int ASYNC_INTERLEAVE_MANY_VALUE
      ASYNC_INTERLEAVE_MANY = 2;
      See Also:
    • KNOWN_RATIO_VALUE

      public static final int KNOWN_RATIO_VALUE
      KNOWN_RATIO = 3;
      See Also:
    • ASYNC_KNOWN_RATIO_VALUE

      public static final int ASYNC_KNOWN_RATIO_VALUE
      ASYNC_KNOWN_RATIO = 4;
      See Also:
    • UNKNOWN_RATIO_VALUE

      public static final int UNKNOWN_RATIO_VALUE
      UNKNOWN_RATIO = 5;
      See Also:
    • ASYNC_UNKNOWN_RATIO_VALUE

      public static final int ASYNC_UNKNOWN_RATIO_VALUE
      ASYNC_UNKNOWN_RATIO = 6;
      See Also:
  • Method Details

    • values

      public static Model.NodeClass[] 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 Model.NodeClass 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
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface Internal.EnumLite
      Specified by:
      getNumber in interface ProtocolMessageEnum
    • valueOf

      @Deprecated public static Model.NodeClass valueOf(int value)
      Deprecated.
      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:
      value - 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
    • forNumber

      public static Model.NodeClass forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static Internal.EnumLiteMap<Model.NodeClass> internalGetValueMap()
    • getValueDescriptor

      public final Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface ProtocolMessageEnum
    • getDescriptorForType

      public final Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface ProtocolMessageEnum
    • getDescriptor

      public static final Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static Model.NodeClass valueOf(Descriptors.EnumValueDescriptor desc)
      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:
      desc - 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