Ryan OShea | de36e4a | 2020-03-13 16:26:19 +0000 | [diff] [blame] | 1 | <!-- Copyright (c) 2020 ARM Limited. --> |
| 2 | <!-- --> |
| 3 | <!-- SPDX-License-Identifier: MIT --> |
| 4 | <!-- --> |
| 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"> |
| 8 | <head> |
| 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/backends/backendsCommon/test/layerTests/ReshapeTestImpl.hpp 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); |
| 24 | </script> |
| 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"> |
| 29 | MathJax.Hub.Config({ |
| 30 | extensions: ["tex2jax.js"], |
| 31 | jax: ["input/TeX","output/HTML-CSS"], |
| 32 | }); |
| 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"/> |
| 36 | </head> |
| 37 | <body> |
| 38 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 39 | <div id="titlearea"> |
| 40 | <table cellspacing="0" cellpadding="0"> |
| 41 | <tbody> |
| 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> |
| 47 | </div> |
| 48 | </td> |
| 49 | </tr> |
| 50 | </tbody> |
| 51 | </table> |
| 52 | </div> |
| 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'); |
| 57 | </script> |
| 58 | <script type="text/javascript" src="menudata.js"></script> |
| 59 | <script type="text/javascript" src="menu.js"></script> |
| 60 | <script type="text/javascript"> |
| 61 | $(function() { |
| 62 | initMenu('',true,false,'search.php','Search'); |
| 63 | $(document).ready(function() { init_search(); }); |
| 64 | }); |
| 65 | </script> |
| 66 | <div id="main-nav"></div> |
| 67 | </div><!-- top --> |
| 68 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 69 | <div id="nav-tree"> |
| 70 | <div id="nav-tree-contents"> |
| 71 | <div id="nav-sync" class="sync"></div> |
| 72 | </div> |
| 73 | </div> |
| 74 | <div id="splitbar" style="-moz-user-select:none;" |
| 75 | class="ui-resizable-handle"> |
| 76 | </div> |
| 77 | </div> |
| 78 | <script type="text/javascript"> |
| 79 | $(document).ready(function(){initNavTree('_reshape_test_impl_8hpp.xhtml','');}); |
| 80 | </script> |
| 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)"> |
| 87 | </div> |
| 88 | |
| 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"> |
| 93 | </iframe> |
| 94 | </div> |
| 95 | |
| 96 | <div class="header"> |
| 97 | <div class="summary"> |
| 98 | <a href="#func-members">Functions</a> </div> |
| 99 | <div class="headertitle"> |
| 100 | <div class="title">ReshapeTestImpl.hpp File Reference</div> </div> |
| 101 | </div><!--header--> |
| 102 | <div class="contents"> |
| 103 | <div class="textblock"><code>#include "<a class="el" href="_layer_test_result_8hpp_source.xhtml">LayerTestResult.hpp</a>"</code><br /> |
| 104 | <code>#include <<a class="el" href="_resolve_type_8hpp_source.xhtml">ResolveType.hpp</a>></code><br /> |
| 105 | <code>#include <<a class="el" href="include_2armnn_2backends_2_i_backend_internal_8hpp_source.xhtml">armnn/backends/IBackendInternal.hpp</a>></code><br /> |
| 106 | <code>#include <<a class="el" href="_workload_factory_8hpp_source.xhtml">backendsCommon/WorkloadFactory.hpp</a>></code><br /> |
| 107 | </div> |
| 108 | <p><a href="_reshape_test_impl_8hpp_source.xhtml">Go to the source code of this file.</a></p> |
| 109 | <table class="memberdecls"> |
| 110 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> |
| 111 | Functions</h2></td></tr> |
| 112 | <tr class="memitem:a27e70e33db384629f46baac2b95a71cd"><td class="memTemplParams" colspan="2">template<armnn::DataType ArmnnType, typename T = armnn::ResolveType<ArmnnType>> </td></tr> |
| 113 | <tr class="memitem:a27e70e33db384629f46baac2b95a71cd"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a>< T, 4 > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="_reshape_test_impl_8hpp.xhtml#a27e70e33db384629f46baac2b95a71cd">SimpleReshapeTest</a> (<a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager)</td></tr> |
| 114 | <tr class="separator:a27e70e33db384629f46baac2b95a71cd"><td class="memSeparator" colspan="2"> </td></tr> |
| 115 | <tr class="memitem:a75b012fe56435f53e13fd8ab123aef9c"><td class="memTemplParams" colspan="2">template<armnn::DataType ArmnnType, typename T = armnn::ResolveType<ArmnnType>> </td></tr> |
| 116 | <tr class="memitem:a75b012fe56435f53e13fd8ab123aef9c"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a>< T, 5 > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="_reshape_test_impl_8hpp.xhtml#a75b012fe56435f53e13fd8ab123aef9c">Reshape5dTest</a> (<a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager)</td></tr> |
| 117 | <tr class="separator:a75b012fe56435f53e13fd8ab123aef9c"><td class="memSeparator" colspan="2"> </td></tr> |
| 118 | </table> |
| 119 | <h2 class="groupheader">Function Documentation</h2> |
| 120 | <a id="a75b012fe56435f53e13fd8ab123aef9c"></a> |
| 121 | <h2 class="memtitle"><span class="permalink"><a href="#a75b012fe56435f53e13fd8ab123aef9c">◆ </a></span>Reshape5dTest()</h2> |
| 122 | |
| 123 | <div class="memitem"> |
| 124 | <div class="memproto"> |
| 125 | <table class="memname"> |
| 126 | <tr> |
| 127 | <td class="memname"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a><T, 5> Reshape5dTest </td> |
| 128 | <td>(</td> |
| 129 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> & </td> |
| 130 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 131 | </tr> |
| 132 | <tr> |
| 133 | <td class="paramkey"></td> |
| 134 | <td></td> |
| 135 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 136 | <td class="paramname"><em>memoryManager</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="_reshape_test_impl_8cpp_source.xhtml#l00109">109</a> of file <a class="el" href="_reshape_test_impl_8cpp_source.xhtml">ReshapeTestImpl.cpp</a>.</p> |
| 147 | |
| 148 | <p class="reference">References <a class="el" href="_tensor_8cpp_source.xhtml#l00259">TensorInfo::SetQuantizationScale()</a>.</p> |
| 149 | <div class="fragment"><div class="line"><a name="l00112"></a><span class="lineno"> 112</span> {</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <a class="code" href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a> inputTensorInfo;</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <a class="code" href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a> outputTensorInfo;</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span> </div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> inputShape[] = { 2, 2, 8, 1, 1 };</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> outputShape[] = { 2, 2, 2, 2, 2 };</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span> </div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  inputTensorInfo = <a class="code" href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a>(5, inputShape, ArmnnType);</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  inputTensorInfo.<a class="code" href="classarmnn_1_1_tensor_info.xhtml#a685739c4eb65a580e075282cfe6787d6">SetQuantizationScale</a>(1.0f);</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  outputTensorInfo = <a class="code" href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a>(5, outputShape, ArmnnType);</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  outputTensorInfo.<a class="code" href="classarmnn_1_1_tensor_info.xhtml#a685739c4eb65a580e075282cfe6787d6">SetQuantizationScale</a>(1.0f);</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span> </div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keyword">auto</span> input = ConvertToDataType<ArmnnType>(</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>  0.0f, 1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f,</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f,</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span> </div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  16.0f, 17.0f, 18.0f, 19.0f, 20.0f, 21.0f, 22.0f, 23.0f,</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  24.0f, 25.0f, 26.0f, 27.0f, 28.0f, 29.0f, 30.0f, 31.0f,</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>  inputTensorInfo);</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>  <span class="keyword">auto</span> outputExpected = ConvertToDataType<ArmnnType>(</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>  0.0f, 1.0f,</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  2.0f, 3.0f,</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>  4.0f, 5.0f,</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  6.0f, 7.0f,</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span> </div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span> </div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  8.0f, 9.0f,</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  10.0f, 11.0f,</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span> </div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  12.0f, 13.0f,</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  14.0f, 15.0f,</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> </div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span> </div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  16.0f, 17.0f,</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  18.0f, 19.0f,</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span> </div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  20.0f, 21.0f,</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  22.0f, 23.0f,</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span> </div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span> </div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  24.0f, 25.0f,</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  26.0f, 27.0f,</div><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>  28.0f, 29.0f,</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  30.0f, 31.0f,</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>  outputTensorInfo);</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>  <span class="keywordflow">return</span> SimpleReshapeTestImpl<T, 5>(</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  workloadFactory, memoryManager, inputTensorInfo, outputTensorInfo, input, outputExpected);</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span> }</div><div class="ttc" id="classarmnn_1_1_tensor_info_xhtml"><div class="ttname"><a href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.xhtml#l00053">Tensor.hpp:53</a></div></div> |
| 150 | <div class="ttc" id="classarmnn_1_1_tensor_info_xhtml_a685739c4eb65a580e075282cfe6787d6"><div class="ttname"><a href="classarmnn_1_1_tensor_info.xhtml#a685739c4eb65a580e075282cfe6787d6">armnn::TensorInfo::SetQuantizationScale</a></div><div class="ttdeci">void SetQuantizationScale(float scale)</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8cpp_source.xhtml#l00259">Tensor.cpp:259</a></div></div> |
| 151 | </div><!-- fragment --> |
| 152 | </div> |
| 153 | </div> |
| 154 | <a id="a27e70e33db384629f46baac2b95a71cd"></a> |
| 155 | <h2 class="memtitle"><span class="permalink"><a href="#a27e70e33db384629f46baac2b95a71cd">◆ </a></span>SimpleReshapeTest()</h2> |
| 156 | |
| 157 | <div class="memitem"> |
| 158 | <div class="memproto"> |
| 159 | <table class="memname"> |
| 160 | <tr> |
| 161 | <td class="memname"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a><T, 4> SimpleReshapeTest </td> |
| 162 | <td>(</td> |
| 163 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> & </td> |
| 164 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 165 | </tr> |
| 166 | <tr> |
| 167 | <td class="paramkey"></td> |
| 168 | <td></td> |
| 169 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 170 | <td class="paramname"><em>memoryManager</em> </td> |
| 171 | </tr> |
| 172 | <tr> |
| 173 | <td></td> |
| 174 | <td>)</td> |
| 175 | <td></td><td></td> |
| 176 | </tr> |
| 177 | </table> |
| 178 | </div><div class="memdoc"> |
| 179 | |
| 180 | <p class="definition">Definition at line <a class="el" href="_reshape_test_impl_8cpp_source.xhtml#l00057">57</a> of file <a class="el" href="_reshape_test_impl_8cpp_source.xhtml">ReshapeTestImpl.cpp</a>.</p> |
| 181 | |
| 182 | <p class="reference">References <a class="el" href="_tensor_8cpp_source.xhtml#l00259">TensorInfo::SetQuantizationScale()</a>.</p> |
| 183 | <div class="fragment"><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> {</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <a class="code" href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a> inputTensorInfo;</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <a class="code" href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a> outputTensorInfo;</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span> </div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> inputShape[] = { 2, 2, 3, 3 };</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> outputShape[] = { 2, 2, 9, 1 };</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> </div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  inputTensorInfo = <a class="code" href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a>(4, inputShape, ArmnnType);</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  inputTensorInfo.<a class="code" href="classarmnn_1_1_tensor_info.xhtml#a685739c4eb65a580e075282cfe6787d6">SetQuantizationScale</a>(1.0f);</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  outputTensorInfo = <a class="code" href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a>(4, outputShape, ArmnnType);</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  outputTensorInfo.<a class="code" href="classarmnn_1_1_tensor_info.xhtml#a685739c4eb65a580e075282cfe6787d6">SetQuantizationScale</a>(1.0f);</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> </div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keyword">auto</span> input = ConvertToDataType<ArmnnType>(</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  {</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  0.0f, 1.0f, 2.0f,</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  3.0f, 4.0f, 5.0f,</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  6.0f, 7.0f, 8.0f,</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> </div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  9.0f, 10.0f, 11.0f,</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  12.0f, 13.0f, 14.0f,</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  15.0f, 16.0f, 17.0f,</div><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>  18.0f, 19.0f, 20.0f,</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  21.0f, 22.0f, 23.0f,</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  24.0f, 25.0f, 26.0f,</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> </div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  27.0f, 28.0f, 29.0f,</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  30.0f, 31.0f, 32.0f,</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  33.0f, 34.0f, 35.0f,</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  },</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  inputTensorInfo);</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>  <span class="keyword">auto</span> outputExpected = ConvertToDataType<ArmnnType>(</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  {</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  0.0f, 1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f,</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> </div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f, 17.0f,</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> </div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  18.0f, 19.0f, 20.0f, 21.0f, 22.0f, 23.0f, 24.0f, 25.0f, 26.0f,</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  27.0f, 28.0f, 29.0f, 30.0f, 31.0f, 32.0f, 33.0f, 34.0f, 35.0f,</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>  outputTensorInfo);</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span> </div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keywordflow">return</span> SimpleReshapeTestImpl<T, 4>(</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  workloadFactory, memoryManager, inputTensorInfo, outputTensorInfo, input, outputExpected);</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span> }</div><div class="ttc" id="classarmnn_1_1_tensor_info_xhtml"><div class="ttname"><a href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.xhtml#l00053">Tensor.hpp:53</a></div></div> |
| 184 | <div class="ttc" id="classarmnn_1_1_tensor_info_xhtml_a685739c4eb65a580e075282cfe6787d6"><div class="ttname"><a href="classarmnn_1_1_tensor_info.xhtml#a685739c4eb65a580e075282cfe6787d6">armnn::TensorInfo::SetQuantizationScale</a></div><div class="ttdeci">void SetQuantizationScale(float scale)</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8cpp_source.xhtml#l00259">Tensor.cpp:259</a></div></div> |
| 185 | </div><!-- fragment --> |
| 186 | </div> |
| 187 | </div> |
| 188 | </div><!-- contents --> |
| 189 | </div><!-- doc-content --> |
| 190 | <!-- start footer part --> |
| 191 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 192 | <ul> |
| 193 | <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.xhtml">src</a></li><li class="navelem"><a class="el" href="dir_0f3cdec46afbc61a1ded8e1687c9c9a0.xhtml">backends</a></li><li class="navelem"><a class="el" href="dir_797a213d7d01b98ef12d53b0820ea64e.xhtml">backendsCommon</a></li><li class="navelem"><a class="el" href="dir_28bfe507f7e135bdae07c2a6b7f66696.xhtml">test</a></li><li class="navelem"><a class="el" href="dir_99a30439342d160875b21dac3498ad7f.xhtml">layerTests</a></li><li class="navelem"><a class="el" href="_reshape_test_impl_8hpp.xhtml">ReshapeTestImpl.hpp</a></li> |
| 194 | <li class="footer">Generated on Fri Mar 13 2020 16:09:15 for ArmNN by |
| 195 | <a href="http://www.doxygen.org/index.html"> |
| 196 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 197 | </ul> |
| 198 | </div> |
| 199 | </body> |
| 200 | </html> |