diff options
author | James Conroy <james.conroy@arm.com> | 2018-10-03 09:32:03 +0100 |
---|---|---|
committer | Matthew Bentham <matthew.bentham@arm.com> | 2018-10-10 16:16:58 +0100 |
commit | 074f371bcd1d91c1f36b458d9ea1b050eafe5947 (patch) | |
tree | 2063f84b6e89aa112ec997c09b829ff087da4abb /src/backends/test/ArmComputeCl.cpp | |
parent | 5eec11db435a94ba5046ba74edc5c9c412a64e9d (diff) | |
download | armnn-074f371bcd1d91c1f36b458d9ea1b050eafe5947.tar.gz |
IVGCVSW-1932: Add Unit tests for NHWC ResizeBilinear
* Adds five unit tests that execute ResizeBilinear
with the NHWC data layout and Float32 data type.
* Refactors original ResizeBilinear Float32 tests
to take DataLayout as a parameter.
* Adds four unit tests that execute CreateWorkloadCl
for both NCHW and NHWC (NCHW tests did not exist
for CreateWorkloadCl).
Change-Id: I1af419ed0b62b8f4d4550f6d120a584a0a223b17
Diffstat (limited to 'src/backends/test/ArmComputeCl.cpp')
-rw-r--r-- | src/backends/test/ArmComputeCl.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/backends/test/ArmComputeCl.cpp b/src/backends/test/ArmComputeCl.cpp index d432a26f34..faa3d4f37b 100644 --- a/src/backends/test/ArmComputeCl.cpp +++ b/src/backends/test/ArmComputeCl.cpp @@ -187,13 +187,20 @@ ARMNN_AUTO_TEST_CASE(L2Normalization2dNhwc, L2Normalization2dNhwcTest) ARMNN_AUTO_TEST_CASE(L2Normalization3dNhwc, L2Normalization3dNhwcTest) ARMNN_AUTO_TEST_CASE(L2Normalization4dNhwc, L2Normalization4dNhwcTest) -// Resize Bilinear -ARMNN_AUTO_TEST_CASE(SimpleResizeBilinear, SimpleResizeBilinearTest) +// Resize Bilinear - NCHW data layout ARMNN_AUTO_TEST_CASE(ResizeBilinearNop, ResizeBilinearNopTest) +ARMNN_AUTO_TEST_CASE(SimpleResizeBilinear, SimpleResizeBilinearTest) ARMNN_AUTO_TEST_CASE(ResizeBilinearSqMin, ResizeBilinearSqMinTest) ARMNN_AUTO_TEST_CASE(ResizeBilinearMin, ResizeBilinearMinTest) ARMNN_AUTO_TEST_CASE(ResizeBilinearMag, ResizeBilinearMagTest) +// Resize Bilinear - NHWC data layout +ARMNN_AUTO_TEST_CASE(ResizeBilinearNopNhwc, ResizeBilinearNopNhwcTest) +ARMNN_AUTO_TEST_CASE(SimpleResizeBilinearNhwc, SimpleResizeBilinearNhwcTest) +ARMNN_AUTO_TEST_CASE(ResizeBilinearSqMinNhwc, ResizeBilinearSqMinNhwcTest) +ARMNN_AUTO_TEST_CASE(ResizeBilinearMinNhwc, ResizeBilinearMinNhwcTest) +ARMNN_AUTO_TEST_CASE(ResizeBilinearMagNhwc, ResizeBilinearMagNhwcTest) + // Constant ARMNN_AUTO_TEST_CASE(Constant, ConstantTest) ARMNN_AUTO_TEST_CASE(ConstantUint8, ConstantTestUint8) |