dtype

class nvtripy.dtype[source]

Bases: type

The base type for all data types supported by nvtripy.

name: str

The human-readable name of the data type

itemsize: float

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

class nvtripy.integer[source]

The base class for all integer data types.

class nvtripy.floating[source]

The base class for all floating-point data types.

class nvtripy.float32

32-bit floating point

class nvtripy.float16

16-bit floating point

class nvtripy.float8

8-bit floating point

class nvtripy.bfloat16

16-bit brain-float

class nvtripy.int4

4-bit signed integer

class nvtripy.int8

8-bit signed integer

class nvtripy.int32

32-bit signed integer

class nvtripy.int64

64-bit signed integer

class nvtripy.bool

Boolean