From bc65583b2b4e3f48b6a724832ef96ab176666d33 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Fri, 8 Jun 2018 14:58:43 -0700 Subject: Allow large allocations in toco. PiperOrigin-RevId: 199855838 --- tensorflow/contrib/lite/toco/model.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tensorflow/contrib/lite/toco/model.h b/tensorflow/contrib/lite/toco/model.h index 2ec36d27ef..2f43adb07b 100644 --- a/tensorflow/contrib/lite/toco/model.h +++ b/tensorflow/contrib/lite/toco/model.h @@ -1644,8 +1644,8 @@ struct SparseToDenseOperator : Operator { // be used for the transient array at hand. The 'start' and 'end' values are // offsets from the start of the workspace buffer, expressed in bytes. struct Alloc { - int start = 0; - int end = 0; + int64 start = 0; + int64 end = 0; }; inline bool operator<(const Alloc& a, const Alloc& b) { -- cgit v1.2.3