From a05c2106ba5dd4361363049b0588d6995fd01f45 Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Tue, 25 Sep 2018 16:16:13 +0100 Subject: IVGCVSW-1910 Add data layout parameter for DepthwiseConvolution Change-Id: Ia14c9d8c0a38b669a7589e63d74424e398790e54 --- src/armnn/layers/DepthwiseConvolution2dLayer.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/armnn/layers/DepthwiseConvolution2dLayer.cpp') diff --git a/src/armnn/layers/DepthwiseConvolution2dLayer.cpp b/src/armnn/layers/DepthwiseConvolution2dLayer.cpp index 4f96813fc9..e1d433c640 100644 --- a/src/armnn/layers/DepthwiseConvolution2dLayer.cpp +++ b/src/armnn/layers/DepthwiseConvolution2dLayer.cpp @@ -28,6 +28,9 @@ std::unique_ptr DepthwiseConvolution2dLayer::CreateWorkload(const Gra DepthwiseConvolution2dQueueDescriptor descriptor; descriptor.m_Weight = m_Weight.get(); + + descriptor.m_DataLayout = GetParameters().m_DataLayout; + if (m_Param.m_BiasEnabled) { BOOST_ASSERT_MSG(m_Bias != nullptr, "DepthwiseConvolution2dLayer: Bias data should not be null."); -- cgit v1.2.1