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

Method __getitem__

python/tvm/runtime/executable.py:40–42  ·  view source on GitHub ↗

Get the Function from the jitted module.

(self, name: str)

Source from the content-addressed store, hash-verified

38 self._jitted_mod: Module | None = None
39
40 def __getitem__(self, name: str) -> Function:
41 """Get the Function from the jitted module."""
42 return self.jit().get_function(name, query_imports=True)
43
44 def __call__(self, *args, **kwargs) -> Any:
45 """Call the executable."""

Callers

nothing calls this directly

Calls 2

jitMethod · 0.95
get_functionMethod · 0.45

Tested by

no test coverage detected