From 65c21a1eeff32f3abf91c3a638252ceb1ae5c51e Mon Sep 17 00:00:00 2001 From: Matthew Sloyan Date: Tue, 4 Apr 2023 12:06:14 +0100 Subject: 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 Change-Id: Ifc92b6fb38dc370f3fb88a4daca56d457e74bc2e --- delegate/opaque/include/armnn_delegate.hpp | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'delegate/opaque/include') 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 -- cgit v1.2.1