提交 43e54079 编写于 作者: Y Yu Yang

Debug code

上级 e335f018
...@@ -545,6 +545,13 @@ void ParallelExecutor::ConstructDependencyGraph( ...@@ -545,6 +545,13 @@ void ParallelExecutor::ConstructDependencyGraph(
harzaeds need to be handled. harzaeds need to be handled.
*/ */
PolishGraphToSupportDataHazards(); PolishGraphToSupportDataHazards();
for (auto &g : grads) {
LOG(INFO) << member_->vars_.begin()
->second[g]
.rbegin()
->second.pending_ops_.size();
}
} }
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册