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 0c5c4c4 commit 0695c1fCopy full SHA for 0695c1f
paddle/fluid/operators/lookup_table_op.cc
@@ -81,6 +81,8 @@ class LookupTableOpMaker : public framework::OpProtoAndCheckerMaker {
81
"Otherwise the given value indicates padding the output "
82
"with zeros whenever lookup encounters it in Ids.")
83
.SetDefault(kNoPadding);
84
+ // NOTE(minqiyang): grad_inplace is an temporal attribute,
85
+ // please do NOT set this attribute in python layer.
86
AddAttr<bool>("grad_inplace",
87
"(boolean, default false) "
88
"If the grad op reuse the input's variable.")
0 commit comments