Add missing using statement.

These functions are in global namespace and so need using statement for int64
type.

PiperOrigin-RevId: 260022631
This commit is contained in:
Jacques Pienaar 2019-07-25 14:35:24 -07:00 committed by TensorFlower Gardener
parent cee76c0b4d
commit f8d304cfd8

View File

@ -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<int64> ConvertDenseIntAttr(mlir::DenseIntElementsAttr attr) {
llvm::ArrayRef<int64> raw_data = attr.getValues<int64>();
if (attr.isSplat())