MCPcopy Create free account
hub / github.com/MegEngine/MegCC / prepare_megcc

Function prepare_megcc

benchmark/python/common.py:12–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10
11
12def prepare_megcc():
13 # build prepare
14 MEGCC_MGB_TO_TINYNN_PATH = os.environ.get("MEGCC_MGB_TO_TINYNN_PATH")
15 assert (
16 MEGCC_MGB_TO_TINYNN_PATH != None
17 ), "MEGCC_MGB_TO_TINYNN_PATH is not valid, please export MEGCC_MGB_TO_TINYNN_PATH to your path of mgb_to_tinynn"
18
19
20def build_megcc_lib(arch_desc="x86",

Callers 1

Calls 1

getMethod · 0.45

Tested by

no test coverage detected