hidet.ir.type

class hidet.ir.type.DataType(name, short_name, nbytes)[source]

The data type that defines how to interpret the data in memory.

Parameters
  • name (str) –

  • short_name (str) –

  • nbytes (int) –

hidet.ir.type.data_type(dtype)[source]
Parameters

dtype (Union[str, hidet.ir.type.DataType]) –

Return type

hidet.ir.type.DataType