aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/TypeUtils.hpp
diff options
context:
space:
mode:
authorMatteo Martincigh <matteo.martincigh@arm.com>2019-01-11 13:25:59 +0000
committerMatteo Martincigh <matteo.martincigh@arm.com>2019-01-15 08:59:50 +0000
commit4912402497a51c6afe0898b3900f87feefa006a6 (patch)
tree4e9b5161781d2b0be041aec17227193da5977443 /src/armnn/TypeUtils.hpp
parentd0a1608e2c41639d8f3e3f9305d79c5f92c9cff8 (diff)
downloadarmnn-4912402497a51c6afe0898b3900f87feefa006a6.tar.gz
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
Diffstat (limited to 'src/armnn/TypeUtils.hpp')
-rw-r--r--src/armnn/TypeUtils.hpp20
1 files changed, 12 insertions, 8 deletions
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<DataType DT>
struct ResolveTypeImpl;
-template<>
-struct ResolveTypeImpl<DataType::QuantisedAsymm8>
-{
- using Type = uint8_t;
-};
-
template <>
struct ResolveTypeImpl<DataType::Float16>
{
@@ -34,6 +27,18 @@ struct ResolveTypeImpl<DataType::Float32>
};
template<>
+struct ResolveTypeImpl<DataType::QuantisedAsymm8>
+{
+ using Type = uint8_t;
+};
+
+template<>
+struct ResolveTypeImpl<DataType::Signed32>
+{
+ using Type = int32_t;
+};
+
+template<>
struct ResolveTypeImpl<DataType::Boolean>
{
using Type = bool;
@@ -42,5 +47,4 @@ struct ResolveTypeImpl<DataType::Boolean>
template<DataType DT>
using ResolveType = typename ResolveTypeImpl<DT>::Type;
-
} //namespace armnn