未验证 提交 464f2af8 编写于 作者: 王明冬 提交者: GitHub

Revert "modify the fix_seed attribute in dropout op is a def...

Revert "modify the fix_seed attribute in dropout op is a def attribute.test=develop (#38100)" (#38127)

This reverts commit f44add7b.
上级 96597a85
......@@ -88,8 +88,8 @@ class DropoutOpMaker : public framework::OpProtoAndCheckerMaker {
"training. Setting this flag to true is only useful in "
"unittest or for debug that always the same output units "
"will be dropped.")
.SetDefault(false);
.SetDefault(false)
.AsExtra();
AddAttr<int>("seed", "Dropout random seed.").SetDefault(0).AsExtra();
AddAttr<std::string>(
"dropout_implementation",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册