未验证 提交 fda183d3 编写于 作者: C ceci3 提交者: GitHub

fix temporary tensor erase in new exe (#45404)

上级 985f2a4a
......@@ -630,7 +630,6 @@ class PostTrainingQuantization(object):
if var.name in self._quantized_act_var_name:
var.persistable = False
to_erase.append(var.name)
self._scope.erase(to_erase)
def _sampling(self):
'''
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册