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

fix compute priority. test=develop (#22619)

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