From d59116ecb54c5bfe828d82ea0bc3367bc9b8c5dd Mon Sep 17 00:00:00 2001 From: Francis Murtagh Date: Thu, 4 Oct 2018 16:03:07 +0100 Subject: IVGCVSW-1889 - Unit test Convolution2d with NHWC * Added simple convolution Unit test * Set the data layout correctly in workloads Change-Id: Ie71b8415f6abc392a84900fc4438b7416fbb558a --- src/backends/test/LayerTests.hpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/backends/test/LayerTests.hpp') diff --git a/src/backends/test/LayerTests.hpp b/src/backends/test/LayerTests.hpp index e4ebaff527..12bcdd8bbc 100644 --- a/src/backends/test/LayerTests.hpp +++ b/src/backends/test/LayerTests.hpp @@ -50,10 +50,13 @@ struct LayerTestResult }; LayerTestResult SimpleConvolution2d3x5Test(armnn::IWorkloadFactory& workloadFactory, - bool biasEnabled); + bool biasEnabled); LayerTestResult SimpleConvolution2d3x3Test(armnn::IWorkloadFactory& workloadFactory, - bool biasEnabled); + bool biasEnabled); + +LayerTestResult SimpleConvolution2d3x3NhwcTest(armnn::IWorkloadFactory& workloadFactory, + bool biasEnabled); LayerTestResult Convolution2dAsymmetricPaddingLargerThanHalfKernelSizeTest(armnn::IWorkloadFactory& workloadFactory); -- cgit v1.2.1