aboutsummaryrefslogtreecommitdiff
path: root/tests/InferenceModel.hpp
diff options
context:
space:
mode:
authorColm Donelan <colm.donelan@arm.com>2024-05-10 16:49:39 +0100
committerTeresaARM <teresa.charlinreyes@arm.com>2024-05-13 17:32:13 +0000
commit46dee40e2f3c73cdbbcd55954edf64b7d6dc9444 (patch)
tree22b4b30d0db7a3fbc74fb0ab77b7d77b14ca1cbe /tests/InferenceModel.hpp
parent520c93fd339e1960bfdb522ca6cc4e34f3f5f383 (diff)
downloadarmnn-46dee40e2f3c73cdbbcd55954edf64b7d6dc9444.tar.gz
Add deprecation notices for items to be removed in 24.08.
* Onnx parser. * Async execution interface. * Shim and support library. * Arm NN converter * GpuFsa backend. Signed-off-by: Colm Donelan <colm.donelan@arm.com> Change-Id: Ia9adae4da6d9bd2b92a4f4492a022e8337f57f14
Diffstat (limited to 'tests/InferenceModel.hpp')
-rw-r--r--tests/InferenceModel.hpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/InferenceModel.hpp b/tests/InferenceModel.hpp
index c053a4429a..a1b55c0996 100644
--- a/tests/InferenceModel.hpp
+++ b/tests/InferenceModel.hpp
@@ -1,5 +1,5 @@
//
-// Copyright © 2022-2023 Arm Ltd and Contributors. All rights reserved.
+// Copyright © 2022-2024 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
@@ -276,6 +276,7 @@ public:
#endif
#if defined(ARMNN_ONNX_PARSER)
+ARMNN_NO_DEPRECATE_WARN_BEGIN
template <>
struct CreateNetworkImpl<armnnOnnxParser::IOnnxParser>
{
@@ -343,6 +344,7 @@ public:
return network;
}
};
+ARMNN_NO_DEPRECATE_WARN_END
#endif
@@ -660,11 +662,11 @@ public:
// Start timer to record inference time in EnqueueWorkload (in milliseconds)
const auto start_time = armnn::GetTimeNow();
-
+ARMNN_NO_DEPRECATE_WARN_BEGIN
armnn::Status ret = m_Runtime->Execute(workingMemHandleRef,
MakeInputTensors(inputContainers),
MakeOutputTensors(outputContainers));
-
+ARMNN_NO_DEPRECATE_WARN_END
const auto duration = armnn::GetTimeDuration(start_time);
// if profiling is enabled print out the results