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: RefTensorHandleFactory Class 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('classarmnn_1_1_ref_tensor_handle_factory.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="#pub-methods">Public Member Functions</a> | |
| 85 | <a href="#pub-static-methods">Static Public Member Functions</a> | |
| 86 | <a href="classarmnn_1_1_ref_tensor_handle_factory-members.html">List of all members</a> </div> |
| 87 | <div class="headertitle"> |
| 88 | <div class="title">RefTensorHandleFactory Class Reference</div> </div> |
| 89 | </div><!--header--> |
| 90 | <div class="contents"> |
| 91 | |
| 92 | <p><code>#include <<a class="el" href="_ref_tensor_handle_factory_8hpp_source.html">RefTensorHandleFactory.hpp</a>></code></p> |
| 93 | <div class="dynheader"> |
| 94 | Inheritance diagram for RefTensorHandleFactory:</div> |
| 95 | <div class="dyncontent"> |
| 96 | <div class="center"> |
| 97 | <img src="classarmnn_1_1_ref_tensor_handle_factory.png" usemap="#RefTensorHandleFactory_map" alt=""/> |
| 98 | <map id="RefTensorHandleFactory_map" name="RefTensorHandleFactory_map"> |
| 99 | <area href="classarmnn_1_1_i_tensor_handle_factory.html" alt="ITensorHandleFactory" shape="rect" coords="0,0,154,24"/> |
| 100 | </map> |
| 101 | </div></div> |
| 102 | <table class="memberdecls"> |
| 103 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| 104 | Public Member Functions</h2></td></tr> |
| 105 | <tr class="memitem:a5e2017a6df02e43e8e0befc2d22df076"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_ref_tensor_handle_factory.html#a5e2017a6df02e43e8e0befc2d22df076">RefTensorHandleFactory</a> (std::shared_ptr< <a class="el" href="classarmnn_1_1_ref_memory_manager.html">RefMemoryManager</a> > mgr)</td></tr> |
| 106 | <tr class="separator:a5e2017a6df02e43e8e0befc2d22df076"><td class="memSeparator" colspan="2"> </td></tr> |
| 107 | <tr class="memitem:abefb9df9d7a54cf2f82047ea350d0388"><td class="memItemLeft" align="right" valign="top">std::unique_ptr< <a class="el" href="classarmnn_1_1_i_tensor_handle.html">ITensorHandle</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_ref_tensor_handle_factory.html#abefb9df9d7a54cf2f82047ea350d0388">CreateSubTensorHandle</a> (<a class="el" href="classarmnn_1_1_i_tensor_handle.html">ITensorHandle</a> &parent, <a class="el" href="classarmnn_1_1_tensor_shape.html">TensorShape</a> const &subTensorShape, unsigned int const *subTensorOrigin) const override</td></tr> |
| 108 | <tr class="separator:abefb9df9d7a54cf2f82047ea350d0388"><td class="memSeparator" colspan="2"> </td></tr> |
| 109 | <tr class="memitem:a36255ab20159b07024f505d5a58644d0"><td class="memItemLeft" align="right" valign="top">std::unique_ptr< <a class="el" href="classarmnn_1_1_i_tensor_handle.html">ITensorHandle</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_ref_tensor_handle_factory.html#a36255ab20159b07024f505d5a58644d0">CreateTensorHandle</a> (const <a class="el" href="classarmnn_1_1_tensor_info.html">TensorInfo</a> &tensorInfo) const override</td></tr> |
| 110 | <tr class="separator:a36255ab20159b07024f505d5a58644d0"><td class="memSeparator" colspan="2"> </td></tr> |
| 111 | <tr class="memitem:a3da30737e325dcae4479e96bdcb6a862"><td class="memItemLeft" align="right" valign="top">std::unique_ptr< <a class="el" href="classarmnn_1_1_i_tensor_handle.html">ITensorHandle</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_ref_tensor_handle_factory.html#a3da30737e325dcae4479e96bdcb6a862">CreateTensorHandle</a> (const <a class="el" href="classarmnn_1_1_tensor_info.html">TensorInfo</a> &tensorInfo, <a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">DataLayout</a> dataLayout) const override</td></tr> |
| 112 | <tr class="separator:a3da30737e325dcae4479e96bdcb6a862"><td class="memSeparator" colspan="2"> </td></tr> |
| 113 | <tr class="memitem:a0f624341aa5ff798d7a678f612994b98"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarmnn_1_1_i_tensor_handle_factory.html#a32f4aa6a7089d877af08928139c2c277">FactoryId</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_ref_tensor_handle_factory.html#a0f624341aa5ff798d7a678f612994b98">GetId</a> () const override</td></tr> |
| 114 | <tr class="separator:a0f624341aa5ff798d7a678f612994b98"><td class="memSeparator" colspan="2"> </td></tr> |
| 115 | <tr class="memitem:aed0a782f32856bde72bc10d9381dc11e"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_ref_tensor_handle_factory.html#aed0a782f32856bde72bc10d9381dc11e">SupportsSubTensors</a> () const override</td></tr> |
| 116 | <tr class="separator:aed0a782f32856bde72bc10d9381dc11e"><td class="memSeparator" colspan="2"> </td></tr> |
| 117 | <tr class="memitem:a4d6272060edbc0c5ed7d43db78cc65c6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn.html#a5b05f3b7208ec7cea3338e30057c0bac">MemorySourceFlags</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_ref_tensor_handle_factory.html#a4d6272060edbc0c5ed7d43db78cc65c6">GetExportFlags</a> () const override</td></tr> |
| 118 | <tr class="separator:a4d6272060edbc0c5ed7d43db78cc65c6"><td class="memSeparator" colspan="2"> </td></tr> |
| 119 | <tr class="memitem:aa1d3334a17a9f136fe65ed833fbf68b4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn.html#a5b05f3b7208ec7cea3338e30057c0bac">MemorySourceFlags</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_ref_tensor_handle_factory.html#aa1d3334a17a9f136fe65ed833fbf68b4">GetImportFlags</a> () const override</td></tr> |
| 120 | <tr class="separator:aa1d3334a17a9f136fe65ed833fbf68b4"><td class="memSeparator" colspan="2"> </td></tr> |
| 121 | <tr class="inherit_header pub_methods_classarmnn_1_1_i_tensor_handle_factory"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmnn_1_1_i_tensor_handle_factory')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classarmnn_1_1_i_tensor_handle_factory.html">ITensorHandleFactory</a></td></tr> |
| 122 | <tr class="memitem:adb85a4d24c06a926c5fe50a2fd73111c inherit pub_methods_classarmnn_1_1_i_tensor_handle_factory"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_tensor_handle_factory.html#adb85a4d24c06a926c5fe50a2fd73111c">~ITensorHandleFactory</a> ()</td></tr> |
| 123 | <tr class="separator:adb85a4d24c06a926c5fe50a2fd73111c inherit pub_methods_classarmnn_1_1_i_tensor_handle_factory"><td class="memSeparator" colspan="2"> </td></tr> |
| 124 | <tr class="memitem:a42c6c26eed9d9ed8df7bb24f951c282c inherit pub_methods_classarmnn_1_1_i_tensor_handle_factory"><td class="memItemLeft" align="right" valign="top">virtual std::unique_ptr< <a class="el" href="classarmnn_1_1_i_tensor_handle.html">ITensorHandle</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_tensor_handle_factory.html#a42c6c26eed9d9ed8df7bb24f951c282c">CreateTensorHandle</a> (const <a class="el" href="classarmnn_1_1_tensor_info.html">TensorInfo</a> &tensorInfo, const bool IsMemoryManaged) const</td></tr> |
| 125 | <tr class="separator:a42c6c26eed9d9ed8df7bb24f951c282c inherit pub_methods_classarmnn_1_1_i_tensor_handle_factory"><td class="memSeparator" colspan="2"> </td></tr> |
| 126 | <tr class="memitem:a3d113070d658f1dea761060b297ba6ed inherit pub_methods_classarmnn_1_1_i_tensor_handle_factory"><td class="memItemLeft" align="right" valign="top">virtual std::unique_ptr< <a class="el" href="classarmnn_1_1_i_tensor_handle.html">ITensorHandle</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_tensor_handle_factory.html#a3d113070d658f1dea761060b297ba6ed">CreateTensorHandle</a> (const <a class="el" href="classarmnn_1_1_tensor_info.html">TensorInfo</a> &tensorInfo, <a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">DataLayout</a> dataLayout, const bool IsMemoryManaged) const</td></tr> |
| 127 | <tr class="separator:a3d113070d658f1dea761060b297ba6ed inherit pub_methods_classarmnn_1_1_i_tensor_handle_factory"><td class="memSeparator" colspan="2"> </td></tr> |
| 128 | <tr class="memitem:aa262a54803b53b8198cd60e7af2f60e4 inherit pub_methods_classarmnn_1_1_i_tensor_handle_factory"><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_factory.html#aa262a54803b53b8198cd60e7af2f60e4">SupportsMapUnmap</a> () const final</td></tr> |
| 129 | <tr class="separator:aa262a54803b53b8198cd60e7af2f60e4 inherit pub_methods_classarmnn_1_1_i_tensor_handle_factory"><td class="memSeparator" colspan="2"> </td></tr> |
| 130 | </table><table class="memberdecls"> |
| 131 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> |
| 132 | Static Public Member Functions</h2></td></tr> |
| 133 | <tr class="memitem:acdecb5b442434112c2cc8fc48c0ea922"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classarmnn_1_1_i_tensor_handle_factory.html#a32f4aa6a7089d877af08928139c2c277">FactoryId</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_ref_tensor_handle_factory.html#acdecb5b442434112c2cc8fc48c0ea922">GetIdStatic</a> ()</td></tr> |
| 134 | <tr class="separator:acdecb5b442434112c2cc8fc48c0ea922"><td class="memSeparator" colspan="2"> </td></tr> |
| 135 | </table><table class="memberdecls"> |
| 136 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> |
| 137 | Additional Inherited Members</h2></td></tr> |
| 138 | <tr class="inherit_header pub_types_classarmnn_1_1_i_tensor_handle_factory"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classarmnn_1_1_i_tensor_handle_factory')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="classarmnn_1_1_i_tensor_handle_factory.html">ITensorHandleFactory</a></td></tr> |
| 139 | <tr class="memitem:a32f4aa6a7089d877af08928139c2c277 inherit pub_types_classarmnn_1_1_i_tensor_handle_factory"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_tensor_handle_factory.html#a32f4aa6a7089d877af08928139c2c277">FactoryId</a> = std::string</td></tr> |
| 140 | <tr class="separator:a32f4aa6a7089d877af08928139c2c277 inherit pub_types_classarmnn_1_1_i_tensor_handle_factory"><td class="memSeparator" colspan="2"> </td></tr> |
| 141 | <tr class="inherit_header pub_static_attribs_classarmnn_1_1_i_tensor_handle_factory"><td colspan="2" onclick="javascript:toggleInherit('pub_static_attribs_classarmnn_1_1_i_tensor_handle_factory')"><img src="closed.png" alt="-"/> Static Public Attributes inherited from <a class="el" href="classarmnn_1_1_i_tensor_handle_factory.html">ITensorHandleFactory</a></td></tr> |
| 142 | <tr class="memitem:a9c95f90eb40e31f629e0e2947b8bc6f9 inherit pub_static_attribs_classarmnn_1_1_i_tensor_handle_factory"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classarmnn_1_1_i_tensor_handle_factory.html#a32f4aa6a7089d877af08928139c2c277">FactoryId</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_tensor_handle_factory.html#a9c95f90eb40e31f629e0e2947b8bc6f9">LegacyFactoryId</a> = "armnn_legacy_factory"</td></tr> |
| 143 | <tr class="separator:a9c95f90eb40e31f629e0e2947b8bc6f9 inherit pub_static_attribs_classarmnn_1_1_i_tensor_handle_factory"><td class="memSeparator" colspan="2"> </td></tr> |
| 144 | <tr class="memitem:ac043d9a6e3f861fc6aa057ff95e56f18 inherit pub_static_attribs_classarmnn_1_1_i_tensor_handle_factory"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classarmnn_1_1_i_tensor_handle_factory.html#a32f4aa6a7089d877af08928139c2c277">FactoryId</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_tensor_handle_factory.html#ac043d9a6e3f861fc6aa057ff95e56f18">DeferredFactoryId</a> = "armnn_deferred_factory"</td></tr> |
| 145 | <tr class="separator:ac043d9a6e3f861fc6aa057ff95e56f18 inherit pub_static_attribs_classarmnn_1_1_i_tensor_handle_factory"><td class="memSeparator" colspan="2"> </td></tr> |
| 146 | </table> |
| 147 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 148 | <div class="textblock"> |
| 149 | <p class="definition">Definition at line <a class="el" href="_ref_tensor_handle_factory_8hpp_source.html#l00017">17</a> of file <a class="el" href="_ref_tensor_handle_factory_8hpp_source.html">RefTensorHandleFactory.hpp</a>.</p> |
| 150 | </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| 151 | <a id="a5e2017a6df02e43e8e0befc2d22df076"></a> |
| 152 | <h2 class="memtitle"><span class="permalink"><a href="#a5e2017a6df02e43e8e0befc2d22df076">◆ </a></span>RefTensorHandleFactory()</h2> |
| 153 | |
| 154 | <div class="memitem"> |
| 155 | <div class="memproto"> |
| 156 | <table class="mlabels"> |
| 157 | <tr> |
| 158 | <td class="mlabels-left"> |
| 159 | <table class="memname"> |
| 160 | <tr> |
| 161 | <td class="memname"><a class="el" href="classarmnn_1_1_ref_tensor_handle_factory.html">RefTensorHandleFactory</a> </td> |
| 162 | <td>(</td> |
| 163 | <td class="paramtype">std::shared_ptr< <a class="el" href="classarmnn_1_1_ref_memory_manager.html">RefMemoryManager</a> > </td> |
| 164 | <td class="paramname"><em>mgr</em></td><td>)</td> |
| 165 | <td></td> |
| 166 | </tr> |
| 167 | </table> |
| 168 | </td> |
| 169 | <td class="mlabels-right"> |
| 170 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 171 | </tr> |
| 172 | </table> |
| 173 | </div><div class="memdoc"> |
| 174 | |
| 175 | <p class="definition">Definition at line <a class="el" href="_ref_tensor_handle_factory_8hpp_source.html#l00021">21</a> of file <a class="el" href="_ref_tensor_handle_factory_8hpp_source.html">RefTensorHandleFactory.hpp</a>.</p> |
| 176 | |
| 177 | <p class="reference">References <a class="el" href="_ref_tensor_handle_factory_8cpp_source.html#l00022">RefTensorHandleFactory::CreateSubTensorHandle()</a>, <a class="el" href="_ref_tensor_handle_factory_8cpp_source.html#l00030">RefTensorHandleFactory::CreateTensorHandle()</a>, <a class="el" href="_ref_tensor_handle_factory_8cpp_source.html#l00052">RefTensorHandleFactory::GetExportFlags()</a>, <a class="el" href="_ref_tensor_handle_factory_8cpp_source.html#l00042">RefTensorHandleFactory::GetId()</a>, <a class="el" href="_ref_tensor_handle_factory_8cpp_source.html#l00016">RefTensorHandleFactory::GetIdStatic()</a>, <a class="el" href="_ref_tensor_handle_factory_8cpp_source.html#l00057">RefTensorHandleFactory::GetImportFlags()</a>, and <a class="el" href="_ref_tensor_handle_factory_8cpp_source.html#l00047">RefTensorHandleFactory::SupportsSubTensors()</a>.</p> |
| 178 | <div class="fragment"><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  : m_MemoryManager(mgr),</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  m_ImportFlags(static_cast<MemorySourceFlags>(<a class="code" href="namespacearmnn.html#a0fc99721e27eb20ecd0ea85a3cc8b488a1131a914388fac73e5f07b0ba0aad523">MemorySource::Malloc</a>)),</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  m_ExportFlags(static_cast<MemorySourceFlags>(<a class="code" href="namespacearmnn.html#a0fc99721e27eb20ecd0ea85a3cc8b488a1131a914388fac73e5f07b0ba0aad523">MemorySource::Malloc</a>))</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  {}</div><div class="ttc" id="namespacearmnn_html_a0fc99721e27eb20ecd0ea85a3cc8b488a1131a914388fac73e5f07b0ba0aad523"><div class="ttname"><a href="namespacearmnn.html#a0fc99721e27eb20ecd0ea85a3cc8b488a1131a914388fac73e5f07b0ba0aad523">armnn::MemorySource::Malloc</a></div></div> |
| 179 | </div><!-- fragment --> |
| 180 | </div> |
| 181 | </div> |
| 182 | <h2 class="groupheader">Member Function Documentation</h2> |
| 183 | <a id="abefb9df9d7a54cf2f82047ea350d0388"></a> |
| 184 | <h2 class="memtitle"><span class="permalink"><a href="#abefb9df9d7a54cf2f82047ea350d0388">◆ </a></span>CreateSubTensorHandle()</h2> |
| 185 | |
| 186 | <div class="memitem"> |
| 187 | <div class="memproto"> |
| 188 | <table class="mlabels"> |
| 189 | <tr> |
| 190 | <td class="mlabels-left"> |
| 191 | <table class="memname"> |
| 192 | <tr> |
| 193 | <td class="memname">std::unique_ptr< <a class="el" href="classarmnn_1_1_i_tensor_handle.html">ITensorHandle</a> > CreateSubTensorHandle </td> |
| 194 | <td>(</td> |
| 195 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_tensor_handle.html">ITensorHandle</a> & </td> |
| 196 | <td class="paramname"><em>parent</em>, </td> |
| 197 | </tr> |
| 198 | <tr> |
| 199 | <td class="paramkey"></td> |
| 200 | <td></td> |
| 201 | <td class="paramtype"><a class="el" href="classarmnn_1_1_tensor_shape.html">TensorShape</a> const & </td> |
| 202 | <td class="paramname"><em>subTensorShape</em>, </td> |
| 203 | </tr> |
| 204 | <tr> |
| 205 | <td class="paramkey"></td> |
| 206 | <td></td> |
| 207 | <td class="paramtype">unsigned int const * </td> |
| 208 | <td class="paramname"><em>subTensorOrigin</em> </td> |
| 209 | </tr> |
| 210 | <tr> |
| 211 | <td></td> |
| 212 | <td>)</td> |
| 213 | <td></td><td> const</td> |
| 214 | </tr> |
| 215 | </table> |
| 216 | </td> |
| 217 | <td class="mlabels-right"> |
| 218 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 219 | </tr> |
| 220 | </table> |
| 221 | </div><div class="memdoc"> |
| 222 | |
| 223 | <p>Implements <a class="el" href="classarmnn_1_1_i_tensor_handle_factory.html#ac043991b839903b2ba9da884e4020848">ITensorHandleFactory</a>.</p> |
| 224 | |
| 225 | <p class="definition">Definition at line <a class="el" href="_ref_tensor_handle_factory_8cpp_source.html#l00022">22</a> of file <a class="el" href="_ref_tensor_handle_factory_8cpp_source.html">RefTensorHandleFactory.cpp</a>.</p> |
| 226 | |
| 227 | <p class="reference">Referenced by <a class="el" href="_ref_tensor_handle_factory_8hpp_source.html#l00021">RefTensorHandleFactory::RefTensorHandleFactory()</a>.</p> |
| 228 | <div class="fragment"><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> {</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  boost::ignore_unused(parent, subTensorShape, subTensorOrigin);</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="keywordflow">return</span> <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> }</div></div><!-- fragment --> |
| 229 | </div> |
| 230 | </div> |
| 231 | <a id="a36255ab20159b07024f505d5a58644d0"></a> |
| 232 | <h2 class="memtitle"><span class="permalink"><a href="#a36255ab20159b07024f505d5a58644d0">◆ </a></span>CreateTensorHandle() <span class="overload">[1/2]</span></h2> |
| 233 | |
| 234 | <div class="memitem"> |
| 235 | <div class="memproto"> |
| 236 | <table class="mlabels"> |
| 237 | <tr> |
| 238 | <td class="mlabels-left"> |
| 239 | <table class="memname"> |
| 240 | <tr> |
| 241 | <td class="memname">std::unique_ptr< <a class="el" href="classarmnn_1_1_i_tensor_handle.html">ITensorHandle</a> > CreateTensorHandle </td> |
| 242 | <td>(</td> |
| 243 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_tensor_info.html">TensorInfo</a> & </td> |
| 244 | <td class="paramname"><em>tensorInfo</em></td><td>)</td> |
| 245 | <td> const</td> |
| 246 | </tr> |
| 247 | </table> |
| 248 | </td> |
| 249 | <td class="mlabels-right"> |
| 250 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 251 | </tr> |
| 252 | </table> |
| 253 | </div><div class="memdoc"> |
| 254 | |
| 255 | <p>Implements <a class="el" href="classarmnn_1_1_i_tensor_handle_factory.html#a375f11dd42ff042435e8771cf287b20c">ITensorHandleFactory</a>.</p> |
| 256 | |
| 257 | <p class="definition">Definition at line <a class="el" href="_ref_tensor_handle_factory_8cpp_source.html#l00030">30</a> of file <a class="el" href="_ref_tensor_handle_factory_8cpp_source.html">RefTensorHandleFactory.cpp</a>.</p> |
| 258 | |
| 259 | <p class="reference">Referenced by <a class="el" href="_ref_tensor_handle_factory_8hpp_source.html#l00021">RefTensorHandleFactory::RefTensorHandleFactory()</a>.</p> |
| 260 | <div class="fragment"><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> {</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keywordflow">return</span> std::make_unique<RefTensorHandle>(tensorInfo, m_MemoryManager, m_ImportFlags);</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> }</div></div><!-- fragment --> |
| 261 | </div> |
| 262 | </div> |
| 263 | <a id="a3da30737e325dcae4479e96bdcb6a862"></a> |
| 264 | <h2 class="memtitle"><span class="permalink"><a href="#a3da30737e325dcae4479e96bdcb6a862">◆ </a></span>CreateTensorHandle() <span class="overload">[2/2]</span></h2> |
| 265 | |
| 266 | <div class="memitem"> |
| 267 | <div class="memproto"> |
| 268 | <table class="mlabels"> |
| 269 | <tr> |
| 270 | <td class="mlabels-left"> |
| 271 | <table class="memname"> |
| 272 | <tr> |
| 273 | <td class="memname">std::unique_ptr< <a class="el" href="classarmnn_1_1_i_tensor_handle.html">ITensorHandle</a> > CreateTensorHandle </td> |
| 274 | <td>(</td> |
| 275 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_tensor_info.html">TensorInfo</a> & </td> |
| 276 | <td class="paramname"><em>tensorInfo</em>, </td> |
| 277 | </tr> |
| 278 | <tr> |
| 279 | <td class="paramkey"></td> |
| 280 | <td></td> |
| 281 | <td class="paramtype"><a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">DataLayout</a> </td> |
| 282 | <td class="paramname"><em>dataLayout</em> </td> |
| 283 | </tr> |
| 284 | <tr> |
| 285 | <td></td> |
| 286 | <td>)</td> |
| 287 | <td></td><td> const</td> |
| 288 | </tr> |
| 289 | </table> |
| 290 | </td> |
| 291 | <td class="mlabels-right"> |
| 292 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 293 | </tr> |
| 294 | </table> |
| 295 | </div><div class="memdoc"> |
| 296 | |
| 297 | <p>Implements <a class="el" href="classarmnn_1_1_i_tensor_handle_factory.html#a82c11d5c2878a7beaed8b916eb1df648">ITensorHandleFactory</a>.</p> |
| 298 | |
| 299 | <p class="definition">Definition at line <a class="el" href="_ref_tensor_handle_factory_8cpp_source.html#l00035">35</a> of file <a class="el" href="_ref_tensor_handle_factory_8cpp_source.html">RefTensorHandleFactory.cpp</a>.</p> |
| 300 | <div class="fragment"><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> {</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  boost::ignore_unused(dataLayout);</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keywordflow">return</span> std::make_unique<RefTensorHandle>(tensorInfo, m_MemoryManager, m_ImportFlags);</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> }</div></div><!-- fragment --> |
| 301 | </div> |
| 302 | </div> |
| 303 | <a id="a4d6272060edbc0c5ed7d43db78cc65c6"></a> |
| 304 | <h2 class="memtitle"><span class="permalink"><a href="#a4d6272060edbc0c5ed7d43db78cc65c6">◆ </a></span>GetExportFlags()</h2> |
| 305 | |
| 306 | <div class="memitem"> |
| 307 | <div class="memproto"> |
| 308 | <table class="mlabels"> |
| 309 | <tr> |
| 310 | <td class="mlabels-left"> |
| 311 | <table class="memname"> |
| 312 | <tr> |
| 313 | <td class="memname"><a class="el" href="namespacearmnn.html#a5b05f3b7208ec7cea3338e30057c0bac">MemorySourceFlags</a> GetExportFlags </td> |
| 314 | <td>(</td> |
| 315 | <td class="paramname"></td><td>)</td> |
| 316 | <td> const</td> |
| 317 | </tr> |
| 318 | </table> |
| 319 | </td> |
| 320 | <td class="mlabels-right"> |
| 321 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 322 | </tr> |
| 323 | </table> |
| 324 | </div><div class="memdoc"> |
| 325 | |
| 326 | <p>Reimplemented from <a class="el" href="classarmnn_1_1_i_tensor_handle_factory.html#a9892b82652ffac03f1e4e7ad93906078">ITensorHandleFactory</a>.</p> |
| 327 | |
| 328 | <p class="definition">Definition at line <a class="el" href="_ref_tensor_handle_factory_8cpp_source.html#l00052">52</a> of file <a class="el" href="_ref_tensor_handle_factory_8cpp_source.html">RefTensorHandleFactory.cpp</a>.</p> |
| 329 | |
| 330 | <p class="reference">Referenced by <a class="el" href="_ref_tensor_handle_factory_8hpp_source.html#l00021">RefTensorHandleFactory::RefTensorHandleFactory()</a>.</p> |
| 331 | <div class="fragment"><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> {</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keywordflow">return</span> m_ExportFlags;</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> }</div></div><!-- fragment --> |
| 332 | </div> |
| 333 | </div> |
| 334 | <a id="a0f624341aa5ff798d7a678f612994b98"></a> |
| 335 | <h2 class="memtitle"><span class="permalink"><a href="#a0f624341aa5ff798d7a678f612994b98">◆ </a></span>GetId()</h2> |
| 336 | |
| 337 | <div class="memitem"> |
| 338 | <div class="memproto"> |
| 339 | <table class="mlabels"> |
| 340 | <tr> |
| 341 | <td class="mlabels-left"> |
| 342 | <table class="memname"> |
| 343 | <tr> |
| 344 | <td class="memname">const <a class="el" href="classarmnn_1_1_i_tensor_handle_factory.html#a32f4aa6a7089d877af08928139c2c277">FactoryId</a> & GetId </td> |
| 345 | <td>(</td> |
| 346 | <td class="paramname"></td><td>)</td> |
| 347 | <td> const</td> |
| 348 | </tr> |
| 349 | </table> |
| 350 | </td> |
| 351 | <td class="mlabels-right"> |
| 352 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 353 | </tr> |
| 354 | </table> |
| 355 | </div><div class="memdoc"> |
| 356 | |
| 357 | <p>Implements <a class="el" href="classarmnn_1_1_i_tensor_handle_factory.html#a4afcbe1ccd8f71ba118f210f2a591a4c">ITensorHandleFactory</a>.</p> |
| 358 | |
| 359 | <p class="definition">Definition at line <a class="el" href="_ref_tensor_handle_factory_8cpp_source.html#l00042">42</a> of file <a class="el" href="_ref_tensor_handle_factory_8cpp_source.html">RefTensorHandleFactory.cpp</a>.</p> |
| 360 | |
| 361 | <p class="reference">References <a class="el" href="_ref_tensor_handle_factory_8cpp_source.html#l00016">RefTensorHandleFactory::GetIdStatic()</a>.</p> |
| 362 | |
| 363 | <p class="reference">Referenced by <a class="el" href="_ref_tensor_handle_factory_8hpp_source.html#l00021">RefTensorHandleFactory::RefTensorHandleFactory()</a>.</p> |
| 364 | <div class="fragment"><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> {</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keywordflow">return</span> <a class="code" href="classarmnn_1_1_ref_tensor_handle_factory.html#acdecb5b442434112c2cc8fc48c0ea922">GetIdStatic</a>();</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> }</div><div class="ttc" id="classarmnn_1_1_ref_tensor_handle_factory_html_acdecb5b442434112c2cc8fc48c0ea922"><div class="ttname"><a href="classarmnn_1_1_ref_tensor_handle_factory.html#acdecb5b442434112c2cc8fc48c0ea922">armnn::RefTensorHandleFactory::GetIdStatic</a></div><div class="ttdeci">static const FactoryId & GetIdStatic()</div><div class="ttdef"><b>Definition:</b> <a href="_ref_tensor_handle_factory_8cpp_source.html#l00016">RefTensorHandleFactory.cpp:16</a></div></div> |
| 365 | </div><!-- fragment --> |
| 366 | </div> |
| 367 | </div> |
| 368 | <a id="acdecb5b442434112c2cc8fc48c0ea922"></a> |
| 369 | <h2 class="memtitle"><span class="permalink"><a href="#acdecb5b442434112c2cc8fc48c0ea922">◆ </a></span>GetIdStatic()</h2> |
| 370 | |
| 371 | <div class="memitem"> |
| 372 | <div class="memproto"> |
| 373 | <table class="mlabels"> |
| 374 | <tr> |
| 375 | <td class="mlabels-left"> |
| 376 | <table class="memname"> |
| 377 | <tr> |
| 378 | <td class="memname">const <a class="el" href="classarmnn_1_1_i_tensor_handle_factory.html#a32f4aa6a7089d877af08928139c2c277">FactoryId</a> & GetIdStatic </td> |
| 379 | <td>(</td> |
| 380 | <td class="paramname"></td><td>)</td> |
| 381 | <td></td> |
| 382 | </tr> |
| 383 | </table> |
| 384 | </td> |
| 385 | <td class="mlabels-right"> |
| 386 | <span class="mlabels"><span class="mlabel">static</span></span> </td> |
| 387 | </tr> |
| 388 | </table> |
| 389 | </div><div class="memdoc"> |
| 390 | |
| 391 | <p class="definition">Definition at line <a class="el" href="_ref_tensor_handle_factory_8cpp_source.html#l00016">16</a> of file <a class="el" href="_ref_tensor_handle_factory_8cpp_source.html">RefTensorHandleFactory.cpp</a>.</p> |
| 392 | |
| 393 | <p class="reference">References <a class="el" href="_ref_tensor_handle_factory_8hpp_source.html#l00015">armnn::RefTensorHandleFactoryId()</a>.</p> |
| 394 | |
| 395 | <p class="reference">Referenced by <a class="el" href="_ref_backend_8cpp_source.html#l00082">RefBackend::GetHandleFactoryPreferences()</a>, <a class="el" href="_ref_tensor_handle_factory_8cpp_source.html#l00042">RefTensorHandleFactory::GetId()</a>, and <a class="el" href="_ref_tensor_handle_factory_8hpp_source.html#l00021">RefTensorHandleFactory::RefTensorHandleFactory()</a>.</p> |
| 396 | <div class="fragment"><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> {</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_tensor_handle_factory.html#a32f4aa6a7089d877af08928139c2c277">FactoryId</a> s_Id(<a class="code" href="namespacearmnn.html#a5baedac4819656984488bc1fe5fe1505">RefTensorHandleFactoryId</a>());</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  <span class="keywordflow">return</span> s_Id;</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> }</div><div class="ttc" id="namespacearmnn_html_a5baedac4819656984488bc1fe5fe1505"><div class="ttname"><a href="namespacearmnn.html#a5baedac4819656984488bc1fe5fe1505">armnn::RefTensorHandleFactoryId</a></div><div class="ttdeci">constexpr const char * RefTensorHandleFactoryId()</div><div class="ttdef"><b>Definition:</b> <a href="_ref_tensor_handle_factory_8hpp_source.html#l00015">RefTensorHandleFactory.hpp:15</a></div></div> |
| 397 | <div class="ttc" id="classarmnn_1_1_i_tensor_handle_factory_html_a32f4aa6a7089d877af08928139c2c277"><div class="ttname"><a href="classarmnn_1_1_i_tensor_handle_factory.html#a32f4aa6a7089d877af08928139c2c277">armnn::ITensorHandleFactory::FactoryId</a></div><div class="ttdeci">std::string FactoryId</div><div class="ttdef"><b>Definition:</b> <a href="include_2armnn_2backends_2_i_tensor_handle_factory_8hpp_source.html#l00021">ITensorHandleFactory.hpp:21</a></div></div> |
| 398 | </div><!-- fragment --> |
| 399 | </div> |
| 400 | </div> |
| 401 | <a id="aa1d3334a17a9f136fe65ed833fbf68b4"></a> |
| 402 | <h2 class="memtitle"><span class="permalink"><a href="#aa1d3334a17a9f136fe65ed833fbf68b4">◆ </a></span>GetImportFlags()</h2> |
| 403 | |
| 404 | <div class="memitem"> |
| 405 | <div class="memproto"> |
| 406 | <table class="mlabels"> |
| 407 | <tr> |
| 408 | <td class="mlabels-left"> |
| 409 | <table class="memname"> |
| 410 | <tr> |
| 411 | <td class="memname"><a class="el" href="namespacearmnn.html#a5b05f3b7208ec7cea3338e30057c0bac">MemorySourceFlags</a> GetImportFlags </td> |
| 412 | <td>(</td> |
| 413 | <td class="paramname"></td><td>)</td> |
| 414 | <td> const</td> |
| 415 | </tr> |
| 416 | </table> |
| 417 | </td> |
| 418 | <td class="mlabels-right"> |
| 419 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 420 | </tr> |
| 421 | </table> |
| 422 | </div><div class="memdoc"> |
| 423 | |
| 424 | <p>Reimplemented from <a class="el" href="classarmnn_1_1_i_tensor_handle_factory.html#ab17a7eb3afac8667ace153b0fe2f82fe">ITensorHandleFactory</a>.</p> |
| 425 | |
| 426 | <p class="definition">Definition at line <a class="el" href="_ref_tensor_handle_factory_8cpp_source.html#l00057">57</a> of file <a class="el" href="_ref_tensor_handle_factory_8cpp_source.html">RefTensorHandleFactory.cpp</a>.</p> |
| 427 | |
| 428 | <p class="reference">Referenced by <a class="el" href="_ref_tensor_handle_factory_8hpp_source.html#l00021">RefTensorHandleFactory::RefTensorHandleFactory()</a>.</p> |
| 429 | <div class="fragment"><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> {</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordflow">return</span> m_ImportFlags;</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> }</div></div><!-- fragment --> |
| 430 | </div> |
| 431 | </div> |
| 432 | <a id="aed0a782f32856bde72bc10d9381dc11e"></a> |
| 433 | <h2 class="memtitle"><span class="permalink"><a href="#aed0a782f32856bde72bc10d9381dc11e">◆ </a></span>SupportsSubTensors()</h2> |
| 434 | |
| 435 | <div class="memitem"> |
| 436 | <div class="memproto"> |
| 437 | <table class="mlabels"> |
| 438 | <tr> |
| 439 | <td class="mlabels-left"> |
| 440 | <table class="memname"> |
| 441 | <tr> |
| 442 | <td class="memname">bool SupportsSubTensors </td> |
| 443 | <td>(</td> |
| 444 | <td class="paramname"></td><td>)</td> |
| 445 | <td> const</td> |
| 446 | </tr> |
| 447 | </table> |
| 448 | </td> |
| 449 | <td class="mlabels-right"> |
| 450 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 451 | </tr> |
| 452 | </table> |
| 453 | </div><div class="memdoc"> |
| 454 | |
| 455 | <p>Implements <a class="el" href="classarmnn_1_1_i_tensor_handle_factory.html#a37f4eba7877deb34f4d8d64c9bcb9ab5">ITensorHandleFactory</a>.</p> |
| 456 | |
| 457 | <p class="definition">Definition at line <a class="el" href="_ref_tensor_handle_factory_8cpp_source.html#l00047">47</a> of file <a class="el" href="_ref_tensor_handle_factory_8cpp_source.html">RefTensorHandleFactory.cpp</a>.</p> |
| 458 | |
| 459 | <p class="reference">Referenced by <a class="el" href="_ref_tensor_handle_factory_8hpp_source.html#l00021">RefTensorHandleFactory::RefTensorHandleFactory()</a>.</p> |
| 460 | <div class="fragment"><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> {</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> }</div></div><!-- fragment --> |
| 461 | </div> |
| 462 | </div> |
| 463 | <hr/>The documentation for this class was generated from the following files:<ul> |
| 464 | <li>src/backends/reference/<a class="el" href="_ref_tensor_handle_factory_8hpp_source.html">RefTensorHandleFactory.hpp</a></li> |
| 465 | <li>src/backends/reference/<a class="el" href="_ref_tensor_handle_factory_8cpp_source.html">RefTensorHandleFactory.cpp</a></li> |
| 466 | </ul> |
| 467 | </div><!-- contents --> |
| 468 | </div><!-- doc-content --> |
| 469 | <!-- start footer part --> |
| 470 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 471 | <ul> |
| 472 | <li class="navelem"><a class="el" href="namespacearmnn.html">armnn</a></li><li class="navelem"><a class="el" href="classarmnn_1_1_ref_tensor_handle_factory.html">RefTensorHandleFactory</a></li> |
| 473 | <li class="footer">Generated on Fri Mar 13 2020 16:07:05 for ArmNN by |
| 474 | <a href="http://www.doxygen.org/index.html"> |
| 475 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 476 | </ul> |
| 477 | </div> |
| 478 | </body> |
| 479 | </html> |