1 <!-- Copyright (c) 2020 ARM Limited. -->
3 <!-- SPDX-License-Identifier: MIT -->
5 <!-- HTML header for doxygen 1.8.13-->
6 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
7 <html xmlns="http://www.w3.org/1999/xhtml">
9 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
10 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
11 <meta name="generator" content="Doxygen 1.8.13"/>
12 <meta name="robots" content="NOINDEX, NOFOLLOW" />
13 <meta name="viewport" content="width=device-width, initial-scale=1"/>
14 <title>ArmNN: src/armnnDeserializer/test/DeserializeActivation.cpp File Reference</title>
15 <link href="tabs.css" rel="stylesheet" type="text/css"/>
16 <script type="text/javascript" src="jquery.js"></script>
17 <script type="text/javascript" src="dynsections.js"></script>
18 <link href="navtree.css" rel="stylesheet" type="text/css"/>
19 <script type="text/javascript" src="resize.js"></script>
20 <script type="text/javascript" src="navtreedata.js"></script>
21 <script type="text/javascript" src="navtree.js"></script>
22 <script type="text/javascript">
23 $(document).ready(initResizable);
25 <link href="search/search.css" rel="stylesheet" type="text/css"/>
26 <script type="text/javascript" src="search/searchdata.js"></script>
27 <script type="text/javascript" src="search/search.js"></script>
28 <script type="text/x-mathjax-config">
30 extensions: ["tex2jax.js"],
31 jax: ["input/TeX","output/HTML-CSS"],
33 </script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
34 <link href="doxygen.css" rel="stylesheet" type="text/css" />
35 <link href="stylesheet.css" rel="stylesheet" type="text/css"/>
38 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
40 <table cellspacing="0" cellpadding="0">
42 <tr style="height: 56px;">
43 <img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 10rem; margin-top: .5rem; margin-left 10px"/>
44 <td style="padding-left: 0.5em;">
45 <div id="projectname">
46  <span id="projectnumber">20.02</span>
53 <!-- end header part -->
54 <!-- Generated by Doxygen 1.8.13 -->
55 <script type="text/javascript">
56 var searchBox = new SearchBox("searchBox", "search",false,'Search');
58 <script type="text/javascript" src="menudata.js"></script>
59 <script type="text/javascript" src="menu.js"></script>
60 <script type="text/javascript">
62 initMenu('',true,false,'search.php','Search');
63 $(document).ready(function() { init_search(); });
66 <div id="main-nav"></div>
68 <div id="side-nav" class="ui-resizable side-nav-resizable">
70 <div id="nav-tree-contents">
71 <div id="nav-sync" class="sync"></div>
74 <div id="splitbar" style="-moz-user-select:none;"
75 class="ui-resizable-handle">
78 <script type="text/javascript">
79 $(document).ready(function(){initNavTree('_deserialize_activation_8cpp.xhtml','');});
81 <div id="doc-content">
82 <!-- window showing the filter options -->
83 <div id="MSearchSelectWindow"
84 onmouseover="return searchBox.OnSearchSelectShow()"
85 onmouseout="return searchBox.OnSearchSelectHide()"
86 onkeydown="return searchBox.OnSearchSelectKey(event)">
89 <!-- iframe showing the search results (closed by default) -->
90 <div id="MSearchResultsWindow">
91 <iframe src="javascript:void(0)" frameborder="0"
92 name="MSearchResults" id="MSearchResults">
98 <a href="#func-members">Functions</a> </div>
99 <div class="headertitle">
100 <div class="title">DeserializeActivation.cpp File Reference</div> </div>
102 <div class="contents">
103 <div class="textblock"><code>#include <boost/test/unit_test.hpp></code><br />
104 <code>#include "<a class="el" href="_parser_flatbuffers_serialize_fixture_8hpp_source.xhtml">ParserFlatbuffersSerializeFixture.hpp</a>"</code><br />
105 <code>#include "<a class="el" href="_deserializer_8hpp_source.xhtml">../Deserializer.hpp</a>"</code><br />
106 <code>#include <string></code><br />
107 <code>#include <iostream></code><br />
109 <p><a href="_deserialize_activation_8cpp_source.xhtml">Go to the source code of this file.</a></p>
110 <table class="memberdecls">
111 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
112 Functions</h2></td></tr>
113 <tr class="memitem:a639bff5c0604241bf69d86b989202b98"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_deserialize_activation_8cpp.xhtml#a639bff5c0604241bf69d86b989202b98">BOOST_FIXTURE_TEST_CASE</a> (ActivationReluQuantisedAsymm8, SimpleActivationFixture)</td></tr>
114 <tr class="separator:a639bff5c0604241bf69d86b989202b98"><td class="memSeparator" colspan="2"> </td></tr>
115 <tr class="memitem:a84dc3fafff220814b00fca4858ed0d37"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_deserialize_activation_8cpp.xhtml#a84dc3fafff220814b00fca4858ed0d37">BOOST_FIXTURE_TEST_CASE</a> (ActivationReluFloat32, SimpleActivationFixture2)</td></tr>
116 <tr class="separator:a84dc3fafff220814b00fca4858ed0d37"><td class="memSeparator" colspan="2"> </td></tr>
117 <tr class="memitem:a7d1b35416020dc5d29b064eb3ed9b100"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_deserialize_activation_8cpp.xhtml#a7d1b35416020dc5d29b064eb3ed9b100">BOOST_FIXTURE_TEST_CASE</a> (ActivationBoundedReluQuantisedAsymm8, SimpleActivationFixture3)</td></tr>
118 <tr class="separator:a7d1b35416020dc5d29b064eb3ed9b100"><td class="memSeparator" colspan="2"> </td></tr>
119 <tr class="memitem:ae3960a34924de70c1bc6964097ec30b8"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_deserialize_activation_8cpp.xhtml#ae3960a34924de70c1bc6964097ec30b8">BOOST_FIXTURE_TEST_CASE</a> (ActivationBoundedReluFloat32, SimpleActivationFixture4)</td></tr>
120 <tr class="separator:ae3960a34924de70c1bc6964097ec30b8"><td class="memSeparator" colspan="2"> </td></tr>
122 <h2 class="groupheader">Function Documentation</h2>
123 <a id="a639bff5c0604241bf69d86b989202b98"></a>
124 <h2 class="memtitle"><span class="permalink"><a href="#a639bff5c0604241bf69d86b989202b98">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[1/4]</span></h2>
126 <div class="memitem">
127 <div class="memproto">
128 <table class="memname">
130 <td class="memname">BOOST_FIXTURE_TEST_CASE </td>
132 <td class="paramtype">ActivationReluQuantisedAsymm8 </td>
133 <td class="paramname">, </td>
136 <td class="paramkey"></td>
138 <td class="paramtype">SimpleActivationFixture </td>
139 <td class="paramname"> </td>
147 </div><div class="memdoc">
149 <p class="definition">Definition at line <a class="el" href="_deserialize_activation_8cpp_source.xhtml#l00145">145</a> of file <a class="el" href="_deserialize_activation_8cpp_source.xhtml">DeserializeActivation.cpp</a>.</p>
150 <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 -->
153 <a id="a84dc3fafff220814b00fca4858ed0d37"></a>
154 <h2 class="memtitle"><span class="permalink"><a href="#a84dc3fafff220814b00fca4858ed0d37">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[2/4]</span></h2>
156 <div class="memitem">
157 <div class="memproto">
158 <table class="memname">
160 <td class="memname">BOOST_FIXTURE_TEST_CASE </td>
162 <td class="paramtype">ActivationReluFloat32 </td>
163 <td class="paramname">, </td>
166 <td class="paramkey"></td>
168 <td class="paramtype">SimpleActivationFixture2 </td>
169 <td class="paramname"> </td>
177 </div><div class="memdoc">
179 <p class="definition">Definition at line <a class="el" href="_deserialize_activation_8cpp_source.xhtml#l00153">153</a> of file <a class="el" href="_deserialize_activation_8cpp_source.xhtml">DeserializeActivation.cpp</a>.</p>
180 <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 -->
183 <a id="a7d1b35416020dc5d29b064eb3ed9b100"></a>
184 <h2 class="memtitle"><span class="permalink"><a href="#a7d1b35416020dc5d29b064eb3ed9b100">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[3/4]</span></h2>
186 <div class="memitem">
187 <div class="memproto">
188 <table class="memname">
190 <td class="memname">BOOST_FIXTURE_TEST_CASE </td>
192 <td class="paramtype">ActivationBoundedReluQuantisedAsymm8 </td>
193 <td class="paramname">, </td>
196 <td class="paramkey"></td>
198 <td class="paramtype">SimpleActivationFixture3 </td>
199 <td class="paramname"> </td>
207 </div><div class="memdoc">
209 <p class="definition">Definition at line <a class="el" href="_deserialize_activation_8cpp_source.xhtml#l00162">162</a> of file <a class="el" href="_deserialize_activation_8cpp_source.xhtml">DeserializeActivation.cpp</a>.</p>
210 <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 -->
213 <a id="ae3960a34924de70c1bc6964097ec30b8"></a>
214 <h2 class="memtitle"><span class="permalink"><a href="#ae3960a34924de70c1bc6964097ec30b8">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[4/4]</span></h2>
216 <div class="memitem">
217 <div class="memproto">
218 <table class="memname">
220 <td class="memname">BOOST_FIXTURE_TEST_CASE </td>
222 <td class="paramtype">ActivationBoundedReluFloat32 </td>
223 <td class="paramname">, </td>
226 <td class="paramkey"></td>
228 <td class="paramtype">SimpleActivationFixture4 </td>
229 <td class="paramname"> </td>
237 </div><div class="memdoc">
239 <p class="definition">Definition at line <a class="el" href="_deserialize_activation_8cpp_source.xhtml#l00170">170</a> of file <a class="el" href="_deserialize_activation_8cpp_source.xhtml">DeserializeActivation.cpp</a>.</p>
241 <p class="reference">References <a class="el" href="_profiler_tests_8cpp.xhtml#af7f71af5c6c124222dd1c42c5df892f4">BOOST_AUTO_TEST_SUITE_END()</a>.</p>
242 <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 -->
245 </div><!-- contents -->
246 </div><!-- doc-content -->
247 <!-- start footer part -->
248 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
250 <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.xhtml">src</a></li><li class="navelem"><a class="el" href="dir_926e64104daaa2ed9ca6061297f76df9.xhtml">armnnDeserializer</a></li><li class="navelem"><a class="el" href="dir_5f8021bbd8815b3505ceb680cf087e1e.xhtml">test</a></li><li class="navelem"><a class="el" href="_deserialize_activation_8cpp.xhtml">DeserializeActivation.cpp</a></li>
251 <li class="footer">Generated on Fri Mar 13 2020 16:09:14 for ArmNN by
252 <a href="http://www.doxygen.org/index.html">
253 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>