未验证 提交 ce7c18f6 编写于 作者: C CtfGo 提交者: GitHub

mark WhileOp AsExtra attribute (#35499)

* mark WhileOp AsExtra attribute

* revert kX and kOutputs
上级 82b33be3
...@@ -198,7 +198,8 @@ class WhileOpMaker : public framework::OpProtoAndCheckerMaker { ...@@ -198,7 +198,8 @@ class WhileOpMaker : public framework::OpProtoAndCheckerMaker {
AddAttr<std::vector<std::string>>(kSkipEagerDeletionVars, AddAttr<std::vector<std::string>>(kSkipEagerDeletionVars,
"Vars that would skip eager deletion." "Vars that would skip eager deletion."
"Users should not set this manually.") "Users should not set this manually.")
.SetDefault(std::vector<std::string>()); .SetDefault(std::vector<std::string>())
.AsExtra();
AddComment(R"DOC( AddComment(R"DOC(
)DOC"); )DOC");
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册