diff options
author | Jared Duke <jdduke@google.com> | 2018-08-29 08:58:27 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-08-29 09:07:49 -0700 |
commit | 97fb9a9c7c72c405a790eea698a91654d5184fed (patch) | |
tree | de458ca70534a20174fc0fc93465da416e0f9d20 /tensorflow/contrib/lite/mmap_allocation_disabled.cc | |
parent | 0f443619fb13fcd5c34cb7d8c867b64339afdcfc (diff) |
Disable rtti for (most) TFLite targets on Android
PiperOrigin-RevId: 210729533
Diffstat (limited to 'tensorflow/contrib/lite/mmap_allocation_disabled.cc')
-rw-r--r-- | tensorflow/contrib/lite/mmap_allocation_disabled.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tensorflow/contrib/lite/mmap_allocation_disabled.cc b/tensorflow/contrib/lite/mmap_allocation_disabled.cc index f3d4cf1a25..b8756d78f7 100644 --- a/tensorflow/contrib/lite/mmap_allocation_disabled.cc +++ b/tensorflow/contrib/lite/mmap_allocation_disabled.cc @@ -34,6 +34,8 @@ size_t MMAPAllocation::bytes() const { return 0; } bool MMAPAllocation::valid() const { return false; } +Allocation::Type MMAPAllocation::type() const { return Type::kMMAP; } + bool MMAPAllocation::IsSupported() { return false; } } // namespace tflite |