diff options
author | Justin Lebar <jlebar@google.com> | 2018-08-23 22:49:44 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-08-23 22:54:09 -0700 |
commit | b06b33cd8c6007f3aa78d2026a12f0d9fb12b274 (patch) | |
tree | 731213560c08eee72a75a139f81bf7c2c5c63383 /tensorflow/compiler/xla/service/shape_inference.cc | |
parent | 31db31d631955ce281d11b53e909cef713a1f39b (diff) |
[XLA] Use "absl::" rather than "::absl".
Also move 'using' statements into namespaces.
PiperOrigin-RevId: 210055083
Diffstat (limited to 'tensorflow/compiler/xla/service/shape_inference.cc')
-rw-r--r-- | tensorflow/compiler/xla/service/shape_inference.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tensorflow/compiler/xla/service/shape_inference.cc b/tensorflow/compiler/xla/service/shape_inference.cc index 68a90cdf3b..6a22f8bef4 100644 --- a/tensorflow/compiler/xla/service/shape_inference.cc +++ b/tensorflow/compiler/xla/service/shape_inference.cc @@ -38,13 +38,12 @@ limitations under the License. #include "tensorflow/core/platform/logging.h" #include "tensorflow/core/platform/protobuf.h" -using absl::StrJoin; -using tensorflow::strings::Printf; - namespace xla { - namespace { +using absl::StrJoin; +using tensorflow::strings::Printf; + // Returns true if no element is present in slice more than once. bool AllUnique(tensorflow::gtl::ArraySlice<int64> slice) { return std::set<int64>(slice.begin(), slice.end()).size() == slice.size(); |