提交 2e7cd201 编写于 作者: Y Yang Yang

remove log in backward

上级 062ff4d7
...@@ -378,7 +378,6 @@ std::vector<std::unique_ptr<OpDescBind>> MakeBlockBackward( ...@@ -378,7 +378,6 @@ std::vector<std::unique_ptr<OpDescBind>> MakeBlockBackward(
backward_descs[dup_op[i]]->Rename(out_name, new_name); backward_descs[dup_op[i]]->Rename(out_name, new_name);
sum_op_inputs.emplace_back(new_name); sum_op_inputs.emplace_back(new_name);
} }
LOG(INFO) << "sum_op_inputs size " << sum_op_inputs.size();
std::unique_ptr<OpDescBind> sum_op(new OpDescBind( std::unique_ptr<OpDescBind> sum_op(new OpDescBind(
"sum", {{"X", sum_op_inputs}}, {{"Out", {out_name}}}, {})); "sum", {{"X", sum_op_inputs}}, {{"Out", {out_name}}}, {}));
pending_sum_ops.push_back({dup_op.back(), std::move(sum_op)}); pending_sum_ops.push_back({dup_op.back(), std::move(sum_op)});
......
...@@ -35,7 +35,6 @@ USE_OP(squared_l2_distance); ...@@ -35,7 +35,6 @@ USE_OP(squared_l2_distance);
USE_OP(fill_constant); USE_OP(fill_constant);
USE_OP(sgd); USE_OP(sgd);
using std::string;
using namespace paddle::platform; using namespace paddle::platform;
using namespace paddle::framework; using namespace paddle::framework;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册