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 --- 20.02/armnn_tf_parser_2test_2_minimum_8cpp.xhtml | 290 +++++++++++++++++++++++ 1 file changed, 290 insertions(+) create mode 100644 20.02/armnn_tf_parser_2test_2_minimum_8cpp.xhtml (limited to '20.02/armnn_tf_parser_2test_2_minimum_8cpp.xhtml') diff --git a/20.02/armnn_tf_parser_2test_2_minimum_8cpp.xhtml b/20.02/armnn_tf_parser_2test_2_minimum_8cpp.xhtml new file mode 100644 index 0000000000..594a496f29 --- /dev/null +++ b/20.02/armnn_tf_parser_2test_2_minimum_8cpp.xhtml @@ -0,0 +1,290 @@ + + + + + + + + + + + + + +ArmNN: src/armnnTfParser/test/Minimum.cpp File Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Minimum.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 (ParseMininumUnsupportedBroadcast, MinimumFixture)
 
 BOOST_FIXTURE_TEST_CASE (ParseMinimum4D, MinimumFixture4D)
 
 BOOST_FIXTURE_TEST_CASE (ParseMinimumBroadcast4D, MinimumBroadcastFixture4D)
 
 BOOST_FIXTURE_TEST_CASE (ParseMinimumBroadcast4D1D, MinimumBroadcastFixture4D1D)
 
 BOOST_FIXTURE_TEST_CASE (ParseMinimumBroadcast1D4D, MinimumBroadcastFixture1D4D)
 
+

Function Documentation

+ +

◆ BOOST_FIXTURE_TEST_CASE() [1/5]

+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOST_FIXTURE_TEST_CASE (ParseMininumUnsupportedBroadcast ,
MinimumFixture  
)
+
+ +

Definition at line 67 of file Minimum.cpp.

+ +

References ParserPrototxtFixture< TParser >::Setup().

+
68 {
69  BOOST_REQUIRE_THROW(Setup({ { "input0", {2, 3} },
70  { "input1", {1, 2, 2, 3} } },
71  { "output" }),
73 }
+
+
+
+ +

◆ BOOST_FIXTURE_TEST_CASE() [2/5]

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

Definition at line 93 of file Minimum.cpp.

+
94 {
95  RunTest<4>({ { "input0", { 0.0f, 1.0f, 2.0f,
96  3.0f, 4.0f, 5.0f,
97  6.0f, 7.0f, 8.0f,
98  9.0f, 10.0f, 11.0f } },
99  { "input1", { 0.0f, 0.0f, 0.0f,
100  5.0f, 5.0f, 5.0f,
101  7.0f, 7.0f, 7.0f,
102  9.0f, 9.0f, 9.0f } } },
103  { { "output", { 0.0f, 0.0f, 0.0f,
104  3.0f, 4.0f, 5.0f,
105  6.0f, 7.0f, 7.0f,
106  9.0f, 9.0f, 9.0f } } });
107 }
+
+
+ +

◆ BOOST_FIXTURE_TEST_CASE() [3/5]

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

Definition at line 115 of file Minimum.cpp.

+
116 {
117  RunTest<4>({ { "input0", { 2.0f,
118  4.0f } },
119  { "input1", { 1.0f, 2.0f, 3.0f,
120  4.0f, 5.0f, 6.0f } } },
121  { { "output", { 1.0f, 2.0f, 2.0f,
122  1.0f, 2.0f, 3.0f,
123  2.0f, 2.0f, 2.0f,
124  4.0f, 4.0f, 4.0f } } });
125 }
+
+
+ +

◆ BOOST_FIXTURE_TEST_CASE() [4/5]

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

Definition at line 133 of file Minimum.cpp.

+
134 {
135  RunTest<4>({ { "input0", { 0.0f, 1.0f, 2.0f,
136  3.0f, 4.0f, 5.0f,
137  6.0f, 7.0f, 8.0f,
138  9.0f, 10.0f, 11.0f } },
139  { "input1", { 5.0f } } },
140  { { "output", { 0.0f, 1.0f, 2.0f,
141  3.0f, 4.0f, 5.0f,
142  5.0f, 5.0f, 5.0f,
143  5.0f, 5.0f, 5.0f } } });
144 }
+
+
+ +

◆ BOOST_FIXTURE_TEST_CASE() [5/5]

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

Definition at line 152 of file Minimum.cpp.

+ +

References BOOST_AUTO_TEST_SUITE_END().

+
153 {
154  RunTest<4>({ { "input0", { 5.0f, 6.0f, 7.0f } },
155  { "input1", { 0.0f, 1.0f, 2.0f,
156  3.0f, 4.0f, 5.0f,
157  6.0f, 7.0f, 8.0f,
158  9.0f, 10.0f, 11.0f } } },
159  { { "output", { 0.0f, 1.0f, 2.0f,
160  3.0f, 4.0f, 5.0f,
161  5.0f, 6.0f, 7.0f,
162  5.0f, 6.0f, 7.0f } } });
163 }
+
+
+
+
+ + + + -- cgit v1.2.1