aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatteo Martincigh <matteo.martincigh@arm.com>2018-10-17 14:43:29 +0100
committerMatthew Bentham <matthew.bentham@arm.com>2018-10-22 16:57:54 +0100
commit8eb675eb77865b5d2491f5b2d650ce993cab738c (patch)
treeaf1fd33bfe2280792134df99307511f69fab39b6 /include
parentdd94aff7004dfca5bbbaf32f88c7860075d72cb0 (diff)
downloadarmnn-8eb675eb77865b5d2491f5b2d650ce993cab738c.tar.gz
IVGCVSW-2038 + IVGCVSW-2039 + IVGCVSW-2040 Add NHWC support to the Float32 and UInt8
BatchNormalization workloads * Enabled NHWC support in RefBatchNormalizationFloat32Workload * Added NHWC unit tests for both FP32 and U8 * Refactored the existing unit tests Change-Id: I6aa18f1dcc0666b80a17a7ed229cf53607bae147
Diffstat (limited to 'include')
-rw-r--r--include/armnn/Descriptors.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/armnn/Descriptors.hpp b/include/armnn/Descriptors.hpp
index c0510055f2..a5b1d64732 100644
--- a/include/armnn/Descriptors.hpp
+++ b/include/armnn/Descriptors.hpp
@@ -289,9 +289,11 @@ struct BatchNormalizationDescriptor
{
BatchNormalizationDescriptor()
: m_Eps(0.0001f)
+ , m_DataLayout(DataLayout::NCHW)
{}
float m_Eps;
+ DataLayout m_DataLayout;
};
struct FakeQuantizationDescriptor