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/TensorCopyUtils.cpp 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('_tensor_copy_utils_8cpp.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">TensorCopyUtils.cpp File Reference</div> </div> |
| 101 | </div><!--header--> |
| 102 | <div class="contents"> |
| 103 | <div class="textblock"><code>#include "<a class="el" href="_tensor_copy_utils_8hpp_source.xhtml">TensorCopyUtils.hpp</a>"</code><br /> |
| 104 | <code>#include <<a class="el" href="_half_8hpp_source.xhtml">Half.hpp</a>></code><br /> |
| 105 | </div> |
| 106 | <p><a href="_tensor_copy_utils_8cpp_source.xhtml">Go to the source code of this file.</a></p> |
| 107 | <table class="memberdecls"> |
| 108 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> |
| 109 | Functions</h2></td></tr> |
| 110 | <tr class="memitem:ae15f1a3c55d2db87683577de9fa4437c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="_tensor_copy_utils_8cpp.xhtml#ae15f1a3c55d2db87683577de9fa4437c">CopyDataToITensorHandle</a> (<a class="el" href="classarmnn_1_1_i_tensor_handle.xhtml">armnn::ITensorHandle</a> *tensorHandle, const void *memory)</td></tr> |
| 111 | <tr class="separator:ae15f1a3c55d2db87683577de9fa4437c"><td class="memSeparator" colspan="2"> </td></tr> |
| 112 | <tr class="memitem:a99b626c58a926dc7d6df78d22ec186c8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="_tensor_copy_utils_8cpp.xhtml#a99b626c58a926dc7d6df78d22ec186c8">CopyDataFromITensorHandle</a> (void *memory, const <a class="el" href="classarmnn_1_1_i_tensor_handle.xhtml">armnn::ITensorHandle</a> *tensorHandle)</td></tr> |
| 113 | <tr class="separator:a99b626c58a926dc7d6df78d22ec186c8"><td class="memSeparator" colspan="2"> </td></tr> |
| 114 | <tr class="memitem:afaaca8c3f3a467d124bba44067d2afa8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="_tensor_copy_utils_8cpp.xhtml#afaaca8c3f3a467d124bba44067d2afa8">AllocateAndCopyDataToITensorHandle</a> (<a class="el" href="classarmnn_1_1_i_tensor_handle.xhtml">armnn::ITensorHandle</a> *tensorHandle, const void *memory)</td></tr> |
| 115 | <tr class="separator:afaaca8c3f3a467d124bba44067d2afa8"><td class="memSeparator" colspan="2"> </td></tr> |
| 116 | </table> |
| 117 | <h2 class="groupheader">Function Documentation</h2> |
| 118 | <a id="afaaca8c3f3a467d124bba44067d2afa8"></a> |
| 119 | <h2 class="memtitle"><span class="permalink"><a href="#afaaca8c3f3a467d124bba44067d2afa8">◆ </a></span>AllocateAndCopyDataToITensorHandle()</h2> |
| 120 | |
| 121 | <div class="memitem"> |
| 122 | <div class="memproto"> |
| 123 | <table class="memname"> |
| 124 | <tr> |
| 125 | <td class="memname">void AllocateAndCopyDataToITensorHandle </td> |
| 126 | <td>(</td> |
| 127 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_tensor_handle.xhtml">armnn::ITensorHandle</a> * </td> |
| 128 | <td class="paramname"><em>tensorHandle</em>, </td> |
| 129 | </tr> |
| 130 | <tr> |
| 131 | <td class="paramkey"></td> |
| 132 | <td></td> |
| 133 | <td class="paramtype">const void * </td> |
| 134 | <td class="paramname"><em>memory</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="_tensor_copy_utils_8cpp_source.xhtml#l00019">19</a> of file <a class="el" href="_tensor_copy_utils_8cpp_source.xhtml">TensorCopyUtils.cpp</a>.</p> |
| 145 | |
| 146 | <p class="reference">References <a class="el" href="classarmnn_1_1_i_tensor_handle.xhtml#a5cceed8b707a09bf27eb61f17acf8a88">ITensorHandle::Allocate()</a>, and <a class="el" href="_tensor_copy_utils_8cpp_source.xhtml#l00009">CopyDataToITensorHandle()</a>.</p> |
| 147 | |
| 148 | <p class="reference">Referenced by <a class="el" href="_batch_normalization_test_impl_8cpp_source.xhtml#l00587">CompareBatchNormTest()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l01277">CompareConvolution2dTestImpl()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l02669">CompareDepthwiseConvolution2dTestImpl()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l00460">Convolution1dTestImpl()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l03092">Convolution2dPerAxisQuantTest()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l01381">DepthwiseConvolution2dAsymmetricTestImpl()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l01518">DepthwiseConvolution2dDepthMul1TestImpl()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l03316">DepthwiseConvolution2dPerAxisQuantTest()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l01671">DepthwiseConvolution2dTestImpl()</a>, <a class="el" href="_detection_post_process_test_impl_8hpp_source.xhtml#l00139">DetectionPostProcessImpl()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l00367">SimpleConvolution2dNhwcTestImpl()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l00201">SimpleConvolution2dTestImpl()</a>, <a class="el" href="_fully_connected_test_impl_8cpp_source.xhtml#l00024">SimpleFullyConnectedTestImpl()</a>, and <a class="el" href="_transpose_convolution2d_test_impl_8cpp_source.xhtml#l00561">TransposeConvolution2dPerAxisQuantTest()</a>.</p> |
| 149 | <div class="fragment"><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> {</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  tensorHandle-><a class="code" href="classarmnn_1_1_i_tensor_handle.xhtml#a5cceed8b707a09bf27eb61f17acf8a88">Allocate</a>();</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <a class="code" href="_tensor_copy_utils_8cpp.xhtml#ae15f1a3c55d2db87683577de9fa4437c">CopyDataToITensorHandle</a>(tensorHandle, memory);</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> }</div><div class="ttc" id="classarmnn_1_1_i_tensor_handle_xhtml_a5cceed8b707a09bf27eb61f17acf8a88"><div class="ttname"><a href="classarmnn_1_1_i_tensor_handle.xhtml#a5cceed8b707a09bf27eb61f17acf8a88">armnn::ITensorHandle::Allocate</a></div><div class="ttdeci">virtual void Allocate()=0</div><div class="ttdoc">Indicate to the memory manager that this resource is no longer active. </div></div> |
| 150 | <div class="ttc" id="_tensor_copy_utils_8cpp_xhtml_ae15f1a3c55d2db87683577de9fa4437c"><div class="ttname"><a href="_tensor_copy_utils_8cpp.xhtml#ae15f1a3c55d2db87683577de9fa4437c">CopyDataToITensorHandle</a></div><div class="ttdeci">void CopyDataToITensorHandle(armnn::ITensorHandle *tensorHandle, const void *memory)</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_copy_utils_8cpp_source.xhtml#l00009">TensorCopyUtils.cpp:9</a></div></div> |
| 151 | </div><!-- fragment --> |
| 152 | </div> |
| 153 | </div> |
| 154 | <a id="a99b626c58a926dc7d6df78d22ec186c8"></a> |
| 155 | <h2 class="memtitle"><span class="permalink"><a href="#a99b626c58a926dc7d6df78d22ec186c8">◆ </a></span>CopyDataFromITensorHandle()</h2> |
| 156 | |
| 157 | <div class="memitem"> |
| 158 | <div class="memproto"> |
| 159 | <table class="memname"> |
| 160 | <tr> |
| 161 | <td class="memname">void CopyDataFromITensorHandle </td> |
| 162 | <td>(</td> |
| 163 | <td class="paramtype">void * </td> |
| 164 | <td class="paramname"><em>memory</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_tensor_handle.xhtml">armnn::ITensorHandle</a> * </td> |
| 170 | <td class="paramname"><em>tensorHandle</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="_tensor_copy_utils_8cpp_source.xhtml#l00014">14</a> of file <a class="el" href="_tensor_copy_utils_8cpp_source.xhtml">TensorCopyUtils.cpp</a>.</p> |
| 181 | |
| 182 | <p class="reference">References <a class="el" href="classarmnn_1_1_i_tensor_handle.xhtml#a4ec32790513ea4af4c5746f1ee48fbfe">ITensorHandle::CopyOutTo()</a>.</p> |
| 183 | |
| 184 | <p class="reference">Referenced by <a class="el" href="_addition_test_impl_8cpp_source.xhtml#l00454">AdditionAfterMaxPoolTest()</a>, <a class="el" href="_addition_test_impl_8cpp_source.xhtml#l00245">AdditionBroadcast1ElementTestImpl()</a>, <a class="el" href="_addition_test_impl_8cpp_source.xhtml#l00162">AdditionBroadcastTestImpl()</a>, <a class="el" href="_activation_test_impl_8cpp_source.xhtml#l00023">BoundedReLuTestCommon()</a>, <a class="el" href="_activation_test_impl_8cpp_source.xhtml#l00184">BoundedReLuUint8UpperAndLowerBoundTest()</a>, <a class="el" href="_activation_test_impl_8cpp_source.xhtml#l01142">CompareActivationTestImpl()</a>, <a class="el" href="_addition_test_impl_8cpp_source.xhtml#l00561">CompareAdditionTest()</a>, <a class="el" href="_batch_normalization_test_impl_8cpp_source.xhtml#l00587">CompareBatchNormTest()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l01277">CompareConvolution2dTestImpl()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l02669">CompareDepthwiseConvolution2dTestImpl()</a>, <a class="el" href="_multiplication_test_impl_8cpp_source.xhtml#l00399">CompareMultiplicationTest()</a>, <a class="el" href="_concat_test_impl_8cpp_source.xhtml#l01916">ConcatDifferentInputOutputQParamTest()</a>, <a class="el" href="_concat_test_impl_8cpp_source.xhtml#l00272">Concatenate()</a>, <a class="el" href="_concat_test_impl_8cpp_source.xhtml#l02072">ConcatTest()</a>, <a class="el" href="_concat_test_impl_8cpp_source.xhtml#l02635">ConcatUint16Test()</a>, <a class="el" href="_concat_test_impl_8cpp_source.xhtml#l02352">ConcatUint8DifferentQParamsTest()</a>, <a class="el" href="_concat_test_impl_8cpp_source.xhtml#l02497">ConcatUint8Test()</a>, <a class="el" href="_activation_test_impl_8cpp_source.xhtml#l00307">ConstantLinearActivationTestCommon()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l00460">Convolution1dTestImpl()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l03092">Convolution2dPerAxisQuantTest()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l01381">DepthwiseConvolution2dAsymmetricTestImpl()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l01518">DepthwiseConvolution2dDepthMul1TestImpl()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l03316">DepthwiseConvolution2dPerAxisQuantTest()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l01671">DepthwiseConvolution2dTestImpl()</a>, <a class="el" href="_detection_post_process_test_impl_8hpp_source.xhtml#l00139">DetectionPostProcessImpl()</a>, <a class="el" href="_elementwise_test_impl_8hpp_source.xhtml#l00041">ElementwiseTestHelper()</a>, <a class="el" href="_elementwise_unary_test_impl_8hpp_source.xhtml#l00035">ElementwiseUnaryTestHelper()</a>, <a class="el" href="_fake_quantization_test_impl_8cpp_source.xhtml#l00016">FakeQuantizationTest()</a>, <a class="el" href="_l2_normalization_test_impl_8cpp_source.xhtml#l00672">L2Normalization2dShapeTest()</a>, <a class="el" href="_pad_test_impl_8cpp_source.xhtml#l00020">Pad2dTestCommon()</a>, <a class="el" href="_pad_test_impl_8cpp_source.xhtml#l00093">Pad3dTestCommon()</a>, <a class="el" href="_pad_test_impl_8cpp_source.xhtml#l00177">Pad4dTestCommon()</a>, <a class="el" href="_concat_test_impl_8cpp_source.xhtml#l00239">PermuteOutputForConcat()</a>, <a class="el" href="_concat_test_impl_8cpp_source.xhtml#l00121">PermuteTensorData()</a>, <a class="el" href="_prelu_test_impl_8hpp_source.xhtml#l00023">PreluTest()</a>, <a class="el" href="_activation_test_impl_8cpp_source.xhtml#l00392">SimpleActivationTest()</a>, <a class="el" href="_convert_fp16_to_fp32_test_impl_8cpp_source.xhtml#l00016">SimpleConvertFp16ToFp32Test()</a>, <a class="el" href="_convert_fp32_to_fp16_test_impl_8cpp_source.xhtml#l00014">SimpleConvertFp32ToFp16Test()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l00367">SimpleConvolution2dNhwcTestImpl()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l00201">SimpleConvolution2dTestImpl()</a>, <a class="el" href="_floor_test_impl_8cpp_source.xhtml#l00015">SimpleFloorTest()</a>, <a class="el" href="_fully_connected_test_impl_8cpp_source.xhtml#l00024">SimpleFullyConnectedTestImpl()</a>, <a class="el" href="_permute_test_impl_8hpp_source.xhtml#l00019">SimplePermuteTestImpl()</a>, <a class="el" href="_transpose_test_impl_8hpp_source.xhtml#l00019">SimpleTransposeTestImpl()</a>, <a class="el" href="_activation_test_impl_8cpp_source.xhtml#l00792">SqrtNNTest()</a>, and <a class="el" href="_transpose_convolution2d_test_impl_8cpp_source.xhtml#l00561">TransposeConvolution2dPerAxisQuantTest()</a>.</p> |
| 185 | <div class="fragment"><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> {</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  tensorHandle-><a class="code" href="classarmnn_1_1_i_tensor_handle.xhtml#a4ec32790513ea4af4c5746f1ee48fbfe">CopyOutTo</a>(memory);</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> }</div><div class="ttc" id="classarmnn_1_1_i_tensor_handle_xhtml_a4ec32790513ea4af4c5746f1ee48fbfe"><div class="ttname"><a href="classarmnn_1_1_i_tensor_handle.xhtml#a4ec32790513ea4af4c5746f1ee48fbfe">armnn::ITensorHandle::CopyOutTo</a></div><div class="ttdeci">virtual void CopyOutTo(void *memory) const =0</div><div class="ttdoc">Testing support to be able to verify and set tensor data content. </div></div> |
| 186 | </div><!-- fragment --> |
| 187 | </div> |
| 188 | </div> |
| 189 | <a id="ae15f1a3c55d2db87683577de9fa4437c"></a> |
| 190 | <h2 class="memtitle"><span class="permalink"><a href="#ae15f1a3c55d2db87683577de9fa4437c">◆ </a></span>CopyDataToITensorHandle()</h2> |
| 191 | |
| 192 | <div class="memitem"> |
| 193 | <div class="memproto"> |
| 194 | <table class="memname"> |
| 195 | <tr> |
| 196 | <td class="memname">void CopyDataToITensorHandle </td> |
| 197 | <td>(</td> |
| 198 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_tensor_handle.xhtml">armnn::ITensorHandle</a> * </td> |
| 199 | <td class="paramname"><em>tensorHandle</em>, </td> |
| 200 | </tr> |
| 201 | <tr> |
| 202 | <td class="paramkey"></td> |
| 203 | <td></td> |
| 204 | <td class="paramtype">const void * </td> |
| 205 | <td class="paramname"><em>memory</em> </td> |
| 206 | </tr> |
| 207 | <tr> |
| 208 | <td></td> |
| 209 | <td>)</td> |
| 210 | <td></td><td></td> |
| 211 | </tr> |
| 212 | </table> |
| 213 | </div><div class="memdoc"> |
| 214 | |
| 215 | <p class="definition">Definition at line <a class="el" href="_tensor_copy_utils_8cpp_source.xhtml#l00009">9</a> of file <a class="el" href="_tensor_copy_utils_8cpp_source.xhtml">TensorCopyUtils.cpp</a>.</p> |
| 216 | |
| 217 | <p class="reference">References <a class="el" href="classarmnn_1_1_i_tensor_handle.xhtml#ad495ac6d9fd9e1ba5bb7a02c731a2d83">ITensorHandle::CopyInFrom()</a>.</p> |
| 218 | |
| 219 | <p class="reference">Referenced by <a class="el" href="_addition_test_impl_8cpp_source.xhtml#l00454">AdditionAfterMaxPoolTest()</a>, <a class="el" href="_addition_test_impl_8cpp_source.xhtml#l00245">AdditionBroadcast1ElementTestImpl()</a>, <a class="el" href="_addition_test_impl_8cpp_source.xhtml#l00162">AdditionBroadcastTestImpl()</a>, <a class="el" href="_tensor_copy_utils_8cpp_source.xhtml#l00019">AllocateAndCopyDataToITensorHandle()</a>, <a class="el" href="_neon_timer_test_8cpp_source.xhtml#l00037">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_activation_test_impl_8cpp_source.xhtml#l00023">BoundedReLuTestCommon()</a>, <a class="el" href="_activation_test_impl_8cpp_source.xhtml#l00184">BoundedReLuUint8UpperAndLowerBoundTest()</a>, <a class="el" href="_activation_test_impl_8cpp_source.xhtml#l01142">CompareActivationTestImpl()</a>, <a class="el" href="_addition_test_impl_8cpp_source.xhtml#l00561">CompareAdditionTest()</a>, <a class="el" href="_batch_normalization_test_impl_8cpp_source.xhtml#l00587">CompareBatchNormTest()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l01277">CompareConvolution2dTestImpl()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l02669">CompareDepthwiseConvolution2dTestImpl()</a>, <a class="el" href="_multiplication_test_impl_8cpp_source.xhtml#l00399">CompareMultiplicationTest()</a>, <a class="el" href="_concat_test_impl_8cpp_source.xhtml#l01916">ConcatDifferentInputOutputQParamTest()</a>, <a class="el" href="_concat_test_impl_8cpp_source.xhtml#l00272">Concatenate()</a>, <a class="el" href="_concat_test_impl_8cpp_source.xhtml#l02072">ConcatTest()</a>, <a class="el" href="_concat_test_impl_8cpp_source.xhtml#l02635">ConcatUint16Test()</a>, <a class="el" href="_concat_test_impl_8cpp_source.xhtml#l02352">ConcatUint8DifferentQParamsTest()</a>, <a class="el" href="_concat_test_impl_8cpp_source.xhtml#l02497">ConcatUint8Test()</a>, <a class="el" href="_activation_test_impl_8cpp_source.xhtml#l00307">ConstantLinearActivationTestCommon()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l00460">Convolution1dTestImpl()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l03092">Convolution2dPerAxisQuantTest()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l01381">DepthwiseConvolution2dAsymmetricTestImpl()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l01518">DepthwiseConvolution2dDepthMul1TestImpl()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l03316">DepthwiseConvolution2dPerAxisQuantTest()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l01671">DepthwiseConvolution2dTestImpl()</a>, <a class="el" href="_detection_post_process_test_impl_8hpp_source.xhtml#l00139">DetectionPostProcessImpl()</a>, <a class="el" href="_elementwise_test_impl_8hpp_source.xhtml#l00041">ElementwiseTestHelper()</a>, <a class="el" href="_elementwise_unary_test_impl_8hpp_source.xhtml#l00035">ElementwiseUnaryTestHelper()</a>, <a class="el" href="_fake_quantization_test_impl_8cpp_source.xhtml#l00016">FakeQuantizationTest()</a>, <a class="el" href="_l2_normalization_test_impl_8cpp_source.xhtml#l00672">L2Normalization2dShapeTest()</a>, <a class="el" href="_pad_test_impl_8cpp_source.xhtml#l00020">Pad2dTestCommon()</a>, <a class="el" href="_pad_test_impl_8cpp_source.xhtml#l00093">Pad3dTestCommon()</a>, <a class="el" href="_pad_test_impl_8cpp_source.xhtml#l00177">Pad4dTestCommon()</a>, <a class="el" href="_concat_test_impl_8cpp_source.xhtml#l00121">PermuteTensorData()</a>, <a class="el" href="_prelu_test_impl_8hpp_source.xhtml#l00023">PreluTest()</a>, <a class="el" href="_activation_test_impl_8cpp_source.xhtml#l00392">SimpleActivationTest()</a>, <a class="el" href="_convert_fp16_to_fp32_test_impl_8cpp_source.xhtml#l00016">SimpleConvertFp16ToFp32Test()</a>, <a class="el" href="_convert_fp32_to_fp16_test_impl_8cpp_source.xhtml#l00014">SimpleConvertFp32ToFp16Test()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l00367">SimpleConvolution2dNhwcTestImpl()</a>, <a class="el" href="_conv2d_test_impl_8cpp_source.xhtml#l00201">SimpleConvolution2dTestImpl()</a>, <a class="el" href="_floor_test_impl_8cpp_source.xhtml#l00015">SimpleFloorTest()</a>, <a class="el" href="_fully_connected_test_impl_8cpp_source.xhtml#l00024">SimpleFullyConnectedTestImpl()</a>, <a class="el" href="_permute_test_impl_8hpp_source.xhtml#l00019">SimplePermuteTestImpl()</a>, <a class="el" href="_transpose_test_impl_8hpp_source.xhtml#l00019">SimpleTransposeTestImpl()</a>, <a class="el" href="_activation_test_impl_8cpp_source.xhtml#l00792">SqrtNNTest()</a>, and <a class="el" href="_transpose_convolution2d_test_impl_8cpp_source.xhtml#l00561">TransposeConvolution2dPerAxisQuantTest()</a>.</p> |
| 220 | <div class="fragment"><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> {</div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  tensorHandle-><a class="code" href="classarmnn_1_1_i_tensor_handle.xhtml#ad495ac6d9fd9e1ba5bb7a02c731a2d83">CopyInFrom</a>(memory);</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> }</div><div class="ttc" id="classarmnn_1_1_i_tensor_handle_xhtml_ad495ac6d9fd9e1ba5bb7a02c731a2d83"><div class="ttname"><a href="classarmnn_1_1_i_tensor_handle.xhtml#ad495ac6d9fd9e1ba5bb7a02c731a2d83">armnn::ITensorHandle::CopyInFrom</a></div><div class="ttdeci">virtual void CopyInFrom(const void *memory)=0</div></div> |
| 221 | </div><!-- fragment --> |
| 222 | </div> |
| 223 | </div> |
| 224 | </div><!-- contents --> |
| 225 | </div><!-- doc-content --> |
| 226 | <!-- start footer part --> |
| 227 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 228 | <ul> |
| 229 | <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="_tensor_copy_utils_8cpp.xhtml">TensorCopyUtils.cpp</a></li> |
| 230 | <li class="footer">Generated on Fri Mar 13 2020 16:09:15 for ArmNN by |
| 231 | <a href="http://www.doxygen.org/index.html"> |
| 232 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 233 | </ul> |
| 234 | </div> |
| 235 | </body> |
| 236 | </html> |