From 6bb47a720ad33d0a330228b52e320a1022e4dfe2 Mon Sep 17 00:00:00 2001 From: David Monahan Date: Fri, 22 Oct 2021 12:57:28 +0100 Subject: IVGCVSW-6359 Create a single definition of TContainer * Added a single definition of TContainer to include/armnn/Utils.hpp * Change all files which contained their own identical definitions of TContainer to use the new one Signed-off-by: David Monahan Change-Id: I63e633693a430bbbd6a29001cafa19742ef8309a --- tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp') diff --git a/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp b/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp index 0abda4f8ee..d9e2459703 100644 --- a/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp +++ b/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp @@ -9,8 +9,7 @@ #include #include #include - -#include +#include #include #include @@ -52,11 +51,9 @@ private: bool m_PrintToConsole; }; -using TContainer = - mapbox::util::variant, std::vector, std::vector, std::vector>; using QuantizationParams = std::pair; -void PopulateTensorWithData(TContainer& tensorData, +void PopulateTensorWithData(armnn::TContainer& tensorData, unsigned int numElements, const std::string& dataTypeStr, const armnn::Optional& qParams, -- cgit v1.2.1