Wrap TIR functions to make them accessible as instance attributes.
(self)
| 157 | self.relax_vm = None |
| 158 | |
| 159 | def _wrap_tir_functions(self): |
| 160 | """Wrap TIR functions to make them accessible as instance attributes.""" |
| 161 | for func_name, func in self.compiled_tir_funcs.items(): |
| 162 | setattr(self, func_name, func) |
| 163 | |
| 164 | def _wrap_relax_functions(self): |
| 165 | """Wrap Relax functions to be callable from Python with auto conversion.""" |