tvm_tirx.tirx.script.emit

Contents

tvm_tirx.tirx.script.emit#

tvm_tirx.tirx.script.emit(value, *, loc=None)#

Implements tvm_tirx.script.ir_builder.parser_protocol.emit_().

Native statements emit once; receipts are already emitted. Vars, layouts and meta_class instances are inert. Sequences are consumed elementwise; concise frames close with their owning parent. Other values use native expression conversion, retaining its errors for unsupported host values.

Parameters:
  • value (Any)

  • loc (LocationEntry | Location | None)

Return type:

None