From 28dcab6c176a3938519809aa9da7321e4ede7623 Mon Sep 17 00:00:00 2001 From: Matteo Martincigh Date: Fri, 19 Oct 2018 16:40:03 +0100 Subject: IVGCVSW-2049 + IVGCVSW-2051 Create the CL Mean Float workload and add the unit tests * Created the ClFloatWorkload class * Added ClMeanValidate validation function * Added helper function to convert the reduction axes from the ArmNN format to ACL's * Added workload tests * Added some unit tests * These changes need the CL pin to be pointing at least to revision 88d871028eeae57f9e4536d0329110eccb5e2890 (COMPMID-1574 Implement ReduceMean in OpenCL) !android-nn-driver:155033 Change-Id: I694fd36be0458c90e158172afde045fcc88c32ae --- include/armnn/Descriptors.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/armnn') diff --git a/include/armnn/Descriptors.hpp b/include/armnn/Descriptors.hpp index 648477e09b..5a7a647ee7 100644 --- a/include/armnn/Descriptors.hpp +++ b/include/armnn/Descriptors.hpp @@ -356,7 +356,8 @@ struct LstmDescriptor struct MeanDescriptor { MeanDescriptor() - : m_KeepDims(false) + : m_Axis() + , m_KeepDims(false) {} MeanDescriptor(const std::vector& axis, bool keepDims) -- cgit v1.2.1