未验证 提交 692ac3e5 编写于 作者: H hong19860320 提交者: GitHub

Add AsExtra in relu6 Op Maker (#35472)

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