MCPcopy
hub / github.com/apache/tvm / load

Method load

python/tvm/relax/frontend/nn/extern.py:394–398  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

392 shutil.move(str(object_path), str(output_path))
393
394 def load(self) -> Module:
395 with tempfile.TemporaryDirectory() as temp_dir_str:
396 output_path = Path(temp_dir_str) / f"main{self.output_suffix}"
397 self.compile(output_path)
398 return self._load(output_path)

Callers

nothing calls this directly

Calls 2

compileMethod · 0.95
_loadMethod · 0.45

Tested by

no test coverage detected