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

Function android_test

tools/script/modelTestForAndroid.py:82–84  ·  view source on GitHub ↗
(root_dir, forwardType, thredhold, bits)

Source from the content-addressed store, hash-verified

80 print(w)
81
82def android_test(root_dir, forwardType, thredhold, bits):
83 test(root_dir, str(forwardType) + str(thredhold))
84 print("TEST_NAME_MODEL%d: 模型测试%d\nTEST_CASE_AMOUNT_MODEL%d: {\"blocked\":0,\"failed\":%d,\"passed\":%d,\"skipped\":0}\n"%(bits, bits, bits, len(gWrong), gRight))
85
86if __name__ == '__main__':
87 root_dir = sys.argv[1]

Callers

nothing calls this directly

Calls 3

strFunction · 0.85
printFunction · 0.85
testFunction · 0.70

Tested by

no test coverage detected