diff options
author | A. Unique TensorFlower <nobody@tensorflow.org> | 2016-05-23 08:51:49 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2016-05-23 10:03:40 -0700 |
commit | ac04b7ced3806b8a404c8411b3a120155d360ed1 (patch) | |
tree | ce0984d952210b2da1476a492fe41f9e6f8fa1d4 /tensorflow/core/framework/op_def_util.cc | |
parent | a20408ecd4869c4abf9b16a132ea6b81b715c0d6 (diff) |
Include the Op name in the warning log message stating that an Op is deprecated. Otherwise, its hard to know what Op the message refers to.
Change: 123007172
Diffstat (limited to 'tensorflow/core/framework/op_def_util.cc')
-rw-r--r-- | tensorflow/core/framework/op_def_util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/framework/op_def_util.cc b/tensorflow/core/framework/op_def_util.cc index 73666cba14..071312347a 100644 --- a/tensorflow/core/framework/op_def_util.cc +++ b/tensorflow/core/framework/op_def_util.cc @@ -329,7 +329,7 @@ Status CheckOpDeprecation(const OpDef& op_def, int graph_def_version) { warn = warned.insert(op_def.name()).second; } if (warn) { - LOG(WARNING) << "Op is deprecated." + LOG(WARNING) << "Op " << op_def.name() << " is deprecated." << " It will cease to work in GraphDef version " << dep.version() << ". " << dep.explanation() << "."; } |