From 4912402497a51c6afe0898b3900f87feefa006a6 Mon Sep 17 00:00:00 2001 From: Matteo Martincigh Date: Fri, 11 Jan 2019 13:25:59 +0000 Subject: IVGCVSW-2454 Merge together the pluggable backends work (was in a separate branch) and master * Brings in all the changes done for the pluggable backends * Added sub-graph support and tests * Added precompiled layer support and tests * Moved BackendSettings to a separate file * Removed the backend-specific code * Ported DebugLayer and associated functionality * Included fixes to make those changes work with master Change-Id: Id7028fa7917527b844628d5aff5732e3d94c0488 --- src/armnn/TypeUtils.hpp | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'src/armnn/TypeUtils.hpp') diff --git a/src/armnn/TypeUtils.hpp b/src/armnn/TypeUtils.hpp index 01a0e6479a..5bb040f780 100644 --- a/src/armnn/TypeUtils.hpp +++ b/src/armnn/TypeUtils.hpp @@ -11,16 +11,9 @@ namespace armnn { - template struct ResolveTypeImpl; -template<> -struct ResolveTypeImpl -{ - using Type = uint8_t; -}; - template <> struct ResolveTypeImpl { @@ -33,6 +26,18 @@ struct ResolveTypeImpl using Type = float; }; +template<> +struct ResolveTypeImpl +{ + using Type = uint8_t; +}; + +template<> +struct ResolveTypeImpl +{ + using Type = int32_t; +}; + template<> struct ResolveTypeImpl { @@ -42,5 +47,4 @@ struct ResolveTypeImpl template using ResolveType = typename ResolveTypeImpl
::Type; - } //namespace armnn -- cgit v1.2.1