dtype

class tripy.dtype[source]

Bases: type

The base type for all data types supported by tripy.

name: str

The human-readable name of the data type

itemsize: float

The size of an element of this data type, in bytes

class tripy.integer[source]

The base class for all integer data types.

class tripy.floating[source]

The base class for all floating-point data types.

class tripy.float32

32-bit floating point

class tripy.float16

16-bit floating point

class tripy.float8

8-bit floating point

class tripy.bfloat16

16-bit brain-float

class tripy.int4

4-bit signed integer

class tripy.int8

8-bit signed integer

class tripy.int32

32-bit signed integer

class tripy.int64

64-bit signed integer

class tripy.bool

Boolean