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/DepthToSpaceTestImpl.hpp 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('_depth_to_space_test_impl_8hpp.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">DepthToSpaceTestImpl.hpp File Reference</div> </div> |
| 87 | </div><!--header--> |
| 88 | <div class="contents"> |
| 89 | <div class="textblock"><code>#include "<a class="el" href="_layer_test_result_8hpp_source.html">LayerTestResult.hpp</a>"</code><br /> |
| 90 | <code>#include <<a class="el" href="_resolve_type_8hpp_source.html">ResolveType.hpp</a>></code><br /> |
| 91 | <code>#include <<a class="el" href="include_2armnn_2backends_2_i_backend_internal_8hpp_source.html">armnn/backends/IBackendInternal.hpp</a>></code><br /> |
| 92 | <code>#include <<a class="el" href="_workload_factory_8hpp_source.html">backendsCommon/WorkloadFactory.hpp</a>></code><br /> |
| 93 | </div> |
| 94 | <p><a href="_depth_to_space_test_impl_8hpp_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:ab24c4e3bbd4afb21d1e25f32a773284c"><td class="memTemplParams" colspan="2">template<armnn::DataType ArmnnType, typename T = armnn::ResolveType<ArmnnType>> </td></tr> |
| 99 | <tr class="memitem:ab24c4e3bbd4afb21d1e25f32a773284c"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< T, 4 > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="_depth_to_space_test_impl_8hpp.html#ab24c4e3bbd4afb21d1e25f32a773284c">DepthToSpaceTest1</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> |
| 100 | <tr class="separator:ab24c4e3bbd4afb21d1e25f32a773284c"><td class="memSeparator" colspan="2"> </td></tr> |
| 101 | <tr class="memitem:a06c0011e886eec8e9b99ddd399e86d2b"><td class="memTemplParams" colspan="2">template<armnn::DataType ArmnnType, typename T = armnn::ResolveType<ArmnnType>> </td></tr> |
| 102 | <tr class="memitem:a06c0011e886eec8e9b99ddd399e86d2b"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< T, 4 > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="_depth_to_space_test_impl_8hpp.html#a06c0011e886eec8e9b99ddd399e86d2b">DepthToSpaceTest2</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> |
| 103 | <tr class="separator:a06c0011e886eec8e9b99ddd399e86d2b"><td class="memSeparator" colspan="2"> </td></tr> |
| 104 | <tr class="memitem:a8eb3eae48bedad36e4cf57184d7eb3e1"><td class="memTemplParams" colspan="2">template<armnn::DataType ArmnnType, typename T = armnn::ResolveType<ArmnnType>> </td></tr> |
| 105 | <tr class="memitem:a8eb3eae48bedad36e4cf57184d7eb3e1"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< T, 4 > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="_depth_to_space_test_impl_8hpp.html#a8eb3eae48bedad36e4cf57184d7eb3e1">DepthToSpaceTest3</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> |
| 106 | <tr class="separator:a8eb3eae48bedad36e4cf57184d7eb3e1"><td class="memSeparator" colspan="2"> </td></tr> |
| 107 | <tr class="memitem:a594e4320ad4571c07b95622d7846e4a5"><td class="memTemplParams" colspan="2">template<armnn::DataType ArmnnType, typename T = armnn::ResolveType<ArmnnType>> </td></tr> |
| 108 | <tr class="memitem:a594e4320ad4571c07b95622d7846e4a5"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< T, 4 > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="_depth_to_space_test_impl_8hpp.html#a594e4320ad4571c07b95622d7846e4a5">DepthToSpaceTest4</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:a594e4320ad4571c07b95622d7846e4a5"><td class="memSeparator" colspan="2"> </td></tr> |
| 110 | </table> |
| 111 | <h2 class="groupheader">Function Documentation</h2> |
| 112 | <a id="ab24c4e3bbd4afb21d1e25f32a773284c"></a> |
| 113 | <h2 class="memtitle"><span class="permalink"><a href="#ab24c4e3bbd4afb21d1e25f32a773284c">◆ </a></span>DepthToSpaceTest1()</h2> |
| 114 | |
| 115 | <div class="memitem"> |
| 116 | <div class="memproto"> |
| 117 | <table class="memname"> |
| 118 | <tr> |
| 119 | <td class="memname"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a><T, 4> DepthToSpaceTest1 </td> |
| 120 | <td>(</td> |
| 121 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> |
| 122 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 123 | </tr> |
| 124 | <tr> |
| 125 | <td class="paramkey"></td> |
| 126 | <td></td> |
| 127 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 128 | <td class="paramname"><em>memoryManager</em>, </td> |
| 129 | </tr> |
| 130 | <tr> |
| 131 | <td class="paramkey"></td> |
| 132 | <td></td> |
| 133 | <td class="paramtype"><a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> </td> |
| 134 | <td class="paramname"><em>dataLayout</em> </td> |
| 135 | </tr> |
| 136 | <tr> |
| 137 | <td></td> |
| 138 | <td>)</td> |
| 139 | <td></td><td></td> |
| 140 | </tr> |
| 141 | </table> |
| 142 | </div><div class="memdoc"> |
| 143 | |
| 144 | <p class="definition">Definition at line <a class="el" href="_depth_to_space_test_impl_8cpp_source.html#l00077">77</a> of file <a class="el" href="_depth_to_space_test_impl_8cpp_source.html">DepthToSpaceTestImpl.cpp</a>.</p> |
| 145 | |
| 146 | <p class="reference">References <a class="el" href="_descriptors_8hpp_source.html#l00827">SpaceToDepthDescriptor::m_BlockSize</a>, <a class="el" href="_descriptors_8hpp_source.html#l00830">SpaceToDepthDescriptor::m_DataLayout</a>, and <a class="el" href="_workload_data_8hpp_source.html#l00049">QueueDescriptorWithParameters< LayerDescriptor >::m_Parameters</a>.</p> |
| 147 | <div class="fragment"><div class="line"><a name="l00081"></a><span class="lineno"> 81</span> {</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> inputShape[] = { 1, 1, 1, 8 };</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> outputShape[] = { 1, 2, 2, 2 };</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> </div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="comment">// in:</span></div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="comment">// [[[[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]]]]</span></div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="comment">//</span></div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="comment">// out:</span></div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="comment">// [[[[1, 2, 3], [4, 5, 6]],</span></div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="comment">// [[7, 8, 9], [10, 11, 12]]]]</span></div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> </div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  std::vector<float> input = { 1.f, 2.f, 3.f, 4.f, 5.f, 6.f, 7.f, 8.f };</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  std::vector<float> expectedOutput = input;</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> </div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <a class="code" href="structarmnn_1_1_depth_to_space_queue_descriptor.html">armnn::DepthToSpaceQueueDescriptor</a> desc;</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  desc.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>.<a class="code" href="structarmnn_1_1_space_to_depth_descriptor.html#a6089e1ca91914015777ea780a513131a">m_DataLayout</a> = dataLayout;</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  desc.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>.<a class="code" href="structarmnn_1_1_space_to_depth_descriptor.html#a6c6b8957f1e176867e5fb05b1a1a1486">m_BlockSize</a> = 2;</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span> </div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> inputInfo(4, inputShape, ArmnnType);</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> outputInfo(4, outputShape, ArmnnType);</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span> </div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keywordflow">return</span> DepthToSpaceTestImpl<T>(workloadFactory, memoryManager, inputInfo, outputInfo, input, expectedOutput, desc);</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span> }</div><div class="ttc" id="structarmnn_1_1_space_to_depth_descriptor_html_a6089e1ca91914015777ea780a513131a"><div class="ttname"><a href="structarmnn_1_1_space_to_depth_descriptor.html#a6089e1ca91914015777ea780a513131a">armnn::SpaceToDepthDescriptor::m_DataLayout</a></div><div class="ttdeci">DataLayout m_DataLayout</div><div class="ttdoc">The data layout to be used (NCHW, NHWC). </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00830">Descriptors.hpp:830</a></div></div> |
| 148 | <div class="ttc" id="structarmnn_1_1_queue_descriptor_with_parameters_html_aad91b9bbf7aa365d304febe79a3d1333"><div class="ttname"><a href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">armnn::QueueDescriptorWithParameters::m_Parameters</a></div><div class="ttdeci">LayerDescriptor m_Parameters</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00049">WorkloadData.hpp:49</a></div></div> |
| 149 | <div class="ttc" id="classarmnn_1_1_tensor_info_html"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00053">Tensor.hpp:53</a></div></div> |
| 150 | <div class="ttc" id="structarmnn_1_1_depth_to_space_queue_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_depth_to_space_queue_descriptor.html">armnn::DepthToSpaceQueueDescriptor</a></div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00554">WorkloadData.hpp:554</a></div></div> |
| 151 | <div class="ttc" id="structarmnn_1_1_space_to_depth_descriptor_html_a6c6b8957f1e176867e5fb05b1a1a1486"><div class="ttname"><a href="structarmnn_1_1_space_to_depth_descriptor.html#a6c6b8957f1e176867e5fb05b1a1a1486">armnn::SpaceToDepthDescriptor::m_BlockSize</a></div><div class="ttdeci">unsigned int m_BlockSize</div><div class="ttdoc">Scalar specifying the input block size. It must be >= 1. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00827">Descriptors.hpp:827</a></div></div> |
| 152 | </div><!-- fragment --> |
| 153 | </div> |
| 154 | </div> |
| 155 | <a id="a06c0011e886eec8e9b99ddd399e86d2b"></a> |
| 156 | <h2 class="memtitle"><span class="permalink"><a href="#a06c0011e886eec8e9b99ddd399e86d2b">◆ </a></span>DepthToSpaceTest2()</h2> |
| 157 | |
| 158 | <div class="memitem"> |
| 159 | <div class="memproto"> |
| 160 | <table class="memname"> |
| 161 | <tr> |
| 162 | <td class="memname"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a><T, 4> DepthToSpaceTest2 </td> |
| 163 | <td>(</td> |
| 164 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> |
| 165 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 166 | </tr> |
| 167 | <tr> |
| 168 | <td class="paramkey"></td> |
| 169 | <td></td> |
| 170 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 171 | <td class="paramname"><em>memoryManager</em>, </td> |
| 172 | </tr> |
| 173 | <tr> |
| 174 | <td class="paramkey"></td> |
| 175 | <td></td> |
| 176 | <td class="paramtype"><a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> </td> |
| 177 | <td class="paramname"><em>dataLayout</em> </td> |
| 178 | </tr> |
| 179 | <tr> |
| 180 | <td></td> |
| 181 | <td>)</td> |
| 182 | <td></td><td></td> |
| 183 | </tr> |
| 184 | </table> |
| 185 | </div><div class="memdoc"> |
| 186 | |
| 187 | <p class="definition">Definition at line <a class="el" href="_depth_to_space_test_impl_8cpp_source.html#l00106">106</a> of file <a class="el" href="_depth_to_space_test_impl_8cpp_source.html">DepthToSpaceTestImpl.cpp</a>.</p> |
| 188 | |
| 189 | <p class="reference">References <a class="el" href="_descriptors_8hpp_source.html#l00827">SpaceToDepthDescriptor::m_BlockSize</a>, <a class="el" href="_descriptors_8hpp_source.html#l00830">SpaceToDepthDescriptor::m_DataLayout</a>, and <a class="el" href="_workload_data_8hpp_source.html#l00049">QueueDescriptorWithParameters< LayerDescriptor >::m_Parameters</a>.</p> |
| 190 | <div class="fragment"><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> {</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> inputShape[] = { 1, 2, 2, 4 };</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> outputShape[] = { 1, 4, 4, 1 };</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span> </div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="comment">// in:</span></div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="comment">// [[[[1, 2, 3, 4],</span></div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="comment">// [5, 6, 7, 8]],</span></div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="comment">// [[9, 10, 11, 12],</span></div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="comment">// [13, 14, 15, 16]]]]</span></div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="comment">//</span></div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="comment">// out:</span></div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="comment">// [[[ [1], [2], [5], [6]],</span></div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="comment">// [ [3], [4], [7], [8]],</span></div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="comment">// [ [9], [10], [13], [14]],</span></div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="comment">// [ [11], [12], [15], [16]]]]</span></div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span> </div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  std::vector<float> input =</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  {</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  1.f, 2.f, 3.f, 4.f,</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span> </div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  5.f, 6.f, 7.f, 8.f,</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span> </div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  9.f, 10.f, 11.f, 12.f,</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span> </div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  13.f, 14.f, 15.f, 16.f</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  };</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span> </div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  std::vector<float> expectedOutput</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  {</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  1.f, 2.f, 5.f, 6.f,</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  3.f, 4.f, 7.f, 8.f,</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  9.f, 10.f, 13.f, 14.f,</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  11.f, 12.f, 15.f, 16.f</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  };</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span> </div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <a class="code" href="structarmnn_1_1_depth_to_space_queue_descriptor.html">armnn::DepthToSpaceQueueDescriptor</a> desc;</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  desc.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>.<a class="code" href="structarmnn_1_1_space_to_depth_descriptor.html#a6089e1ca91914015777ea780a513131a">m_DataLayout</a> = dataLayout;</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  desc.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>.<a class="code" href="structarmnn_1_1_space_to_depth_descriptor.html#a6c6b8957f1e176867e5fb05b1a1a1486">m_BlockSize</a> = 2;</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span> </div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> inputInfo(4, inputShape, ArmnnType);</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> outputInfo(4, outputShape, ArmnnType);</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span> </div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <span class="keywordflow">return</span> DepthToSpaceTestImpl<T>(workloadFactory, memoryManager, inputInfo, outputInfo, input, expectedOutput, desc);</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span> }</div><div class="ttc" id="structarmnn_1_1_space_to_depth_descriptor_html_a6089e1ca91914015777ea780a513131a"><div class="ttname"><a href="structarmnn_1_1_space_to_depth_descriptor.html#a6089e1ca91914015777ea780a513131a">armnn::SpaceToDepthDescriptor::m_DataLayout</a></div><div class="ttdeci">DataLayout m_DataLayout</div><div class="ttdoc">The data layout to be used (NCHW, NHWC). </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00830">Descriptors.hpp:830</a></div></div> |
| 191 | <div class="ttc" id="structarmnn_1_1_queue_descriptor_with_parameters_html_aad91b9bbf7aa365d304febe79a3d1333"><div class="ttname"><a href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">armnn::QueueDescriptorWithParameters::m_Parameters</a></div><div class="ttdeci">LayerDescriptor m_Parameters</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00049">WorkloadData.hpp:49</a></div></div> |
| 192 | <div class="ttc" id="classarmnn_1_1_tensor_info_html"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00053">Tensor.hpp:53</a></div></div> |
| 193 | <div class="ttc" id="structarmnn_1_1_depth_to_space_queue_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_depth_to_space_queue_descriptor.html">armnn::DepthToSpaceQueueDescriptor</a></div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00554">WorkloadData.hpp:554</a></div></div> |
| 194 | <div class="ttc" id="structarmnn_1_1_space_to_depth_descriptor_html_a6c6b8957f1e176867e5fb05b1a1a1486"><div class="ttname"><a href="structarmnn_1_1_space_to_depth_descriptor.html#a6c6b8957f1e176867e5fb05b1a1a1486">armnn::SpaceToDepthDescriptor::m_BlockSize</a></div><div class="ttdeci">unsigned int m_BlockSize</div><div class="ttdoc">Scalar specifying the input block size. It must be >= 1. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00827">Descriptors.hpp:827</a></div></div> |
| 195 | </div><!-- fragment --> |
| 196 | </div> |
| 197 | </div> |
| 198 | <a id="a8eb3eae48bedad36e4cf57184d7eb3e1"></a> |
| 199 | <h2 class="memtitle"><span class="permalink"><a href="#a8eb3eae48bedad36e4cf57184d7eb3e1">◆ </a></span>DepthToSpaceTest3()</h2> |
| 200 | |
| 201 | <div class="memitem"> |
| 202 | <div class="memproto"> |
| 203 | <table class="memname"> |
| 204 | <tr> |
| 205 | <td class="memname"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a><T, 4> DepthToSpaceTest3 </td> |
| 206 | <td>(</td> |
| 207 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> |
| 208 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 209 | </tr> |
| 210 | <tr> |
| 211 | <td class="paramkey"></td> |
| 212 | <td></td> |
| 213 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 214 | <td class="paramname"><em>memoryManager</em>, </td> |
| 215 | </tr> |
| 216 | <tr> |
| 217 | <td class="paramkey"></td> |
| 218 | <td></td> |
| 219 | <td class="paramtype"><a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> </td> |
| 220 | <td class="paramname"><em>dataLayout</em> </td> |
| 221 | </tr> |
| 222 | <tr> |
| 223 | <td></td> |
| 224 | <td>)</td> |
| 225 | <td></td><td></td> |
| 226 | </tr> |
| 227 | </table> |
| 228 | </div><div class="memdoc"> |
| 229 | |
| 230 | <p class="definition">Definition at line <a class="el" href="_depth_to_space_test_impl_8cpp_source.html#l00156">156</a> of file <a class="el" href="_depth_to_space_test_impl_8cpp_source.html">DepthToSpaceTestImpl.cpp</a>.</p> |
| 231 | |
| 232 | <p class="reference">References <a class="el" href="_descriptors_8hpp_source.html#l00827">SpaceToDepthDescriptor::m_BlockSize</a>, <a class="el" href="_descriptors_8hpp_source.html#l00830">SpaceToDepthDescriptor::m_DataLayout</a>, and <a class="el" href="_workload_data_8hpp_source.html#l00049">QueueDescriptorWithParameters< LayerDescriptor >::m_Parameters</a>.</p> |
| 233 | <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>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> inputShape[] = { 2, 1, 1, 4 };</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> outputShape[] = { 2, 2, 2, 1 };</div><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>  std::vector<float> input =</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  {</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  1.f, 2.f, 3.f, 4.f, <span class="comment">// batch 0</span></div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  5.f, 6.f, 7.f, 8.f <span class="comment">// batch 1</span></div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  };</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span> </div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  std::vector<float> expectedOutput = input;</div><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>  <a class="code" href="structarmnn_1_1_depth_to_space_queue_descriptor.html">armnn::DepthToSpaceQueueDescriptor</a> desc;</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  desc.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>.<a class="code" href="structarmnn_1_1_space_to_depth_descriptor.html#a6089e1ca91914015777ea780a513131a">m_DataLayout</a> = dataLayout;</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  desc.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>.<a class="code" href="structarmnn_1_1_space_to_depth_descriptor.html#a6c6b8957f1e176867e5fb05b1a1a1486">m_BlockSize</a> = 2;</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span> </div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> inputInfo(4, inputShape, ArmnnType);</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> outputInfo(4, outputShape, ArmnnType);</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span> </div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="keywordflow">return</span> DepthToSpaceTestImpl<T>(workloadFactory, memoryManager, inputInfo, outputInfo, input, expectedOutput, desc);</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span> }</div><div class="ttc" id="structarmnn_1_1_space_to_depth_descriptor_html_a6089e1ca91914015777ea780a513131a"><div class="ttname"><a href="structarmnn_1_1_space_to_depth_descriptor.html#a6089e1ca91914015777ea780a513131a">armnn::SpaceToDepthDescriptor::m_DataLayout</a></div><div class="ttdeci">DataLayout m_DataLayout</div><div class="ttdoc">The data layout to be used (NCHW, NHWC). </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00830">Descriptors.hpp:830</a></div></div> |
| 234 | <div class="ttc" id="structarmnn_1_1_queue_descriptor_with_parameters_html_aad91b9bbf7aa365d304febe79a3d1333"><div class="ttname"><a href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">armnn::QueueDescriptorWithParameters::m_Parameters</a></div><div class="ttdeci">LayerDescriptor m_Parameters</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00049">WorkloadData.hpp:49</a></div></div> |
| 235 | <div class="ttc" id="classarmnn_1_1_tensor_info_html"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00053">Tensor.hpp:53</a></div></div> |
| 236 | <div class="ttc" id="structarmnn_1_1_depth_to_space_queue_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_depth_to_space_queue_descriptor.html">armnn::DepthToSpaceQueueDescriptor</a></div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00554">WorkloadData.hpp:554</a></div></div> |
| 237 | <div class="ttc" id="structarmnn_1_1_space_to_depth_descriptor_html_a6c6b8957f1e176867e5fb05b1a1a1486"><div class="ttname"><a href="structarmnn_1_1_space_to_depth_descriptor.html#a6c6b8957f1e176867e5fb05b1a1a1486">armnn::SpaceToDepthDescriptor::m_BlockSize</a></div><div class="ttdeci">unsigned int m_BlockSize</div><div class="ttdoc">Scalar specifying the input block size. It must be >= 1. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00827">Descriptors.hpp:827</a></div></div> |
| 238 | </div><!-- fragment --> |
| 239 | </div> |
| 240 | </div> |
| 241 | <a id="a594e4320ad4571c07b95622d7846e4a5"></a> |
| 242 | <h2 class="memtitle"><span class="permalink"><a href="#a594e4320ad4571c07b95622d7846e4a5">◆ </a></span>DepthToSpaceTest4()</h2> |
| 243 | |
| 244 | <div class="memitem"> |
| 245 | <div class="memproto"> |
| 246 | <table class="memname"> |
| 247 | <tr> |
| 248 | <td class="memname"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a><T, 4> DepthToSpaceTest4 </td> |
| 249 | <td>(</td> |
| 250 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> |
| 251 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 252 | </tr> |
| 253 | <tr> |
| 254 | <td class="paramkey"></td> |
| 255 | <td></td> |
| 256 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 257 | <td class="paramname"><em>memoryManager</em>, </td> |
| 258 | </tr> |
| 259 | <tr> |
| 260 | <td class="paramkey"></td> |
| 261 | <td></td> |
| 262 | <td class="paramtype"><a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> </td> |
| 263 | <td class="paramname"><em>dataLayout</em> </td> |
| 264 | </tr> |
| 265 | <tr> |
| 266 | <td></td> |
| 267 | <td>)</td> |
| 268 | <td></td><td></td> |
| 269 | </tr> |
| 270 | </table> |
| 271 | </div><div class="memdoc"> |
| 272 | |
| 273 | <p class="definition">Definition at line <a class="el" href="_depth_to_space_test_impl_8cpp_source.html#l00183">183</a> of file <a class="el" href="_depth_to_space_test_impl_8cpp_source.html">DepthToSpaceTestImpl.cpp</a>.</p> |
| 274 | |
| 275 | <p class="reference">References <a class="el" href="_descriptors_8hpp_source.html#l00827">SpaceToDepthDescriptor::m_BlockSize</a>, <a class="el" href="_descriptors_8hpp_source.html#l00830">SpaceToDepthDescriptor::m_DataLayout</a>, and <a class="el" href="_workload_data_8hpp_source.html#l00049">QueueDescriptorWithParameters< LayerDescriptor >::m_Parameters</a>.</p> |
| 276 | <div class="fragment"><div class="line"><a name="l00187"></a><span class="lineno"> 187</span> {</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> inputShape[] = { 2, 2, 2, 4 };</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> outputShape[] = { 2, 4, 4, 1 };</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span> </div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  std::vector<float> input =</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  {</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  1.f, 2.f, 3.f, 4.f,</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span> </div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  5.f, 6.f, 7.f, 8.f,</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span> </div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  9.f, 10.f, 11.f, 12.f,</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span> </div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  13.f, 14.f, 15.f, 16.f,</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span> </div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span> </div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  17.f, 18.f, 19.f, 20.f,</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span> </div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  21.f, 22.f, 23.f, 24.f,</div><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>  25.f, 26.f, 27.f, 28.f,</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span> </div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  29.f, 30.f, 31.f, 32.f</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  };</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span> </div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  std::vector<float> expectedOutput</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  {</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  1.f, 2.f, 5.f, 6.f,</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  3.f, 4.f, 7.f, 8.f,</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  9.f, 10.f, 13.f, 14.f,</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  11.f, 12.f, 15.f, 16.f,</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span> </div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span> </div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  17.f, 18.f, 21.f, 22.f,</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  19.f, 20.f, 23.f, 24.f,</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  25.f, 26.f, 29.f, 30.f,</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  27.f, 28.f, 31.f, 32.f</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  };</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span> </div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <a class="code" href="structarmnn_1_1_depth_to_space_queue_descriptor.html">armnn::DepthToSpaceQueueDescriptor</a> desc;</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  desc.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>.<a class="code" href="structarmnn_1_1_space_to_depth_descriptor.html#a6089e1ca91914015777ea780a513131a">m_DataLayout</a> = dataLayout;</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  desc.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>.<a class="code" href="structarmnn_1_1_space_to_depth_descriptor.html#a6c6b8957f1e176867e5fb05b1a1a1486">m_BlockSize</a> = 2;</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span> </div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> inputInfo(4, inputShape, ArmnnType);</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> outputInfo(4, outputShape, ArmnnType);</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span> </div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  <span class="keywordflow">return</span> DepthToSpaceTestImpl<T>(workloadFactory, memoryManager, inputInfo, outputInfo, input, expectedOutput, desc);</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span> }</div><div class="ttc" id="structarmnn_1_1_space_to_depth_descriptor_html_a6089e1ca91914015777ea780a513131a"><div class="ttname"><a href="structarmnn_1_1_space_to_depth_descriptor.html#a6089e1ca91914015777ea780a513131a">armnn::SpaceToDepthDescriptor::m_DataLayout</a></div><div class="ttdeci">DataLayout m_DataLayout</div><div class="ttdoc">The data layout to be used (NCHW, NHWC). </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00830">Descriptors.hpp:830</a></div></div> |
| 277 | <div class="ttc" id="structarmnn_1_1_queue_descriptor_with_parameters_html_aad91b9bbf7aa365d304febe79a3d1333"><div class="ttname"><a href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">armnn::QueueDescriptorWithParameters::m_Parameters</a></div><div class="ttdeci">LayerDescriptor m_Parameters</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00049">WorkloadData.hpp:49</a></div></div> |
| 278 | <div class="ttc" id="classarmnn_1_1_tensor_info_html"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00053">Tensor.hpp:53</a></div></div> |
| 279 | <div class="ttc" id="structarmnn_1_1_depth_to_space_queue_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_depth_to_space_queue_descriptor.html">armnn::DepthToSpaceQueueDescriptor</a></div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00554">WorkloadData.hpp:554</a></div></div> |
| 280 | <div class="ttc" id="structarmnn_1_1_space_to_depth_descriptor_html_a6c6b8957f1e176867e5fb05b1a1a1486"><div class="ttname"><a href="structarmnn_1_1_space_to_depth_descriptor.html#a6c6b8957f1e176867e5fb05b1a1a1486">armnn::SpaceToDepthDescriptor::m_BlockSize</a></div><div class="ttdeci">unsigned int m_BlockSize</div><div class="ttdoc">Scalar specifying the input block size. It must be >= 1. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00827">Descriptors.hpp:827</a></div></div> |
| 281 | </div><!-- fragment --> |
| 282 | </div> |
| 283 | </div> |
| 284 | </div><!-- contents --> |
| 285 | </div><!-- doc-content --> |
| 286 | <!-- start footer part --> |
| 287 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 288 | <ul> |
| 289 | <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="_depth_to_space_test_impl_8hpp.html">DepthToSpaceTestImpl.hpp</a></li> |
| 290 | <li class="footer">Generated on Fri Mar 13 2020 16:07:00 for ArmNN by |
| 291 | <a href="http://www.doxygen.org/index.html"> |
| 292 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 293 | </ul> |
| 294 | </div> |
| 295 | </body> |
| 296 | </html> |