From f8d304cfd8c80034aada3c11292efacd518b7d7f Mon Sep 17 00:00:00 2001 From: Jacques Pienaar Date: Thu, 25 Jul 2019 14:35:24 -0700 Subject: [PATCH] Add missing using statement. These functions are in global namespace and so need using statement for int64 type. PiperOrigin-RevId: 260022631 --- tensorflow/compiler/mlir/xla/mlir_hlo_to_hlo.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tensorflow/compiler/mlir/xla/mlir_hlo_to_hlo.cc b/tensorflow/compiler/mlir/xla/mlir_hlo_to_hlo.cc index 2ec1324a1cf..bab7a1a4d46 100644 --- a/tensorflow/compiler/mlir/xla/mlir_hlo_to_hlo.cc +++ b/tensorflow/compiler/mlir/xla/mlir_hlo_to_hlo.cc @@ -37,6 +37,8 @@ limitations under the License. #include "tensorflow/compiler/xla/status_macros.h" #include "tensorflow/compiler/xla/xla_data.pb.h" +using tensorflow::int64; + static std::vector ConvertDenseIntAttr(mlir::DenseIntElementsAttr attr) { llvm::ArrayRef raw_data = attr.getValues(); if (attr.isSplat())