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/DeserializeActivation.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_activation_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">DeserializeActivation.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 <string></code><br />
93 <code>#include <iostream></code><br />
95 <p><a href="_deserialize_activation_8cpp_source.html">Go to the source code of this file.</a></p>
96 <table class="memberdecls">
97 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
98 Functions</h2></td></tr>
99 <tr class="memitem:a639bff5c0604241bf69d86b989202b98"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_deserialize_activation_8cpp.html#a639bff5c0604241bf69d86b989202b98">BOOST_FIXTURE_TEST_CASE</a> (ActivationReluQuantisedAsymm8, SimpleActivationFixture)</td></tr>
100 <tr class="separator:a639bff5c0604241bf69d86b989202b98"><td class="memSeparator" colspan="2"> </td></tr>
101 <tr class="memitem:a84dc3fafff220814b00fca4858ed0d37"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_deserialize_activation_8cpp.html#a84dc3fafff220814b00fca4858ed0d37">BOOST_FIXTURE_TEST_CASE</a> (ActivationReluFloat32, SimpleActivationFixture2)</td></tr>
102 <tr class="separator:a84dc3fafff220814b00fca4858ed0d37"><td class="memSeparator" colspan="2"> </td></tr>
103 <tr class="memitem:a7d1b35416020dc5d29b064eb3ed9b100"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_deserialize_activation_8cpp.html#a7d1b35416020dc5d29b064eb3ed9b100">BOOST_FIXTURE_TEST_CASE</a> (ActivationBoundedReluQuantisedAsymm8, SimpleActivationFixture3)</td></tr>
104 <tr class="separator:a7d1b35416020dc5d29b064eb3ed9b100"><td class="memSeparator" colspan="2"> </td></tr>
105 <tr class="memitem:ae3960a34924de70c1bc6964097ec30b8"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_deserialize_activation_8cpp.html#ae3960a34924de70c1bc6964097ec30b8">BOOST_FIXTURE_TEST_CASE</a> (ActivationBoundedReluFloat32, SimpleActivationFixture4)</td></tr>
106 <tr class="separator:ae3960a34924de70c1bc6964097ec30b8"><td class="memSeparator" colspan="2"> </td></tr>
108 <h2 class="groupheader">Function Documentation</h2>
109 <a id="a639bff5c0604241bf69d86b989202b98"></a>
110 <h2 class="memtitle"><span class="permalink"><a href="#a639bff5c0604241bf69d86b989202b98">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[1/4]</span></h2>
112 <div class="memitem">
113 <div class="memproto">
114 <table class="memname">
116 <td class="memname">BOOST_FIXTURE_TEST_CASE </td>
118 <td class="paramtype">ActivationReluQuantisedAsymm8 </td>
119 <td class="paramname">, </td>
122 <td class="paramkey"></td>
124 <td class="paramtype">SimpleActivationFixture </td>
125 <td class="paramname"> </td>
133 </div><div class="memdoc">
135 <p class="definition">Definition at line <a class="el" href="_deserialize_activation_8cpp_source.html#l00145">145</a> of file <a class="el" href="_deserialize_activation_8cpp_source.html">DeserializeActivation.cpp</a>.</p>
136 <div class="fragment"><div class="line"><a name="l00146"></a><span class="lineno"> 146</span> {</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  RunTest<4, armnn::DataType::QAsymmU8>(</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  0,</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  {{<span class="stringliteral">"InputLayer"</span>, {10, 0, 2, 0}}},</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  {{<span class="stringliteral">"OutputLayer"</span>, {10, 0, 2, 0}}});</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span> }</div></div><!-- fragment -->
139 <a id="a84dc3fafff220814b00fca4858ed0d37"></a>
140 <h2 class="memtitle"><span class="permalink"><a href="#a84dc3fafff220814b00fca4858ed0d37">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[2/4]</span></h2>
142 <div class="memitem">
143 <div class="memproto">
144 <table class="memname">
146 <td class="memname">BOOST_FIXTURE_TEST_CASE </td>
148 <td class="paramtype">ActivationReluFloat32 </td>
149 <td class="paramname">, </td>
152 <td class="paramkey"></td>
154 <td class="paramtype">SimpleActivationFixture2 </td>
155 <td class="paramname"> </td>
163 </div><div class="memdoc">
165 <p class="definition">Definition at line <a class="el" href="_deserialize_activation_8cpp_source.html#l00153">153</a> of file <a class="el" href="_deserialize_activation_8cpp_source.html">DeserializeActivation.cpp</a>.</p>
166 <div class="fragment"><div class="line"><a name="l00154"></a><span class="lineno"> 154</span> {</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  RunTest<4, armnn::DataType::Float32>(</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  0,</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  {{<span class="stringliteral">"InputLayer"</span>, {111, -85, 226, 3}}},</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  {{<span class="stringliteral">"OutputLayer"</span>, {111, 0, 226, 3}}});</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span> }</div></div><!-- fragment -->
169 <a id="a7d1b35416020dc5d29b064eb3ed9b100"></a>
170 <h2 class="memtitle"><span class="permalink"><a href="#a7d1b35416020dc5d29b064eb3ed9b100">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[3/4]</span></h2>
172 <div class="memitem">
173 <div class="memproto">
174 <table class="memname">
176 <td class="memname">BOOST_FIXTURE_TEST_CASE </td>
178 <td class="paramtype">ActivationBoundedReluQuantisedAsymm8 </td>
179 <td class="paramname">, </td>
182 <td class="paramkey"></td>
184 <td class="paramtype">SimpleActivationFixture3 </td>
185 <td class="paramname"> </td>
193 </div><div class="memdoc">
195 <p class="definition">Definition at line <a class="el" href="_deserialize_activation_8cpp_source.html#l00162">162</a> of file <a class="el" href="_deserialize_activation_8cpp_source.html">DeserializeActivation.cpp</a>.</p>
196 <div class="fragment"><div class="line"><a name="l00163"></a><span class="lineno"> 163</span> {</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  RunTest<4, armnn::DataType::QAsymmU8>(</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  0,</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  {{<span class="stringliteral">"InputLayer"</span>, {10, 0, 2, 0}}},</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  {{<span class="stringliteral">"OutputLayer"</span>, {5, 0, 2, 0}}});</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span> }</div></div><!-- fragment -->
199 <a id="ae3960a34924de70c1bc6964097ec30b8"></a>
200 <h2 class="memtitle"><span class="permalink"><a href="#ae3960a34924de70c1bc6964097ec30b8">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[4/4]</span></h2>
202 <div class="memitem">
203 <div class="memproto">
204 <table class="memname">
206 <td class="memname">BOOST_FIXTURE_TEST_CASE </td>
208 <td class="paramtype">ActivationBoundedReluFloat32 </td>
209 <td class="paramname">, </td>
212 <td class="paramkey"></td>
214 <td class="paramtype">SimpleActivationFixture4 </td>
215 <td class="paramname"> </td>
223 </div><div class="memdoc">
225 <p class="definition">Definition at line <a class="el" href="_deserialize_activation_8cpp_source.html#l00170">170</a> of file <a class="el" href="_deserialize_activation_8cpp_source.html">DeserializeActivation.cpp</a>.</p>
227 <p class="reference">References <a class="el" href="_profiler_tests_8cpp.html#af7f71af5c6c124222dd1c42c5df892f4">BOOST_AUTO_TEST_SUITE_END()</a>.</p>
228 <div class="fragment"><div class="line"><a name="l00171"></a><span class="lineno"> 171</span> {</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  RunTest<4, armnn::DataType::Float32>(</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  0,</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  {{<span class="stringliteral">"InputLayer"</span>, {111, -85, 226, 3}}},</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  {{<span class="stringliteral">"OutputLayer"</span>, {5, 0, 5, 3}}});</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span> }</div></div><!-- fragment -->
231 </div><!-- contents -->
232 </div><!-- doc-content -->
233 <!-- start footer part -->
234 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
236 <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_activation_8cpp.html">DeserializeActivation.cpp</a></li>
237 <li class="footer">Generated on Fri Mar 13 2020 16:06:59 for ArmNN by
238 <a href="http://www.doxygen.org/index.html">
239 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>