diff options
author | Teresa Charlin <teresa.charlinreyes@arm.com> | 2023-10-19 19:13:29 +0100 |
---|---|---|
committer | TeresaARM <teresa.charlinreyes@arm.com> | 2023-10-25 12:02:06 +0000 |
commit | 3e4b60897bde2ad7ab5b730c7c5d727e41cc0eef (patch) | |
tree | 20fe9535bc7ad775f7a42f3324c86e7671fd3a48 /delegate/opaque/src/armnn_delegate.cpp | |
parent | c9c28351e6742732a6e8ad268ac93c36b94a8ee0 (diff) | |
download | armnn-3e4b60897bde2ad7ab5b730c7c5d727e41cc0eef.tar.gz |
IVGCVSW-7722 Add ArmNNSettings to Opaque Delegate
* Fix order for reading options to read backend first independently of the order given
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: Ia87b5920c7cd79b3e66bb6e5779e2355b21a7ec6
Diffstat (limited to 'delegate/opaque/src/armnn_delegate.cpp')
-rw-r--r-- | delegate/opaque/src/armnn_delegate.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/delegate/opaque/src/armnn_delegate.cpp b/delegate/opaque/src/armnn_delegate.cpp index 8e3597d1d3..129bc4333b 100644 --- a/delegate/opaque/src/armnn_delegate.cpp +++ b/delegate/opaque/src/armnn_delegate.cpp @@ -258,12 +258,8 @@ TfLiteStatus DoPrepare(TfLiteOpaqueContext* tfLiteContext, TfLiteOpaqueDelegate* return status; } -TfLiteOpaqueDelegate* TfLiteArmnnOpaqueDelegateCreate(const void* settings) +TfLiteOpaqueDelegate* TfLiteArmnnOpaqueDelegateCreate(armnnDelegate::DelegateOptions options) { - // This method will always create Opaque Delegate with default settings until - // we have a DelegateOptions Constructor which can parse the void* settings - armnn::IgnoreUnused(settings); - auto options = TfLiteArmnnDelegateOptionsDefault(); auto* armnnDelegate = new ::armnnOpaqueDelegate::ArmnnOpaqueDelegate(options); return TfLiteOpaqueDelegateCreate(armnnDelegate->GetDelegateBuilder()); } |