1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
6 <meta name="generator" content="Doxygen 1.8.13"/>
7 <meta name="viewport" content="width=device-width, initial-scale=1"/>
8 <title>ArmNN: src/armnnDeserializer/test/DeserializeAdd.cpp File Reference</title>
9 <link href="tabs.css" rel="stylesheet" type="text/css"/>
10 <script type="text/javascript" src="jquery.js"></script>
11 <script type="text/javascript" src="dynsections.js"></script>
12 <link href="navtree.css" rel="stylesheet" type="text/css"/>
13 <script type="text/javascript" src="resize.js"></script>
14 <script type="text/javascript" src="navtreedata.js"></script>
15 <script type="text/javascript" src="navtree.js"></script>
16 <script type="text/javascript">
17 $(document).ready(initResizable);
19 <link href="search/search.css" rel="stylesheet" type="text/css"/>
20 <script type="text/javascript" src="search/searchdata.js"></script>
21 <script type="text/javascript" src="search/search.js"></script>
22 <link href="doxygen.css" rel="stylesheet" type="text/css" />
25 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
27 <table cellspacing="0" cellpadding="0">
29 <tr style="height: 56px;">
30 <td id="projectalign" style="padding-left: 0.5em;">
31 <div id="projectname">ArmNN
32  <span id="projectnumber">NotReleased</span>
39 <!-- end header part -->
40 <!-- Generated by Doxygen 1.8.13 -->
41 <script type="text/javascript">
42 var searchBox = new SearchBox("searchBox", "search",false,'Search');
44 <script type="text/javascript" src="menudata.js"></script>
45 <script type="text/javascript" src="menu.js"></script>
46 <script type="text/javascript">
48 initMenu('',true,false,'search.php','Search');
49 $(document).ready(function() { init_search(); });
52 <div id="main-nav"></div>
54 <div id="side-nav" class="ui-resizable side-nav-resizable">
56 <div id="nav-tree-contents">
57 <div id="nav-sync" class="sync"></div>
60 <div id="splitbar" style="-moz-user-select:none;"
61 class="ui-resizable-handle">
64 <script type="text/javascript">
65 $(document).ready(function(){initNavTree('_deserialize_add_8cpp.html','');});
67 <div id="doc-content">
68 <!-- window showing the filter options -->
69 <div id="MSearchSelectWindow"
70 onmouseover="return searchBox.OnSearchSelectShow()"
71 onmouseout="return searchBox.OnSearchSelectHide()"
72 onkeydown="return searchBox.OnSearchSelectKey(event)">
75 <!-- iframe showing the search results (closed by default) -->
76 <div id="MSearchResultsWindow">
77 <iframe src="javascript:void(0)" frameborder="0"
78 name="MSearchResults" id="MSearchResults">
84 <a href="#func-members">Functions</a> </div>
85 <div class="headertitle">
86 <div class="title">DeserializeAdd.cpp File Reference</div> </div>
88 <div class="contents">
89 <div class="textblock"><code>#include <boost/test/unit_test.hpp></code><br />
90 <code>#include "<a class="el" href="_parser_flatbuffers_serialize_fixture_8hpp_source.html">ParserFlatbuffersSerializeFixture.hpp</a>"</code><br />
91 <code>#include "<a class="el" href="_deserializer_8hpp_source.html">../Deserializer.hpp</a>"</code><br />
92 <code>#include <boost/core/ignore_unused.hpp></code><br />
93 <code>#include <string></code><br />
94 <code>#include <iostream></code><br />
96 <p><a href="_deserialize_add_8cpp_source.html">Go to the source code of this file.</a></p>
97 <table class="memberdecls">
98 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
99 Functions</h2></td></tr>
100 <tr class="memitem:a83676e8f39dcc41df5ea373e218f4312"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_deserialize_add_8cpp.html#a83676e8f39dcc41df5ea373e218f4312">BOOST_FIXTURE_TEST_CASE</a> (AddQuantisedAsymm8, SimpleAddFixture)</td></tr>
101 <tr class="separator:a83676e8f39dcc41df5ea373e218f4312"><td class="memSeparator" colspan="2"> </td></tr>
102 <tr class="memitem:a0ce952ff30b795ae9a9bd9f340facb63"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_deserialize_add_8cpp.html#a0ce952ff30b795ae9a9bd9f340facb63">BOOST_FIXTURE_TEST_CASE</a> (AddFloat32, SimpleAddFixture2)</td></tr>
103 <tr class="separator:a0ce952ff30b795ae9a9bd9f340facb63"><td class="memSeparator" colspan="2"> </td></tr>
105 <h2 class="groupheader">Function Documentation</h2>
106 <a id="a83676e8f39dcc41df5ea373e218f4312"></a>
107 <h2 class="memtitle"><span class="permalink"><a href="#a83676e8f39dcc41df5ea373e218f4312">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[1/2]</span></h2>
109 <div class="memitem">
110 <div class="memproto">
111 <table class="memname">
113 <td class="memname">BOOST_FIXTURE_TEST_CASE </td>
115 <td class="paramtype">AddQuantisedAsymm8 </td>
116 <td class="paramname">, </td>
119 <td class="paramkey"></td>
121 <td class="paramtype">SimpleAddFixture </td>
122 <td class="paramname"> </td>
130 </div><div class="memdoc">
132 <p class="definition">Definition at line <a class="el" href="_deserialize_add_8cpp_source.html#l00146">146</a> of file <a class="el" href="_deserialize_add_8cpp_source.html">DeserializeAdd.cpp</a>.</p>
133 <div class="fragment"><div class="line"><a name="l00147"></a><span class="lineno"> 147</span> {</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  RunTest<2, armnn::DataType::QAsymmU8>(</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  0,</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  {{<span class="stringliteral">"InputLayer1"</span>, { 0, 1, 2, 3 }},</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  {<span class="stringliteral">"InputLayer2"</span>, { 4, 5, 6, 7 }}},</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  {{<span class="stringliteral">"OutputLayer"</span>, { 4, 6, 8, 10 }}});</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span> }</div></div><!-- fragment -->
136 <a id="a0ce952ff30b795ae9a9bd9f340facb63"></a>
137 <h2 class="memtitle"><span class="permalink"><a href="#a0ce952ff30b795ae9a9bd9f340facb63">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[2/2]</span></h2>
139 <div class="memitem">
140 <div class="memproto">
141 <table class="memname">
143 <td class="memname">BOOST_FIXTURE_TEST_CASE </td>
145 <td class="paramtype">AddFloat32 </td>
146 <td class="paramname">, </td>
149 <td class="paramkey"></td>
151 <td class="paramtype">SimpleAddFixture2 </td>
152 <td class="paramname"> </td>
160 </div><div class="memdoc">
162 <p class="definition">Definition at line <a class="el" href="_deserialize_add_8cpp_source.html#l00155">155</a> of file <a class="el" href="_deserialize_add_8cpp_source.html">DeserializeAdd.cpp</a>.</p>
164 <p class="reference">References <a class="el" href="_profiler_tests_8cpp.html#af7f71af5c6c124222dd1c42c5df892f4">BOOST_AUTO_TEST_SUITE_END()</a>.</p>
165 <div class="fragment"><div class="line"><a name="l00156"></a><span class="lineno"> 156</span> {</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  RunTest<4, armnn::DataType::Float32>(</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  0,</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  {{<span class="stringliteral">"InputLayer1"</span>, { 111, 85, 226, 3 }},</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  {<span class="stringliteral">"InputLayer2"</span>, { 5, 8, 10, 12 }}},</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  {{<span class="stringliteral">"OutputLayer"</span>, { 116, 93, 236, 15 }}});</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span> }</div></div><!-- fragment -->
168 </div><!-- contents -->
169 </div><!-- doc-content -->
170 <!-- start footer part -->
171 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
173 <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_926e64104daaa2ed9ca6061297f76df9.html">armnnDeserializer</a></li><li class="navelem"><a class="el" href="dir_5f8021bbd8815b3505ceb680cf087e1e.html">test</a></li><li class="navelem"><a class="el" href="_deserialize_add_8cpp.html">DeserializeAdd.cpp</a></li>
174 <li class="footer">Generated on Fri Mar 13 2020 16:06:59 for ArmNN by
175 <a href="http://www.doxygen.org/index.html">
176 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>