tvm_tirx.script.ir_builder.dtype

Contents

tvm_tirx.script.ir_builder.dtype#

tvm_tirx.script.ir_builder.dtype(value)#

Construct a tvm_ffi.dtype-valued constant for an ordinary operation argument.

Unlike scalar constructors such as T.float32, this constructs a dtype value, rather than a scalar value or variable of that dtype.

Parameters:

value (str | dtype)

Return type:

DataTypeImm