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 42d3650 commit 8ba58ebCopy full SHA for 8ba58eb
paddle/fluid/operators/partial_sum_op.cc
@@ -143,7 +143,8 @@ class PartialSumOpMaker : public framework::OpProtoAndCheckerMaker {
143
AddAttr<bool>(
144
"use_mkldnn",
145
"(bool, default false) Indicates if MKL-DNN kernel will be used")
146
- .SetDefault(false);
+ .SetDefault(false)
147
+ .AsExtra();
148
AddAttr<int>("start_index", "The start index of tensor wanted to be added.")
149
.SetDefault(0);
150
AddAttr<int>("length", "The length of tensor wanted to be added.")
0 commit comments