MCPcopy Create free account
hub / github.com/apache/tvm / _load

Method _load

python/tvm/relax/transform/attach_external_modules.py:44–46  ·  view source on GitHub ↗
(ext_mod: ExternModule)

Source from the content-addressed store, hash-verified

42 )
43
44 def _load(ext_mod: ExternModule):
45 assert isinstance(ext_mod, ExternModule), f"Expected ExternModule, but got: {ext_mod}"
46 return ext_mod.load()
47
48 mod_attrs = dict(mod.attrs) if mod.attrs else {}
49 external_mods = mod_attrs.get("external_mods", [])

Callers

nothing calls this directly

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected