Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/MNN
/ run_cmd
Function
run_cmd
tools/script/modelTestForAndroid.py:6–11 ·
view source on GitHub ↗
(args)
Source
from the content-addressed store, hash-verified
4
import
sys
5
6
def
run_cmd(args):
7
cmd = args[0]
8
for
i in range(1, len(args)):
9
cmd +=
' '
+ args[i]
10
stdout = os.popen(cmd).read()
11
return
stdout
12
13
gWrong = []
14
gRight = 0
Callers
1
test
Function · 0.70
Calls
2
range
Function · 0.85
read
Method · 0.45
Tested by
no test coverage detected