Enum TensorProto.Types.DataType
Namespace: Onnx
Syntax
public enum DataType
Fields
| Name | Description |
|---|---|
| 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. |
| Bool | bool |
| Complex128 | complex with float64 real and imaginary components |
| Complex64 | complex with float32 real and imaginary components |
| Double | |
| Float | Basic types. |
| Float16 | IEEE754 half-precision floating-point format (16 bits wide). This format has 1 sign bit, 5 exponent bits, and 10 mantissa bits. |
| Int16 | int16_t |
| Int32 | int32_t |
| Int64 | int64_t |
| Int8 | int8_t |
| String | string |
| Uint16 | uint16_t |
| Uint32 | |
| Uint64 | |
| Uint8 | uint8_t |
| Undefined |