aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/TypeUtils.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/armnn/TypeUtils.hpp')
-rw-r--r--src/armnn/TypeUtils.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/armnn/TypeUtils.hpp b/src/armnn/TypeUtils.hpp
index 57d019bd69..01a0e6479a 100644
--- a/src/armnn/TypeUtils.hpp
+++ b/src/armnn/TypeUtils.hpp
@@ -33,6 +33,12 @@ struct ResolveTypeImpl<DataType::Float32>
using Type = float;
};
+template<>
+struct ResolveTypeImpl<DataType::Boolean>
+{
+ using Type = bool;
+};
+
template<DataType DT>
using ResolveType = typename ResolveTypeImpl<DT>::Type;