未验证 提交 142ea171 编写于 作者: G Guanghua Yu 提交者: GitHub

fix clip extra when QAT export model (#38323)

上级 0a79499c
...@@ -506,7 +506,7 @@ class ImperativeQuantizeOutputs(object): ...@@ -506,7 +506,7 @@ class ImperativeQuantizeOutputs(object):
main_program=infer_program.clone(), main_program=infer_program.clone(),
model_filename=model_filename, model_filename=model_filename,
params_filename=params_filename, params_filename=params_filename,
clip_extra=True) clip_extra=False)
if is_dynamic_mode: if is_dynamic_mode:
paddle.disable_static() paddle.disable_static()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册