From b9c8963c3d393baf27edf37ab732fa76ee53af50 Mon Sep 17 00:00:00 2001 From: jimfly01 Date: Fri, 26 Oct 2018 16:50:13 +0100 Subject: IVGCVSW-2074: Updated the DepthwiseConvolution2dDepthMul1 for NHWC Change-Id: Ibaa0b909680a6f2a155e4ca6fa24e1144d6e6e73 --- src/backends/reference/test/RefLayerTests.cpp | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) (limited to 'src/backends/reference/test') diff --git a/src/backends/reference/test/RefLayerTests.cpp b/src/backends/reference/test/RefLayerTests.cpp index f5884aee17..00fba20c5d 100644 --- a/src/backends/reference/test/RefLayerTests.cpp +++ b/src/backends/reference/test/RefLayerTests.cpp @@ -74,11 +74,26 @@ ARMNN_AUTO_TEST_CASE(UnbiasedDepthwiseConvolution2dUint8Nhwc, false, armnn::DataLayout::NHWC) -ARMNN_AUTO_TEST_CASE(DepthwiseConvolution2dDepthMul1, DepthwiseConvolution2dDepthMul1Test, true) -ARMNN_AUTO_TEST_CASE(DepthwiseConvolution2dDepthMul1Uint8, DepthwiseConvolution2dDepthMul1Uint8Test, true) -ARMNN_AUTO_TEST_CASE(UnbiasedDepthwiseConvolution2dDepthMul1, DepthwiseConvolution2dDepthMul1Test, false) -ARMNN_AUTO_TEST_CASE(UnbiasedDepthwiseConvolution2dDepthMul1Uint8, DepthwiseConvolution2dDepthMul1Uint8Test, false) +ARMNN_AUTO_TEST_CASE(DepthwiseConvolution2dDepthMul1, + DepthwiseConvolution2dDepthMul1Test, true, armnn::DataLayout::NCHW) +ARMNN_AUTO_TEST_CASE(DepthwiseConvolution2dDepthMul1Uint8, + DepthwiseConvolution2dDepthMul1Uint8Test, true, armnn::DataLayout::NCHW) + +ARMNN_AUTO_TEST_CASE(UnbiasedDepthwiseConvolution2dDepthMul1, + DepthwiseConvolution2dDepthMul1Test, false, armnn::DataLayout::NCHW) +ARMNN_AUTO_TEST_CASE(UnbiasedDepthwiseConvolution2dDepthMul1Uint8, + DepthwiseConvolution2dDepthMul1Uint8Test, false, armnn::DataLayout::NCHW) + +ARMNN_AUTO_TEST_CASE(DepthwiseConvolution2dDepthMul1Nhwc, + DepthwiseConvolution2dDepthMul1Test, true, armnn::DataLayout::NHWC) +ARMNN_AUTO_TEST_CASE(DepthwiseConvolution2dDepthMul1Uint8Nhwc, + DepthwiseConvolution2dDepthMul1Uint8Test, true, armnn::DataLayout::NHWC) + +ARMNN_AUTO_TEST_CASE(UnbiasedDepthwiseConvolution2dDepthMul1Nhwc, + DepthwiseConvolution2dDepthMul1Test, false, armnn::DataLayout::NHWC) +ARMNN_AUTO_TEST_CASE(UnbiasedDepthwiseConvolution2dDepthMul1Uint8Nhwc, + DepthwiseConvolution2dDepthMul1Uint8Test, false, armnn::DataLayout::NHWC) ARMNN_AUTO_TEST_CASE(DepthwiseConvolution2dAsymmetric, DepthwiseConvolution2dAsymmetricTest, true, armnn::DataLayout::NCHW) @@ -89,6 +104,7 @@ ARMNN_AUTO_TEST_CASE(DepthwiseConvolution2dAsymmetricNhwc, ARMNN_AUTO_TEST_CASE(UnbiasedDepthwiseConvolution2dAsymmetricNhwc, DepthwiseConvolution2dAsymmetricTest, false, armnn::DataLayout::NHWC) + // Pooling ARMNN_AUTO_TEST_CASE(SimpleMaxPooling2dSize2x2Stride2x2, SimpleMaxPooling2dSize2x2Stride2x2Test, false) ARMNN_AUTO_TEST_CASE(SimpleMaxPooling2dSize2x2Stride2x2Uint8, SimpleMaxPooling2dSize2x2Stride2x2Uint8Test, false) -- cgit v1.2.1