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_sub_8cpp.xhtml | 223 +++++++++++++++++++++++++++ 1 file changed, 223 insertions(+) create mode 100644 20.02/armnn_tf_parser_2test_2_sub_8cpp.xhtml (limited to '20.02/armnn_tf_parser_2test_2_sub_8cpp.xhtml') diff --git a/20.02/armnn_tf_parser_2test_2_sub_8cpp.xhtml b/20.02/armnn_tf_parser_2test_2_sub_8cpp.xhtml new file mode 100644 index 0000000000..7128c960f6 --- /dev/null +++ b/20.02/armnn_tf_parser_2test_2_sub_8cpp.xhtml @@ -0,0 +1,223 @@ + + + + + + + + + + + + + +ArmNN: src/armnnTfParser/test/Sub.cpp File Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
Sub.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 (ParseSub, SubFixture4D4D)
 
 BOOST_FIXTURE_TEST_CASE (ParseSubBroadcast4D1D, SubBroadcastFixture4D1D)
 
 BOOST_FIXTURE_TEST_CASE (ParseSubBroadcast1D4D, SubBroadcastFixture1D4D)
 
+

Function Documentation

+ +

◆ BOOST_FIXTURE_TEST_CASE() [1/3]

+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOST_FIXTURE_TEST_CASE (ParseSub ,
SubFixture4D4D  
)
+
+ +

Definition at line 76 of file Sub.cpp.

+
77 {
78  RunTest<4>({ { "input0", { 5.0f, 1.0f, 2.0f,
79  3.0f, 4.0f, 5.0f,
80  6.0f, 7.0f, 8.0f,
81  29.0f, 10.0f, 11.0f } },
82 
83  { "input1", { 0.0f, 1.0f, 3.0f,
84  4.0f, 5.5f, 1.0f,
85  2.0f, 17.0f, 18.0f,
86  19.0f, 1.0f, 3.0f } } },
87 
88  { { "output", { 5.0f, 0.0f, -1.0f,
89  -1.0f, -1.5f, 4.0f,
90  4.0f, -10.0f, -10.0f,
91  10.0f, 9.0f, 8.0f } } });
92 }
+
+
+ +

◆ BOOST_FIXTURE_TEST_CASE() [2/3]

+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOST_FIXTURE_TEST_CASE (ParseSubBroadcast4D1D ,
SubBroadcastFixture4D1D  
)
+
+ +

Definition at line 99 of file Sub.cpp.

+
100 {
101  RunTest<4>({ { "input0", { 0.0f, 1.0f, 2.0f,
102  3.0f, 4.0f, 5.0f,
103  6.0f, 7.0f, 8.0f,
104  9.0f, 10.0f, 11.0f } },
105 
106  { "input1", { 5.0f } } },
107 
108  { { "output", { -5.0f, -4.0f, -3.0f,
109  -2.0f, -1.0f, 0.0f,
110  1.0f, 2.0f, 3.0f,
111  4.0f, 5.0f, 6.0f } } });
112 }
+
+
+ +

◆ BOOST_FIXTURE_TEST_CASE() [3/3]

+ +
+
+ + + + + + + + + + + + + + + + + + +
BOOST_FIXTURE_TEST_CASE (ParseSubBroadcast1D4D ,
SubBroadcastFixture1D4D  
)
+
+ +

Definition at line 119 of file Sub.cpp.

+ +

References BOOST_AUTO_TEST_SUITE_END().

+
120 {
121  RunTest<4>({ { "input0", { 3.0f } },
122 
123  { "input1", { 0.0f, 1.0f, 2.0f,
124  3.0f, 4.0f, 5.0f,
125  6.0f, 7.0f, 8.0f,
126  9.0f, 10.0f, 11.0f } } },
127 
128  { { "output", { 3.0f, 2.0f, 1.0f,
129  0.0f, -1.0f, -2.0f,
130  -3.0f, -4.0f, -5.0f,
131  -6.0f, -7.0f, -8.0f } } });
132 }
+
+
+
+
+ + + + -- cgit v1.2.1