未验证 提交 6cdc1dc9 编写于 作者: Z zmx 提交者: GitHub

add AsExtra to the reshape op (#35358)

add AsExtra to the use_mkldnn attribute of reshape op
上级 07126112
......@@ -279,7 +279,8 @@ class ReshapeOpMaker : public framework::OpProtoAndCheckerMaker {
.SetDefault({});
AddAttr<bool>("use_mkldnn",
"(bool, default false) Only used in mkldnn kernel")
.SetDefault(false);
.SetDefault(false)
.AsExtra();
AddComment(R"DOC(
Reshape Operator.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册