提交 a0381457 编写于 作者: L LDOUBLEV

fix bug in line185

上级 b4d7be33
......@@ -182,7 +182,7 @@ function func_inference(){
if [ ${use_trt} = "False" ] && [ ${precision} != "fp32" ]; then
continue
fi
if [ ${use_trt} = "False" || ${precision} != "int8"] && [ ${_flag_quant} = "True" ]; then
if [[ ${use_trt} = "False" || ${precision} != "int8" ]] && [ ${_flag_quant} = "True" ]; then
continue
fi
for batch_size in ${batch_size_list[*]}; do
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册