diff options
author | konsof01 <konstantin.sofeikov@arm.com> | 2019-06-07 15:15:58 +0100 |
---|---|---|
committer | Matteo Martincigh <matteo.martincigh@arm.com> | 2019-06-12 09:58:38 +0000 |
commit | 7f6db40e8c02084a5e960e1f377e8e83ed87f6a1 (patch) | |
tree | bef290eac076c4e77f753a70a3d5e0c971cb59f8 /src/backends/reference/test | |
parent | 972af1568372f243f241b58fa07f0d3a7f991d1e (diff) | |
download | armnn-7f6db40e8c02084a5e960e1f377e8e83ed87f6a1.tar.gz |
IVGCVSW-3010: Unit Test for Activation Workload for Float32 and Uint8
Unit tests for following Activations have been added
*Relu
*SoftRelu
*LeakyRelu
*Abs
*Sqrt
*Square
*Tanh
Signed-off-by: Konstantin Sofeikov <konstantin.sofeikov@arm.com>
Change-Id: I2812a24842400c8b2c2d87933fbe1eca8c66e911
Diffstat (limited to 'src/backends/reference/test')
-rw-r--r-- | src/backends/reference/test/RefLayerTests.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/backends/reference/test/RefLayerTests.cpp b/src/backends/reference/test/RefLayerTests.cpp index 35ce5b3eda..efdd1efb82 100644 --- a/src/backends/reference/test/RefLayerTests.cpp +++ b/src/backends/reference/test/RefLayerTests.cpp @@ -242,24 +242,39 @@ ARMNN_AUTO_TEST_CASE(ReLu6Uint8, BoundedReLuUint8UpperBoundOnlyTest) ARMNN_AUTO_TEST_CASE(BoundedReLuInt16, BoundedReLuInt16Test) // ReLU Activation +ARMNN_AUTO_TEST_CASE(ReLu, ReLuTest) +ARMNN_AUTO_TEST_CASE(ReLuUint8, ReLuUint8Test) ARMNN_AUTO_TEST_CASE(ReLuInt16, ReLuInt16Test) // SoftReLU Activation +ARMNN_AUTO_TEST_CASE(SoftReLu, SoftReLuTest) +ARMNN_AUTO_TEST_CASE(SoftReLuUint8, SoftReLuUint8Test) ARMNN_AUTO_TEST_CASE(SoftReLuInt16, SoftReLuInt16Test) + // LeakyReLU Activation +ARMNN_AUTO_TEST_CASE(LeakyReLu, LeakyReLuTest) +ARMNN_AUTO_TEST_CASE(LeakyReLuUint8, LeakyReLuUint8Test) ARMNN_AUTO_TEST_CASE(LeakyReLuInt16, LeakyReLuInt16Test) // Abs Activation +ARMNN_AUTO_TEST_CASE(Abs, AbsTest) +ARMNN_AUTO_TEST_CASE(AbsUint8, AbsUint8Test) ARMNN_AUTO_TEST_CASE(AbsInt16, AbsInt16Test) // Sqrt Activation +ARMNN_AUTO_TEST_CASE(Sqrt, SqrtTest) +ARMNN_AUTO_TEST_CASE(SqrtUint8, SqrtUint8Test) ARMNN_AUTO_TEST_CASE(SqrtInt16, SqrtInt16Test) // Square Activation +ARMNN_AUTO_TEST_CASE(Square, SquareTest) +ARMNN_AUTO_TEST_CASE(SquareUint8, SquareUint8Test) ARMNN_AUTO_TEST_CASE(SquareInt16, SquareInt16Test) // Tanh Activation +ARMNN_AUTO_TEST_CASE(Tanh, TanhTest) +ARMNN_AUTO_TEST_CASE(TanhUint8, TanhUint8Test) ARMNN_AUTO_TEST_CASE(TanhInt16, TanhInt16Test) |