tvm_tirx::ir

Module module

Source
Expand description

The module: the unit of compilation.

The objects python/tvm_tirx/ir/module.py defines. An IRModule maps global variables to functions, and holds the module attributes, the module-level information and the names of its global variables. IRModule::from_functions is written in Rust after the C++ constructor; the other methods wrap the native ir.IRModule* functions.

Structsยง