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

Method list_functions

python/tvm/relax/base_py_module.py:469–475  ·  view source on GitHub ↗

List all available functions.

(self)

Source from the content-addressed store, hash-verified

467 return None
468
469 def list_functions(self) -> dict[str, list[str]]:
470 """List all available functions."""
471 return {
472 "tirx": self.tir_func_names,
473 "relax": self.relax_func_names,
474 "extern": list(self.extern_funcs.keys()),
475 }
476
477 def add_python_function(self, name: str, func: callable):
478 """Add a Python function to the module."""

Calls 1

keysMethod · 0.45

Tested by

no test coverage detected