diff options
author | Vijay Vasudevan <vrv@google.com> | 2016-11-03 17:07:01 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2016-11-03 18:24:53 -0700 |
commit | 818993c7751601527d662d2417f220e4e856e4ef (patch) | |
tree | a9cb33d6332f3e37d740cd6eb6984a1837714237 /tensorflow/core/common_runtime/simple_placer.cc | |
parent | a19c425536bba29997807bbbd5ed43386d3cb7bd (diff) |
Merge changes from github.
Change: 138143557
Diffstat (limited to 'tensorflow/core/common_runtime/simple_placer.cc')
-rw-r--r-- | tensorflow/core/common_runtime/simple_placer.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tensorflow/core/common_runtime/simple_placer.cc b/tensorflow/core/common_runtime/simple_placer.cc index fda429b52a..721e73898b 100644 --- a/tensorflow/core/common_runtime/simple_placer.cc +++ b/tensorflow/core/common_runtime/simple_placer.cc @@ -815,9 +815,11 @@ void SimplePlacer::AssignAndLog(const string& assigned_device, node->set_assigned_device_name(assigned_device); // Log placement if log_device_placement is set. if (options_ && options_->config.log_device_placement()) { - printf("%s: %s\n", node->name().c_str(), + printf("%s: (%s): %s\n", node->name().c_str(), + node->type_string().c_str(), node->assigned_device_name().c_str()); - LOG(INFO) << node->name() << ": " << node->assigned_device_name(); + LOG(INFO) << node->name() << ": " << "(" << node->type_string() << ")" + << node->assigned_device_name(); } } |