From 818993c7751601527d662d2417f220e4e856e4ef Mon Sep 17 00:00:00 2001 From: Vijay Vasudevan Date: Thu, 3 Nov 2016 17:07:01 -0800 Subject: Merge changes from github. Change: 138143557 --- tensorflow/core/common_runtime/simple_placer.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tensorflow/core/common_runtime/simple_placer.cc') 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(); } } -- cgit v1.2.3