aboutsummaryrefslogtreecommitdiff
path: root/src/backends/reference/test/RefLayerTests.cpp
diff options
context:
space:
mode:
authorNarumol Prangnawarat <narumol.prangnawarat@arm.com>2019-02-04 19:05:27 +0000
committerMatteo Martincigh <matteo.martincigh@arm.com>2019-02-08 11:15:06 +0000
commite0a4ad8a8e6ef271883e8029985eeab16d838972 (patch)
tree9590040070b939b256310862569b3282a65cbf53 /src/backends/reference/test/RefLayerTests.cpp
parent0c702a1c3eec34535f7ac3b5af3692b47998b18e (diff)
downloadarmnn-e0a4ad8a8e6ef271883e8029985eeab16d838972.tar.gz
IVGCVSW-2557 Add layer tests for Ref Detection PostProcess
Change-Id: Ia2e512c0ed035bc6ee46cd67df5e619da9770900 Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com>
Diffstat (limited to 'src/backends/reference/test/RefLayerTests.cpp')
-rw-r--r--src/backends/reference/test/RefLayerTests.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/backends/reference/test/RefLayerTests.cpp b/src/backends/reference/test/RefLayerTests.cpp
index cfe02e673e..b4ef85a1dd 100644
--- a/src/backends/reference/test/RefLayerTests.cpp
+++ b/src/backends/reference/test/RefLayerTests.cpp
@@ -9,6 +9,7 @@
#include <test/UnitTests.hpp>
#include <reference/RefWorkloadFactory.hpp>
+#include <backendsCommon/test/DetectionPostProcessLayerTestImpl.hpp>
#include <backendsCommon/test/LayerTests.hpp>
#include <boost/test/unit_test.hpp>
@@ -500,4 +501,23 @@ ARMNN_AUTO_TEST_CASE(GatherMultiDimParamsUint8, GatherMultiDimParamsUint8Test)
ARMNN_AUTO_TEST_CASE(GatherMultiDimParamsMultiDimIndicesFloat, GatherMultiDimParamsMultiDimIndicesFloatTest)
ARMNN_AUTO_TEST_CASE(GatherMultiDimParamsMultiDimIndicesUint8, GatherMultiDimParamsMultiDimIndicesUint8Test)
+// Detection PostProcess
+BOOST_AUTO_TEST_CASE(DetectionPostProcessRegularNmsFloat)
+{
+ DetectionPostProcessRegularNmsFloatTest<armnn::RefWorkloadFactory>();
+}
+BOOST_AUTO_TEST_CASE(DetectionPostProcessFastNmsFloat)
+{
+ DetectionPostProcessFastNmsFloatTest<armnn::RefWorkloadFactory>();
+}
+BOOST_AUTO_TEST_CASE(DetectionPostProcessRegularNmsUint8)
+{
+ DetectionPostProcessRegularNmsUint8Test<armnn::RefWorkloadFactory>();
+}
+BOOST_AUTO_TEST_CASE(DetectionPostProcessFastNmsUint8)
+{
+ DetectionPostProcessFastNmsUint8Test<armnn::RefWorkloadFactory>();
+}
+
+
BOOST_AUTO_TEST_SUITE_END()