Skip to content

Commit

Permalink
add AsExtra for force_cpu of seed op
Browse files Browse the repository at this point in the history
  • Loading branch information
xymyeah committed Sep 27, 2021
1 parent d23b1c4 commit 62c7b11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion paddle/fluid/operators/seed_op.cc
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ class SeedOpMaker : public framework::OpProtoAndCheckerMaker {
"(bool, default false) Force fill output variable to cpu "
"memory. Otherwise, fill output variable to the running "
"device")
.SetDefault(false);
.SetDefault(false)
.AsExtra();
AddComment(R"DOC(
Seed Operator.
)DOC");
Expand Down

1 comment on commit 62c7b11

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulation! Your pull request passed all required CI. You could ask reviewer(s) to approve and merge. 🎉

Please sign in to comment.