DataType

class ctranslate2.DataType

Inherits from: pybind11_builtins.pybind11_object

Attributes:

__init__(value: int) None
bfloat16 = <DataType.bfloat16: 5>
float16 = <DataType.float16: 4>
float32 = <DataType.float32: 0>
int16 = <DataType.int16: 2>
int32 = <DataType.int32: 3>
int8 = <DataType.int8: 1>
property name
property value