diff options
author | Francis Murtagh <francis.murtagh@arm.com> | 2023-04-26 15:58:39 +0100 |
---|---|---|
committer | Francis Murtagh <francis.murtagh@arm.com> | 2023-04-27 17:27:09 +0100 |
commit | 3a9e7bac89a120fddaf3bcf312105258a840dab1 (patch) | |
tree | 381db8bb43e9fdfe822bdfe2bf44395cf8296dd1 /delegate/opaque/include/armnn_delegate.hpp | |
parent | cfbb2717b21fec803839c478dde8292263fa4f45 (diff) | |
download | armnn-3a9e7bac89a120fddaf3bcf312105258a840dab1.tar.gz |
IVGCVSW-7584 IVGCVSW-7585 Implement Conv3d and TransposeConv2d operators for opaque delegate
* Add check for TF version so tests work with opaque and classic
Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
Change-Id: I3a6699150afabfc6200e1cd4d264a1f7c65c5f60
Diffstat (limited to 'delegate/opaque/include/armnn_delegate.hpp')
-rw-r--r-- | delegate/opaque/include/armnn_delegate.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/delegate/opaque/include/armnn_delegate.hpp b/delegate/opaque/include/armnn_delegate.hpp index e08f466f09..653015a63c 100644 --- a/delegate/opaque/include/armnn_delegate.hpp +++ b/delegate/opaque/include/armnn_delegate.hpp @@ -7,9 +7,14 @@ #include <DelegateOptions.hpp> +#include <tensorflow/core/public/version.h> #include <tensorflow/lite/c/c_api_opaque.h> #include <tensorflow/lite/core/experimental/acceleration/configuration/c/stable_delegate.h> +#if TF_MAJOR_VERSION > 2 || (TF_MAJOR_VERSION == 2 && TF_MINOR_VERSION > 5) +#define ARMNN_POST_TFLITE_2_5 +#endif + namespace armnnOpaqueDelegate { |