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 --- include/armnn/Utils.hpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include') diff --git a/include/armnn/Utils.hpp b/include/armnn/Utils.hpp index b090651813..533117c5d9 100644 --- a/include/armnn/Utils.hpp +++ b/include/armnn/Utils.hpp @@ -5,6 +5,8 @@ #pragma once #include "armnn/TypesUtils.hpp" + +#include #include namespace armnn @@ -40,4 +42,9 @@ bool NeonDetected(); const std::string GetVersion(); +// Standard definition of TContainer used by ArmNN, use this definition or add alternative definitions here instead of +// defining your own. +using TContainer = + mapbox::util::variant, std::vector, std::vector, std::vector>; + } // namespace armnn -- cgit v1.2.1