diff options
author | Matthew Sloyan <matthew.sloyan@arm.com> | 2023-04-04 12:06:14 +0100 |
---|---|---|
committer | Matthew Sloyan <matthew.sloyan@arm.com> | 2023-04-07 18:23:12 +0100 |
commit | 65c21a1eeff32f3abf91c3a638252ceb1ae5c51e (patch) | |
tree | 9dfdf5727687c09a932f8d8dd2f2047e3b5690cd /delegate/opaque/include/armnn_delegate.hpp | |
parent | 40847fc1f8ae7b7f56ca16eec92d1b46929f53e3 (diff) | |
download | armnn-65c21a1eeff32f3abf91c3a638252ceb1ae5c51e.tar.gz |
IVGCVSW-7563 Implement DelegateTestInterpreter for opaque delegate
* Added opaque delegate DelegateTestInterpreter implementation
* Moved classic specific tests to ArmnnClassicDelegateTest.cpp
* Moved opaque specific tests to ArmnnOpaqueDelegateTest.cpp
* Removed ArmnnDelegateTest.cpp
* Moved TfLiteStableDelegate implementation to armnn_delegate.cpp
Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com>
Change-Id: Ifc92b6fb38dc370f3fb88a4daca56d457e74bc2e
Diffstat (limited to 'delegate/opaque/include/armnn_delegate.hpp')
-rw-r--r-- | delegate/opaque/include/armnn_delegate.hpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/delegate/opaque/include/armnn_delegate.hpp b/delegate/opaque/include/armnn_delegate.hpp index 5522699e26..3dda7c8631 100644 --- a/delegate/opaque/include/armnn_delegate.hpp +++ b/delegate/opaque/include/armnn_delegate.hpp @@ -77,17 +77,10 @@ private: static int TfLiteArmnnOpaqueDelegateErrno(TfLiteOpaqueDelegate* delegate) { return 0; } - - /// In order for the delegate to be loaded by TfLite +/// In order for the delegate to be loaded by TfLite const TfLiteOpaqueDelegatePlugin* GetArmnnDelegatePluginApi(); -extern const TfLiteStableDelegate TFL_TheStableDelegate = -{ - /*delegate_abi_version=*/ TFL_STABLE_DELEGATE_ABI_VERSION, - /*delegate_name=*/ "ArmnnDelegatePlugin", - /*delegate_version=*/ "1.0.0", - /*delegate_plugin=*/ GetArmnnDelegatePluginApi() -}; +extern const TfLiteStableDelegate TFL_TheStableDelegate; /// ArmnnSubgraph class where parsing the nodes to ArmNN format and creating the ArmNN Graph class ArmnnSubgraph |