[XLA] Unbreak the build by using protobuf's int64 type.

PiperOrigin-RevId: 290868470
Change-Id: I35f10bd922e458252236835069408699a4c68da9
This commit is contained in:
Tim Shen 2020-01-21 18:30:40 -08:00 committed by TensorFlower Gardener
parent 73ac5eb902
commit 933fa7cfeb

View File

@ -58,9 +58,10 @@ struct ShapeInfo {
mlir::Type element_type;
};
ShapeInfo GetShapeInfo(const Shape& shape, int64 n_dim, int64 c_dim,
absl::Span<const int64> spatial_dims,
mlir::Builder builder) {
ShapeInfo GetShapeInfo(
const Shape& shape, int64 n_dim, int64 c_dim,
absl::Span<const tensorflow::protobuf_int64> spatial_dims,
mlir::Builder builder) {
ShapeInfo shape_info;
std::vector<int64> physical_to_logical(