From d84216a013445e86183e39c8b5b904836c71a95b Mon Sep 17 00:00:00 2001 From: jimfly01 Date: Fri, 26 Oct 2018 12:56:21 +0100 Subject: IVGCVSW-2074: Updated the DepthwiseConvolution2dTest for NHWC Change-Id: If2befd3bd75da70c57f924cbe18fa0a47bf7a27f --- src/backends/test/LayerTests.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/backends/test/LayerTests.cpp') diff --git a/src/backends/test/LayerTests.cpp b/src/backends/test/LayerTests.cpp index 43a42f305c..ae6d16c755 100755 --- a/src/backends/test/LayerTests.cpp +++ b/src/backends/test/LayerTests.cpp @@ -627,9 +627,10 @@ LayerTestResult Convolution2dAsymmetricPaddingTest(armnn::IWorkloadFac } LayerTestResult DepthwiseConvolution2dTest(armnn::IWorkloadFactory& workloadFactory, - bool biasEnabled) + bool biasEnabled, + const armnn::DataLayoutIndexed& layout) { - return DepthwiseConvolution2dTestImpl(workloadFactory, 0.0f, 0, biasEnabled); + return DepthwiseConvolution2dTestImpl(workloadFactory, 0.0f, 0, biasEnabled, layout); } LayerTestResult DepthwiseConvolution2dDepthNhwcTest(armnn::IWorkloadFactory& workloadFactory, @@ -652,9 +653,10 @@ LayerTestResult DepthwiseConvolution2dAsymmetricTest(armnn::IWorkloadF } LayerTestResult DepthwiseConvolution2dUint8Test(armnn::IWorkloadFactory& workloadFactory, - bool biasEnabled) + bool biasEnabled, + const armnn::DataLayoutIndexed& layout) { - return DepthwiseConvolution2dTestImpl(workloadFactory, 0.5f, 50, biasEnabled); + return DepthwiseConvolution2dTestImpl(workloadFactory, 0.5f, 50, biasEnabled, layout); } LayerTestResult DepthwiseConvolution2dDepthMul1Uint8Test(armnn::IWorkloadFactory& workloadFactory, -- cgit v1.2.1