From fd627ffaec8fd8801d980b4c91ee7c0607ab6aaf Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Thu, 25 Feb 2021 17:44:00 +0000 Subject: IVGCVSW-5687 Update Doxygen Docu * Update Doxygen Documentation for 21.02 release Signed-off-by: Jan Eilers Change-Id: I9ed2f9caab038836ea99d7b378d7899fe431a4e5 --- .../armnn_tf_parser_2test_2_activations_8cpp.xhtml | 287 +++++++++++++++++++++ 1 file changed, 287 insertions(+) create mode 100644 21.02/armnn_tf_parser_2test_2_activations_8cpp.xhtml (limited to '21.02/armnn_tf_parser_2test_2_activations_8cpp.xhtml') diff --git a/21.02/armnn_tf_parser_2test_2_activations_8cpp.xhtml b/21.02/armnn_tf_parser_2test_2_activations_8cpp.xhtml new file mode 100644 index 0000000000..b43a3b3a18 --- /dev/null +++ b/21.02/armnn_tf_parser_2test_2_activations_8cpp.xhtml @@ -0,0 +1,287 @@ + + + + + + + + + + + + + +ArmNN: src/armnnTfParser/test/Activations.cpp File Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Activations.cpp File Reference
+
+
+
#include <boost/test/unit_test.hpp>
+#include "armnnTfParser/ITfParser.hpp"
+#include "ParserPrototxtFixture.hpp"
+
+

Go to the source code of this file.

+ + + + + + + + + + + + +

+Functions

 BOOST_FIXTURE_TEST_CASE (ParseReLu, ReLuFixture)
 
 BOOST_FIXTURE_TEST_CASE (ParseReLu6, ReLu6Fixture)
 
 BOOST_FIXTURE_TEST_CASE (ParseSigmoid, SigmoidFixture)
 
 BOOST_FIXTURE_TEST_CASE (ParseSoftplus, SoftplusFixture)
 
 BOOST_FIXTURE_TEST_CASE (ParseTanh, TanhFixture)
 
+

Function Documentation

+ +

◆ BOOST_FIXTURE_TEST_CASE() [1/5]

+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOST_FIXTURE_TEST_CASE (ParseReLu ,
ReLuFixture  
)
+
+ +

Definition at line 59 of file Activations.cpp.

+
60 {
61  RunTest<2>({ -1.0f, -0.5f, 1.25f, -3.0f, 0.0f, 0.5f, -0.75f },
62  { 0.0f, 0.0f, 1.25f, 0.0f, 0.0f, 0.5f, 0.0f });
63 }
+
+
+ +

◆ BOOST_FIXTURE_TEST_CASE() [2/5]

+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOST_FIXTURE_TEST_CASE (ParseReLu6 ,
ReLu6Fixture  
)
+
+ +

Definition at line 70 of file Activations.cpp.

+
71 {
72  RunTest<2>({ -1.0f, -0.5f, 7.25f, -3.0f, 0.0f, 0.5f, -0.75f },
73  { 0.0f, 0.0f, 6.0f, 0.0f, 0.0f, 0.5f, 0.0f });
74 }
+
+
+ +

◆ BOOST_FIXTURE_TEST_CASE() [3/5]

+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOST_FIXTURE_TEST_CASE (ParseSigmoid ,
SigmoidFixture  
)
+
+ +

Definition at line 81 of file Activations.cpp.

+
82 {
83  RunTest<2>({ -0.1f, -0.2f, -0.3f, -0.4f, 0.1f, 0.2f, 0.3f },
84  { 0.4750208f, 0.45016602f, 0.42555749f, 0.40131235f, 0.52497917f, 0.54983395f, 0.57444251f });
85 }
+
+
+ +

◆ BOOST_FIXTURE_TEST_CASE() [4/5]

+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOST_FIXTURE_TEST_CASE (ParseSoftplus ,
SoftplusFixture  
)
+
+ +

Definition at line 92 of file Activations.cpp.

+
93 {
94  RunTest<2>({ -0.1f, -0.2f, -0.3f, -0.4f, 0.1f, 0.2f, 0.3f },
95  { 0.64439666f, 0.59813893f, 0.55435526f, 0.51301527f, 0.74439669f, 0.7981388f, 0.85435522f });
96 }
+
+
+ +

◆ BOOST_FIXTURE_TEST_CASE() [5/5]

+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOST_FIXTURE_TEST_CASE (ParseTanh ,
TanhFixture  
)
+
+ +

Definition at line 103 of file Activations.cpp.

+ +

References BOOST_AUTO_TEST_SUITE_END().

+
104 {
105  RunTest<2>({ -0.1f, -0.2f, -0.3f, -0.4f, 0.1f, 0.2f, 0.3f },
106  { -0.09966799f, -0.19737528f, -0.29131261f, -0.379949f, 0.09966799f, 0.19737528f, 0.29131261f });
107 }
+
+
+
+
+ + + + -- cgit v1.2.1