Ryan OShea | de36e4a | 2020-03-13 16:26:19 +0000 | [diff] [blame] | 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"> |
| 3 | <head> |
| 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/armnnTfParser/test/FusedBatchNorm.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); |
| 18 | </script> |
| 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" /> |
| 23 | </head> |
| 24 | <body> |
| 25 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 26 | <div id="titlearea"> |
| 27 | <table cellspacing="0" cellpadding="0"> |
| 28 | <tbody> |
| 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> |
| 33 | </div> |
| 34 | </td> |
| 35 | </tr> |
| 36 | </tbody> |
| 37 | </table> |
| 38 | </div> |
| 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'); |
| 43 | </script> |
| 44 | <script type="text/javascript" src="menudata.js"></script> |
| 45 | <script type="text/javascript" src="menu.js"></script> |
| 46 | <script type="text/javascript"> |
| 47 | $(function() { |
| 48 | initMenu('',true,false,'search.php','Search'); |
| 49 | $(document).ready(function() { init_search(); }); |
| 50 | }); |
| 51 | </script> |
| 52 | <div id="main-nav"></div> |
| 53 | </div><!-- top --> |
| 54 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 55 | <div id="nav-tree"> |
| 56 | <div id="nav-tree-contents"> |
| 57 | <div id="nav-sync" class="sync"></div> |
| 58 | </div> |
| 59 | </div> |
| 60 | <div id="splitbar" style="-moz-user-select:none;" |
| 61 | class="ui-resizable-handle"> |
| 62 | </div> |
| 63 | </div> |
| 64 | <script type="text/javascript"> |
| 65 | $(document).ready(function(){initNavTree('_fused_batch_norm_8cpp.html','');}); |
| 66 | </script> |
| 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)"> |
| 73 | </div> |
| 74 | |
| 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"> |
| 79 | </iframe> |
| 80 | </div> |
| 81 | |
| 82 | <div class="header"> |
| 83 | <div class="summary"> |
| 84 | <a href="#func-members">Functions</a> </div> |
| 85 | <div class="headertitle"> |
| 86 | <div class="title">FusedBatchNorm.cpp File Reference</div> </div> |
| 87 | </div><!--header--> |
| 88 | <div class="contents"> |
| 89 | <div class="textblock"><code>#include <boost/test/unit_test.hpp></code><br /> |
| 90 | <code>#include "<a class="el" href="_i_tf_parser_8hpp_source.html">armnnTfParser/ITfParser.hpp</a>"</code><br /> |
| 91 | <code>#include "<a class="el" href="_parser_prototxt_fixture_8hpp_source.html">ParserPrototxtFixture.hpp</a>"</code><br /> |
| 92 | <code>#include <array></code><br /> |
| 93 | </div> |
| 94 | <p><a href="_fused_batch_norm_8cpp_source.html">Go to the source code of this file.</a></p> |
| 95 | <table class="memberdecls"> |
| 96 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> |
| 97 | Functions</h2></td></tr> |
| 98 | <tr class="memitem:a07857ac861c659a0c7aaa9981931e586"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_fused_batch_norm_8cpp.html#a07857ac861c659a0c7aaa9981931e586">BOOST_FIXTURE_TEST_CASE</a> (ParseFusedBatchNormNhwc, FusedBatchNormNhwcFixture)</td></tr> |
| 99 | <tr class="separator:a07857ac861c659a0c7aaa9981931e586"><td class="memSeparator" colspan="2"> </td></tr> |
| 100 | <tr class="memitem:af3b5908b00b8c8908f92511679c56d0a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_fused_batch_norm_8cpp.html#af3b5908b00b8c8908f92511679c56d0a">BOOST_FIXTURE_TEST_CASE</a> (ParseFusedBatchNormNchw, FusedBatchNormNchwFixture)</td></tr> |
| 101 | <tr class="separator:af3b5908b00b8c8908f92511679c56d0a"><td class="memSeparator" colspan="2"> </td></tr> |
| 102 | </table> |
| 103 | <h2 class="groupheader">Function Documentation</h2> |
| 104 | <a id="a07857ac861c659a0c7aaa9981931e586"></a> |
| 105 | <h2 class="memtitle"><span class="permalink"><a href="#a07857ac861c659a0c7aaa9981931e586">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[1/2]</span></h2> |
| 106 | |
| 107 | <div class="memitem"> |
| 108 | <div class="memproto"> |
| 109 | <table class="memname"> |
| 110 | <tr> |
| 111 | <td class="memname">BOOST_FIXTURE_TEST_CASE </td> |
| 112 | <td>(</td> |
| 113 | <td class="paramtype">ParseFusedBatchNormNhwc </td> |
| 114 | <td class="paramname">, </td> |
| 115 | </tr> |
| 116 | <tr> |
| 117 | <td class="paramkey"></td> |
| 118 | <td></td> |
| 119 | <td class="paramtype">FusedBatchNormNhwcFixture </td> |
| 120 | <td class="paramname"> </td> |
| 121 | </tr> |
| 122 | <tr> |
| 123 | <td></td> |
| 124 | <td>)</td> |
| 125 | <td></td><td></td> |
| 126 | </tr> |
| 127 | </table> |
| 128 | </div><div class="memdoc"> |
| 129 | |
| 130 | <p class="definition">Definition at line <a class="el" href="_fused_batch_norm_8cpp_source.html#l00192">192</a> of file <a class="el" href="_fused_batch_norm_8cpp_source.html">FusedBatchNorm.cpp</a>.</p> |
| 131 | <div class="fragment"><div class="line"><a name="l00193"></a><span class="lineno"> 193</span> {</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  RunTest<4>({ 1, 2, 3, 4, 5, 6, 7, 8, 9 }, <span class="comment">// Input data.</span></div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  { -2.8277204f, -2.12079024f, -1.4138602f,</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  -0.7069301f, 0.0f, 0.7069301f,</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  1.4138602f, 2.12079024f, 2.8277204f }); <span class="comment">// Expected output data.</span></div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span> }</div></div><!-- fragment --> |
| 132 | </div> |
| 133 | </div> |
| 134 | <a id="af3b5908b00b8c8908f92511679c56d0a"></a> |
| 135 | <h2 class="memtitle"><span class="permalink"><a href="#af3b5908b00b8c8908f92511679c56d0a">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[2/2]</span></h2> |
| 136 | |
| 137 | <div class="memitem"> |
| 138 | <div class="memproto"> |
| 139 | <table class="memname"> |
| 140 | <tr> |
| 141 | <td class="memname">BOOST_FIXTURE_TEST_CASE </td> |
| 142 | <td>(</td> |
| 143 | <td class="paramtype">ParseFusedBatchNormNchw </td> |
| 144 | <td class="paramname">, </td> |
| 145 | </tr> |
| 146 | <tr> |
| 147 | <td class="paramkey"></td> |
| 148 | <td></td> |
| 149 | <td class="paramtype">FusedBatchNormNchwFixture </td> |
| 150 | <td class="paramname"> </td> |
| 151 | </tr> |
| 152 | <tr> |
| 153 | <td></td> |
| 154 | <td>)</td> |
| 155 | <td></td><td></td> |
| 156 | </tr> |
| 157 | </table> |
| 158 | </div><div class="memdoc"> |
| 159 | |
| 160 | <p class="definition">Definition at line <a class="el" href="_fused_batch_norm_8cpp_source.html#l00204">204</a> of file <a class="el" href="_fused_batch_norm_8cpp_source.html">FusedBatchNorm.cpp</a>.</p> |
| 161 | |
| 162 | <p class="reference">References <a class="el" href="_profiler_tests_8cpp.html#af7f71af5c6c124222dd1c42c5df892f4">BOOST_AUTO_TEST_SUITE_END()</a>.</p> |
| 163 | <div class="fragment"><div class="line"><a name="l00205"></a><span class="lineno"> 205</span> {</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  RunTest<4>({ 1, 2, 3, 4, 5, 6, 7, 8, 9 }, <span class="comment">// Input data.</span></div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  { -2.8277204f, -2.12079024f, -1.4138602f,</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  -0.7069301f, 0.0f, 0.7069301f,</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  1.4138602f, 2.12079024f, 2.8277204f }); <span class="comment">// Expected output data.</span></div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span> }</div></div><!-- fragment --> |
| 164 | </div> |
| 165 | </div> |
| 166 | </div><!-- contents --> |
| 167 | </div><!-- doc-content --> |
| 168 | <!-- start footer part --> |
| 169 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 170 | <ul> |
| 171 | <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_50aba35e23cba3c8856f8642cc06d5dc.html">armnnTfParser</a></li><li class="navelem"><a class="el" href="dir_4ccaefd65a1feacebd3c00536508ef51.html">test</a></li><li class="navelem"><a class="el" href="_fused_batch_norm_8cpp.html">FusedBatchNorm.cpp</a></li> |
| 172 | <li class="footer">Generated on Fri Mar 13 2020 16:06:59 for ArmNN by |
| 173 | <a href="http://www.doxygen.org/index.html"> |
| 174 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 175 | </ul> |
| 176 | </div> |
| 177 | </body> |
| 178 | </html> |