class documentation

class DataType(Enum):

View In Hierarchy

Data types supported by NN Archive input and output streams.

Constant BOOLEAN Boolean value.
Constant FLOAT16 16-bit floating point.
Constant FLOAT32 32-bit floating point.
Constant FLOAT64 64-bit floating point.
Constant INT16 Signed 16-bit integer.
Constant INT32 Signed 32-bit integer.
Constant INT4 Signed 4-bit integer.
Constant INT64 Signed 64-bit integer.
Constant INT8 Signed 8-bit integer.
Constant STRING String value.
Constant UINT16 Unsigned 16-bit integer.
Constant UINT32 Unsigned 32-bit integer.
Constant UINT4 Unsigned 4-bit integer.
Constant UINT64 Unsigned 64-bit integer.
Constant UINT8 Unsigned 8-bit integer.
BOOLEAN: str =

Boolean value.

Value
'boolean'
FLOAT16: str =

16-bit floating point.

Value
'float16'
FLOAT32: str =

32-bit floating point.

Value
'float32'
FLOAT64: str =

64-bit floating point.

Value
'float64'
INT16: str =

Signed 16-bit integer.

Value
'int16'
INT32: str =

Signed 32-bit integer.

Value
'int32'
INT4: str =

Signed 4-bit integer.

Value
'int4'
INT64: str =

Signed 64-bit integer.

Value
'int64'
INT8: str =

Signed 8-bit integer.

Value
'int8'
STRING: str =

String value.

Value
'string'
UINT16: str =

Unsigned 16-bit integer.

Value
'uint16'
UINT32: str =

Unsigned 32-bit integer.

Value
'uint32'
UINT4: str =

Unsigned 4-bit integer.

Value
'uint4'
UINT64: str =

Unsigned 64-bit integer.

Value
'uint64'
UINT8: str =

Unsigned 8-bit integer.

Value
'uint8'