MCPcopy Index your code
hub / github.com/apache/tvm / _wrap_tir_functions

Method _wrap_tir_functions

python/tvm/relax/base_py_module.py:159–162  ·  view source on GitHub ↗

Wrap TIR functions to make them accessible as instance attributes.

(self)

Source from the content-addressed store, hash-verified

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."""

Callers 1

__init__Method · 0.95

Calls 1

itemsMethod · 0.45

Tested by

no test coverage detected