aboutsummaryrefslogtreecommitdiff
path: root/tests/ExecuteNetwork/ArmNNExecutor.cpp
diff options
context:
space:
mode:
authorCathal Corbett <cathal.corbett@arm.com>2024-06-05 16:39:03 +0100
committerCathal Corbett <cathal.corbett@arm.com>2024-06-06 08:36:23 +0000
commite9cf46d26b7229dee030621e7d27cf5d82fe1833 (patch)
treecaf266f60bc8ac91371b6f6deff2a3afecea2b34 /tests/ExecuteNetwork/ArmNNExecutor.cpp
parent3e5d6b0a35937c7310ebbc96b3b1ffe7250561e1 (diff)
downloadarmnn-main.tar.gz
IVGCVSW-8429 Fix for tflite parser ExNet not correctly unloading runtime.HEADmain
Signed-off-by: Cathal Corbett <cathal.corbett@arm.com> Change-Id: I0f9ae70bce4daf96f17ee29e80914dc299e2a7d7
Diffstat (limited to 'tests/ExecuteNetwork/ArmNNExecutor.cpp')
-rw-r--r--tests/ExecuteNetwork/ArmNNExecutor.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ExecuteNetwork/ArmNNExecutor.cpp b/tests/ExecuteNetwork/ArmNNExecutor.cpp
index 2004bb1ec0..ece3dafea4 100644
--- a/tests/ExecuteNetwork/ArmNNExecutor.cpp
+++ b/tests/ExecuteNetwork/ArmNNExecutor.cpp
@@ -227,6 +227,9 @@ ArmNNExecutor::~ArmNNExecutor()
{
profiler->Print(std::cout);
}
+
+ // We're finished with the network.
+ m_Runtime->UnloadNetwork(m_NetworkId);
}
void ArmNNExecutor::ExecuteAsync()