From 4b9082a4cddbd8cbc10c061569d481c2ac8a21fa Mon Sep 17 00:00:00 2001 From: Qiao Longfei Date: Wed, 28 Nov 2018 22:16:33 +0800 Subject: [PATCH] follow comment --- paddle/fluid/operators/lookup_table_op.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/paddle/fluid/operators/lookup_table_op.h b/paddle/fluid/operators/lookup_table_op.h index 17286191c26..3a73a7637c6 100644 --- a/paddle/fluid/operators/lookup_table_op.h +++ b/paddle/fluid/operators/lookup_table_op.h @@ -24,9 +24,7 @@ limitations under the License. */ #include "paddle/fluid/operators/math/blas.h" #ifdef PADDLE_WITH_DISTRIBUTE - #include "paddle/fluid/operators/distributed/parameter_prefetch.h" - #endif namespace paddle { @@ -55,8 +53,8 @@ class LookupTableKernel : public framework::OpKernel { auto height_sections = context.Attr>("height_sections"); auto table_names = context.Attr>("table_names"); - if (!height_sections.empty()) { -// if emap is not empty, then the parameter will be fetched from remote + if (!epmap.empty()) { +// if epmap is not empty, then the parameter will be fetched from remote // parameter // server #ifdef PADDLE_WITH_DISTRIBUTE -- GitLab