MCPcopy Create free account
hub / github.com/alibaba/MNN / run_cmd

Function run_cmd

tools/script/convertTfliteTest.py:9–16  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

7
8import os
9def run_cmd(args):
10 cmd = args[0]
11 for i in range(1, len(args)):
12 cmd += ' ' + args[i]
13 stdout = os.popen(cmd).read()
14 global total_num
15 total_num += 1
16 return stdout
17
18gWrong = []
19

Callers 1

Calls 2

rangeFunction · 0.85
readMethod · 0.45

Tested by

no test coverage detected