未验证 提交 57de4842 编写于 作者: K Kaipeng Deng 提交者: GitHub

optimizer var exlcude fluid.data var. test=develop (#22594)

上级 948299ae
...@@ -111,7 +111,7 @@ def is_persistable(var): ...@@ -111,7 +111,7 @@ def is_persistable(var):
def is_belong_to_optimizer(var): def is_belong_to_optimizer(var):
if not isinstance(var, Parameter): if not isinstance(var, Parameter) or var.desc.need_check_feed():
return is_persistable(var) return is_persistable(var)
return False return False
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册