diff options
author | Matteo Martincigh <matteo.martincigh@arm.com> | 2018-10-01 09:26:39 +0100 |
---|---|---|
committer | Matthew Bentham <matthew.bentham@arm.com> | 2018-10-10 16:16:58 +0100 |
commit | 539b44dbd620c9f793f84933c1bcc51ce3ff085e (patch) | |
tree | 4d75b13cd8ac213f16279ecf54b2ce9c20d04b9a /src/backends/test/Reference.cpp | |
parent | 084523a492efd8001cd8e07956d45c9aeb2bb046 (diff) | |
download | armnn-539b44dbd620c9f793f84933c1bcc51ce3ff085e.tar.gz |
IVGCVSW-1863 Unit tests for NHWC L2Normalization
* Added NHWC unit test implementation
* Programmatically selected the channel dimension when creating
the ACL Normalization layer info
* Set the input/output data layout in the constructor of the L2Normalization
workload
Change-Id: Ie69f1a360022c29d1a3a3808c1f26b69243fa8f9
Diffstat (limited to 'src/backends/test/Reference.cpp')
-rw-r--r-- | src/backends/test/Reference.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/backends/test/Reference.cpp b/src/backends/test/Reference.cpp index 30a8f8e1a5..05ebf2e8b0 100644 --- a/src/backends/test/Reference.cpp +++ b/src/backends/test/Reference.cpp @@ -193,12 +193,18 @@ ARMNN_AUTO_TEST_CASE(ResizeBilinearMagUint8, ResizeBilinearMagUint8Test) // Fake Quantization ARMNN_AUTO_TEST_CASE(FakeQuantization, FakeQuantizationTest) -// L2 Noramlization +// L2 Normalization ARMNN_AUTO_TEST_CASE(L2Normalization1d, L2Normalization1dTest) ARMNN_AUTO_TEST_CASE(L2Normalization2d, L2Normalization2dTest) ARMNN_AUTO_TEST_CASE(L2Normalization3d, L2Normalization3dTest) ARMNN_AUTO_TEST_CASE(L2Normalization4d, L2Normalization4dTest) +// NOTE: These tests are disabled until NHWC is supported by the reference L2Normalization implementation. +//ARMNN_AUTO_TEST_CASE(L2Normalization1dNhwc, L2Normalization1dNhwcTest); +//ARMNN_AUTO_TEST_CASE(L2Normalization2dNhwc, L2Normalization2dNhwcTest); +//ARMNN_AUTO_TEST_CASE(L2Normalization3dNhwc, L2Normalization3dNhwcTest); +//ARMNN_AUTO_TEST_CASE(L2Normalization4dNhwc, L2Normalization4dNhwcTest); + // Constant ARMNN_AUTO_TEST_CASE(Constant, ConstantTest) ARMNN_AUTO_TEST_CASE(ConstantUint8, ConstantUint8Test) |