aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/compiler/xla/service/shape_inference.cc
diff options
context:
space:
mode:
authorGravatar Justin Lebar <jlebar@google.com>2018-08-23 22:49:44 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-08-23 22:54:09 -0700
commitb06b33cd8c6007f3aa78d2026a12f0d9fb12b274 (patch)
tree731213560c08eee72a75a139f81bf7c2c5c63383 /tensorflow/compiler/xla/service/shape_inference.cc
parent31db31d631955ce281d11b53e909cef713a1f39b (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.cc7
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();