aboutsummaryrefslogtreecommitdiff
path: root/delegate/classic/include/armnn_delegate.hpp
diff options
context:
space:
mode:
authorColm Donelan <colm.donelan@arm.com>2024-03-04 22:19:26 +0000
committerColm Donelan <colm.donelan@arm.com>2024-03-04 22:19:26 +0000
commit253d1bb78a6ac543968129925c9a69ddb880b4dc (patch)
treed62082709676b3d8f67de17be867276afabd1567 /delegate/classic/include/armnn_delegate.hpp
parent2ab3032ae39d129ef79115cad9084a7074606b59 (diff)
downloadarmnn-253d1bb78a6ac543968129925c9a69ddb880b4dc.tar.gz
IVGCVSW-7572 Only print JSON profiling once per ArmnnSubgraph.
Previously the JSON profiling was printed once per delegate invoke call. Modify that to print only once per ArmnnSubgraph. Data from multiple inferences is grouped together. Signed-off-by: Colm Donelan <colm.donelan@arm.com> Change-Id: I1beb60eae4685c8e628dd1939f41bd649fc2a6ba
Diffstat (limited to 'delegate/classic/include/armnn_delegate.hpp')
-rw-r--r--delegate/classic/include/armnn_delegate.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/delegate/classic/include/armnn_delegate.hpp b/delegate/classic/include/armnn_delegate.hpp
index e94a6e2d4e..a6957dc7d5 100644
--- a/delegate/classic/include/armnn_delegate.hpp
+++ b/delegate/classic/include/armnn_delegate.hpp
@@ -1,5 +1,5 @@
//
-// Copyright © 2020-2023 Arm Ltd and Contributors. All rights reserved.
+// Copyright © 2020-2024 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
@@ -98,6 +98,8 @@ public:
const TfLiteDelegateParams* parameters,
const Delegate* delegate);
+ ~ArmnnSubgraph();
+
TfLiteStatus Prepare(TfLiteContext* tfLiteContext);
TfLiteStatus Invoke(TfLiteContext* tfLiteContext, TfLiteNode* tfLiteNode);