Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
17
def
gen_input_name(shape, dtype):
18
return
"_"
.join([str(i)
for
i in shape]) +
"_"
+ dtype
19
20
21
def
gen_input(path, shape, dtype):
Callers
1
parse_model_info
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected