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: ConstPassthroughCpuTensorHandle Class 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('classarmnn_1_1_const_passthrough_cpu_tensor_handle.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="#pub-methods">Public Member Functions</a> | |
| 99 | <a href="classarmnn_1_1_const_passthrough_cpu_tensor_handle-members.xhtml">List of all members</a> </div> |
| 100 | <div class="headertitle"> |
| 101 | <div class="title">ConstPassthroughCpuTensorHandle Class Reference</div> </div> |
| 102 | </div><!--header--> |
| 103 | <div class="contents"> |
| 104 | |
| 105 | <p><code>#include <<a class="el" href="_cpu_tensor_handle_8hpp_source.xhtml">CpuTensorHandle.hpp</a>></code></p> |
| 106 | <div class="dynheader"> |
| 107 | Inheritance diagram for ConstPassthroughCpuTensorHandle:</div> |
| 108 | <div class="dyncontent"> |
| 109 | <div class="center"> |
| 110 | <img src="classarmnn_1_1_const_passthrough_cpu_tensor_handle.png" usemap="#ConstPassthroughCpuTensorHandle_map" alt=""/> |
| 111 | <map id="ConstPassthroughCpuTensorHandle_map" name="ConstPassthroughCpuTensorHandle_map"> |
| 112 | <area href="classarmnn_1_1_const_cpu_tensor_handle.xhtml" alt="ConstCpuTensorHandle" shape="rect" coords="0,56,216,80"/> |
| 113 | <area href="classarmnn_1_1_i_tensor_handle.xhtml" alt="ITensorHandle" shape="rect" coords="0,0,216,24"/> |
| 114 | </map> |
| 115 | </div></div> |
| 116 | <table class="memberdecls"> |
| 117 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| 118 | Public Member Functions</h2></td></tr> |
| 119 | <tr class="memitem:a172de6b7c4a9447f5afc3f7117d4dba0"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_const_passthrough_cpu_tensor_handle.xhtml#a172de6b7c4a9447f5afc3f7117d4dba0">ConstPassthroughCpuTensorHandle</a> (const <a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> &tensorInfo, const void *mem)</td></tr> |
| 120 | <tr class="separator:a172de6b7c4a9447f5afc3f7117d4dba0"><td class="memSeparator" colspan="2"> </td></tr> |
| 121 | <tr class="memitem:a8518772c5d692e334a76617582b10b92"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_const_passthrough_cpu_tensor_handle.xhtml#a8518772c5d692e334a76617582b10b92">Allocate</a> () override</td></tr> |
| 122 | <tr class="memdesc:a8518772c5d692e334a76617582b10b92"><td class="mdescLeft"> </td><td class="mdescRight">Indicate to the memory manager that this resource is no longer active. <a href="#a8518772c5d692e334a76617582b10b92">More...</a><br /></td></tr> |
| 123 | <tr class="separator:a8518772c5d692e334a76617582b10b92"><td class="memSeparator" colspan="2"> </td></tr> |
| 124 | <tr class="inherit_header pub_methods_classarmnn_1_1_const_cpu_tensor_handle"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmnn_1_1_const_cpu_tensor_handle')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classarmnn_1_1_const_cpu_tensor_handle.xhtml">ConstCpuTensorHandle</a></td></tr> |
| 125 | <tr class="memitem:a3a76fc8b348e13d5a6ac1240c96ebef4 inherit pub_methods_classarmnn_1_1_const_cpu_tensor_handle"><td class="memTemplParams" colspan="2">template<typename T > </td></tr> |
| 126 | <tr class="memitem:a3a76fc8b348e13d5a6ac1240c96ebef4 inherit pub_methods_classarmnn_1_1_const_cpu_tensor_handle"><td class="memTemplItemLeft" align="right" valign="top">const T * </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_const_cpu_tensor_handle.xhtml#a3a76fc8b348e13d5a6ac1240c96ebef4">GetConstTensor</a> () const</td></tr> |
| 127 | <tr class="separator:a3a76fc8b348e13d5a6ac1240c96ebef4 inherit pub_methods_classarmnn_1_1_const_cpu_tensor_handle"><td class="memSeparator" colspan="2"> </td></tr> |
| 128 | <tr class="memitem:a66e8f43a5b42b500871ed96e15419567 inherit pub_methods_classarmnn_1_1_const_cpu_tensor_handle"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_const_cpu_tensor_handle.xhtml#a66e8f43a5b42b500871ed96e15419567">GetTensorInfo</a> () const</td></tr> |
| 129 | <tr class="separator:a66e8f43a5b42b500871ed96e15419567 inherit pub_methods_classarmnn_1_1_const_cpu_tensor_handle"><td class="memSeparator" colspan="2"> </td></tr> |
| 130 | <tr class="memitem:a19aa18d78d5ac31e3a3c8f782f0e8606 inherit pub_methods_classarmnn_1_1_const_cpu_tensor_handle"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_const_cpu_tensor_handle.xhtml#a19aa18d78d5ac31e3a3c8f782f0e8606">Manage</a> () override</td></tr> |
| 131 | <tr class="memdesc:a19aa18d78d5ac31e3a3c8f782f0e8606 inherit pub_methods_classarmnn_1_1_const_cpu_tensor_handle"><td class="mdescLeft"> </td><td class="mdescRight">Indicate to the memory manager that this resource is active. <a href="classarmnn_1_1_const_cpu_tensor_handle.xhtml#a19aa18d78d5ac31e3a3c8f782f0e8606">More...</a><br /></td></tr> |
| 132 | <tr class="separator:a19aa18d78d5ac31e3a3c8f782f0e8606 inherit pub_methods_classarmnn_1_1_const_cpu_tensor_handle"><td class="memSeparator" colspan="2"> </td></tr> |
| 133 | <tr class="memitem:ab6c52b35388890f2c563afbebfb456a6 inherit pub_methods_classarmnn_1_1_const_cpu_tensor_handle"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classarmnn_1_1_i_tensor_handle.xhtml">ITensorHandle</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_const_cpu_tensor_handle.xhtml#ab6c52b35388890f2c563afbebfb456a6">GetParent</a> () const override</td></tr> |
| 134 | <tr class="memdesc:ab6c52b35388890f2c563afbebfb456a6 inherit pub_methods_classarmnn_1_1_const_cpu_tensor_handle"><td class="mdescLeft"> </td><td class="mdescRight">Get the parent tensor if this is a subtensor. <a href="classarmnn_1_1_const_cpu_tensor_handle.xhtml#ab6c52b35388890f2c563afbebfb456a6">More...</a><br /></td></tr> |
| 135 | <tr class="separator:ab6c52b35388890f2c563afbebfb456a6 inherit pub_methods_classarmnn_1_1_const_cpu_tensor_handle"><td class="memSeparator" colspan="2"> </td></tr> |
| 136 | <tr class="memitem:acc3fcce7a100cc3b64247519f22e37fc inherit pub_methods_classarmnn_1_1_const_cpu_tensor_handle"><td class="memItemLeft" align="right" valign="top">virtual const void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_const_cpu_tensor_handle.xhtml#acc3fcce7a100cc3b64247519f22e37fc">Map</a> (bool) const override</td></tr> |
| 137 | <tr class="memdesc:acc3fcce7a100cc3b64247519f22e37fc inherit pub_methods_classarmnn_1_1_const_cpu_tensor_handle"><td class="mdescLeft"> </td><td class="mdescRight">Map the tensor data for access. <a href="classarmnn_1_1_const_cpu_tensor_handle.xhtml#acc3fcce7a100cc3b64247519f22e37fc">More...</a><br /></td></tr> |
| 138 | <tr class="separator:acc3fcce7a100cc3b64247519f22e37fc inherit pub_methods_classarmnn_1_1_const_cpu_tensor_handle"><td class="memSeparator" colspan="2"> </td></tr> |
| 139 | <tr class="memitem:a88ab6decf78c152e746b7d8dc2dd931f inherit pub_methods_classarmnn_1_1_const_cpu_tensor_handle"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_const_cpu_tensor_handle.xhtml#a88ab6decf78c152e746b7d8dc2dd931f">Unmap</a> () const override</td></tr> |
| 140 | <tr class="memdesc:a88ab6decf78c152e746b7d8dc2dd931f inherit pub_methods_classarmnn_1_1_const_cpu_tensor_handle"><td class="mdescLeft"> </td><td class="mdescRight">Unmap the tensor data. <a href="classarmnn_1_1_const_cpu_tensor_handle.xhtml#a88ab6decf78c152e746b7d8dc2dd931f">More...</a><br /></td></tr> |
| 141 | <tr class="separator:a88ab6decf78c152e746b7d8dc2dd931f inherit pub_methods_classarmnn_1_1_const_cpu_tensor_handle"><td class="memSeparator" colspan="2"> </td></tr> |
| 142 | <tr class="memitem:a967f220393d291f71dabce0c06bf9b6c inherit pub_methods_classarmnn_1_1_const_cpu_tensor_handle"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_const_cpu_tensor_handle.xhtml#a967f220393d291f71dabce0c06bf9b6c">GetStrides</a> () const override</td></tr> |
| 143 | <tr class="memdesc:a967f220393d291f71dabce0c06bf9b6c inherit pub_methods_classarmnn_1_1_const_cpu_tensor_handle"><td class="mdescLeft"> </td><td class="mdescRight">Get the strides for each dimension ordered from largest to smallest where the smallest value is the same as the size of a single element in the tensor. <a href="classarmnn_1_1_const_cpu_tensor_handle.xhtml#a967f220393d291f71dabce0c06bf9b6c">More...</a><br /></td></tr> |
| 144 | <tr class="separator:a967f220393d291f71dabce0c06bf9b6c inherit pub_methods_classarmnn_1_1_const_cpu_tensor_handle"><td class="memSeparator" colspan="2"> </td></tr> |
| 145 | <tr class="memitem:a8e8d2fbabcac19f9e12779080ddff54e inherit pub_methods_classarmnn_1_1_const_cpu_tensor_handle"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_const_cpu_tensor_handle.xhtml#a8e8d2fbabcac19f9e12779080ddff54e">GetShape</a> () const override</td></tr> |
| 146 | <tr class="memdesc:a8e8d2fbabcac19f9e12779080ddff54e inherit pub_methods_classarmnn_1_1_const_cpu_tensor_handle"><td class="mdescLeft"> </td><td class="mdescRight">Get the number of elements for each dimension ordered from slowest iterating dimension to fastest iterating dimension. <a href="classarmnn_1_1_const_cpu_tensor_handle.xhtml#a8e8d2fbabcac19f9e12779080ddff54e">More...</a><br /></td></tr> |
| 147 | <tr class="separator:a8e8d2fbabcac19f9e12779080ddff54e inherit pub_methods_classarmnn_1_1_const_cpu_tensor_handle"><td class="memSeparator" colspan="2"> </td></tr> |
| 148 | <tr class="memitem:aecc243f62d4777927e15af592d330764 inherit pub_methods_classarmnn_1_1_const_cpu_tensor_handle"><td class="memTemplParams" colspan="2">template<> </td></tr> |
| 149 | <tr class="memitem:aecc243f62d4777927e15af592d330764 inherit pub_methods_classarmnn_1_1_const_cpu_tensor_handle"><td class="memTemplItemLeft" align="right" valign="top">const void * </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_const_cpu_tensor_handle.xhtml#aecc243f62d4777927e15af592d330764">GetConstTensor</a> () const</td></tr> |
| 150 | <tr class="separator:aecc243f62d4777927e15af592d330764 inherit pub_methods_classarmnn_1_1_const_cpu_tensor_handle"><td class="memSeparator" colspan="2"> </td></tr> |
| 151 | <tr class="memitem:a8faf443b026b17e61779734bd2b45d12 inherit pub_methods_classarmnn_1_1_const_cpu_tensor_handle"><td class="memTemplParams" colspan="2">template<> </td></tr> |
| 152 | <tr class="memitem:a8faf443b026b17e61779734bd2b45d12 inherit pub_methods_classarmnn_1_1_const_cpu_tensor_handle"><td class="memTemplItemLeft" align="right" valign="top">const void * </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_const_cpu_tensor_handle.xhtml#a8faf443b026b17e61779734bd2b45d12">GetConstTensor</a> () const</td></tr> |
| 153 | <tr class="separator:a8faf443b026b17e61779734bd2b45d12 inherit pub_methods_classarmnn_1_1_const_cpu_tensor_handle"><td class="memSeparator" colspan="2"> </td></tr> |
| 154 | <tr class="inherit_header pub_methods_classarmnn_1_1_i_tensor_handle"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmnn_1_1_i_tensor_handle')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classarmnn_1_1_i_tensor_handle.xhtml">ITensorHandle</a></td></tr> |
| 155 | <tr class="memitem:aff95f063e2b8041b3d0e4b4dc0e3821d inherit pub_methods_classarmnn_1_1_i_tensor_handle"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_tensor_handle.xhtml#aff95f063e2b8041b3d0e4b4dc0e3821d">~ITensorHandle</a> ()</td></tr> |
| 156 | <tr class="separator:aff95f063e2b8041b3d0e4b4dc0e3821d inherit pub_methods_classarmnn_1_1_i_tensor_handle"><td class="memSeparator" colspan="2"> </td></tr> |
| 157 | <tr class="memitem:a270c8f844df649b9b0599c1e4db44cd3 inherit pub_methods_classarmnn_1_1_i_tensor_handle"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_tensor_handle.xhtml#a270c8f844df649b9b0599c1e4db44cd3">Map</a> (bool blocking=<a class="el" href="_ref_layer_tests_8cpp.xhtml#a37f1c3ccc9fc906be85185350dd83d48">true</a>)</td></tr> |
| 158 | <tr class="memdesc:a270c8f844df649b9b0599c1e4db44cd3 inherit pub_methods_classarmnn_1_1_i_tensor_handle"><td class="mdescLeft"> </td><td class="mdescRight">Map the tensor data for access. <a href="classarmnn_1_1_i_tensor_handle.xhtml#a270c8f844df649b9b0599c1e4db44cd3">More...</a><br /></td></tr> |
| 159 | <tr class="separator:a270c8f844df649b9b0599c1e4db44cd3 inherit pub_methods_classarmnn_1_1_i_tensor_handle"><td class="memSeparator" colspan="2"> </td></tr> |
| 160 | <tr class="memitem:ab2be1412c91842a072ad94759f52033e inherit pub_methods_classarmnn_1_1_i_tensor_handle"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_tensor_handle.xhtml#ab2be1412c91842a072ad94759f52033e">Unmap</a> ()</td></tr> |
| 161 | <tr class="memdesc:ab2be1412c91842a072ad94759f52033e inherit pub_methods_classarmnn_1_1_i_tensor_handle"><td class="mdescLeft"> </td><td class="mdescRight">Unmap the tensor data that was previously mapped with call to <a class="el" href="classarmnn_1_1_i_tensor_handle.xhtml#a9afbc055a017adf1bc38ee137bca6e90" title="Map the tensor data for access. ">Map()</a>. <a href="classarmnn_1_1_i_tensor_handle.xhtml#ab2be1412c91842a072ad94759f52033e">More...</a><br /></td></tr> |
| 162 | <tr class="separator:ab2be1412c91842a072ad94759f52033e inherit pub_methods_classarmnn_1_1_i_tensor_handle"><td class="memSeparator" colspan="2"> </td></tr> |
| 163 | <tr class="memitem:a55cddc2dbb32d680cd85b635ba370e48 inherit pub_methods_classarmnn_1_1_i_tensor_handle"><td class="memItemLeft" align="right" valign="top">virtual unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_tensor_handle.xhtml#a55cddc2dbb32d680cd85b635ba370e48">GetImportFlags</a> () const</td></tr> |
| 164 | <tr class="memdesc:a55cddc2dbb32d680cd85b635ba370e48 inherit pub_methods_classarmnn_1_1_i_tensor_handle"><td class="mdescLeft"> </td><td class="mdescRight">Get flags describing supported import sources. <a href="classarmnn_1_1_i_tensor_handle.xhtml#a55cddc2dbb32d680cd85b635ba370e48">More...</a><br /></td></tr> |
| 165 | <tr class="separator:a55cddc2dbb32d680cd85b635ba370e48 inherit pub_methods_classarmnn_1_1_i_tensor_handle"><td class="memSeparator" colspan="2"> </td></tr> |
| 166 | <tr class="memitem:a4f81a9eff30c9b9fe76f5b83af470ba7 inherit pub_methods_classarmnn_1_1_i_tensor_handle"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_tensor_handle.xhtml#a4f81a9eff30c9b9fe76f5b83af470ba7">Import</a> (void *memory, <a class="el" href="namespacearmnn.xhtml#a0fc99721e27eb20ecd0ea85a3cc8b488">MemorySource</a> source)</td></tr> |
| 167 | <tr class="memdesc:a4f81a9eff30c9b9fe76f5b83af470ba7 inherit pub_methods_classarmnn_1_1_i_tensor_handle"><td class="mdescLeft"> </td><td class="mdescRight">Import externally allocated memory. <a href="classarmnn_1_1_i_tensor_handle.xhtml#a4f81a9eff30c9b9fe76f5b83af470ba7">More...</a><br /></td></tr> |
| 168 | <tr class="separator:a4f81a9eff30c9b9fe76f5b83af470ba7 inherit pub_methods_classarmnn_1_1_i_tensor_handle"><td class="memSeparator" colspan="2"> </td></tr> |
| 169 | </table><table class="memberdecls"> |
| 170 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> |
| 171 | Additional Inherited Members</h2></td></tr> |
| 172 | <tr class="inherit_header pro_methods_classarmnn_1_1_const_cpu_tensor_handle"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classarmnn_1_1_const_cpu_tensor_handle')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classarmnn_1_1_const_cpu_tensor_handle.xhtml">ConstCpuTensorHandle</a></td></tr> |
| 173 | <tr class="memitem:ac9bdc423c74013d226c902c3d8a263bf inherit pro_methods_classarmnn_1_1_const_cpu_tensor_handle"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_const_cpu_tensor_handle.xhtml#ac9bdc423c74013d226c902c3d8a263bf">ConstCpuTensorHandle</a> (const <a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> &tensorInfo)</td></tr> |
| 174 | <tr class="separator:ac9bdc423c74013d226c902c3d8a263bf inherit pro_methods_classarmnn_1_1_const_cpu_tensor_handle"><td class="memSeparator" colspan="2"> </td></tr> |
| 175 | <tr class="memitem:ae21d7415b7d191de4fe6e02d134a4f38 inherit pro_methods_classarmnn_1_1_const_cpu_tensor_handle"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_const_cpu_tensor_handle.xhtml#ae21d7415b7d191de4fe6e02d134a4f38">SetConstMemory</a> (const void *mem)</td></tr> |
| 176 | <tr class="separator:ae21d7415b7d191de4fe6e02d134a4f38 inherit pro_methods_classarmnn_1_1_const_cpu_tensor_handle"><td class="memSeparator" colspan="2"> </td></tr> |
| 177 | </table> |
| 178 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 179 | <div class="textblock"> |
| 180 | <p class="definition">Definition at line <a class="el" href="_cpu_tensor_handle_8hpp_source.xhtml#l00157">157</a> of file <a class="el" href="_cpu_tensor_handle_8hpp_source.xhtml">CpuTensorHandle.hpp</a>.</p> |
| 181 | </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| 182 | <a id="a172de6b7c4a9447f5afc3f7117d4dba0"></a> |
| 183 | <h2 class="memtitle"><span class="permalink"><a href="#a172de6b7c4a9447f5afc3f7117d4dba0">◆ </a></span>ConstPassthroughCpuTensorHandle()</h2> |
| 184 | |
| 185 | <div class="memitem"> |
| 186 | <div class="memproto"> |
| 187 | <table class="mlabels"> |
| 188 | <tr> |
| 189 | <td class="mlabels-left"> |
| 190 | <table class="memname"> |
| 191 | <tr> |
| 192 | <td class="memname"><a class="el" href="classarmnn_1_1_const_passthrough_cpu_tensor_handle.xhtml">ConstPassthroughCpuTensorHandle</a> </td> |
| 193 | <td>(</td> |
| 194 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_tensor_info.xhtml">TensorInfo</a> & </td> |
| 195 | <td class="paramname"><em>tensorInfo</em>, </td> |
| 196 | </tr> |
| 197 | <tr> |
| 198 | <td class="paramkey"></td> |
| 199 | <td></td> |
| 200 | <td class="paramtype">const void * </td> |
| 201 | <td class="paramname"><em>mem</em> </td> |
| 202 | </tr> |
| 203 | <tr> |
| 204 | <td></td> |
| 205 | <td>)</td> |
| 206 | <td></td><td></td> |
| 207 | </tr> |
| 208 | </table> |
| 209 | </td> |
| 210 | <td class="mlabels-right"> |
| 211 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 212 | </tr> |
| 213 | </table> |
| 214 | </div><div class="memdoc"> |
| 215 | |
| 216 | <p class="definition">Definition at line <a class="el" href="_cpu_tensor_handle_8hpp_source.xhtml#l00160">160</a> of file <a class="el" href="_cpu_tensor_handle_8hpp_source.xhtml">CpuTensorHandle.hpp</a>.</p> |
| 217 | |
| 218 | <p class="reference">References <a class="el" href="classarmnn_1_1_i_tensor_handle.xhtml#a5cceed8b707a09bf27eb61f17acf8a88">ITensorHandle::Allocate()</a>, <a class="el" href="_cpu_tensor_handle_8hpp_source.xhtml#l00031">ConstCpuTensorHandle::GetConstTensor()</a>, <a class="el" href="_cpu_tensor_handle_8hpp_source.xhtml#l00080">CpuTensorHandle::GetTensor()</a>, and <a class="el" href="_cpu_tensor_handle_8hpp_source.xhtml#l00058">ConstCpuTensorHandle::SetConstMemory()</a>.</p> |
| 219 | <div class="fragment"><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  : <a class="code" href="classarmnn_1_1_const_cpu_tensor_handle.xhtml#ac9bdc423c74013d226c902c3d8a263bf">ConstCpuTensorHandle</a>(tensorInfo)</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  {</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <a class="code" href="classarmnn_1_1_const_cpu_tensor_handle.xhtml#ae21d7415b7d191de4fe6e02d134a4f38">SetConstMemory</a>(mem);</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  }</div><div class="ttc" id="classarmnn_1_1_const_cpu_tensor_handle_xhtml_ac9bdc423c74013d226c902c3d8a263bf"><div class="ttname"><a href="classarmnn_1_1_const_cpu_tensor_handle.xhtml#ac9bdc423c74013d226c902c3d8a263bf">armnn::ConstCpuTensorHandle::ConstCpuTensorHandle</a></div><div class="ttdeci">ConstCpuTensorHandle(const TensorInfo &tensorInfo)</div><div class="ttdef"><b>Definition:</b> <a href="_cpu_tensor_handle_8cpp_source.xhtml#l00031">CpuTensorHandle.cpp:31</a></div></div> |
| 220 | <div class="ttc" id="classarmnn_1_1_const_cpu_tensor_handle_xhtml_ae21d7415b7d191de4fe6e02d134a4f38"><div class="ttname"><a href="classarmnn_1_1_const_cpu_tensor_handle.xhtml#ae21d7415b7d191de4fe6e02d134a4f38">armnn::ConstCpuTensorHandle::SetConstMemory</a></div><div class="ttdeci">void SetConstMemory(const void *mem)</div><div class="ttdef"><b>Definition:</b> <a href="_cpu_tensor_handle_8hpp_source.xhtml#l00058">CpuTensorHandle.hpp:58</a></div></div> |
| 221 | </div><!-- fragment --> |
| 222 | </div> |
| 223 | </div> |
| 224 | <h2 class="groupheader">Member Function Documentation</h2> |
| 225 | <a id="a8518772c5d692e334a76617582b10b92"></a> |
| 226 | <h2 class="memtitle"><span class="permalink"><a href="#a8518772c5d692e334a76617582b10b92">◆ </a></span>Allocate()</h2> |
| 227 | |
| 228 | <div class="memitem"> |
| 229 | <div class="memproto"> |
| 230 | <table class="mlabels"> |
| 231 | <tr> |
| 232 | <td class="mlabels-left"> |
| 233 | <table class="memname"> |
| 234 | <tr> |
| 235 | <td class="memname">void Allocate </td> |
| 236 | <td>(</td> |
| 237 | <td class="paramname"></td><td>)</td> |
| 238 | <td></td> |
| 239 | </tr> |
| 240 | </table> |
| 241 | </td> |
| 242 | <td class="mlabels-right"> |
| 243 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 244 | </tr> |
| 245 | </table> |
| 246 | </div><div class="memdoc"> |
| 247 | |
| 248 | <p>Indicate to the memory manager that this resource is no longer active. </p> |
| 249 | <p>This is used to compute overlapping lifetimes of resources. </p> |
| 250 | |
| 251 | <p>Implements <a class="el" href="classarmnn_1_1_i_tensor_handle.xhtml#a5cceed8b707a09bf27eb61f17acf8a88">ITensorHandle</a>.</p> |
| 252 | |
| 253 | <p class="definition">Definition at line <a class="el" href="_cpu_tensor_handle_8cpp_source.xhtml#l00136">136</a> of file <a class="el" href="_cpu_tensor_handle_8cpp_source.xhtml">CpuTensorHandle.cpp</a>.</p> |
| 254 | <div class="fragment"><div class="line"><a name="l00137"></a><span class="lineno"> 137</span> {</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="keywordflow">throw</span> InvalidArgumentException(<span class="stringliteral">"ConstPassthroughCpuTensorHandle::Allocate() should never be called"</span>);</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span> }</div></div><!-- fragment --> |
| 255 | </div> |
| 256 | </div> |
| 257 | <hr/>The documentation for this class was generated from the following files:<ul> |
| 258 | <li>src/backends/backendsCommon/<a class="el" href="_cpu_tensor_handle_8hpp_source.xhtml">CpuTensorHandle.hpp</a></li> |
| 259 | <li>src/backends/backendsCommon/<a class="el" href="_cpu_tensor_handle_8cpp_source.xhtml">CpuTensorHandle.cpp</a></li> |
| 260 | </ul> |
| 261 | </div><!-- contents --> |
| 262 | </div><!-- doc-content --> |
| 263 | <!-- start footer part --> |
| 264 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 265 | <ul> |
| 266 | <li class="navelem"><a class="el" href="namespacearmnn.xhtml">armnn</a></li><li class="navelem"><a class="el" href="classarmnn_1_1_const_passthrough_cpu_tensor_handle.xhtml">ConstPassthroughCpuTensorHandle</a></li> |
| 267 | <li class="footer">Generated on Fri Mar 13 2020 16:09:17 for ArmNN by |
| 268 | <a href="http://www.doxygen.org/index.html"> |
| 269 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 270 | </ul> |
| 271 | </div> |
| 272 | </body> |
| 273 | </html> |