We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc8d46c commit ef7bc36Copy full SHA for ef7bc36
paddle/fluid/operators/gather_op.cc
@@ -138,7 +138,8 @@ class GatherOpMaker : public framework::OpProtoAndCheckerMaker {
138
"In backward process, calc the grad when has same index,"
139
"If true, update the grad using the overwrite mode in same index,"
140
"If false, using the accumulate mode in same index.")
141
- .SetDefault(true);
+ .SetDefault(true)
142
+ .AsExtra();
143
AddAttr<int>(
144
"axis",
145
"The Tensor which contains the axis that we do gather operation.")
0 commit comments