MCPcopy Create free account
hub / github.com/apache/tvm-ffi / __call__

Method __call__

python/tvm_ffi/module.py:296–299  ·  view source on GitHub ↗

Call the module's entry function (`main`).

(self, *args: Any)

Source from the content-addressed store, hash-verified

294 return self.get_function(name)
295
296 def __call__(self, *args: Any) -> Any:
297 """Call the module's entry function (`main`)."""
298 # pylint: disable=not-callable
299 return self.main(*args)
300
301 def inspect_source(self, fmt: str = "") -> str:
302 """Get source code from module, if available.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected