diff options
author | Geoffrey Irving <geoffreyi@google.com> | 2016-01-22 09:55:02 -0800 |
---|---|---|
committer | Vijay Vasudevan <vrv@google.com> | 2016-01-22 10:21:30 -0800 |
commit | d552be23658b3bdd1b7dedd34f25631773e81dff (patch) | |
tree | e5776923671da165ced3fa649dbbbcfb4ac07777 /tensorflow/cc/ops | |
parent | 22ebf0a94fd42af2d78b7964e836c92673ddfa31 (diff) |
Change uses of TensorShape::ShortDebugString to DebugString
The two functions already have the same behavior, and ShortDebugString
will disappear soon.
Change: 112793490
Diffstat (limited to 'tensorflow/cc/ops')
-rw-r--r-- | tensorflow/cc/ops/const_op.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/cc/ops/const_op.cc b/tensorflow/cc/ops/const_op.cc index 916874ff9b..cdf653a880 100644 --- a/tensorflow/cc/ops/const_op.cc +++ b/tensorflow/cc/ops/const_op.cc @@ -58,7 +58,7 @@ const string& OpName() { if (tensor.NumElements() != static_cast<int64>(t.size())) { \ options.UpdateStatus(errors::InvalidArgument( \ t.size(), " values provided to Const() != ", tensor.NumElements(), \ - " elements for shape ", shape.ShortDebugString())); \ + " elements for shape ", shape.DebugString())); \ } else { \ std::copy_n(t.data(), t.size(), tensor.flat<TYPE>().data()); \ node_builder.Attr("dtype", dt).Attr("value", tensor); \ |