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

Function parse_dump_dir

script/test_model.py:166–172  ·  view source on GitHub ↗
(user_mdl_str)

Source from the content-addressed store, hash-verified

164
165
166def parse_dump_dir(user_mdl_str):
167 model_name_2_mdl = {}
168 for model_case in user_mdl_str.split(","):
169 if len(model_case) > 0:
170 model_name, model_path = model_case.split(":")
171 model_name_2_mdl[model_name] = model_path
172 return model_name_2_mdl
173
174
175def find(name, path):

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected