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

Merge branch 'fix_code_format' into 'master'

fix code format

See merge request !640
...@@ -35,8 +35,11 @@ from common import mace_check ...@@ -35,8 +35,11 @@ from common import mace_check
from common import MaceLogger from common import MaceLogger
from common import StringFormatter from common import StringFormatter
################################
# set environment
################################
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
################################ ################################
# common definitions # common definitions
################################ ################################
...@@ -1219,7 +1222,7 @@ def benchmark_model(flags): ...@@ -1219,7 +1222,7 @@ def benchmark_model(flags):
################################ ################################
# Parsing arguments # parsing arguments
################################ ################################
def str2bool(v): def str2bool(v):
if v.lower() in ('yes', 'true', 't', 'y', '1'): if v.lower() in ('yes', 'true', 't', 'y', '1'):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册