Package inference

Enum Class ModelConfigOuterClass.DataType

java.lang.Object
java.lang.Enum<ModelConfigOuterClass.DataType>
inference.ModelConfigOuterClass.DataType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<ModelConfigOuterClass.DataType>, Constable
Enclosing class:
ModelConfigOuterClass

public static enum ModelConfigOuterClass.DataType extends Enum<ModelConfigOuterClass.DataType> implements com.google.protobuf.ProtocolMessageEnum
@@
@@.. cpp:enum:: DataType
@@
@@   Data types supported for input and output tensors.
@@
 
Protobuf enum inference.DataType
  • Enum Constant Details

  • Field Details

    • TYPE_INVALID_VALUE

      public static final int TYPE_INVALID_VALUE
      @@  .. cpp:enumerator:: DataType::INVALID = 0
       
      TYPE_INVALID = 0;
      See Also:
    • TYPE_BOOL_VALUE

      public static final int TYPE_BOOL_VALUE
      @@  .. cpp:enumerator:: DataType::BOOL = 1
       
      TYPE_BOOL = 1;
      See Also:
    • TYPE_UINT8_VALUE

      public static final int TYPE_UINT8_VALUE
      @@  .. cpp:enumerator:: DataType::UINT8 = 2
       
      TYPE_UINT8 = 2;
      See Also:
    • TYPE_UINT16_VALUE

      public static final int TYPE_UINT16_VALUE
      @@  .. cpp:enumerator:: DataType::UINT16 = 3
       
      TYPE_UINT16 = 3;
      See Also:
    • TYPE_UINT32_VALUE

      public static final int TYPE_UINT32_VALUE
      @@  .. cpp:enumerator:: DataType::UINT32 = 4
       
      TYPE_UINT32 = 4;
      See Also:
    • TYPE_UINT64_VALUE

      public static final int TYPE_UINT64_VALUE
      @@  .. cpp:enumerator:: DataType::UINT64 = 5
       
      TYPE_UINT64 = 5;
      See Also:
    • TYPE_INT8_VALUE

      public static final int TYPE_INT8_VALUE
      @@  .. cpp:enumerator:: DataType::INT8 = 6
       
      TYPE_INT8 = 6;
      See Also:
    • TYPE_INT16_VALUE

      public static final int TYPE_INT16_VALUE
      @@  .. cpp:enumerator:: DataType::INT16 = 7
       
      TYPE_INT16 = 7;
      See Also:
    • TYPE_INT32_VALUE

      public static final int TYPE_INT32_VALUE
      @@  .. cpp:enumerator:: DataType::INT32 = 8
       
      TYPE_INT32 = 8;
      See Also:
    • TYPE_INT64_VALUE

      public static final int TYPE_INT64_VALUE
      @@  .. cpp:enumerator:: DataType::INT64 = 9
       
      TYPE_INT64 = 9;
      See Also:
    • TYPE_FP16_VALUE

      public static final int TYPE_FP16_VALUE
      @@  .. cpp:enumerator:: DataType::FP16 = 10
       
      TYPE_FP16 = 10;
      See Also:
    • TYPE_FP32_VALUE

      public static final int TYPE_FP32_VALUE
      @@  .. cpp:enumerator:: DataType::FP32 = 11
       
      TYPE_FP32 = 11;
      See Also:
    • TYPE_FP64_VALUE

      public static final int TYPE_FP64_VALUE
      @@  .. cpp:enumerator:: DataType::FP64 = 12
       
      TYPE_FP64 = 12;
      See Also:
    • TYPE_STRING_VALUE

      public static final int TYPE_STRING_VALUE
      @@  .. cpp:enumerator:: DataType::STRING = 13
       
      TYPE_STRING = 13;
      See Also:
    • TYPE_BF16_VALUE

      public static final int TYPE_BF16_VALUE
      @@  .. cpp:enumerator:: DataType::BF16 = 14
       
      TYPE_BF16 = 14;
      See Also:
  • Method Details

    • values

      public static ModelConfigOuterClass.DataType[] 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 ModelConfigOuterClass.DataType 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
    • getNumber

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

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

      public static ModelConfigOuterClass.DataType 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 com.google.protobuf.Internal.EnumLiteMap<ModelConfigOuterClass.DataType> internalGetValueMap()
    • getValueDescriptor

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

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

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static ModelConfigOuterClass.DataType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      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:
      desc - 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