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 --- ...nn_tf_parser_2test_2_addition_8cpp_source.xhtml | 121 +++++++++++++++++++++ 1 file changed, 121 insertions(+) create mode 100644 21.02/armnn_tf_parser_2test_2_addition_8cpp_source.xhtml (limited to '21.02/armnn_tf_parser_2test_2_addition_8cpp_source.xhtml') diff --git a/21.02/armnn_tf_parser_2test_2_addition_8cpp_source.xhtml b/21.02/armnn_tf_parser_2test_2_addition_8cpp_source.xhtml new file mode 100644 index 0000000000..ee4f747b0a --- /dev/null +++ b/21.02/armnn_tf_parser_2test_2_addition_8cpp_source.xhtml @@ -0,0 +1,121 @@ + + + + + + + + + + + + + +ArmNN: src/armnnTfParser/test/Addition.cpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Addition.cpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #include <boost/test/unit_test.hpp>
9 
10 BOOST_AUTO_TEST_SUITE(TensorflowParser)
11 
12 struct AdditionFixture : public armnnUtils::ParserPrototxtFixture<armnnTfParser::ITfParser>
13 {
14  AdditionFixture()
15  {
16  m_Prototext = "node { \n"
17  " name: \"graphInput\" \n"
18  " op: \"Placeholder\" \n"
19  " attr { \n"
20  " key: \"dtype\" \n"
21  " value { \n"
22  " type: DT_FLOAT \n"
23  " } \n"
24  " } \n"
25  " attr { \n"
26  " key: \"shape\" \n"
27  " value { \n"
28  " shape { \n"
29  " } \n"
30  " } \n"
31  " } \n"
32  " } \n"
33  " node { \n"
34  " name: \"softmax1\" \n"
35  " op: \"Softmax\" \n"
36  " input: \"graphInput\" \n"
37  " attr { \n"
38  " key: \"T\" \n"
39  " value { \n"
40  " type: DT_FLOAT \n"
41  " } \n"
42  " } \n"
43  " }\n"
44  " node {\n"
45  " name: \"softmax2\"\n"
46  " op : \"Softmax\"\n"
47  " input: \"graphInput\"\n"
48  " attr { \n"
49  " key: \"T\" \n"
50  " value { \n"
51  " type: DT_FLOAT \n"
52  " } \n"
53  " } \n"
54  " }\n"
55  " node {\n"
56  " name: \"addition\"\n"
57  " op : \"Add\"\n"
58  " input: \"softmax1\"\n"
59  " input: \"softmax2\"\n"
60  " attr { \n"
61  " key: \"T\" \n"
62  " value { \n"
63  " type: DT_FLOAT \n"
64  " } \n"
65  " } \n"
66  " }\n";
67 
68  SetupSingleInputSingleOutput({ 1, 7 }, "graphInput", "addition");
69  }
70 };
71 
72 BOOST_FIXTURE_TEST_CASE(ParseAddition, AdditionFixture)
73 {
74  RunTest<2>({ 0, 0, 10000, 0, 0, 0, 0 }, { 0, 0, 2, 0, 0, 0, 0 });
75 }
76 
77 
BOOST_AUTO_TEST_SUITE(TensorflowLiteParser)
+
BOOST_FIXTURE_TEST_CASE(ValidAddTest, AddValidFixture)
Definition: Addition.cpp:386
+ + + +
BOOST_AUTO_TEST_SUITE_END()
+
void SetupSingleInputSingleOutput(const std::string &inputName, const std::string &outputName)
Parses and loads the network defined by the m_Prototext string.
+ +
+
+ + + + -- cgit v1.2.1