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: BackendRegistry 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_backend_registry.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="#nested-classes">Classes</a> | |
| 85 | <a href="#pub-types">Public Types</a> | |
| 86 | <a href="#pub-methods">Public Member Functions</a> | |
| 87 | <a href="#pro-types">Protected Types</a> | |
| 88 | <a href="#pro-static-methods">Static Protected Member Functions</a> | |
| 89 | <a href="classarmnn_1_1_backend_registry-members.html">List of all members</a> </div> |
| 90 | <div class="headertitle"> |
| 91 | <div class="title">BackendRegistry Class Reference</div> </div> |
| 92 | </div><!--header--> |
| 93 | <div class="contents"> |
| 94 | |
| 95 | <p><code>#include <<a class="el" href="_backend_registry_8hpp_source.html">BackendRegistry.hpp</a>></code></p> |
| 96 | <div class="dynheader"> |
| 97 | Inheritance diagram for BackendRegistry:</div> |
| 98 | <div class="dyncontent"> |
| 99 | <div class="center"> |
| 100 | <img src="classarmnn_1_1_backend_registry.png" usemap="#BackendRegistry_map" alt=""/> |
| 101 | <map id="BackendRegistry_map" name="BackendRegistry_map"> |
| 102 | <area href="class_test_backend_registry.html" alt="TestBackendRegistry" shape="rect" coords="0,56,130,80"/> |
| 103 | </map> |
| 104 | </div></div> |
| 105 | <table class="memberdecls"> |
| 106 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> |
| 107 | Classes</h2></td></tr> |
| 108 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_backend_registry_1_1_static_registry_initializer.html">StaticRegistryInitializer</a></td></tr> |
| 109 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 110 | </table><table class="memberdecls"> |
| 111 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a> |
| 112 | Public Types</h2></td></tr> |
| 113 | <tr class="memitem:adca0bb66bf529263ce4ff10875d70f34"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_backend_registry.html#adca0bb66bf529263ce4ff10875d70f34">PointerType</a> = <a class="el" href="namespacearmnn.html#ade0af9dacaa52cafdd701bef2e901c77">IBackendInternalUniquePtr</a></td></tr> |
| 114 | <tr class="separator:adca0bb66bf529263ce4ff10875d70f34"><td class="memSeparator" colspan="2"> </td></tr> |
| 115 | <tr class="memitem:aa33ac375677ee8436456a585dd6f68d9"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_backend_registry.html#aa33ac375677ee8436456a585dd6f68d9">FactoryFunction</a> = std::function< <a class="el" href="classarmnn_1_1_backend_registry.html#adca0bb66bf529263ce4ff10875d70f34">PointerType</a>()></td></tr> |
| 116 | <tr class="separator:aa33ac375677ee8436456a585dd6f68d9"><td class="memSeparator" colspan="2"> </td></tr> |
| 117 | </table><table class="memberdecls"> |
| 118 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| 119 | Public Member Functions</h2></td></tr> |
| 120 | <tr class="memitem:a0318ffa738b798986c4347ea9fe5ab37"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_backend_registry.html#a0318ffa738b798986c4347ea9fe5ab37">Register</a> (const <a class="el" href="classarmnn_1_1_backend_id.html">BackendId</a> &id, <a class="el" href="classarmnn_1_1_backend_registry.html#aa33ac375677ee8436456a585dd6f68d9">FactoryFunction</a> factory)</td></tr> |
| 121 | <tr class="separator:a0318ffa738b798986c4347ea9fe5ab37"><td class="memSeparator" colspan="2"> </td></tr> |
| 122 | <tr class="memitem:a34fad4b6d0db8ebfad2f9178f0a90816"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_backend_registry.html#a34fad4b6d0db8ebfad2f9178f0a90816">IsBackendRegistered</a> (const <a class="el" href="classarmnn_1_1_backend_id.html">BackendId</a> &id) const</td></tr> |
| 123 | <tr class="separator:a34fad4b6d0db8ebfad2f9178f0a90816"><td class="memSeparator" colspan="2"> </td></tr> |
| 124 | <tr class="memitem:afc0c63ca8db8957b58826f6d7bd231b2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_backend_registry.html#aa33ac375677ee8436456a585dd6f68d9">FactoryFunction</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_backend_registry.html#afc0c63ca8db8957b58826f6d7bd231b2">GetFactory</a> (const <a class="el" href="classarmnn_1_1_backend_id.html">BackendId</a> &id) const</td></tr> |
| 125 | <tr class="separator:afc0c63ca8db8957b58826f6d7bd231b2"><td class="memSeparator" colspan="2"> </td></tr> |
| 126 | <tr class="memitem:a58f4b9e873b7c1c7d512bd9f7d1489d8"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_backend_registry.html#a58f4b9e873b7c1c7d512bd9f7d1489d8">Size</a> () const</td></tr> |
| 127 | <tr class="separator:a58f4b9e873b7c1c7d512bd9f7d1489d8"><td class="memSeparator" colspan="2"> </td></tr> |
| 128 | <tr class="memitem:a570cb1835ec73000a7954ba75257904f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn.html#a1854d9cda81304325664363c1fd0fb27">BackendIdSet</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_backend_registry.html#a570cb1835ec73000a7954ba75257904f">GetBackendIds</a> () const</td></tr> |
| 129 | <tr class="separator:a570cb1835ec73000a7954ba75257904f"><td class="memSeparator" colspan="2"> </td></tr> |
| 130 | <tr class="memitem:ae1de2f7ca1db17f45f97155e239b8b45"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_backend_registry.html#ae1de2f7ca1db17f45f97155e239b8b45">GetBackendIdsAsString</a> () const</td></tr> |
| 131 | <tr class="separator:ae1de2f7ca1db17f45f97155e239b8b45"><td class="memSeparator" colspan="2"> </td></tr> |
| 132 | <tr class="memitem:a08cbb268cb7650ae38520297ed1501ba"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_backend_registry.html#a08cbb268cb7650ae38520297ed1501ba">BackendRegistry</a> ()</td></tr> |
| 133 | <tr class="separator:a08cbb268cb7650ae38520297ed1501ba"><td class="memSeparator" colspan="2"> </td></tr> |
| 134 | <tr class="memitem:a8786f3428c374a1f2b08cabde9ffa687"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_backend_registry.html#a8786f3428c374a1f2b08cabde9ffa687">~BackendRegistry</a> ()</td></tr> |
| 135 | <tr class="separator:a8786f3428c374a1f2b08cabde9ffa687"><td class="memSeparator" colspan="2"> </td></tr> |
| 136 | <tr class="memitem:a41895cd60f4b1bfd0b88571a8773ff1c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_backend_registry.html#a41895cd60f4b1bfd0b88571a8773ff1c">Deregister</a> (const <a class="el" href="classarmnn_1_1_backend_id.html">BackendId</a> &id)</td></tr> |
| 137 | <tr class="separator:a41895cd60f4b1bfd0b88571a8773ff1c"><td class="memSeparator" colspan="2"> </td></tr> |
| 138 | </table><table class="memberdecls"> |
| 139 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-types"></a> |
| 140 | Protected Types</h2></td></tr> |
| 141 | <tr class="memitem:a20fb10b59fccc99291e7fe993cd814bb"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_backend_registry.html#a20fb10b59fccc99291e7fe993cd814bb">FactoryStorage</a> = std::unordered_map< <a class="el" href="classarmnn_1_1_backend_id.html">BackendId</a>, <a class="el" href="classarmnn_1_1_backend_registry.html#aa33ac375677ee8436456a585dd6f68d9">FactoryFunction</a> ></td></tr> |
| 142 | <tr class="separator:a20fb10b59fccc99291e7fe993cd814bb"><td class="memSeparator" colspan="2"> </td></tr> |
| 143 | </table><table class="memberdecls"> |
| 144 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-methods"></a> |
| 145 | Static Protected Member Functions</h2></td></tr> |
| 146 | <tr class="memitem:a55a68d31e716a63a8b38998649a07b3c"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_backend_registry.html#a55a68d31e716a63a8b38998649a07b3c">Swap</a> (<a class="el" href="classarmnn_1_1_backend_registry.html">BackendRegistry</a> &instance, <a class="el" href="classarmnn_1_1_backend_registry.html#a20fb10b59fccc99291e7fe993cd814bb">FactoryStorage</a> &other)</td></tr> |
| 147 | <tr class="separator:a55a68d31e716a63a8b38998649a07b3c"><td class="memSeparator" colspan="2"> </td></tr> |
| 148 | </table> |
| 149 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 150 | <div class="textblock"> |
| 151 | <p class="definition">Definition at line <a class="el" href="_backend_registry_8hpp_source.html#l00020">20</a> of file <a class="el" href="_backend_registry_8hpp_source.html">BackendRegistry.hpp</a>.</p> |
| 152 | </div><h2 class="groupheader">Member Typedef Documentation</h2> |
| 153 | <a id="aa33ac375677ee8436456a585dd6f68d9"></a> |
| 154 | <h2 class="memtitle"><span class="permalink"><a href="#aa33ac375677ee8436456a585dd6f68d9">◆ </a></span>FactoryFunction</h2> |
| 155 | |
| 156 | <div class="memitem"> |
| 157 | <div class="memproto"> |
| 158 | <table class="memname"> |
| 159 | <tr> |
| 160 | <td class="memname">using <a class="el" href="classarmnn_1_1_backend_registry.html#aa33ac375677ee8436456a585dd6f68d9">FactoryFunction</a> = std::function<<a class="el" href="classarmnn_1_1_backend_registry.html#adca0bb66bf529263ce4ff10875d70f34">PointerType</a>()></td> |
| 161 | </tr> |
| 162 | </table> |
| 163 | </div><div class="memdoc"> |
| 164 | |
| 165 | <p class="definition">Definition at line <a class="el" href="_backend_registry_8hpp_source.html#l00024">24</a> of file <a class="el" href="_backend_registry_8hpp_source.html">BackendRegistry.hpp</a>.</p> |
| 166 | |
| 167 | </div> |
| 168 | </div> |
| 169 | <a id="a20fb10b59fccc99291e7fe993cd814bb"></a> |
| 170 | <h2 class="memtitle"><span class="permalink"><a href="#a20fb10b59fccc99291e7fe993cd814bb">◆ </a></span>FactoryStorage</h2> |
| 171 | |
| 172 | <div class="memitem"> |
| 173 | <div class="memproto"> |
| 174 | <table class="mlabels"> |
| 175 | <tr> |
| 176 | <td class="mlabels-left"> |
| 177 | <table class="memname"> |
| 178 | <tr> |
| 179 | <td class="memname">using <a class="el" href="classarmnn_1_1_backend_registry.html#a20fb10b59fccc99291e7fe993cd814bb">FactoryStorage</a> = std::unordered_map<<a class="el" href="classarmnn_1_1_backend_id.html">BackendId</a>, <a class="el" href="classarmnn_1_1_backend_registry.html#aa33ac375677ee8436456a585dd6f68d9">FactoryFunction</a>></td> |
| 180 | </tr> |
| 181 | </table> |
| 182 | </td> |
| 183 | <td class="mlabels-right"> |
| 184 | <span class="mlabels"><span class="mlabel">protected</span></span> </td> |
| 185 | </tr> |
| 186 | </table> |
| 187 | </div><div class="memdoc"> |
| 188 | |
| 189 | <p class="definition">Definition at line <a class="el" href="_backend_registry_8hpp_source.html#l00049">49</a> of file <a class="el" href="_backend_registry_8hpp_source.html">BackendRegistry.hpp</a>.</p> |
| 190 | |
| 191 | </div> |
| 192 | </div> |
| 193 | <a id="adca0bb66bf529263ce4ff10875d70f34"></a> |
| 194 | <h2 class="memtitle"><span class="permalink"><a href="#adca0bb66bf529263ce4ff10875d70f34">◆ </a></span>PointerType</h2> |
| 195 | |
| 196 | <div class="memitem"> |
| 197 | <div class="memproto"> |
| 198 | <table class="memname"> |
| 199 | <tr> |
| 200 | <td class="memname">using <a class="el" href="classarmnn_1_1_backend_registry.html#adca0bb66bf529263ce4ff10875d70f34">PointerType</a> = <a class="el" href="namespacearmnn.html#ade0af9dacaa52cafdd701bef2e901c77">IBackendInternalUniquePtr</a></td> |
| 201 | </tr> |
| 202 | </table> |
| 203 | </div><div class="memdoc"> |
| 204 | |
| 205 | <p class="definition">Definition at line <a class="el" href="_backend_registry_8hpp_source.html#l00023">23</a> of file <a class="el" href="_backend_registry_8hpp_source.html">BackendRegistry.hpp</a>.</p> |
| 206 | |
| 207 | </div> |
| 208 | </div> |
| 209 | <h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| 210 | <a id="a08cbb268cb7650ae38520297ed1501ba"></a> |
| 211 | <h2 class="memtitle"><span class="permalink"><a href="#a08cbb268cb7650ae38520297ed1501ba">◆ </a></span>BackendRegistry()</h2> |
| 212 | |
| 213 | <div class="memitem"> |
| 214 | <div class="memproto"> |
| 215 | <table class="mlabels"> |
| 216 | <tr> |
| 217 | <td class="mlabels-left"> |
| 218 | <table class="memname"> |
| 219 | <tr> |
| 220 | <td class="memname"><a class="el" href="classarmnn_1_1_backend_registry.html">BackendRegistry</a> </td> |
| 221 | <td>(</td> |
| 222 | <td class="paramname"></td><td>)</td> |
| 223 | <td></td> |
| 224 | </tr> |
| 225 | </table> |
| 226 | </td> |
| 227 | <td class="mlabels-right"> |
| 228 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 229 | </tr> |
| 230 | </table> |
| 231 | </div><div class="memdoc"> |
| 232 | |
| 233 | <p class="definition">Definition at line <a class="el" href="_backend_registry_8hpp_source.html#l00033">33</a> of file <a class="el" href="_backend_registry_8hpp_source.html">BackendRegistry.hpp</a>.</p> |
| 234 | <div class="fragment"><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> {}</div></div><!-- fragment --> |
| 235 | </div> |
| 236 | </div> |
| 237 | <a id="a8786f3428c374a1f2b08cabde9ffa687"></a> |
| 238 | <h2 class="memtitle"><span class="permalink"><a href="#a8786f3428c374a1f2b08cabde9ffa687">◆ </a></span>~BackendRegistry()</h2> |
| 239 | |
| 240 | <div class="memitem"> |
| 241 | <div class="memproto"> |
| 242 | <table class="mlabels"> |
| 243 | <tr> |
| 244 | <td class="mlabels-left"> |
| 245 | <table class="memname"> |
| 246 | <tr> |
| 247 | <td class="memname">virtual ~<a class="el" href="classarmnn_1_1_backend_registry.html">BackendRegistry</a> </td> |
| 248 | <td>(</td> |
| 249 | <td class="paramname"></td><td>)</td> |
| 250 | <td></td> |
| 251 | </tr> |
| 252 | </table> |
| 253 | </td> |
| 254 | <td class="mlabels-right"> |
| 255 | <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td> |
| 256 | </tr> |
| 257 | </table> |
| 258 | </div><div class="memdoc"> |
| 259 | |
| 260 | <p class="definition">Definition at line <a class="el" href="_backend_registry_8hpp_source.html#l00034">34</a> of file <a class="el" href="_backend_registry_8hpp_source.html">BackendRegistry.hpp</a>.</p> |
| 261 | <div class="fragment"><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> {}</div></div><!-- fragment --> |
| 262 | </div> |
| 263 | </div> |
| 264 | <h2 class="groupheader">Member Function Documentation</h2> |
| 265 | <a id="a41895cd60f4b1bfd0b88571a8773ff1c"></a> |
| 266 | <h2 class="memtitle"><span class="permalink"><a href="#a41895cd60f4b1bfd0b88571a8773ff1c">◆ </a></span>Deregister()</h2> |
| 267 | |
| 268 | <div class="memitem"> |
| 269 | <div class="memproto"> |
| 270 | <table class="memname"> |
| 271 | <tr> |
| 272 | <td class="memname">void Deregister </td> |
| 273 | <td>(</td> |
| 274 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_backend_id.html">BackendId</a> & </td> |
| 275 | <td class="paramname"><em>id</em></td><td>)</td> |
| 276 | <td></td> |
| 277 | </tr> |
| 278 | </table> |
| 279 | </div><div class="memdoc"> |
| 280 | |
| 281 | <p class="definition">Definition at line <a class="el" href="_backend_registry_8cpp_source.html#l00034">34</a> of file <a class="el" href="_backend_registry_8cpp_source.html">BackendRegistry.cpp</a>.</p> |
| 282 | |
| 283 | <p class="reference">References <a class="el" href="_profiling_service_8cpp_source.html#l00272">ProfilingService::IncrementCounterValue()</a>, and <a class="el" href="_profiling_service_8hpp_source.html#l00052">ProfilingService::Instance()</a>.</p> |
| 284 | |
| 285 | <p class="reference">Referenced by <a class="el" href="_backend_registry_tests_8cpp_source.html#l00048">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_dynamic_backend_utils_8cpp_source.html#l00314">DynamicBackendUtils::DeregisterDynamicBackends()</a>, <a class="el" href="_backend_registry_8hpp_source.html#l00038">BackendRegistry::StaticRegistryInitializer::StaticRegistryInitializer()</a>, and <a class="el" href="_mock_backend_8cpp_source.html#l00079">MockBackendInitialiser::~MockBackendInitialiser()</a>.</p> |
| 286 | <div class="fragment"><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> {</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.html#a6d016886de3596fe67dbabf107168f97">profiling::ProfilingService::Instance</a>().IsProfilingEnabled())</div><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>  <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.html#a6d016886de3596fe67dbabf107168f97">profiling::ProfilingService::Instance</a>().<a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.html#a6c2d955d387944f5b7ad37ebb435a37f">IncrementCounterValue</a>(armnn::profiling::UNREGISTERED_BACKENDS);</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  }</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  m_Factories.erase(<span class="keywordtype">id</span>);</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> }</div><div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_html_a6c2d955d387944f5b7ad37ebb435a37f"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.html#a6c2d955d387944f5b7ad37ebb435a37f">armnn::profiling::ProfilingService::IncrementCounterValue</a></div><div class="ttdeci">uint32_t IncrementCounterValue(uint16_t counterUid) override</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.html#l00272">ProfilingService.cpp:272</a></div></div> |
| 287 | <div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_html_a6d016886de3596fe67dbabf107168f97"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.html#a6d016886de3596fe67dbabf107168f97">armnn::profiling::ProfilingService::Instance</a></div><div class="ttdeci">static ProfilingService & Instance()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.html#l00052">ProfilingService.hpp:52</a></div></div> |
| 288 | </div><!-- fragment --> |
| 289 | </div> |
| 290 | </div> |
| 291 | <a id="a570cb1835ec73000a7954ba75257904f"></a> |
| 292 | <h2 class="memtitle"><span class="permalink"><a href="#a570cb1835ec73000a7954ba75257904f">◆ </a></span>GetBackendIds()</h2> |
| 293 | |
| 294 | <div class="memitem"> |
| 295 | <div class="memproto"> |
| 296 | <table class="memname"> |
| 297 | <tr> |
| 298 | <td class="memname"><a class="el" href="namespacearmnn.html#a1854d9cda81304325664363c1fd0fb27">BackendIdSet</a> GetBackendIds </td> |
| 299 | <td>(</td> |
| 300 | <td class="paramname"></td><td>)</td> |
| 301 | <td> const</td> |
| 302 | </tr> |
| 303 | </table> |
| 304 | </div><div class="memdoc"> |
| 305 | |
| 306 | <p class="definition">Definition at line <a class="el" href="_backend_registry_8cpp_source.html#l00066">66</a> of file <a class="el" href="_backend_registry_8cpp_source.html">BackendRegistry.cpp</a>.</p> |
| 307 | |
| 308 | <p class="reference">Referenced by <a class="el" href="_backend_registry_8cpp_source.html#l00076">BackendRegistry::GetBackendIdsAsString()</a>.</p> |
| 309 | <div class="fragment"><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> {</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <a class="code" href="namespacearmnn.html#a1854d9cda81304325664363c1fd0fb27">BackendIdSet</a> result;</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keywordflow">for</span> (<span class="keyword">const</span> <span class="keyword">auto</span>& it : m_Factories)</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  {</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  result.insert(it.first);</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  }</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keywordflow">return</span> result;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> }</div><div class="ttc" id="namespacearmnn_html_a1854d9cda81304325664363c1fd0fb27"><div class="ttname"><a href="namespacearmnn.html#a1854d9cda81304325664363c1fd0fb27">armnn::BackendIdSet</a></div><div class="ttdeci">std::unordered_set< BackendId > BackendIdSet</div><div class="ttdef"><b>Definition:</b> <a href="_backend_id_8hpp_source.html#l00191">BackendId.hpp:191</a></div></div> |
| 310 | </div><!-- fragment --> |
| 311 | </div> |
| 312 | </div> |
| 313 | <a id="ae1de2f7ca1db17f45f97155e239b8b45"></a> |
| 314 | <h2 class="memtitle"><span class="permalink"><a href="#ae1de2f7ca1db17f45f97155e239b8b45">◆ </a></span>GetBackendIdsAsString()</h2> |
| 315 | |
| 316 | <div class="memitem"> |
| 317 | <div class="memproto"> |
| 318 | <table class="memname"> |
| 319 | <tr> |
| 320 | <td class="memname">std::string GetBackendIdsAsString </td> |
| 321 | <td>(</td> |
| 322 | <td class="paramname"></td><td>)</td> |
| 323 | <td> const</td> |
| 324 | </tr> |
| 325 | </table> |
| 326 | </div><div class="memdoc"> |
| 327 | |
| 328 | <p class="definition">Definition at line <a class="el" href="_backend_registry_8cpp_source.html#l00076">76</a> of file <a class="el" href="_backend_registry_8cpp_source.html">BackendRegistry.cpp</a>.</p> |
| 329 | |
| 330 | <p class="reference">References <a class="el" href="_backend_registry_8cpp_source.html#l00066">BackendRegistry::GetBackendIds()</a>.</p> |
| 331 | |
| 332 | <p class="reference">Referenced by <a class="el" href="_inference_model_8hpp_source.html#l00341">InferenceModel< IParser, TDataType >::AddCommandLineOptions()</a>, <a class="el" href="_execute_network_8cpp_source.html#l00009">main()</a>, and <a class="el" href="_network_execution_utils_8hpp_source.html#l00731">RunCsvTest()</a>.</p> |
| 333 | <div class="fragment"><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> {</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keyword">static</span> <span class="keyword">const</span> std::string delimitator = <span class="stringliteral">", "</span>;</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> </div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  std::stringstream output;</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keywordflow">for</span> (<span class="keyword">auto</span>& backendId : <a class="code" href="classarmnn_1_1_backend_registry.html#a570cb1835ec73000a7954ba75257904f">GetBackendIds</a>())</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  {</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keywordflow">if</span> (output.tellp() != std::streampos(0))</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  {</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  output << delimitator;</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  }</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  output << backendId;</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  }</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span> </div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keywordflow">return</span> output.str();</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> }</div><div class="ttc" id="classarmnn_1_1_backend_registry_html_a570cb1835ec73000a7954ba75257904f"><div class="ttname"><a href="classarmnn_1_1_backend_registry.html#a570cb1835ec73000a7954ba75257904f">armnn::BackendRegistry::GetBackendIds</a></div><div class="ttdeci">BackendIdSet GetBackendIds() const</div><div class="ttdef"><b>Definition:</b> <a href="_backend_registry_8cpp_source.html#l00066">BackendRegistry.cpp:66</a></div></div> |
| 334 | </div><!-- fragment --> |
| 335 | </div> |
| 336 | </div> |
| 337 | <a id="afc0c63ca8db8957b58826f6d7bd231b2"></a> |
| 338 | <h2 class="memtitle"><span class="permalink"><a href="#afc0c63ca8db8957b58826f6d7bd231b2">◆ </a></span>GetFactory()</h2> |
| 339 | |
| 340 | <div class="memitem"> |
| 341 | <div class="memproto"> |
| 342 | <table class="memname"> |
| 343 | <tr> |
| 344 | <td class="memname"><a class="el" href="classarmnn_1_1_backend_registry.html#aa33ac375677ee8436456a585dd6f68d9">BackendRegistry::FactoryFunction</a> GetFactory </td> |
| 345 | <td>(</td> |
| 346 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_backend_id.html">BackendId</a> & </td> |
| 347 | <td class="paramname"><em>id</em></td><td>)</td> |
| 348 | <td> const</td> |
| 349 | </tr> |
| 350 | </table> |
| 351 | </div><div class="memdoc"> |
| 352 | |
| 353 | <p class="definition">Definition at line <a class="el" href="_backend_registry_8cpp_source.html#l00048">48</a> of file <a class="el" href="_backend_registry_8cpp_source.html">BackendRegistry.cpp</a>.</p> |
| 354 | |
| 355 | <p class="reference">References <a class="el" href="_exceptions_8hpp_source.html#l00169">CHECK_LOCATION</a>.</p> |
| 356 | |
| 357 | <p class="reference">Referenced by <a class="el" href="_backend_registry_tests_8cpp_source.html#l00048">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_backend_helper_8cpp_source.html#l00014">armnn::GetILayerSupportByBackendId()</a>, <a class="el" href="_loaded_network_8cpp_source.html#l00085">LoadedNetwork::MakeLoadedNetwork()</a>, <a class="el" href="_network_8cpp_source.html#l00807">armnn::Optimize()</a>, and <a class="el" href="_runtime_8cpp_source.html#l00155">Runtime::Runtime()</a>.</p> |
| 358 | <div class="fragment"><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> {</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keyword">auto</span> it = m_Factories.find(<span class="keywordtype">id</span>);</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keywordflow">if</span> (it == m_Factories.end())</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  {</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keywordflow">throw</span> InvalidArgumentException(</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  std::string(<span class="keywordtype">id</span>) + <span class="stringliteral">" has no IBackend factory registered"</span>,</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <a class="code" href="_exceptions_8hpp.html#aa3be76aec4ce713822a5ea1ecbb7bc61">CHECK_LOCATION</a>());</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  }</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keywordflow">return</span> it->second;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> }</div><div class="ttc" id="_exceptions_8hpp_html_aa3be76aec4ce713822a5ea1ecbb7bc61"><div class="ttname"><a href="_exceptions_8hpp.html#aa3be76aec4ce713822a5ea1ecbb7bc61">CHECK_LOCATION</a></div><div class="ttdeci">#define CHECK_LOCATION()</div><div class="ttdef"><b>Definition:</b> <a href="_exceptions_8hpp_source.html#l00169">Exceptions.hpp:169</a></div></div> |
| 359 | </div><!-- fragment --> |
| 360 | </div> |
| 361 | </div> |
| 362 | <a id="a34fad4b6d0db8ebfad2f9178f0a90816"></a> |
| 363 | <h2 class="memtitle"><span class="permalink"><a href="#a34fad4b6d0db8ebfad2f9178f0a90816">◆ </a></span>IsBackendRegistered()</h2> |
| 364 | |
| 365 | <div class="memitem"> |
| 366 | <div class="memproto"> |
| 367 | <table class="memname"> |
| 368 | <tr> |
| 369 | <td class="memname">bool IsBackendRegistered </td> |
| 370 | <td>(</td> |
| 371 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_backend_id.html">BackendId</a> & </td> |
| 372 | <td class="paramname"><em>id</em></td><td>)</td> |
| 373 | <td> const</td> |
| 374 | </tr> |
| 375 | </table> |
| 376 | </div><div class="memdoc"> |
| 377 | |
| 378 | <p class="definition">Definition at line <a class="el" href="_backend_registry_8cpp_source.html#l00043">43</a> of file <a class="el" href="_backend_registry_8cpp_source.html">BackendRegistry.cpp</a>.</p> |
| 379 | |
| 380 | <p class="reference">Referenced by <a class="el" href="_backend_helper_8cpp_source.html#l00014">armnn::GetILayerSupportByBackendId()</a>, and <a class="el" href="_dynamic_backend_utils_8cpp_source.html#l00335">DynamicBackendUtils::RegisterDynamicBackendsImpl()</a>.</p> |
| 381 | <div class="fragment"><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> {</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keywordflow">return</span> (m_Factories.find(<span class="keywordtype">id</span>) != m_Factories.end());</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> }</div></div><!-- fragment --> |
| 382 | </div> |
| 383 | </div> |
| 384 | <a id="a0318ffa738b798986c4347ea9fe5ab37"></a> |
| 385 | <h2 class="memtitle"><span class="permalink"><a href="#a0318ffa738b798986c4347ea9fe5ab37">◆ </a></span>Register()</h2> |
| 386 | |
| 387 | <div class="memitem"> |
| 388 | <div class="memproto"> |
| 389 | <table class="memname"> |
| 390 | <tr> |
| 391 | <td class="memname">void Register </td> |
| 392 | <td>(</td> |
| 393 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_backend_id.html">BackendId</a> & </td> |
| 394 | <td class="paramname"><em>id</em>, </td> |
| 395 | </tr> |
| 396 | <tr> |
| 397 | <td class="paramkey"></td> |
| 398 | <td></td> |
| 399 | <td class="paramtype"><a class="el" href="classarmnn_1_1_backend_registry.html#aa33ac375677ee8436456a585dd6f68d9">BackendRegistry::FactoryFunction</a> </td> |
| 400 | <td class="paramname"><em>factory</em> </td> |
| 401 | </tr> |
| 402 | <tr> |
| 403 | <td></td> |
| 404 | <td>)</td> |
| 405 | <td></td><td></td> |
| 406 | </tr> |
| 407 | </table> |
| 408 | </div><div class="memdoc"> |
| 409 | |
| 410 | <p class="definition">Definition at line <a class="el" href="_backend_registry_8cpp_source.html#l00019">19</a> of file <a class="el" href="_backend_registry_8cpp_source.html">BackendRegistry.cpp</a>.</p> |
| 411 | |
| 412 | <p class="reference">References <a class="el" href="_exceptions_8hpp_source.html#l00169">CHECK_LOCATION</a>, <a class="el" href="_profiling_service_8cpp_source.html#l00272">ProfilingService::IncrementCounterValue()</a>, and <a class="el" href="_profiling_service_8hpp_source.html#l00052">ProfilingService::Instance()</a>.</p> |
| 413 | |
| 414 | <p class="reference">Referenced by <a class="el" href="_backend_registry_tests_8cpp_source.html#l00078">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_mock_backend_8cpp_source.html#l00070">MockBackendInitialiser::MockBackendInitialiser()</a>, <a class="el" href="_dynamic_backend_utils_8cpp_source.html#l00335">DynamicBackendUtils::RegisterDynamicBackendsImpl()</a>, and <a class="el" href="_backend_registry_8hpp_source.html#l00038">BackendRegistry::StaticRegistryInitializer::StaticRegistryInitializer()</a>.</p> |
| 415 | <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>  <span class="keywordflow">if</span> (m_Factories.find(<span class="keywordtype">id</span>) != m_Factories.end())</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  {</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="keywordflow">throw</span> InvalidArgumentException(</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  std::string(<span class="keywordtype">id</span>) + <span class="stringliteral">" already registered as IBackend factory"</span>,</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <a class="code" href="_exceptions_8hpp.html#aa3be76aec4ce713822a5ea1ecbb7bc61">CHECK_LOCATION</a>());</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  }</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.html#a6d016886de3596fe67dbabf107168f97">profiling::ProfilingService::Instance</a>().IsProfilingEnabled())</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  {</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.html#a6d016886de3596fe67dbabf107168f97">profiling::ProfilingService::Instance</a>().<a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.html#a6c2d955d387944f5b7ad37ebb435a37f">IncrementCounterValue</a>(armnn::profiling::REGISTERED_BACKENDS);</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  }</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  m_Factories[id] = factory;</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> }</div><div class="ttc" id="_exceptions_8hpp_html_aa3be76aec4ce713822a5ea1ecbb7bc61"><div class="ttname"><a href="_exceptions_8hpp.html#aa3be76aec4ce713822a5ea1ecbb7bc61">CHECK_LOCATION</a></div><div class="ttdeci">#define CHECK_LOCATION()</div><div class="ttdef"><b>Definition:</b> <a href="_exceptions_8hpp_source.html#l00169">Exceptions.hpp:169</a></div></div> |
| 416 | <div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_html_a6c2d955d387944f5b7ad37ebb435a37f"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.html#a6c2d955d387944f5b7ad37ebb435a37f">armnn::profiling::ProfilingService::IncrementCounterValue</a></div><div class="ttdeci">uint32_t IncrementCounterValue(uint16_t counterUid) override</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8cpp_source.html#l00272">ProfilingService.cpp:272</a></div></div> |
| 417 | <div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_html_a6d016886de3596fe67dbabf107168f97"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.html#a6d016886de3596fe67dbabf107168f97">armnn::profiling::ProfilingService::Instance</a></div><div class="ttdeci">static ProfilingService & Instance()</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.html#l00052">ProfilingService.hpp:52</a></div></div> |
| 418 | </div><!-- fragment --> |
| 419 | </div> |
| 420 | </div> |
| 421 | <a id="a58f4b9e873b7c1c7d512bd9f7d1489d8"></a> |
| 422 | <h2 class="memtitle"><span class="permalink"><a href="#a58f4b9e873b7c1c7d512bd9f7d1489d8">◆ </a></span>Size()</h2> |
| 423 | |
| 424 | <div class="memitem"> |
| 425 | <div class="memproto"> |
| 426 | <table class="memname"> |
| 427 | <tr> |
| 428 | <td class="memname">size_t Size </td> |
| 429 | <td>(</td> |
| 430 | <td class="paramname"></td><td>)</td> |
| 431 | <td> const</td> |
| 432 | </tr> |
| 433 | </table> |
| 434 | </div><div class="memdoc"> |
| 435 | |
| 436 | <p class="definition">Definition at line <a class="el" href="_backend_registry_8cpp_source.html#l00061">61</a> of file <a class="el" href="_backend_registry_8cpp_source.html">BackendRegistry.cpp</a>.</p> |
| 437 | |
| 438 | <p class="reference">Referenced by <a class="el" href="_backend_registry_tests_8cpp_source.html#l00037">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_dynamic_backend_tests_8hpp_source.html#l00871">RegisterSingleDynamicBackendTestImpl()</a>, <a class="el" href="_dynamic_backend_tests_8hpp_source.html#l01202">RuntimeEmptyTestImpl()</a>, and <a class="el" href="_dynamic_backend_tests_8hpp_source.html#l01331">RuntimeInvalidOverridePathTestImpl()</a>.</p> |
| 439 | <div class="fragment"><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> {</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordflow">return</span> m_Factories.size();</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> }</div></div><!-- fragment --> |
| 440 | </div> |
| 441 | </div> |
| 442 | <a id="a55a68d31e716a63a8b38998649a07b3c"></a> |
| 443 | <h2 class="memtitle"><span class="permalink"><a href="#a55a68d31e716a63a8b38998649a07b3c">◆ </a></span>Swap()</h2> |
| 444 | |
| 445 | <div class="memitem"> |
| 446 | <div class="memproto"> |
| 447 | <table class="mlabels"> |
| 448 | <tr> |
| 449 | <td class="mlabels-left"> |
| 450 | <table class="memname"> |
| 451 | <tr> |
| 452 | <td class="memname">void Swap </td> |
| 453 | <td>(</td> |
| 454 | <td class="paramtype"><a class="el" href="classarmnn_1_1_backend_registry.html">BackendRegistry</a> & </td> |
| 455 | <td class="paramname"><em>instance</em>, </td> |
| 456 | </tr> |
| 457 | <tr> |
| 458 | <td class="paramkey"></td> |
| 459 | <td></td> |
| 460 | <td class="paramtype"><a class="el" href="classarmnn_1_1_backend_registry.html#a20fb10b59fccc99291e7fe993cd814bb">BackendRegistry::FactoryStorage</a> & </td> |
| 461 | <td class="paramname"><em>other</em> </td> |
| 462 | </tr> |
| 463 | <tr> |
| 464 | <td></td> |
| 465 | <td>)</td> |
| 466 | <td></td><td></td> |
| 467 | </tr> |
| 468 | </table> |
| 469 | </td> |
| 470 | <td class="mlabels-right"> |
| 471 | <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span> </td> |
| 472 | </tr> |
| 473 | </table> |
| 474 | </div><div class="memdoc"> |
| 475 | |
| 476 | <p class="definition">Definition at line <a class="el" href="_backend_registry_8cpp_source.html#l00093">93</a> of file <a class="el" href="_backend_registry_8cpp_source.html">BackendRegistry.cpp</a>.</p> |
| 477 | |
| 478 | <p class="reference">References <a class="el" href="_descriptors_8cpp_source.html#l00342">armnn::swap()</a>.</p> |
| 479 | <div class="fragment"><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> {</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <a class="code" href="namespacearmnn.html#a14d7f180bf51e86850305965c3707e07">std::swap</a>(instance.m_Factories, other);</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span> }</div><div class="ttc" id="namespacearmnn_html_a14d7f180bf51e86850305965c3707e07"><div class="ttname"><a href="namespacearmnn.html#a14d7f180bf51e86850305965c3707e07">armnn::swap</a></div><div class="ttdeci">void swap(OriginsDescriptor &first, OriginsDescriptor &second)</div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8cpp_source.html#l00342">Descriptors.cpp:342</a></div></div> |
| 480 | </div><!-- fragment --> |
| 481 | </div> |
| 482 | </div> |
| 483 | <hr/>The documentation for this class was generated from the following files:<ul> |
| 484 | <li>include/armnn/<a class="el" href="_backend_registry_8hpp_source.html">BackendRegistry.hpp</a></li> |
| 485 | <li>src/armnn/<a class="el" href="_backend_registry_8cpp_source.html">BackendRegistry.cpp</a></li> |
| 486 | </ul> |
| 487 | </div><!-- contents --> |
| 488 | </div><!-- doc-content --> |
| 489 | <!-- start footer part --> |
| 490 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 491 | <ul> |
| 492 | <li class="navelem"><a class="el" href="namespacearmnn.html">armnn</a></li><li class="navelem"><a class="el" href="classarmnn_1_1_backend_registry.html">BackendRegistry</a></li> |
| 493 | <li class="footer">Generated on Fri Mar 13 2020 16:07:02 for ArmNN by |
| 494 | <a href="http://www.doxygen.org/index.html"> |
| 495 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 496 | </ul> |
| 497 | </div> |
| 498 | </body> |
| 499 | </html> |