From 0695c1fbe87514d6204797955e549bcc4f78ef21 Mon Sep 17 00:00:00 2001 From: minqiyang Date: Thu, 25 Oct 2018 10:36:21 +0800 Subject: [PATCH] Add remind for code test=develop --- paddle/fluid/operators/lookup_table_op.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/paddle/fluid/operators/lookup_table_op.cc b/paddle/fluid/operators/lookup_table_op.cc index 5971f0ddd4e..d7f6cd5ab0a 100644 --- a/paddle/fluid/operators/lookup_table_op.cc +++ b/paddle/fluid/operators/lookup_table_op.cc @@ -81,6 +81,8 @@ class LookupTableOpMaker : public framework::OpProtoAndCheckerMaker { "Otherwise the given value indicates padding the output " "with zeros whenever lookup encounters it in Ids.") .SetDefault(kNoPadding); + // NOTE(minqiyang): grad_inplace is an temporal attribute, + // please do NOT set this attribute in python layer. AddAttr("grad_inplace", "(boolean, default false) " "If the grad op reuse the input's variable.") -- GitLab