diff options
author | Yong Tang <yong.tang.github@outlook.com> | 2018-07-13 06:04:03 +0000 |
---|---|---|
committer | Yong Tang <yong.tang.github@outlook.com> | 2018-07-13 06:04:03 +0000 |
commit | 5fdb6643ae2b068798922bf96bbf2894e5576aed (patch) | |
tree | c949098993dc6df0468e8577fa98f1574bbcafde /tensorflow/core/framework | |
parent | 2bd9b11055c2ca5120a1ab94c3d6d94ee63c6215 (diff) |
Format tensor.cc with clang-foramt
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Diffstat (limited to 'tensorflow/core/framework')
-rw-r--r-- | tensorflow/core/framework/tensor.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tensorflow/core/framework/tensor.cc b/tensorflow/core/framework/tensor.cc index c69658a0b0..c7554482aa 100644 --- a/tensorflow/core/framework/tensor.cc +++ b/tensorflow/core/framework/tensor.cc @@ -917,7 +917,9 @@ void PrintOneDim(int dim_index, const gtl::InlinedVector<int64, 4>& shape, for (int64 i = 0; i < element_count; i++) { if (*data_index >= limit) { // If not enough elements has been printed, append "...". - if (i < element_count) { strings::StrAppend(result, "..."); } + if (i < element_count) { + strings::StrAppend(result, "..."); + } return; } if (i > 0) strings::StrAppend(result, " "); |