aboutsummaryrefslogtreecommitdiff
path: root/delegate
diff options
context:
space:
mode:
authorCathal Corbett <cathal.corbett@arm.com>2022-05-25 11:21:11 +0100
committerNikhil Raj <nikhil.raj@arm.com>2022-08-05 15:52:42 +0100
commit80b4ef074239c56900ffe27ec5cc47a295deebbb (patch)
treea555c3fc9ecb25e0cbb15066a943f5baad2a7197 /delegate
parent91b574f57ebf90fbb6445ddc25d215029c330a13 (diff)
downloadarmnn-80b4ef074239c56900ffe27ec5cc47a295deebbb.tar.gz
Fix '#if defined(ARMNN_POST_TFLITE_2_3)' in TfLiteParser Conv3D test.
Signed-off-by: Cathal Corbett <cathal.corbett@arm.com> Change-Id: I5c68b81a67fc2b5a33cf62753351440564bb868e
Diffstat (limited to 'delegate')
-rw-r--r--delegate/include/armnn_delegate.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/delegate/include/armnn_delegate.hpp b/delegate/include/armnn_delegate.hpp
index 8aaf255a9d..79ab4bf79c 100644
--- a/delegate/include/armnn_delegate.hpp
+++ b/delegate/include/armnn_delegate.hpp
@@ -17,6 +17,10 @@
#define ARMNN_POST_TFLITE_2_3
#endif
+#if TF_MAJOR_VERSION > 2 || (TF_MAJOR_VERSION == 2 && TF_MINOR_VERSION > 4)
+#define ARMNN_POST_TFLITE_2_4
+#endif
+
#if TF_MAJOR_VERSION > 2 || (TF_MAJOR_VERSION == 2 && TF_MINOR_VERSION > 5)
#define ARMNN_POST_TFLITE_2_5
#endif