提交 94a88d78 编写于 作者: 李寅

Merge branch 'fix_code_format' into 'master'

fix code format

See merge request !640
......@@ -35,8 +35,11 @@ from common import mace_check
from common import MaceLogger
from common import StringFormatter
################################
# set environment
################################
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
################################
# common definitions
################################
......@@ -1219,7 +1222,7 @@ def benchmark_model(flags):
################################
# Parsing arguments
# parsing arguments
################################
def str2bool(v):
if v.lower() in ('yes', 'true', 't', 'y', '1'):
......
......@@ -1060,12 +1060,12 @@ def merge_libs(target_soc,
which_sys = platform.system()
if which_sys == "Linux":
cmd = sh.Command("%s/toolchains/" % os.environ["ANDROID_NDK_HOME"] +
"aarch64-linux-android-4.9/prebuilt/linux-x86_64/" +
"bin/aarch64-linux-android-ar")
"aarch64-linux-android-4.9/prebuilt/linux-x86_64/" +
"bin/aarch64-linux-android-ar")
elif which_sys == "Darwin":
cmd = sh.Command("%s/toolchains/" % os.environ["ANDROID_NDK_HOME"] +
"aarch64-linux-android-4.9/prebuilt/darwin-x86_64/" +
"bin/aarch64-linux-android-ar")
"aarch64-linux-android-4.9/prebuilt/darwin-x86_64/" +
"bin/aarch64-linux-android-ar")
cmd("-M", _in=mri_stream)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册