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

Function gen_input_name

script/test_model.py:17–18  ·  view source on GitHub ↗
(shape, dtype)

Source from the content-addressed store, hash-verified

15
16
17def gen_input_name(shape, dtype):
18 return "_".join([str(i) for i in shape]) + "_" + dtype
19
20
21def gen_input(path, shape, dtype):

Callers 1

parse_model_infoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected