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/DepthwiseConvolution2d.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('armnn_tf_parser_2test_2_depthwise_convolution2_d_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">DepthwiseConvolution2d.cpp File Reference</div> </div> |
| 87 | </div><!--header--> |
| 88 | <div class="contents"> |
| 89 | <div class="textblock"><code>#include "<a class="el" href="_parser_prototxt_fixture_8hpp_source.html">ParserPrototxtFixture.hpp</a>"</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="_permute_8hpp_source.html">armnnUtils/Permute.hpp</a>></code><br /> |
| 92 | <code>#include <boost/test/unit_test.hpp></code><br /> |
| 93 | <code>#include <string></code><br /> |
| 94 | <code>#include <iostream></code><br /> |
| 95 | </div> |
| 96 | <p><a href="armnn_tf_parser_2test_2_depthwise_convolution2_d_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:ad891fea20479b63dd4b418b318db976e"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="armnn_tf_parser_2test_2_depthwise_convolution2_d_8cpp.html#ad891fea20479b63dd4b418b318db976e">BOOST_FIXTURE_TEST_CASE</a> (ParseDepthwiseConv2DNhwcSame, DepthwiseConvolution2dNhwcSameFixture)</td></tr> |
| 101 | <tr class="separator:ad891fea20479b63dd4b418b318db976e"><td class="memSeparator" colspan="2"> </td></tr> |
| 102 | <tr class="memitem:ab7a42a07000510d26f005596af8f8e66"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="armnn_tf_parser_2test_2_depthwise_convolution2_d_8cpp.html#ab7a42a07000510d26f005596af8f8e66">BOOST_FIXTURE_TEST_CASE</a> (ParseDepthwiseConv2DNchwSame, DepthwiseConvolution2dNchwSameFixture)</td></tr> |
| 103 | <tr class="separator:ab7a42a07000510d26f005596af8f8e66"><td class="memSeparator" colspan="2"> </td></tr> |
| 104 | <tr class="memitem:a83e06f4d34b6f95f0bf77b9ea4e6d532"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="armnn_tf_parser_2test_2_depthwise_convolution2_d_8cpp.html#a83e06f4d34b6f95f0bf77b9ea4e6d532">BOOST_FIXTURE_TEST_CASE</a> (ParseDepthwiseConv2DNhwcValid, DepthwiseConvolution2dNhwcValidFixture)</td></tr> |
| 105 | <tr class="separator:a83e06f4d34b6f95f0bf77b9ea4e6d532"><td class="memSeparator" colspan="2"> </td></tr> |
| 106 | <tr class="memitem:af56ce7fe2ec9831aee7a16e261461eab"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="armnn_tf_parser_2test_2_depthwise_convolution2_d_8cpp.html#af56ce7fe2ec9831aee7a16e261461eab">BOOST_FIXTURE_TEST_CASE</a> (ParseDepthwiseConv2DNchwValid, DepthwiseConvolution2dNchwValidFixture)</td></tr> |
| 107 | <tr class="separator:af56ce7fe2ec9831aee7a16e261461eab"><td class="memSeparator" colspan="2"> </td></tr> |
| 108 | </table> |
| 109 | <h2 class="groupheader">Function Documentation</h2> |
| 110 | <a id="ad891fea20479b63dd4b418b318db976e"></a> |
| 111 | <h2 class="memtitle"><span class="permalink"><a href="#ad891fea20479b63dd4b418b318db976e">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[1/4]</span></h2> |
| 112 | |
| 113 | <div class="memitem"> |
| 114 | <div class="memproto"> |
| 115 | <table class="memname"> |
| 116 | <tr> |
| 117 | <td class="memname">BOOST_FIXTURE_TEST_CASE </td> |
| 118 | <td>(</td> |
| 119 | <td class="paramtype">ParseDepthwiseConv2DNhwcSame </td> |
| 120 | <td class="paramname">, </td> |
| 121 | </tr> |
| 122 | <tr> |
| 123 | <td class="paramkey"></td> |
| 124 | <td></td> |
| 125 | <td class="paramtype">DepthwiseConvolution2dNhwcSameFixture </td> |
| 126 | <td class="paramname"> </td> |
| 127 | </tr> |
| 128 | <tr> |
| 129 | <td></td> |
| 130 | <td>)</td> |
| 131 | <td></td><td></td> |
| 132 | </tr> |
| 133 | </table> |
| 134 | </div><div class="memdoc"> |
| 135 | |
| 136 | <p class="definition">Definition at line <a class="el" href="armnn_tf_parser_2test_2_depthwise_convolution2_d_8cpp_source.html#l00146">146</a> of file <a class="el" href="armnn_tf_parser_2test_2_depthwise_convolution2_d_8cpp_source.html">DepthwiseConvolution2d.cpp</a>.</p> |
| 137 | <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<4>({ 1, 2, 3, 4, 5, 6, 7, 8, 9 },</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  { 2.5f, 5.f, 2.5f, 3.5f, 7.f, 3.5f, 4.5f, 9.f, 4.5f,</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  6.f, 12.f, 6.f, 7.5f, 15.f, 7.5f, 9.f, 18.f, 9.f,</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  5.5f, 11.f, 5.5f, 6.5f, 13.f, 6.5f, 7.5f, 15.f, 7.5f });</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span> }</div></div><!-- fragment --> |
| 138 | </div> |
| 139 | </div> |
| 140 | <a id="ab7a42a07000510d26f005596af8f8e66"></a> |
| 141 | <h2 class="memtitle"><span class="permalink"><a href="#ab7a42a07000510d26f005596af8f8e66">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[2/4]</span></h2> |
| 142 | |
| 143 | <div class="memitem"> |
| 144 | <div class="memproto"> |
| 145 | <table class="memname"> |
| 146 | <tr> |
| 147 | <td class="memname">BOOST_FIXTURE_TEST_CASE </td> |
| 148 | <td>(</td> |
| 149 | <td class="paramtype">ParseDepthwiseConv2DNchwSame </td> |
| 150 | <td class="paramname">, </td> |
| 151 | </tr> |
| 152 | <tr> |
| 153 | <td class="paramkey"></td> |
| 154 | <td></td> |
| 155 | <td class="paramtype">DepthwiseConvolution2dNchwSameFixture </td> |
| 156 | <td class="paramname"> </td> |
| 157 | </tr> |
| 158 | <tr> |
| 159 | <td></td> |
| 160 | <td>)</td> |
| 161 | <td></td><td></td> |
| 162 | </tr> |
| 163 | </table> |
| 164 | </div><div class="memdoc"> |
| 165 | |
| 166 | <p class="definition">Definition at line <a class="el" href="armnn_tf_parser_2test_2_depthwise_convolution2_d_8cpp_source.html#l00159">159</a> of file <a class="el" href="armnn_tf_parser_2test_2_depthwise_convolution2_d_8cpp_source.html">DepthwiseConvolution2d.cpp</a>.</p> |
| 167 | <div class="fragment"><div class="line"><a name="l00160"></a><span class="lineno"> 160</span> {</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  RunTest<4>({ 1, 4, 7, 2, 5, 8, 3, 6, 9 },</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  { 2.5f, 6.f, 5.5f, 5.f, 12.f, 11.f, 2.5f, 6.f, 5.5f,</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  3.5f, 7.5f, 6.5f, 7.f, 15.f, 13.f, 3.5f, 7.5f, 6.5f,</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  4.5f, 9.f, 7.5f, 9.f, 18.f, 15.f, 4.5f, 9.f, 7.5f });</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span> }</div></div><!-- fragment --> |
| 168 | </div> |
| 169 | </div> |
| 170 | <a id="a83e06f4d34b6f95f0bf77b9ea4e6d532"></a> |
| 171 | <h2 class="memtitle"><span class="permalink"><a href="#a83e06f4d34b6f95f0bf77b9ea4e6d532">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[3/4]</span></h2> |
| 172 | |
| 173 | <div class="memitem"> |
| 174 | <div class="memproto"> |
| 175 | <table class="memname"> |
| 176 | <tr> |
| 177 | <td class="memname">BOOST_FIXTURE_TEST_CASE </td> |
| 178 | <td>(</td> |
| 179 | <td class="paramtype">ParseDepthwiseConv2DNhwcValid </td> |
| 180 | <td class="paramname">, </td> |
| 181 | </tr> |
| 182 | <tr> |
| 183 | <td class="paramkey"></td> |
| 184 | <td></td> |
| 185 | <td class="paramtype">DepthwiseConvolution2dNhwcValidFixture </td> |
| 186 | <td class="paramname"> </td> |
| 187 | </tr> |
| 188 | <tr> |
| 189 | <td></td> |
| 190 | <td>)</td> |
| 191 | <td></td><td></td> |
| 192 | </tr> |
| 193 | </table> |
| 194 | </div><div class="memdoc"> |
| 195 | |
| 196 | <p class="definition">Definition at line <a class="el" href="armnn_tf_parser_2test_2_depthwise_convolution2_d_8cpp_source.html#l00172">172</a> of file <a class="el" href="armnn_tf_parser_2test_2_depthwise_convolution2_d_8cpp_source.html">DepthwiseConvolution2d.cpp</a>.</p> |
| 197 | <div class="fragment"><div class="line"><a name="l00173"></a><span class="lineno"> 173</span> {</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  RunTest<4>({ 1, 2, 3, 4, 5, 6, 7, 8, 9 }, <span class="comment">// input data</span></div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  { 6.f, 12.f, 6.f, 7.5f, 15.f, 7.5f, 9.f, 18.f, 9.f }); <span class="comment">// output expected data</span></div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span> }</div></div><!-- fragment --> |
| 198 | </div> |
| 199 | </div> |
| 200 | <a id="af56ce7fe2ec9831aee7a16e261461eab"></a> |
| 201 | <h2 class="memtitle"><span class="permalink"><a href="#af56ce7fe2ec9831aee7a16e261461eab">◆ </a></span>BOOST_FIXTURE_TEST_CASE() <span class="overload">[4/4]</span></h2> |
| 202 | |
| 203 | <div class="memitem"> |
| 204 | <div class="memproto"> |
| 205 | <table class="memname"> |
| 206 | <tr> |
| 207 | <td class="memname">BOOST_FIXTURE_TEST_CASE </td> |
| 208 | <td>(</td> |
| 209 | <td class="paramtype">ParseDepthwiseConv2DNchwValid </td> |
| 210 | <td class="paramname">, </td> |
| 211 | </tr> |
| 212 | <tr> |
| 213 | <td class="paramkey"></td> |
| 214 | <td></td> |
| 215 | <td class="paramtype">DepthwiseConvolution2dNchwValidFixture </td> |
| 216 | <td class="paramname"> </td> |
| 217 | </tr> |
| 218 | <tr> |
| 219 | <td></td> |
| 220 | <td>)</td> |
| 221 | <td></td><td></td> |
| 222 | </tr> |
| 223 | </table> |
| 224 | </div><div class="memdoc"> |
| 225 | |
| 226 | <p class="definition">Definition at line <a class="el" href="armnn_tf_parser_2test_2_depthwise_convolution2_d_8cpp_source.html#l00183">183</a> of file <a class="el" href="armnn_tf_parser_2test_2_depthwise_convolution2_d_8cpp_source.html">DepthwiseConvolution2d.cpp</a>.</p> |
| 227 | |
| 228 | <p class="reference">References <a class="el" href="_profiler_tests_8cpp.html#af7f71af5c6c124222dd1c42c5df892f4">BOOST_AUTO_TEST_SUITE_END()</a>.</p> |
| 229 | <div class="fragment"><div class="line"><a name="l00184"></a><span class="lineno"> 184</span> {</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  RunTest<4>({ 1, 4, 7, 2, 5, 8, 3, 6, 9 },</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  { 6.f, 12.f, 6.f, 7.5f, 15.f, 7.5f, 9.f, 18.f, 9.f });</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span> }</div></div><!-- fragment --> |
| 230 | </div> |
| 231 | </div> |
| 232 | </div><!-- contents --> |
| 233 | </div><!-- doc-content --> |
| 234 | <!-- start footer part --> |
| 235 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 236 | <ul> |
| 237 | <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="armnn_tf_parser_2test_2_depthwise_convolution2_d_8cpp.html">DepthwiseConvolution2d.cpp</a></li> |
| 238 | <li class="footer">Generated on Fri Mar 13 2020 16:06:59 for ArmNN by |
| 239 | <a href="http://www.doxygen.org/index.html"> |
| 240 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 241 | </ul> |
| 242 | </div> |
| 243 | </body> |
| 244 | </html> |