提交 39a44e38 编写于 作者: Y yuyang18

Add Debug log

上级 fb370f44
...@@ -173,6 +173,8 @@ std::unique_ptr<SSAGraph> MultiDevSSAGraphBuilder::Build( ...@@ -173,6 +173,8 @@ std::unique_ptr<SSAGraph> MultiDevSSAGraphBuilder::Build(
for (size_t i = 0; i < backward_vars.size(); ++i) { for (size_t i = 0; i < backward_vars.size(); ++i) {
auto &p_name = backward_vars[i]; auto &p_name = backward_vars[i];
auto &g_name = backward_vars[i + 1]; auto &g_name = backward_vars[i + 1];
VLOG(10) << "Bcast " << g_name << " for parameter " << p_name;
switch (strategy_.reduce_) { switch (strategy_.reduce_) {
case BuildStrategy::ReduceStrategy::kReduce: case BuildStrategy::ReduceStrategy::kReduce:
CreateReduceOp(&result, g_name, cur_device_id); CreateReduceOp(&result, g_name, cur_device_id);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册