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/backends/backendsCommon/test/layerTests/InstanceNormalizationTestImpl.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('_instance_normalization_test_impl_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">InstanceNormalizationTestImpl.cpp File Reference</div> </div> |
| 87 | </div><!--header--> |
| 88 | <div class="contents"> |
| 89 | <div class="textblock"><code>#include "<a class="el" href="_instance_normalization_test_impl_8hpp_source.html">InstanceNormalizationTestImpl.hpp</a>"</code><br /> |
| 90 | <code>#include <<a class="el" href="_quantize_helper_8hpp_source.html">QuantizeHelper.hpp</a>></code><br /> |
| 91 | <code>#include <<a class="el" href="_resolve_type_8hpp_source.html">ResolveType.hpp</a>></code><br /> |
| 92 | <code>#include <<a class="el" href="_cpu_tensor_handle_8hpp_source.html">backendsCommon/CpuTensorHandle.hpp</a>></code><br /> |
| 93 | <code>#include <<a class="el" href="include_2armnn_2backends_2_i_backend_internal_8hpp_source.html">armnn/backends/IBackendInternal.hpp</a>></code><br /> |
| 94 | <code>#include <<a class="el" href="_workload_factory_8hpp_source.html">backendsCommon/WorkloadFactory.hpp</a>></code><br /> |
| 95 | <code>#include <<a class="el" href="_data_layout_utils_8hpp_source.html">backendsCommon/test/DataLayoutUtils.hpp</a>></code><br /> |
| 96 | <code>#include <<a class="el" href="_tensor_copy_utils_8hpp_source.html">backendsCommon/test/TensorCopyUtils.hpp</a>></code><br /> |
| 97 | <code>#include <<a class="el" href="_workload_test_utils_8hpp_source.html">backendsCommon/test/WorkloadTestUtils.hpp</a>></code><br /> |
| 98 | <code>#include <<a class="el" href="_tensor_helpers_8hpp_source.html">test/TensorHelpers.hpp</a>></code><br /> |
| 99 | </div> |
| 100 | <p><a href="_instance_normalization_test_impl_8cpp_source.html">Go to the source code of this file.</a></p> |
| 101 | <table class="memberdecls"> |
| 102 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> |
| 103 | Functions</h2></td></tr> |
| 104 | <tr class="memitem:af6fbb2d172f7285f17c54b60a61d198b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< float, 4 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_instance_normalization_test_impl_8cpp.html#af6fbb2d172f7285f17c54b60a61d198b">InstanceNormFloat32Test</a> (<a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager, <a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> dataLayout)</td></tr> |
| 105 | <tr class="separator:af6fbb2d172f7285f17c54b60a61d198b"><td class="memSeparator" colspan="2"> </td></tr> |
| 106 | <tr class="memitem:a083992b1851c7681a4b9bd06ba2f5aa6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< <a class="el" href="namespacearmnn.html#a0f38fa92b2468d5378258a2b074c1a31">armnn::Half</a>, 4 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_instance_normalization_test_impl_8cpp.html#a083992b1851c7681a4b9bd06ba2f5aa6">InstanceNormFloat16Test</a> (<a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager, <a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> dataLayout)</td></tr> |
| 107 | <tr class="separator:a083992b1851c7681a4b9bd06ba2f5aa6"><td class="memSeparator" colspan="2"> </td></tr> |
| 108 | <tr class="memitem:a12dcbf5945d7d734b143172ff3129390"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< float, 4 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_instance_normalization_test_impl_8cpp.html#a12dcbf5945d7d734b143172ff3129390">InstanceNormFloat32Test2</a> (<a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager, <a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> dataLayout)</td></tr> |
| 109 | <tr class="separator:a12dcbf5945d7d734b143172ff3129390"><td class="memSeparator" colspan="2"> </td></tr> |
| 110 | <tr class="memitem:aa199df9ca7c476e9bf613a3c3f8c7b56"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< <a class="el" href="namespacearmnn.html#a0f38fa92b2468d5378258a2b074c1a31">armnn::Half</a>, 4 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_instance_normalization_test_impl_8cpp.html#aa199df9ca7c476e9bf613a3c3f8c7b56">InstanceNormFloat16Test2</a> (<a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager, <a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> dataLayout)</td></tr> |
| 111 | <tr class="separator:aa199df9ca7c476e9bf613a3c3f8c7b56"><td class="memSeparator" colspan="2"> </td></tr> |
| 112 | </table> |
| 113 | <h2 class="groupheader">Function Documentation</h2> |
| 114 | <a id="a083992b1851c7681a4b9bd06ba2f5aa6"></a> |
| 115 | <h2 class="memtitle"><span class="permalink"><a href="#a083992b1851c7681a4b9bd06ba2f5aa6">◆ </a></span>InstanceNormFloat16Test()</h2> |
| 116 | |
| 117 | <div class="memitem"> |
| 118 | <div class="memproto"> |
| 119 | <table class="memname"> |
| 120 | <tr> |
| 121 | <td class="memname"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a><<a class="el" href="namespacearmnn.html#a0f38fa92b2468d5378258a2b074c1a31">armnn::Half</a>, 4> InstanceNormFloat16Test </td> |
| 122 | <td>(</td> |
| 123 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> |
| 124 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 125 | </tr> |
| 126 | <tr> |
| 127 | <td class="paramkey"></td> |
| 128 | <td></td> |
| 129 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 130 | <td class="paramname"><em>memoryManager</em>, </td> |
| 131 | </tr> |
| 132 | <tr> |
| 133 | <td class="paramkey"></td> |
| 134 | <td></td> |
| 135 | <td class="paramtype"><a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> </td> |
| 136 | <td class="paramname"><em>dataLayout</em> </td> |
| 137 | </tr> |
| 138 | <tr> |
| 139 | <td></td> |
| 140 | <td>)</td> |
| 141 | <td></td><td></td> |
| 142 | </tr> |
| 143 | </table> |
| 144 | </div><div class="memdoc"> |
| 145 | |
| 146 | <p class="definition">Definition at line <a class="el" href="_instance_normalization_test_impl_8cpp_source.html#l00245">245</a> of file <a class="el" href="_instance_normalization_test_impl_8cpp_source.html">InstanceNormalizationTestImpl.cpp</a>.</p> |
| 147 | <div class="fragment"><div class="line"><a name="l00249"></a><span class="lineno"> 249</span> {</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  <span class="keywordflow">return</span> InstanceNormTest<armnn::DataType::Float16>(workloadFactory, memoryManager, dataLayout);</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span> }</div></div><!-- fragment --> |
| 148 | </div> |
| 149 | </div> |
| 150 | <a id="aa199df9ca7c476e9bf613a3c3f8c7b56"></a> |
| 151 | <h2 class="memtitle"><span class="permalink"><a href="#aa199df9ca7c476e9bf613a3c3f8c7b56">◆ </a></span>InstanceNormFloat16Test2()</h2> |
| 152 | |
| 153 | <div class="memitem"> |
| 154 | <div class="memproto"> |
| 155 | <table class="memname"> |
| 156 | <tr> |
| 157 | <td class="memname"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a><<a class="el" href="namespacearmnn.html#a0f38fa92b2468d5378258a2b074c1a31">armnn::Half</a>, 4> InstanceNormFloat16Test2 </td> |
| 158 | <td>(</td> |
| 159 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> |
| 160 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 161 | </tr> |
| 162 | <tr> |
| 163 | <td class="paramkey"></td> |
| 164 | <td></td> |
| 165 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 166 | <td class="paramname"><em>memoryManager</em>, </td> |
| 167 | </tr> |
| 168 | <tr> |
| 169 | <td class="paramkey"></td> |
| 170 | <td></td> |
| 171 | <td class="paramtype"><a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> </td> |
| 172 | <td class="paramname"><em>dataLayout</em> </td> |
| 173 | </tr> |
| 174 | <tr> |
| 175 | <td></td> |
| 176 | <td>)</td> |
| 177 | <td></td><td></td> |
| 178 | </tr> |
| 179 | </table> |
| 180 | </div><div class="memdoc"> |
| 181 | |
| 182 | <p class="definition">Definition at line <a class="el" href="_instance_normalization_test_impl_8cpp_source.html#l00261">261</a> of file <a class="el" href="_instance_normalization_test_impl_8cpp_source.html">InstanceNormalizationTestImpl.cpp</a>.</p> |
| 183 | <div class="fragment"><div class="line"><a name="l00265"></a><span class="lineno"> 265</span> {</div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  <span class="keywordflow">return</span> InstanceNormTest2<armnn::DataType::Float16>(workloadFactory, memoryManager, dataLayout);</div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span> }</div></div><!-- fragment --> |
| 184 | </div> |
| 185 | </div> |
| 186 | <a id="af6fbb2d172f7285f17c54b60a61d198b"></a> |
| 187 | <h2 class="memtitle"><span class="permalink"><a href="#af6fbb2d172f7285f17c54b60a61d198b">◆ </a></span>InstanceNormFloat32Test()</h2> |
| 188 | |
| 189 | <div class="memitem"> |
| 190 | <div class="memproto"> |
| 191 | <table class="memname"> |
| 192 | <tr> |
| 193 | <td class="memname"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a><float, 4> InstanceNormFloat32Test </td> |
| 194 | <td>(</td> |
| 195 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> |
| 196 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 197 | </tr> |
| 198 | <tr> |
| 199 | <td class="paramkey"></td> |
| 200 | <td></td> |
| 201 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 202 | <td class="paramname"><em>memoryManager</em>, </td> |
| 203 | </tr> |
| 204 | <tr> |
| 205 | <td class="paramkey"></td> |
| 206 | <td></td> |
| 207 | <td class="paramtype"><a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> </td> |
| 208 | <td class="paramname"><em>dataLayout</em> </td> |
| 209 | </tr> |
| 210 | <tr> |
| 211 | <td></td> |
| 212 | <td>)</td> |
| 213 | <td></td><td></td> |
| 214 | </tr> |
| 215 | </table> |
| 216 | </div><div class="memdoc"> |
| 217 | |
| 218 | <p class="definition">Definition at line <a class="el" href="_instance_normalization_test_impl_8cpp_source.html#l00237">237</a> of file <a class="el" href="_instance_normalization_test_impl_8cpp_source.html">InstanceNormalizationTestImpl.cpp</a>.</p> |
| 219 | <div class="fragment"><div class="line"><a name="l00241"></a><span class="lineno"> 241</span> {</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  <span class="keywordflow">return</span> InstanceNormTest<armnn::DataType::Float32>(workloadFactory, memoryManager, dataLayout);</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span> }</div></div><!-- fragment --> |
| 220 | </div> |
| 221 | </div> |
| 222 | <a id="a12dcbf5945d7d734b143172ff3129390"></a> |
| 223 | <h2 class="memtitle"><span class="permalink"><a href="#a12dcbf5945d7d734b143172ff3129390">◆ </a></span>InstanceNormFloat32Test2()</h2> |
| 224 | |
| 225 | <div class="memitem"> |
| 226 | <div class="memproto"> |
| 227 | <table class="memname"> |
| 228 | <tr> |
| 229 | <td class="memname"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a><float, 4> InstanceNormFloat32Test2 </td> |
| 230 | <td>(</td> |
| 231 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> |
| 232 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 233 | </tr> |
| 234 | <tr> |
| 235 | <td class="paramkey"></td> |
| 236 | <td></td> |
| 237 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 238 | <td class="paramname"><em>memoryManager</em>, </td> |
| 239 | </tr> |
| 240 | <tr> |
| 241 | <td class="paramkey"></td> |
| 242 | <td></td> |
| 243 | <td class="paramtype"><a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> </td> |
| 244 | <td class="paramname"><em>dataLayout</em> </td> |
| 245 | </tr> |
| 246 | <tr> |
| 247 | <td></td> |
| 248 | <td>)</td> |
| 249 | <td></td><td></td> |
| 250 | </tr> |
| 251 | </table> |
| 252 | </div><div class="memdoc"> |
| 253 | |
| 254 | <p class="definition">Definition at line <a class="el" href="_instance_normalization_test_impl_8cpp_source.html#l00253">253</a> of file <a class="el" href="_instance_normalization_test_impl_8cpp_source.html">InstanceNormalizationTestImpl.cpp</a>.</p> |
| 255 | <div class="fragment"><div class="line"><a name="l00257"></a><span class="lineno"> 257</span> {</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  <span class="keywordflow">return</span> InstanceNormTest2<armnn::DataType::Float32>(workloadFactory, memoryManager, dataLayout);</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span> }</div></div><!-- fragment --> |
| 256 | </div> |
| 257 | </div> |
| 258 | </div><!-- contents --> |
| 259 | </div><!-- doc-content --> |
| 260 | <!-- start footer part --> |
| 261 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 262 | <ul> |
| 263 | <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_0f3cdec46afbc61a1ded8e1687c9c9a0.html">backends</a></li><li class="navelem"><a class="el" href="dir_797a213d7d01b98ef12d53b0820ea64e.html">backendsCommon</a></li><li class="navelem"><a class="el" href="dir_28bfe507f7e135bdae07c2a6b7f66696.html">test</a></li><li class="navelem"><a class="el" href="dir_99a30439342d160875b21dac3498ad7f.html">layerTests</a></li><li class="navelem"><a class="el" href="_instance_normalization_test_impl_8cpp.html">InstanceNormalizationTestImpl.cpp</a></li> |
| 264 | <li class="footer">Generated on Fri Mar 13 2020 16:07:00 for ArmNN by |
| 265 | <a href="http://www.doxygen.org/index.html"> |
| 266 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 267 | </ul> |
| 268 | </div> |
| 269 | </body> |
| 270 | </html> |