未验证 提交 1e2a371c 编写于 作者: R risemeup1 提交者: GitHub

repair log bugs that keeps printing warnings (#47467)

上级 31b677bd
......@@ -476,7 +476,7 @@ class PostTrainingQuantization(object):
self._reset_activation_persistable()
if self._algo is 'min_max':
if self._algo == 'min_max':
self._save_input_threhold()
else:
self._update_program()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册