From 6940dd720ebb6b3d1df8ca203ab696daefe58189 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Fri, 20 Mar 2020 12:25:56 +0000 Subject: renamed Documentation folder 20.02 and added .nojekyll file Signed-off-by: Jim Flynn --- ...n_tf_lite_parser_2test_2_activations_8cpp.xhtml | 255 +++++++++++++++++++++ 1 file changed, 255 insertions(+) create mode 100644 20.02/armnn_tf_lite_parser_2test_2_activations_8cpp.xhtml (limited to '20.02/armnn_tf_lite_parser_2test_2_activations_8cpp.xhtml') diff --git a/20.02/armnn_tf_lite_parser_2test_2_activations_8cpp.xhtml b/20.02/armnn_tf_lite_parser_2test_2_activations_8cpp.xhtml new file mode 100644 index 0000000000..34dbb1339d --- /dev/null +++ b/20.02/armnn_tf_lite_parser_2test_2_activations_8cpp.xhtml @@ -0,0 +1,255 @@ + + + + + + + + + + + + + +ArmNN: src/armnnTfLiteParser/test/Activations.cpp File Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Activations.cpp File Reference
+
+
+
#include <boost/test/unit_test.hpp>
+#include "ParserFlatbuffersFixture.hpp"
+#include "../TfLiteParser.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 (ParseLogistic, SigmoidFixture)
 
 BOOST_FIXTURE_TEST_CASE (ParseTanH, TanHFixture)
 
+

Function Documentation

+ +

◆ BOOST_FIXTURE_TEST_CASE() [1/4]

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

Definition at line 71 of file Activations.cpp.

+
72 {
73  RunTest<2, armnn::DataType::Float32>(0, { -1.0f, -0.5f, 1.25f, -3.0f, 0.0f, 0.5f, -0.75f },
74  { 0.0f, 0.0f, 1.25f, 0.0f, 0.0f, 0.5f, 0.0f });
75 }
+
+
+ +

◆ BOOST_FIXTURE_TEST_CASE() [2/4]

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

Definition at line 81 of file Activations.cpp.

+
82 {
83  RunTest<2, armnn::DataType::Float32>(0, { -1.0f, -0.5f, 7.25f, -3.0f, 0.0f, 0.5f, -0.75f },
84  { 0.0f, 0.0f, 6.0f, 0.0f, 0.0f, 0.5f, 0.0f });
85 }
+
+
+ +

◆ BOOST_FIXTURE_TEST_CASE() [3/4]

+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOST_FIXTURE_TEST_CASE (ParseLogistic ,
SigmoidFixture  
)
+
+ +

Definition at line 91 of file Activations.cpp.

+
92 {
93  RunTest<2, armnn::DataType::Float32>(0, { -1.0f, -0.5f, 4.0f, -4.0f, 0.0f, 0.5f, -0.75f },
94  {0.268941f, 0.377541f, 0.982013f, 0.0179862f, 0.5f, 0.622459f, 0.320821f });
95 }
+
+
+ +

◆ BOOST_FIXTURE_TEST_CASE() [4/4]

+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOST_FIXTURE_TEST_CASE (ParseTanH ,
TanHFixture  
)
+
+ +

Definition at line 102 of file Activations.cpp.

+ +

References BOOST_AUTO_TEST_SUITE_END().

+
103 {
104  RunTest<2, armnn::DataType::Float32>(0,
105  { -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