From 2e7cd201a4337f49ce07de8cde11c3b8dd90f9ab Mon Sep 17 00:00:00 2001 From: Yang Yang Date: Tue, 10 Oct 2017 21:30:03 +0000 Subject: [PATCH] remove log in backward --- paddle/framework/backward.cc | 1 - paddle/framework/executor_test.cc | 1 - 2 files changed, 2 deletions(-) diff --git a/paddle/framework/backward.cc b/paddle/framework/backward.cc index 774d8e49180..0a4688db9c9 100644 --- a/paddle/framework/backward.cc +++ b/paddle/framework/backward.cc @@ -378,7 +378,6 @@ std::vector> MakeBlockBackward( backward_descs[dup_op[i]]->Rename(out_name, new_name); sum_op_inputs.emplace_back(new_name); } - LOG(INFO) << "sum_op_inputs size " << sum_op_inputs.size(); std::unique_ptr sum_op(new OpDescBind( "sum", {{"X", sum_op_inputs}}, {{"Out", {out_name}}}, {})); pending_sum_ops.push_back({dup_op.back(), std::move(sum_op)}); diff --git a/paddle/framework/executor_test.cc b/paddle/framework/executor_test.cc index 5ad5b98e7b2..1cd72702400 100644 --- a/paddle/framework/executor_test.cc +++ b/paddle/framework/executor_test.cc @@ -35,7 +35,6 @@ USE_OP(squared_l2_distance); USE_OP(fill_constant); USE_OP(sgd); -using std::string; using namespace paddle::platform; using namespace paddle::framework; -- GitLab