diff options
author | Cathal Corbett <cathal.corbett@arm.com> | 2024-06-07 09:12:55 +0100 |
---|---|---|
committer | Cathal Corbett <cathal.corbett@arm.com> | 2024-06-18 16:06:50 +0000 |
commit | 398f18ee3e8822d3143f0bca7fb2b5bbc066e232 (patch) | |
tree | d9b91c3373cd468e6a8a3bc3422fe7b2ce734aea /delegate/opaque/src/armnn_delegate.cpp | |
parent | c02f0d3d7b50638269bc8697d71c11f90b2857a3 (diff) | |
download | armnn-398f18ee3e8822d3143f0bca7fb2b5bbc066e232.tar.gz |
IVGCVSW-8429 Fix for opaque delegate ExNet not correctly unloading runtime.
Signed-off-by: Cathal Corbett <cathal.corbett@arm.com>
Change-Id: Ifd8a2e11fbbd19baaf0ceb232417c2450fdece18
Diffstat (limited to 'delegate/opaque/src/armnn_delegate.cpp')
-rw-r--r-- | delegate/opaque/src/armnn_delegate.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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, |