From c0e5941e31000447c10dd64fe5dfc47309ec33c7 Mon Sep 17 00:00:00 2001 From: Qiao Longfei Date: Fri, 8 Mar 2019 10:35:01 +0800 Subject: [PATCH] add commnet for recv do_not_run --- paddle/fluid/operators/distributed_ops/recv_op.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/operators/distributed_ops/recv_op.cc b/paddle/fluid/operators/distributed_ops/recv_op.cc index afbf7a4a234..3fd0700a077 100644 --- a/paddle/fluid/operators/distributed_ops/recv_op.cc +++ b/paddle/fluid/operators/distributed_ops/recv_op.cc @@ -131,7 +131,7 @@ This operator can get variables from server side. "(vector) " "the splited parameter varnames to be recved from pserver") .SetDefault(std::vector{}); - AddAttr("do_not_run", "").SetDefault(false); + AddAttr("do_not_run", "if recv need to really run").SetDefault(false); } }; -- GitLab