From 398f18ee3e8822d3143f0bca7fb2b5bbc066e232 Mon Sep 17 00:00:00 2001 From: Cathal Corbett Date: Fri, 7 Jun 2024 09:12:55 +0100 Subject: IVGCVSW-8429 Fix for opaque delegate ExNet not correctly unloading runtime. Signed-off-by: Cathal Corbett Change-Id: Ifd8a2e11fbbd19baaf0ceb232417c2450fdece18 --- delegate/opaque/src/armnn_delegate.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'delegate/opaque/src/armnn_delegate.cpp') diff --git a/delegate/opaque/src/armnn_delegate.cpp b/delegate/opaque/src/armnn_delegate.cpp index 9e047f6a68..71ef114b80 100644 --- a/delegate/opaque/src/armnn_delegate.cpp +++ b/delegate/opaque/src/armnn_delegate.cpp @@ -385,6 +385,9 @@ ArmnnSubgraph::~ArmnnSubgraph() { profiler->Print(std::cout); } + + // We're finished with the network. + m_Runtime->UnloadNetwork(m_NetworkId); } TfLiteStatus ArmnnSubgraph::AddInputLayer(DelegateData& delegateData, -- cgit v1.2.1