public static enum OnnxMl.TensorProto.DataType extends java.lang.Enum<OnnxMl.TensorProto.DataType> implements com.google.protobuf.ProtocolMessageEnum
onnx.TensorProto.DataType
Enum Constant and Description |
---|
BFLOAT16
Non-IEEE floating-point format based on IEEE754 single-precision
floating-point number truncated to 16 bits.
|
BOOL
bool
|
COMPLEX128
complex with float64 real and imaginary components
|
COMPLEX64
complex with float32 real and imaginary components
|
DOUBLE
DOUBLE = 11; |
FLOAT
Basic types.
|
FLOAT16
IEEE754 half-precision floating-point format (16 bits wide).
|
INT16
int16_t
|
INT32
int32_t
|
INT64
int64_t
|
INT8
int8_t
|
STRING
string
|
UINT16
uint16_t
|
UINT32
UINT32 = 12; |
UINT64
UINT64 = 13; |
UINT8
uint8_t
|
UNDEFINED
UNDEFINED = 0; |
Modifier and Type | Field and Description |
---|---|
static int |
BFLOAT16_VALUE
Non-IEEE floating-point format based on IEEE754 single-precision
floating-point number truncated to 16 bits.
|
static int |
BOOL_VALUE
bool
|
static int |
COMPLEX128_VALUE
complex with float64 real and imaginary components
|
static int |
COMPLEX64_VALUE
complex with float32 real and imaginary components
|
static int |
DOUBLE_VALUE
DOUBLE = 11; |
static int |
FLOAT_VALUE
Basic types.
|
static int |
FLOAT16_VALUE
IEEE754 half-precision floating-point format (16 bits wide).
|
static int |
INT16_VALUE
int16_t
|
static int |
INT32_VALUE
int32_t
|
static int |
INT64_VALUE
int64_t
|
static int |
INT8_VALUE
int8_t
|
static int |
STRING_VALUE
string
|
static int |
UINT16_VALUE
uint16_t
|
static int |
UINT32_VALUE
UINT32 = 12; |
static int |
UINT64_VALUE
UINT64 = 13; |
static int |
UINT8_VALUE
uint8_t
|
static int |
UNDEFINED_VALUE
UNDEFINED = 0; |
Modifier and Type | Method and Description |
---|---|
static OnnxMl.TensorProto.DataType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<OnnxMl.TensorProto.DataType> |
internalGetValueMap() |
static OnnxMl.TensorProto.DataType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static OnnxMl.TensorProto.DataType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static OnnxMl.TensorProto.DataType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OnnxMl.TensorProto.DataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OnnxMl.TensorProto.DataType UNDEFINED
UNDEFINED = 0;
public static final OnnxMl.TensorProto.DataType FLOAT
Basic types.
FLOAT = 1;
public static final OnnxMl.TensorProto.DataType UINT8
uint8_t
UINT8 = 2;
public static final OnnxMl.TensorProto.DataType INT8
int8_t
INT8 = 3;
public static final OnnxMl.TensorProto.DataType UINT16
uint16_t
UINT16 = 4;
public static final OnnxMl.TensorProto.DataType INT16
int16_t
INT16 = 5;
public static final OnnxMl.TensorProto.DataType INT32
int32_t
INT32 = 6;
public static final OnnxMl.TensorProto.DataType INT64
int64_t
INT64 = 7;
public static final OnnxMl.TensorProto.DataType STRING
string
STRING = 8;
public static final OnnxMl.TensorProto.DataType BOOL
bool
BOOL = 9;
public static final OnnxMl.TensorProto.DataType FLOAT16
IEEE754 half-precision floating-point format (16 bits wide). This format has 1 sign bit, 5 exponent bits, and 10 mantissa bits.
FLOAT16 = 10;
public static final OnnxMl.TensorProto.DataType DOUBLE
DOUBLE = 11;
public static final OnnxMl.TensorProto.DataType UINT32
UINT32 = 12;
public static final OnnxMl.TensorProto.DataType UINT64
UINT64 = 13;
public static final OnnxMl.TensorProto.DataType COMPLEX64
complex with float32 real and imaginary components
COMPLEX64 = 14;
public static final OnnxMl.TensorProto.DataType COMPLEX128
complex with float64 real and imaginary components
COMPLEX128 = 15;
public static final OnnxMl.TensorProto.DataType BFLOAT16
Non-IEEE floating-point format based on IEEE754 single-precision floating-point number truncated to 16 bits. This format has 1 sign bit, 8 exponent bits, and 7 mantissa bits.
BFLOAT16 = 16;
public static final int UNDEFINED_VALUE
UNDEFINED = 0;
public static final int FLOAT_VALUE
Basic types.
FLOAT = 1;
public static final int UINT8_VALUE
uint8_t
UINT8 = 2;
public static final int INT8_VALUE
int8_t
INT8 = 3;
public static final int UINT16_VALUE
uint16_t
UINT16 = 4;
public static final int INT16_VALUE
int16_t
INT16 = 5;
public static final int INT32_VALUE
int32_t
INT32 = 6;
public static final int INT64_VALUE
int64_t
INT64 = 7;
public static final int STRING_VALUE
string
STRING = 8;
public static final int BOOL_VALUE
bool
BOOL = 9;
public static final int FLOAT16_VALUE
IEEE754 half-precision floating-point format (16 bits wide). This format has 1 sign bit, 5 exponent bits, and 10 mantissa bits.
FLOAT16 = 10;
public static final int DOUBLE_VALUE
DOUBLE = 11;
public static final int UINT32_VALUE
UINT32 = 12;
public static final int UINT64_VALUE
UINT64 = 13;
public static final int COMPLEX64_VALUE
complex with float32 real and imaginary components
COMPLEX64 = 14;
public static final int COMPLEX128_VALUE
complex with float64 real and imaginary components
COMPLEX128 = 15;
public static final int BFLOAT16_VALUE
Non-IEEE floating-point format based on IEEE754 single-precision floating-point number truncated to 16 bits. This format has 1 sign bit, 8 exponent bits, and 7 mantissa bits.
BFLOAT16 = 16;
public static OnnxMl.TensorProto.DataType[] values()
for (OnnxMl.TensorProto.DataType c : OnnxMl.TensorProto.DataType.values()) System.out.println(c);
public static OnnxMl.TensorProto.DataType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static OnnxMl.TensorProto.DataType valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static OnnxMl.TensorProto.DataType forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<OnnxMl.TensorProto.DataType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static OnnxMl.TensorProto.DataType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)