diff options
author | Nikhil Raj <nikhil.raj@arm.com> | 2018-09-25 16:16:13 +0100 |
---|---|---|
committer | Matthew Bentham <matthew.bentham@arm.com> | 2018-10-10 16:16:57 +0100 |
commit | a05c2106ba5dd4361363049b0588d6995fd01f45 (patch) | |
tree | 39b03ef4bcdd448df5a7ff76f56d7f7a8b0a42c9 /src/armnn/layers/DepthwiseConvolution2dLayer.cpp | |
parent | 711fa31d5d43b904d28bcd407cd7e921529a37ca (diff) | |
download | armnn-a05c2106ba5dd4361363049b0588d6995fd01f45.tar.gz |
IVGCVSW-1910 Add data layout parameter for DepthwiseConvolution
Change-Id: Ia14c9d8c0a38b669a7589e63d74424e398790e54
Diffstat (limited to 'src/armnn/layers/DepthwiseConvolution2dLayer.cpp')
-rw-r--r-- | src/armnn/layers/DepthwiseConvolution2dLayer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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<IWorkload> 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."); |