From 253d1bb78a6ac543968129925c9a69ddb880b4dc Mon Sep 17 00:00:00 2001 From: Colm Donelan Date: Mon, 4 Mar 2024 22:19:26 +0000 Subject: 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 Change-Id: I1beb60eae4685c8e628dd1939f41bd649fc2a6ba --- delegate/opaque/include/armnn_delegate.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'delegate/opaque/include/armnn_delegate.hpp') diff --git a/delegate/opaque/include/armnn_delegate.hpp b/delegate/opaque/include/armnn_delegate.hpp index ae85556884..57fc9c288a 100644 --- a/delegate/opaque/include/armnn_delegate.hpp +++ b/delegate/opaque/include/armnn_delegate.hpp @@ -1,5 +1,5 @@ // -// Copyright © 2023 Arm Ltd and Contributors. All rights reserved. +// Copyright © 2023-2024 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // @@ -128,6 +128,8 @@ public: const TfLiteOpaqueDelegateParams* parameters, const ArmnnOpaqueDelegate* delegate); + ~ArmnnSubgraph(); + TfLiteStatus Prepare(TfLiteOpaqueContext* tfLiteContext); TfLiteStatus Invoke(TfLiteOpaqueContext* tfLiteContext, TfLiteOpaqueNode* tfLiteNode); -- cgit v1.2.1