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 --- ...armnn_tf_lite_parser_2test_2_minimum_8cpp.xhtml | 289 +++++++++++++++++++++ 1 file changed, 289 insertions(+) create mode 100644 20.02/armnn_tf_lite_parser_2test_2_minimum_8cpp.xhtml (limited to '20.02/armnn_tf_lite_parser_2test_2_minimum_8cpp.xhtml') diff --git a/20.02/armnn_tf_lite_parser_2test_2_minimum_8cpp.xhtml b/20.02/armnn_tf_lite_parser_2test_2_minimum_8cpp.xhtml new file mode 100644 index 0000000000..cad7bb71be --- /dev/null +++ b/20.02/armnn_tf_lite_parser_2test_2_minimum_8cpp.xhtml @@ -0,0 +1,289 @@ + + + + + + + + + + + + + +ArmNN: src/armnnTfLiteParser/test/Minimum.cpp File Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Minimum.cpp File Reference
+
+
+
#include <boost/test/unit_test.hpp>
+#include "ParserFlatbuffersFixture.hpp"
+#include "../TfLiteParser.hpp"
+#include <string>
+#include <iostream>
+
+

Go to the source code of this file.

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

+Functions

 BOOST_FIXTURE_TEST_CASE (ParseMinimum4D, MinimumFixture4D)
 
 BOOST_FIXTURE_TEST_CASE (ParseMinimumBroadcast4D, MinimumBroadcastFixture4D)
 
 BOOST_FIXTURE_TEST_CASE (ParseMinimumBroadcast4D1D, MinimumBroadcastFixture4D1D)
 
 BOOST_FIXTURE_TEST_CASE (ParseMinimumBroadcast1D4D, MinimumBroadcastFixture1D4D)
 
 BOOST_FIXTURE_TEST_CASE (ParseMinimumBroadcast2D0D, MinimumBroadcastFixture2D0D)
 
+

Function Documentation

+ +

◆ BOOST_FIXTURE_TEST_CASE() [1/5]

+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOST_FIXTURE_TEST_CASE (ParseMinimum4D ,
MinimumFixture4D  
)
+
+ +

Definition at line 93 of file Minimum.cpp.

+
94 {
95  RunTest<4, armnn::DataType::Float32>(
96  0,
97  {{"inputTensor1", { 0.0f, 1.0f, 2.0f,
98  3.0f, 4.0f, 5.0f,
99  6.0f, 7.0f, 8.0f,
100  9.0f, 10.0f, 11.0f }},
101  {"inputTensor2", { 0.0f, 0.0f, 0.0f,
102  5.0f, 5.0f, 5.0f,
103  7.0f, 7.0f, 7.0f,
104  9.0f, 9.0f, 9.0f }}},
105  {{"outputTensor", { 0.0f, 0.0f, 0.0f,
106  3.0f, 4.0f, 5.0f,
107  6.0f, 7.0f, 7.0f,
108  9.0f, 9.0f, 9.0f }}});
109 }
+
+
+ +

◆ BOOST_FIXTURE_TEST_CASE() [2/5]

+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOST_FIXTURE_TEST_CASE (ParseMinimumBroadcast4D ,
MinimumBroadcastFixture4D  
)
+
+ +

Definition at line 118 of file Minimum.cpp.

+
119 {
120  RunTest<4, armnn::DataType::Float32>(
121  0,
122  {{"inputTensor1", { 2.0f,
123  4.0f }},
124  {"inputTensor2", { 1.0f, 2.0f, 3.0f,
125  4.0f, 5.0f, 6.0f }}},
126  {{"outputTensor", { 1.0f, 2.0f, 2.0f,
127  1.0f, 2.0f, 3.0f,
128  2.0f, 2.0f, 2.0f,
129  4.0f, 4.0f, 4.0f }}});
130 }
+
+
+ +

◆ BOOST_FIXTURE_TEST_CASE() [3/5]

+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOST_FIXTURE_TEST_CASE (ParseMinimumBroadcast4D1D ,
MinimumBroadcastFixture4D1D  
)
+
+ +

Definition at line 139 of file Minimum.cpp.

+
140 {
141  RunTest<4, armnn::DataType::Float32>(
142  0,
143  {{"inputTensor1", { 0.0f, 1.0f, 2.0f,
144  3.0f, 4.0f, 5.0f,
145  6.0f, 7.0f, 8.0f,
146  9.0f, 10.0f, 11.0f }},
147  {"inputTensor2", { 5.0f }}},
148  {{"outputTensor", { 0.0f, 1.0f, 2.0f,
149  3.0f, 4.0f, 5.0f,
150  5.0f, 5.0f, 5.0f,
151  5.0f, 5.0f, 5.0f }}});
152 }
+
+
+ +

◆ BOOST_FIXTURE_TEST_CASE() [4/5]

+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOST_FIXTURE_TEST_CASE (ParseMinimumBroadcast1D4D ,
MinimumBroadcastFixture1D4D  
)
+
+ +

Definition at line 161 of file Minimum.cpp.

+
162 {
163  RunTest<4, armnn::DataType::Float32>(
164  0,
165  {{"inputTensor1", { 5.0f, 6.0f, 7.0f }},
166  {"inputTensor2", { 0.0f, 1.0f, 2.0f,
167  3.0f, 4.0f, 5.0f,
168  6.0f, 7.0f, 8.0f,
169  9.0f, 10.0f, 11.0f }}},
170  {{"outputTensor", { 0.0f, 1.0f, 2.0f,
171  3.0f, 4.0f, 5.0f,
172  5.0f, 6.0f, 7.0f,
173  5.0f, 6.0f, 7.0f }}});
174 }
+
+
+ +

◆ BOOST_FIXTURE_TEST_CASE() [5/5]

+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOST_FIXTURE_TEST_CASE (ParseMinimumBroadcast2D0D ,
MinimumBroadcastFixture2D0D  
)
+
+ +

Definition at line 245 of file Minimum.cpp.

+ +

References BOOST_AUTO_TEST_SUITE_END().

+
246 {
247  RunTest<2, armnn::DataType::Float32>(
248  0,
249  {{"input0", { 1.0f, 5.0f }}},
250  {{"output", { 1.0f, 2.0f }}});
251 }
+
+
+
+
+ + + + -- cgit v1.2.1