Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/XiaoMi/mace
/ parse_int_array
Function
parse_int_array
tools/python/utils/config_parser.py:220–223 ·
view source on GitHub ↗
(xs)
Source
from the content-addressed store, hash-verified
218
219
220
def
parse_int_array(xs):
221
if
len(xs) is 0:
222
return
[1]
223
return
[int(x)
for
x in xs.split(
","
)]
224
225
226
def
parse_float_array(xs):
Callers
1
normalize_graph_config
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected