提交 bc775191 编写于 作者: L liuqi

Fix mace tools enable openmp arg parse bug.

上级 4fa3cd08
...@@ -386,8 +386,8 @@ def parse_args(): ...@@ -386,8 +386,8 @@ def parse_args():
help="Enable out of range check for opencl.") help="Enable out of range check for opencl.")
parser.add_argument( parser.add_argument(
"--enable_openmp", "--enable_openmp",
type="bool", type=str2bool,
default="true", default=True,
help="Enable openmp.") help="Enable openmp.")
parser.add_argument( parser.add_argument(
"--omp_num_threads", "--omp_num_threads",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册