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: IRuntime 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_i_runtime.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-methods">Public Member Functions</a> | |
| 86 | <a href="#pub-static-methods">Static Public Member Functions</a> | |
| 87 | <a href="#pro-methods">Protected Member Functions</a> | |
| 88 | <a href="classarmnn_1_1_i_runtime-members.html">List of all members</a> </div> |
| 89 | <div class="headertitle"> |
| 90 | <div class="title">IRuntime Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div> |
| 91 | </div><!--header--> |
| 92 | <div class="contents"> |
| 93 | |
| 94 | <p><code>#include <<a class="el" href="_i_runtime_8hpp_source.html">IRuntime.hpp</a>></code></p> |
| 95 | <div class="dynheader"> |
| 96 | Inheritance diagram for IRuntime:</div> |
| 97 | <div class="dyncontent"> |
| 98 | <div class="center"> |
| 99 | <img src="classarmnn_1_1_i_runtime.png" usemap="#IRuntime_map" alt=""/> |
| 100 | <map id="IRuntime_map" name="IRuntime_map"> |
| 101 | <area href="classarmnn_1_1_runtime.html" alt="Runtime" shape="rect" coords="0,56,59,80"/> |
| 102 | </map> |
| 103 | </div></div> |
| 104 | <table class="memberdecls"> |
| 105 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> |
| 106 | Classes</h2></td></tr> |
| 107 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_i_runtime_1_1_creation_options.html">CreationOptions</a></td></tr> |
| 108 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 109 | </table><table class="memberdecls"> |
| 110 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| 111 | Public Member Functions</h2></td></tr> |
| 112 | <tr class="memitem:acf44b518011359b594bf20fe444d1165"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_runtime.html#acf44b518011359b594bf20fe444d1165">LoadNetwork</a> (<a class="el" href="namespacearmnn.html#a83015160d8c67d5d77735eb0d4033d9a">NetworkId</a> &networkIdOut, <a class="el" href="namespacearmnn.html#a674efcf6cbdb9e831d653ff0e821fb38">IOptimizedNetworkPtr</a> network)=0</td></tr> |
| 113 | <tr class="separator:acf44b518011359b594bf20fe444d1165"><td class="memSeparator" colspan="2"> </td></tr> |
| 114 | <tr class="memitem:a59c572133d8ff0136c8e13c98694fd30"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_runtime.html#a59c572133d8ff0136c8e13c98694fd30">LoadNetwork</a> (<a class="el" href="namespacearmnn.html#a83015160d8c67d5d77735eb0d4033d9a">NetworkId</a> &networkIdOut, <a class="el" href="namespacearmnn.html#a674efcf6cbdb9e831d653ff0e821fb38">IOptimizedNetworkPtr</a> network, std::string &errorMessage)=0</td></tr> |
| 115 | <tr class="separator:a59c572133d8ff0136c8e13c98694fd30"><td class="memSeparator" colspan="2"> </td></tr> |
| 116 | <tr class="memitem:a7cc77101a5437bf82fb7891c5c4a7e69"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_runtime.html#a7cc77101a5437bf82fb7891c5c4a7e69">LoadNetwork</a> (<a class="el" href="namespacearmnn.html#a83015160d8c67d5d77735eb0d4033d9a">NetworkId</a> &networkIdOut, <a class="el" href="namespacearmnn.html#a674efcf6cbdb9e831d653ff0e821fb38">IOptimizedNetworkPtr</a> network, std::string &errorMessage, const <a class="el" href="structarmnn_1_1_i_network_properties.html">INetworkProperties</a> &networkProperties)=0</td></tr> |
| 117 | <tr class="separator:a7cc77101a5437bf82fb7891c5c4a7e69"><td class="memSeparator" colspan="2"> </td></tr> |
| 118 | <tr class="memitem:a41ac6ca444d41e6147f48a71def60d61"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classarmnn_1_1_tensor_info.html">TensorInfo</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_runtime.html#a41ac6ca444d41e6147f48a71def60d61">GetInputTensorInfo</a> (<a class="el" href="namespacearmnn.html#a83015160d8c67d5d77735eb0d4033d9a">NetworkId</a> networkId, <a class="el" href="namespacearmnn.html#ab8cf8f9fb6792e654c2d8d8382f6f01b">LayerBindingId</a> layerId) const =0</td></tr> |
| 119 | <tr class="separator:a41ac6ca444d41e6147f48a71def60d61"><td class="memSeparator" colspan="2"> </td></tr> |
| 120 | <tr class="memitem:a52b521ba6b78d819895a7dbaae83ed86"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classarmnn_1_1_tensor_info.html">TensorInfo</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_runtime.html#a52b521ba6b78d819895a7dbaae83ed86">GetOutputTensorInfo</a> (<a class="el" href="namespacearmnn.html#a83015160d8c67d5d77735eb0d4033d9a">NetworkId</a> networkId, <a class="el" href="namespacearmnn.html#ab8cf8f9fb6792e654c2d8d8382f6f01b">LayerBindingId</a> layerId) const =0</td></tr> |
| 121 | <tr class="separator:a52b521ba6b78d819895a7dbaae83ed86"><td class="memSeparator" colspan="2"> </td></tr> |
| 122 | <tr class="memitem:aec0dc8016a3b1e444dfc1ffb5f15195c"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_runtime.html#aec0dc8016a3b1e444dfc1ffb5f15195c">EnqueueWorkload</a> (<a class="el" href="namespacearmnn.html#a83015160d8c67d5d77735eb0d4033d9a">NetworkId</a> networkId, const <a class="el" href="namespacearmnn.html#aa01bce88f89975a5a031db4cc8861527">InputTensors</a> &inputTensors, const <a class="el" href="namespacearmnn.html#a8f091a512915d1cb29a4ebf13dfc53ea">OutputTensors</a> &outputTensors)=0</td></tr> |
| 123 | <tr class="memdesc:aec0dc8016a3b1e444dfc1ffb5f15195c"><td class="mdescLeft"> </td><td class="mdescRight">Evaluates a network using input in inputTensors and outputs filled into outputTensors. <a href="#aec0dc8016a3b1e444dfc1ffb5f15195c">More...</a><br /></td></tr> |
| 124 | <tr class="separator:aec0dc8016a3b1e444dfc1ffb5f15195c"><td class="memSeparator" colspan="2"> </td></tr> |
| 125 | <tr class="memitem:a43a7ee9625c9c3f4140fa02c92199fd1"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_runtime.html#a43a7ee9625c9c3f4140fa02c92199fd1">UnloadNetwork</a> (<a class="el" href="namespacearmnn.html#a83015160d8c67d5d77735eb0d4033d9a">NetworkId</a> networkId)=0</td></tr> |
| 126 | <tr class="separator:a43a7ee9625c9c3f4140fa02c92199fd1"><td class="memSeparator" colspan="2"> </td></tr> |
| 127 | <tr class="memitem:a6f2ccbdacfac6eb983c519976a5ece54"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="classarmnn_1_1_i_device_spec.html">IDeviceSpec</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_runtime.html#a6f2ccbdacfac6eb983c519976a5ece54">GetDeviceSpec</a> () const =0</td></tr> |
| 128 | <tr class="separator:a6f2ccbdacfac6eb983c519976a5ece54"><td class="memSeparator" colspan="2"> </td></tr> |
| 129 | <tr class="memitem:a76eaa5bd91bd3958ddbe1fe6f082888a"><td class="memItemLeft" align="right" valign="top">virtual const std::shared_ptr< <a class="el" href="classarmnn_1_1_i_profiler.html">IProfiler</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_runtime.html#a76eaa5bd91bd3958ddbe1fe6f082888a">GetProfiler</a> (<a class="el" href="namespacearmnn.html#a83015160d8c67d5d77735eb0d4033d9a">NetworkId</a> networkId) const =0</td></tr> |
| 130 | <tr class="separator:a76eaa5bd91bd3958ddbe1fe6f082888a"><td class="memSeparator" colspan="2"> </td></tr> |
| 131 | <tr class="memitem:a70a22690ce44dfc49511b30456764169"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_runtime.html#a70a22690ce44dfc49511b30456764169">RegisterDebugCallback</a> (<a class="el" href="namespacearmnn.html#a83015160d8c67d5d77735eb0d4033d9a">NetworkId</a> networkId, const <a class="el" href="namespacearmnn.html#a15f3ad9b5e4e3d46b0a6dda246a7bc28">DebugCallbackFunction</a> &func)=0</td></tr> |
| 132 | <tr class="separator:a70a22690ce44dfc49511b30456764169"><td class="memSeparator" colspan="2"> </td></tr> |
| 133 | </table><table class="memberdecls"> |
| 134 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> |
| 135 | Static Public Member Functions</h2></td></tr> |
| 136 | <tr class="memitem:a4646ef5dbce8d3aae30fc99638226069"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classarmnn_1_1_i_runtime.html">IRuntime</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_runtime.html#a4646ef5dbce8d3aae30fc99638226069">CreateRaw</a> (const <a class="el" href="structarmnn_1_1_i_runtime_1_1_creation_options.html">CreationOptions</a> &<a class="el" href="_file_only_profiling_decorator_tests_8cpp.html#a6560146509197f3e197d8d36f76c1347">options</a>)</td></tr> |
| 137 | <tr class="separator:a4646ef5dbce8d3aae30fc99638226069"><td class="memSeparator" colspan="2"> </td></tr> |
| 138 | <tr class="memitem:ad44ecd3700748dc30dc4bbe34ba5bde7"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacearmnn.html#a150468a02bd7b2d2d061c4aaaee939f0">IRuntimePtr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_runtime.html#ad44ecd3700748dc30dc4bbe34ba5bde7">Create</a> (const <a class="el" href="structarmnn_1_1_i_runtime_1_1_creation_options.html">CreationOptions</a> &<a class="el" href="_file_only_profiling_decorator_tests_8cpp.html#a6560146509197f3e197d8d36f76c1347">options</a>)</td></tr> |
| 139 | <tr class="separator:ad44ecd3700748dc30dc4bbe34ba5bde7"><td class="memSeparator" colspan="2"> </td></tr> |
| 140 | <tr class="memitem:a978f3d0d34a944b40240bd130d61e3b6"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_runtime.html#a978f3d0d34a944b40240bd130d61e3b6">Destroy</a> (<a class="el" href="classarmnn_1_1_i_runtime.html">IRuntime</a> *runtime)</td></tr> |
| 141 | <tr class="separator:a978f3d0d34a944b40240bd130d61e3b6"><td class="memSeparator" colspan="2"> </td></tr> |
| 142 | </table><table class="memberdecls"> |
| 143 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a> |
| 144 | Protected Member Functions</h2></td></tr> |
| 145 | <tr class="memitem:ad728a798fda08188df91623caebd527c"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_runtime.html#ad728a798fda08188df91623caebd527c">~IRuntime</a> ()</td></tr> |
| 146 | <tr class="separator:ad728a798fda08188df91623caebd527c"><td class="memSeparator" colspan="2"> </td></tr> |
| 147 | </table> |
| 148 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 149 | <div class="textblock"> |
| 150 | <p class="definition">Definition at line <a class="el" href="_i_runtime_8hpp_source.html#l00038">38</a> of file <a class="el" href="_i_runtime_8hpp_source.html">IRuntime.hpp</a>.</p> |
| 151 | </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| 152 | <a id="ad728a798fda08188df91623caebd527c"></a> |
| 153 | <h2 class="memtitle"><span class="permalink"><a href="#ad728a798fda08188df91623caebd527c">◆ </a></span>~IRuntime()</h2> |
| 154 | |
| 155 | <div class="memitem"> |
| 156 | <div class="memproto"> |
| 157 | <table class="mlabels"> |
| 158 | <tr> |
| 159 | <td class="mlabels-left"> |
| 160 | <table class="memname"> |
| 161 | <tr> |
| 162 | <td class="memname">~<a class="el" href="classarmnn_1_1_i_runtime.html">IRuntime</a> </td> |
| 163 | <td>(</td> |
| 164 | <td class="paramname"></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 class="mlabel">protected</span></span> </td> |
| 171 | </tr> |
| 172 | </table> |
| 173 | </div><div class="memdoc"> |
| 174 | |
| 175 | <p class="definition">Definition at line <a class="el" href="_i_runtime_8hpp_source.html#l00161">161</a> of file <a class="el" href="_i_runtime_8hpp_source.html">IRuntime.hpp</a>.</p> |
| 176 | <div class="fragment"><div class="line"><a name="l00161"></a><span class="lineno"> 161</span> {}</div></div><!-- fragment --> |
| 177 | </div> |
| 178 | </div> |
| 179 | <h2 class="groupheader">Member Function Documentation</h2> |
| 180 | <a id="ad44ecd3700748dc30dc4bbe34ba5bde7"></a> |
| 181 | <h2 class="memtitle"><span class="permalink"><a href="#ad44ecd3700748dc30dc4bbe34ba5bde7">◆ </a></span>Create()</h2> |
| 182 | |
| 183 | <div class="memitem"> |
| 184 | <div class="memproto"> |
| 185 | <table class="mlabels"> |
| 186 | <tr> |
| 187 | <td class="mlabels-left"> |
| 188 | <table class="memname"> |
| 189 | <tr> |
| 190 | <td class="memname"><a class="el" href="namespacearmnn.html#a150468a02bd7b2d2d061c4aaaee939f0">IRuntimePtr</a> Create </td> |
| 191 | <td>(</td> |
| 192 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_i_runtime_1_1_creation_options.html">CreationOptions</a> & </td> |
| 193 | <td class="paramname"><em>options</em></td><td>)</td> |
| 194 | <td></td> |
| 195 | </tr> |
| 196 | </table> |
| 197 | </td> |
| 198 | <td class="mlabels-right"> |
| 199 | <span class="mlabels"><span class="mlabel">static</span></span> </td> |
| 200 | </tr> |
| 201 | </table> |
| 202 | </div><div class="memdoc"> |
| 203 | |
| 204 | <p class="definition">Definition at line <a class="el" href="_runtime_8cpp_source.html#l00032">32</a> of file <a class="el" href="_runtime_8cpp_source.html">Runtime.cpp</a>.</p> |
| 205 | |
| 206 | <p class="reference">References <a class="el" href="_runtime_8cpp_source.html#l00037">IRuntime::Destroy()</a>.</p> |
| 207 | |
| 208 | <p class="reference">Referenced by <a class="el" href="_end_to_end_test_8cpp_source.html#l00017">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_json_printer_test_impl_8cpp_source.html#l00120">GetSoftmaxProfilerJson()</a>, <a class="el" href="_inference_model_8hpp_source.html#l00371">InferenceModel< IParser, TDataType >::InferenceModel()</a>, <a class="el" href="_execute_network_8cpp_source.html#l00009">main()</a>, <a class="el" href="_network_quantizer_8cpp_source.html#l00060">NetworkQuantizer::Refine()</a>, and <a class="el" href="_profiling_test_utils_8cpp_source.html#l00355">VerifyPostOptimisationStructureTestImpl()</a>.</p> |
| 209 | <div class="fragment"><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> {</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keywordflow">return</span> <a class="code" href="namespacearmnn.html#a150468a02bd7b2d2d061c4aaaee939f0">IRuntimePtr</a>(<a class="code" href="classarmnn_1_1_i_runtime.html#a4646ef5dbce8d3aae30fc99638226069">CreateRaw</a>(<a class="code" href="_file_only_profiling_decorator_tests_8cpp.html#a6560146509197f3e197d8d36f76c1347">options</a>), &<a class="code" href="classarmnn_1_1_i_runtime.html#a978f3d0d34a944b40240bd130d61e3b6">IRuntime::Destroy</a>);</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> }</div><div class="ttc" id="classarmnn_1_1_i_runtime_html_a4646ef5dbce8d3aae30fc99638226069"><div class="ttname"><a href="classarmnn_1_1_i_runtime.html#a4646ef5dbce8d3aae30fc99638226069">armnn::IRuntime::CreateRaw</a></div><div class="ttdeci">static IRuntime * CreateRaw(const CreationOptions &options)</div><div class="ttdef"><b>Definition:</b> <a href="_runtime_8cpp_source.html#l00027">Runtime.cpp:27</a></div></div> |
| 210 | <div class="ttc" id="classarmnn_1_1_i_runtime_html_a978f3d0d34a944b40240bd130d61e3b6"><div class="ttname"><a href="classarmnn_1_1_i_runtime.html#a978f3d0d34a944b40240bd130d61e3b6">armnn::IRuntime::Destroy</a></div><div class="ttdeci">static void Destroy(IRuntime *runtime)</div><div class="ttdef"><b>Definition:</b> <a href="_runtime_8cpp_source.html#l00037">Runtime.cpp:37</a></div></div> |
| 211 | <div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_html_a6560146509197f3e197d8d36f76c1347"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.html#a6560146509197f3e197d8d36f76c1347">options</a></div><div class="ttdeci">armnn::Runtime::CreationOptions::ExternalProfilingOptions options</div><div class="ttdef"><b>Definition:</b> <a href="_file_only_profiling_decorator_tests_8cpp_source.html#l00045">FileOnlyProfilingDecoratorTests.cpp:45</a></div></div> |
| 212 | <div class="ttc" id="namespacearmnn_html_a150468a02bd7b2d2d061c4aaaee939f0"><div class="ttname"><a href="namespacearmnn.html#a150468a02bd7b2d2d061c4aaaee939f0">armnn::IRuntimePtr</a></div><div class="ttdeci">std::unique_ptr< IRuntime, void(*)(IRuntime *runtime)> IRuntimePtr</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.html#l00024">IRuntime.hpp:24</a></div></div> |
| 213 | </div><!-- fragment --> |
| 214 | </div> |
| 215 | </div> |
| 216 | <a id="a4646ef5dbce8d3aae30fc99638226069"></a> |
| 217 | <h2 class="memtitle"><span class="permalink"><a href="#a4646ef5dbce8d3aae30fc99638226069">◆ </a></span>CreateRaw()</h2> |
| 218 | |
| 219 | <div class="memitem"> |
| 220 | <div class="memproto"> |
| 221 | <table class="mlabels"> |
| 222 | <tr> |
| 223 | <td class="mlabels-left"> |
| 224 | <table class="memname"> |
| 225 | <tr> |
| 226 | <td class="memname"><a class="el" href="classarmnn_1_1_i_runtime.html">IRuntime</a> * CreateRaw </td> |
| 227 | <td>(</td> |
| 228 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_i_runtime_1_1_creation_options.html">CreationOptions</a> & </td> |
| 229 | <td class="paramname"><em>options</em></td><td>)</td> |
| 230 | <td></td> |
| 231 | </tr> |
| 232 | </table> |
| 233 | </td> |
| 234 | <td class="mlabels-right"> |
| 235 | <span class="mlabels"><span class="mlabel">static</span></span> </td> |
| 236 | </tr> |
| 237 | </table> |
| 238 | </div><div class="memdoc"> |
| 239 | |
| 240 | <p class="definition">Definition at line <a class="el" href="_runtime_8cpp_source.html#l00027">27</a> of file <a class="el" href="_runtime_8cpp_source.html">Runtime.cpp</a>.</p> |
| 241 | <div class="fragment"><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>  <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="classarmnn_1_1_runtime.html">Runtime</a>(<a class="code" href="_file_only_profiling_decorator_tests_8cpp.html#a6560146509197f3e197d8d36f76c1347">options</a>);</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> }</div><div class="ttc" id="classarmnn_1_1_runtime_html"><div class="ttname"><a href="classarmnn_1_1_runtime.html">armnn::Runtime</a></div><div class="ttdef"><b>Definition:</b> <a href="_runtime_8hpp_source.html#l00023">Runtime.hpp:23</a></div></div> |
| 242 | <div class="ttc" id="_file_only_profiling_decorator_tests_8cpp_html_a6560146509197f3e197d8d36f76c1347"><div class="ttname"><a href="_file_only_profiling_decorator_tests_8cpp.html#a6560146509197f3e197d8d36f76c1347">options</a></div><div class="ttdeci">armnn::Runtime::CreationOptions::ExternalProfilingOptions options</div><div class="ttdef"><b>Definition:</b> <a href="_file_only_profiling_decorator_tests_8cpp_source.html#l00045">FileOnlyProfilingDecoratorTests.cpp:45</a></div></div> |
| 243 | </div><!-- fragment --> |
| 244 | </div> |
| 245 | </div> |
| 246 | <a id="a978f3d0d34a944b40240bd130d61e3b6"></a> |
| 247 | <h2 class="memtitle"><span class="permalink"><a href="#a978f3d0d34a944b40240bd130d61e3b6">◆ </a></span>Destroy()</h2> |
| 248 | |
| 249 | <div class="memitem"> |
| 250 | <div class="memproto"> |
| 251 | <table class="mlabels"> |
| 252 | <tr> |
| 253 | <td class="mlabels-left"> |
| 254 | <table class="memname"> |
| 255 | <tr> |
| 256 | <td class="memname">void Destroy </td> |
| 257 | <td>(</td> |
| 258 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_runtime.html">IRuntime</a> * </td> |
| 259 | <td class="paramname"><em>runtime</em></td><td>)</td> |
| 260 | <td></td> |
| 261 | </tr> |
| 262 | </table> |
| 263 | </td> |
| 264 | <td class="mlabels-right"> |
| 265 | <span class="mlabels"><span class="mlabel">static</span></span> </td> |
| 266 | </tr> |
| 267 | </table> |
| 268 | </div><div class="memdoc"> |
| 269 | |
| 270 | <p class="definition">Definition at line <a class="el" href="_runtime_8cpp_source.html#l00037">37</a> of file <a class="el" href="_runtime_8cpp_source.html">Runtime.cpp</a>.</p> |
| 271 | |
| 272 | <p class="reference">Referenced by <a class="el" href="_runtime_8cpp_source.html#l00032">IRuntime::Create()</a>.</p> |
| 273 | <div class="fragment"><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> {</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keyword">delete</span> boost::polymorphic_downcast<Runtime*>(runtime);</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> }</div></div><!-- fragment --> |
| 274 | </div> |
| 275 | </div> |
| 276 | <a id="aec0dc8016a3b1e444dfc1ffb5f15195c"></a> |
| 277 | <h2 class="memtitle"><span class="permalink"><a href="#aec0dc8016a3b1e444dfc1ffb5f15195c">◆ </a></span>EnqueueWorkload()</h2> |
| 278 | |
| 279 | <div class="memitem"> |
| 280 | <div class="memproto"> |
| 281 | <table class="mlabels"> |
| 282 | <tr> |
| 283 | <td class="mlabels-left"> |
| 284 | <table class="memname"> |
| 285 | <tr> |
| 286 | <td class="memname">virtual <a class="el" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> EnqueueWorkload </td> |
| 287 | <td>(</td> |
| 288 | <td class="paramtype"><a class="el" href="namespacearmnn.html#a83015160d8c67d5d77735eb0d4033d9a">NetworkId</a> </td> |
| 289 | <td class="paramname"><em>networkId</em>, </td> |
| 290 | </tr> |
| 291 | <tr> |
| 292 | <td class="paramkey"></td> |
| 293 | <td></td> |
| 294 | <td class="paramtype">const <a class="el" href="namespacearmnn.html#aa01bce88f89975a5a031db4cc8861527">InputTensors</a> & </td> |
| 295 | <td class="paramname"><em>inputTensors</em>, </td> |
| 296 | </tr> |
| 297 | <tr> |
| 298 | <td class="paramkey"></td> |
| 299 | <td></td> |
| 300 | <td class="paramtype">const <a class="el" href="namespacearmnn.html#a8f091a512915d1cb29a4ebf13dfc53ea">OutputTensors</a> & </td> |
| 301 | <td class="paramname"><em>outputTensors</em> </td> |
| 302 | </tr> |
| 303 | <tr> |
| 304 | <td></td> |
| 305 | <td>)</td> |
| 306 | <td></td><td></td> |
| 307 | </tr> |
| 308 | </table> |
| 309 | </td> |
| 310 | <td class="mlabels-right"> |
| 311 | <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> |
| 312 | </tr> |
| 313 | </table> |
| 314 | </div><div class="memdoc"> |
| 315 | |
| 316 | <p>Evaluates a network using input in inputTensors and outputs filled into outputTensors. </p> |
| 317 | |
| 318 | <p>Implemented in <a class="el" href="classarmnn_1_1_runtime.html#ad3be3cca4ac08a262383b96868f7123d">Runtime</a>.</p> |
| 319 | |
| 320 | </div> |
| 321 | </div> |
| 322 | <a id="a6f2ccbdacfac6eb983c519976a5ece54"></a> |
| 323 | <h2 class="memtitle"><span class="permalink"><a href="#a6f2ccbdacfac6eb983c519976a5ece54">◆ </a></span>GetDeviceSpec()</h2> |
| 324 | |
| 325 | <div class="memitem"> |
| 326 | <div class="memproto"> |
| 327 | <table class="mlabels"> |
| 328 | <tr> |
| 329 | <td class="mlabels-left"> |
| 330 | <table class="memname"> |
| 331 | <tr> |
| 332 | <td class="memname">virtual const <a class="el" href="classarmnn_1_1_i_device_spec.html">IDeviceSpec</a>& GetDeviceSpec </td> |
| 333 | <td>(</td> |
| 334 | <td class="paramname"></td><td>)</td> |
| 335 | <td> const</td> |
| 336 | </tr> |
| 337 | </table> |
| 338 | </td> |
| 339 | <td class="mlabels-right"> |
| 340 | <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> |
| 341 | </tr> |
| 342 | </table> |
| 343 | </div><div class="memdoc"> |
| 344 | |
| 345 | <p>Implemented in <a class="el" href="classarmnn_1_1_runtime.html#a25505c77f282c0295765d81c86514539">Runtime</a>.</p> |
| 346 | |
| 347 | </div> |
| 348 | </div> |
| 349 | <a id="a41ac6ca444d41e6147f48a71def60d61"></a> |
| 350 | <h2 class="memtitle"><span class="permalink"><a href="#a41ac6ca444d41e6147f48a71def60d61">◆ </a></span>GetInputTensorInfo()</h2> |
| 351 | |
| 352 | <div class="memitem"> |
| 353 | <div class="memproto"> |
| 354 | <table class="mlabels"> |
| 355 | <tr> |
| 356 | <td class="mlabels-left"> |
| 357 | <table class="memname"> |
| 358 | <tr> |
| 359 | <td class="memname">virtual <a class="el" href="classarmnn_1_1_tensor_info.html">TensorInfo</a> GetInputTensorInfo </td> |
| 360 | <td>(</td> |
| 361 | <td class="paramtype"><a class="el" href="namespacearmnn.html#a83015160d8c67d5d77735eb0d4033d9a">NetworkId</a> </td> |
| 362 | <td class="paramname"><em>networkId</em>, </td> |
| 363 | </tr> |
| 364 | <tr> |
| 365 | <td class="paramkey"></td> |
| 366 | <td></td> |
| 367 | <td class="paramtype"><a class="el" href="namespacearmnn.html#ab8cf8f9fb6792e654c2d8d8382f6f01b">LayerBindingId</a> </td> |
| 368 | <td class="paramname"><em>layerId</em> </td> |
| 369 | </tr> |
| 370 | <tr> |
| 371 | <td></td> |
| 372 | <td>)</td> |
| 373 | <td></td><td> const</td> |
| 374 | </tr> |
| 375 | </table> |
| 376 | </td> |
| 377 | <td class="mlabels-right"> |
| 378 | <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> |
| 379 | </tr> |
| 380 | </table> |
| 381 | </div><div class="memdoc"> |
| 382 | |
| 383 | <p>Implemented in <a class="el" href="classarmnn_1_1_runtime.html#a7d0ddcd74d6f6438283e511480b64cc1">Runtime</a>.</p> |
| 384 | |
| 385 | </div> |
| 386 | </div> |
| 387 | <a id="a52b521ba6b78d819895a7dbaae83ed86"></a> |
| 388 | <h2 class="memtitle"><span class="permalink"><a href="#a52b521ba6b78d819895a7dbaae83ed86">◆ </a></span>GetOutputTensorInfo()</h2> |
| 389 | |
| 390 | <div class="memitem"> |
| 391 | <div class="memproto"> |
| 392 | <table class="mlabels"> |
| 393 | <tr> |
| 394 | <td class="mlabels-left"> |
| 395 | <table class="memname"> |
| 396 | <tr> |
| 397 | <td class="memname">virtual <a class="el" href="classarmnn_1_1_tensor_info.html">TensorInfo</a> GetOutputTensorInfo </td> |
| 398 | <td>(</td> |
| 399 | <td class="paramtype"><a class="el" href="namespacearmnn.html#a83015160d8c67d5d77735eb0d4033d9a">NetworkId</a> </td> |
| 400 | <td class="paramname"><em>networkId</em>, </td> |
| 401 | </tr> |
| 402 | <tr> |
| 403 | <td class="paramkey"></td> |
| 404 | <td></td> |
| 405 | <td class="paramtype"><a class="el" href="namespacearmnn.html#ab8cf8f9fb6792e654c2d8d8382f6f01b">LayerBindingId</a> </td> |
| 406 | <td class="paramname"><em>layerId</em> </td> |
| 407 | </tr> |
| 408 | <tr> |
| 409 | <td></td> |
| 410 | <td>)</td> |
| 411 | <td></td><td> const</td> |
| 412 | </tr> |
| 413 | </table> |
| 414 | </td> |
| 415 | <td class="mlabels-right"> |
| 416 | <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> |
| 417 | </tr> |
| 418 | </table> |
| 419 | </div><div class="memdoc"> |
| 420 | |
| 421 | <p>Implemented in <a class="el" href="classarmnn_1_1_runtime.html#a1d5d285b79758564ee68f234e02dd2b2">Runtime</a>.</p> |
| 422 | |
| 423 | </div> |
| 424 | </div> |
| 425 | <a id="a76eaa5bd91bd3958ddbe1fe6f082888a"></a> |
| 426 | <h2 class="memtitle"><span class="permalink"><a href="#a76eaa5bd91bd3958ddbe1fe6f082888a">◆ </a></span>GetProfiler()</h2> |
| 427 | |
| 428 | <div class="memitem"> |
| 429 | <div class="memproto"> |
| 430 | <table class="mlabels"> |
| 431 | <tr> |
| 432 | <td class="mlabels-left"> |
| 433 | <table class="memname"> |
| 434 | <tr> |
| 435 | <td class="memname">virtual const std::shared_ptr<<a class="el" href="classarmnn_1_1_i_profiler.html">IProfiler</a>> GetProfiler </td> |
| 436 | <td>(</td> |
| 437 | <td class="paramtype"><a class="el" href="namespacearmnn.html#a83015160d8c67d5d77735eb0d4033d9a">NetworkId</a> </td> |
| 438 | <td class="paramname"><em>networkId</em></td><td>)</td> |
| 439 | <td> const</td> |
| 440 | </tr> |
| 441 | </table> |
| 442 | </td> |
| 443 | <td class="mlabels-right"> |
| 444 | <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> |
| 445 | </tr> |
| 446 | </table> |
| 447 | </div><div class="memdoc"> |
| 448 | <p>Gets the profiler corresponding to the given network id. </p><dl class="params"><dt>Parameters</dt><dd> |
| 449 | <table class="params"> |
| 450 | <tr><td class="paramname">networkId</td><td>The id of the network for which to get the profile. </td></tr> |
| 451 | </table> |
| 452 | </dd> |
| 453 | </dl> |
| 454 | <dl class="section return"><dt>Returns</dt><dd>A pointer to the requested profiler, or nullptr if not found. </dd></dl> |
| 455 | |
| 456 | <p>Implemented in <a class="el" href="classarmnn_1_1_runtime.html#a4bcf6ecfacedc0567e1c044f1b0823f0">Runtime</a>.</p> |
| 457 | |
| 458 | </div> |
| 459 | </div> |
| 460 | <a id="acf44b518011359b594bf20fe444d1165"></a> |
| 461 | <h2 class="memtitle"><span class="permalink"><a href="#acf44b518011359b594bf20fe444d1165">◆ </a></span>LoadNetwork() <span class="overload">[1/3]</span></h2> |
| 462 | |
| 463 | <div class="memitem"> |
| 464 | <div class="memproto"> |
| 465 | <table class="mlabels"> |
| 466 | <tr> |
| 467 | <td class="mlabels-left"> |
| 468 | <table class="memname"> |
| 469 | <tr> |
| 470 | <td class="memname">virtual <a class="el" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> LoadNetwork </td> |
| 471 | <td>(</td> |
| 472 | <td class="paramtype"><a class="el" href="namespacearmnn.html#a83015160d8c67d5d77735eb0d4033d9a">NetworkId</a> & </td> |
| 473 | <td class="paramname"><em>networkIdOut</em>, </td> |
| 474 | </tr> |
| 475 | <tr> |
| 476 | <td class="paramkey"></td> |
| 477 | <td></td> |
| 478 | <td class="paramtype"><a class="el" href="namespacearmnn.html#a674efcf6cbdb9e831d653ff0e821fb38">IOptimizedNetworkPtr</a> </td> |
| 479 | <td class="paramname"><em>network</em> </td> |
| 480 | </tr> |
| 481 | <tr> |
| 482 | <td></td> |
| 483 | <td>)</td> |
| 484 | <td></td><td></td> |
| 485 | </tr> |
| 486 | </table> |
| 487 | </td> |
| 488 | <td class="mlabels-right"> |
| 489 | <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> |
| 490 | </tr> |
| 491 | </table> |
| 492 | </div><div class="memdoc"> |
| 493 | <p>Loads a complete network into the <a class="el" href="classarmnn_1_1_i_runtime.html">IRuntime</a>. </p><dl class="params"><dt>Parameters</dt><dd> |
| 494 | <table class="params"> |
| 495 | <tr><td class="paramdir">[out]</td><td class="paramname">networkIdOut</td><td>- Unique identifier for the network is returned in this reference. </td></tr> |
| 496 | <tr><td class="paramdir">[in]</td><td class="paramname">network</td><td>- Complete network to load into the <a class="el" href="classarmnn_1_1_i_runtime.html">IRuntime</a>. The runtime takes ownership of the network once passed in. </td></tr> |
| 497 | </table> |
| 498 | </dd> |
| 499 | </dl> |
| 500 | <dl class="section return"><dt>Returns</dt><dd><a class="el" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">armnn::Status</a> </dd></dl> |
| 501 | |
| 502 | <p>Implemented in <a class="el" href="classarmnn_1_1_runtime.html#ae225e29e38b44860a32d766053a383dc">Runtime</a>.</p> |
| 503 | |
| 504 | </div> |
| 505 | </div> |
| 506 | <a id="a59c572133d8ff0136c8e13c98694fd30"></a> |
| 507 | <h2 class="memtitle"><span class="permalink"><a href="#a59c572133d8ff0136c8e13c98694fd30">◆ </a></span>LoadNetwork() <span class="overload">[2/3]</span></h2> |
| 508 | |
| 509 | <div class="memitem"> |
| 510 | <div class="memproto"> |
| 511 | <table class="mlabels"> |
| 512 | <tr> |
| 513 | <td class="mlabels-left"> |
| 514 | <table class="memname"> |
| 515 | <tr> |
| 516 | <td class="memname">virtual <a class="el" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> LoadNetwork </td> |
| 517 | <td>(</td> |
| 518 | <td class="paramtype"><a class="el" href="namespacearmnn.html#a83015160d8c67d5d77735eb0d4033d9a">NetworkId</a> & </td> |
| 519 | <td class="paramname"><em>networkIdOut</em>, </td> |
| 520 | </tr> |
| 521 | <tr> |
| 522 | <td class="paramkey"></td> |
| 523 | <td></td> |
| 524 | <td class="paramtype"><a class="el" href="namespacearmnn.html#a674efcf6cbdb9e831d653ff0e821fb38">IOptimizedNetworkPtr</a> </td> |
| 525 | <td class="paramname"><em>network</em>, </td> |
| 526 | </tr> |
| 527 | <tr> |
| 528 | <td class="paramkey"></td> |
| 529 | <td></td> |
| 530 | <td class="paramtype">std::string & </td> |
| 531 | <td class="paramname"><em>errorMessage</em> </td> |
| 532 | </tr> |
| 533 | <tr> |
| 534 | <td></td> |
| 535 | <td>)</td> |
| 536 | <td></td><td></td> |
| 537 | </tr> |
| 538 | </table> |
| 539 | </td> |
| 540 | <td class="mlabels-right"> |
| 541 | <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> |
| 542 | </tr> |
| 543 | </table> |
| 544 | </div><div class="memdoc"> |
| 545 | <p>Load a complete network into the <a class="el" href="classarmnn_1_1_i_runtime.html">IRuntime</a>. </p><dl class="params"><dt>Parameters</dt><dd> |
| 546 | <table class="params"> |
| 547 | <tr><td class="paramdir">[out]</td><td class="paramname">networkIdOut</td><td>Unique identifier for the network is returned in this reference. </td></tr> |
| 548 | <tr><td class="paramdir">[in]</td><td class="paramname">network</td><td>Complete network to load into the <a class="el" href="classarmnn_1_1_i_runtime.html">IRuntime</a>. </td></tr> |
| 549 | <tr><td class="paramdir">[out]</td><td class="paramname">errorMessage</td><td>Error message if there were any errors. The runtime takes ownership of the network once passed in. </td></tr> |
| 550 | </table> |
| 551 | </dd> |
| 552 | </dl> |
| 553 | <dl class="section return"><dt>Returns</dt><dd><a class="el" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">armnn::Status</a> </dd></dl> |
| 554 | |
| 555 | <p>Implemented in <a class="el" href="classarmnn_1_1_runtime.html#a115d6e9020c106d938a431e92141456e">Runtime</a>.</p> |
| 556 | |
| 557 | </div> |
| 558 | </div> |
| 559 | <a id="a7cc77101a5437bf82fb7891c5c4a7e69"></a> |
| 560 | <h2 class="memtitle"><span class="permalink"><a href="#a7cc77101a5437bf82fb7891c5c4a7e69">◆ </a></span>LoadNetwork() <span class="overload">[3/3]</span></h2> |
| 561 | |
| 562 | <div class="memitem"> |
| 563 | <div class="memproto"> |
| 564 | <table class="mlabels"> |
| 565 | <tr> |
| 566 | <td class="mlabels-left"> |
| 567 | <table class="memname"> |
| 568 | <tr> |
| 569 | <td class="memname">virtual <a class="el" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> LoadNetwork </td> |
| 570 | <td>(</td> |
| 571 | <td class="paramtype"><a class="el" href="namespacearmnn.html#a83015160d8c67d5d77735eb0d4033d9a">NetworkId</a> & </td> |
| 572 | <td class="paramname"><em>networkIdOut</em>, </td> |
| 573 | </tr> |
| 574 | <tr> |
| 575 | <td class="paramkey"></td> |
| 576 | <td></td> |
| 577 | <td class="paramtype"><a class="el" href="namespacearmnn.html#a674efcf6cbdb9e831d653ff0e821fb38">IOptimizedNetworkPtr</a> </td> |
| 578 | <td class="paramname"><em>network</em>, </td> |
| 579 | </tr> |
| 580 | <tr> |
| 581 | <td class="paramkey"></td> |
| 582 | <td></td> |
| 583 | <td class="paramtype">std::string & </td> |
| 584 | <td class="paramname"><em>errorMessage</em>, </td> |
| 585 | </tr> |
| 586 | <tr> |
| 587 | <td class="paramkey"></td> |
| 588 | <td></td> |
| 589 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_i_network_properties.html">INetworkProperties</a> & </td> |
| 590 | <td class="paramname"><em>networkProperties</em> </td> |
| 591 | </tr> |
| 592 | <tr> |
| 593 | <td></td> |
| 594 | <td>)</td> |
| 595 | <td></td><td></td> |
| 596 | </tr> |
| 597 | </table> |
| 598 | </td> |
| 599 | <td class="mlabels-right"> |
| 600 | <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> |
| 601 | </tr> |
| 602 | </table> |
| 603 | </div><div class="memdoc"> |
| 604 | |
| 605 | <p>Implemented in <a class="el" href="classarmnn_1_1_runtime.html#aa1ca93de061aac0fb5b59082f1b8984e">Runtime</a>.</p> |
| 606 | |
| 607 | </div> |
| 608 | </div> |
| 609 | <a id="a70a22690ce44dfc49511b30456764169"></a> |
| 610 | <h2 class="memtitle"><span class="permalink"><a href="#a70a22690ce44dfc49511b30456764169">◆ </a></span>RegisterDebugCallback()</h2> |
| 611 | |
| 612 | <div class="memitem"> |
| 613 | <div class="memproto"> |
| 614 | <table class="mlabels"> |
| 615 | <tr> |
| 616 | <td class="mlabels-left"> |
| 617 | <table class="memname"> |
| 618 | <tr> |
| 619 | <td class="memname">virtual void RegisterDebugCallback </td> |
| 620 | <td>(</td> |
| 621 | <td class="paramtype"><a class="el" href="namespacearmnn.html#a83015160d8c67d5d77735eb0d4033d9a">NetworkId</a> </td> |
| 622 | <td class="paramname"><em>networkId</em>, </td> |
| 623 | </tr> |
| 624 | <tr> |
| 625 | <td class="paramkey"></td> |
| 626 | <td></td> |
| 627 | <td class="paramtype">const <a class="el" href="namespacearmnn.html#a15f3ad9b5e4e3d46b0a6dda246a7bc28">DebugCallbackFunction</a> & </td> |
| 628 | <td class="paramname"><em>func</em> </td> |
| 629 | </tr> |
| 630 | <tr> |
| 631 | <td></td> |
| 632 | <td>)</td> |
| 633 | <td></td><td></td> |
| 634 | </tr> |
| 635 | </table> |
| 636 | </td> |
| 637 | <td class="mlabels-right"> |
| 638 | <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> |
| 639 | </tr> |
| 640 | </table> |
| 641 | </div><div class="memdoc"> |
| 642 | <p>Registers a callback function to debug layers performing custom computations on intermediate tensors. </p><dl class="params"><dt>Parameters</dt><dd> |
| 643 | <table class="params"> |
| 644 | <tr><td class="paramname">networkId</td><td>The id of the network to register the callback. </td></tr> |
| 645 | <tr><td class="paramname">func</td><td>callback function to pass to the debug layer. </td></tr> |
| 646 | </table> |
| 647 | </dd> |
| 648 | </dl> |
| 649 | |
| 650 | <p>Implemented in <a class="el" href="classarmnn_1_1_runtime.html#abb2506e9166cd0467deaa9651fdade77">Runtime</a>.</p> |
| 651 | |
| 652 | </div> |
| 653 | </div> |
| 654 | <a id="a43a7ee9625c9c3f4140fa02c92199fd1"></a> |
| 655 | <h2 class="memtitle"><span class="permalink"><a href="#a43a7ee9625c9c3f4140fa02c92199fd1">◆ </a></span>UnloadNetwork()</h2> |
| 656 | |
| 657 | <div class="memitem"> |
| 658 | <div class="memproto"> |
| 659 | <table class="mlabels"> |
| 660 | <tr> |
| 661 | <td class="mlabels-left"> |
| 662 | <table class="memname"> |
| 663 | <tr> |
| 664 | <td class="memname">virtual <a class="el" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> UnloadNetwork </td> |
| 665 | <td>(</td> |
| 666 | <td class="paramtype"><a class="el" href="namespacearmnn.html#a83015160d8c67d5d77735eb0d4033d9a">NetworkId</a> </td> |
| 667 | <td class="paramname"><em>networkId</em></td><td>)</td> |
| 668 | <td></td> |
| 669 | </tr> |
| 670 | </table> |
| 671 | </td> |
| 672 | <td class="mlabels-right"> |
| 673 | <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> |
| 674 | </tr> |
| 675 | </table> |
| 676 | </div><div class="memdoc"> |
| 677 | <p>Unloads a network from the <a class="el" href="classarmnn_1_1_i_runtime.html">IRuntime</a>. At the moment this only removes the network from the m_Impl->m_Network. This might need more work in the future to be AndroidNN compliant. </p><dl class="params"><dt>Parameters</dt><dd> |
| 678 | <table class="params"> |
| 679 | <tr><td class="paramdir">[in]</td><td class="paramname">networkId</td><td>- Unique identifier for the network to be unloaded. Generated in <a class="el" href="classarmnn_1_1_i_runtime.html#acf44b518011359b594bf20fe444d1165">LoadNetwork()</a>. </td></tr> |
| 680 | </table> |
| 681 | </dd> |
| 682 | </dl> |
| 683 | <dl class="section return"><dt>Returns</dt><dd><a class="el" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">armnn::Status</a> </dd></dl> |
| 684 | |
| 685 | <p>Implemented in <a class="el" href="classarmnn_1_1_runtime.html#ae54a3b358f009aec340d443d038805a4">Runtime</a>.</p> |
| 686 | |
| 687 | </div> |
| 688 | </div> |
| 689 | <hr/>The documentation for this class was generated from the following files:<ul> |
| 690 | <li>include/armnn/<a class="el" href="_i_runtime_8hpp_source.html">IRuntime.hpp</a></li> |
| 691 | <li>src/armnn/<a class="el" href="_runtime_8cpp_source.html">Runtime.cpp</a></li> |
| 692 | </ul> |
| 693 | </div><!-- contents --> |
| 694 | </div><!-- doc-content --> |
| 695 | <!-- start footer part --> |
| 696 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 697 | <ul> |
| 698 | <li class="navelem"><a class="el" href="namespacearmnn.html">armnn</a></li><li class="navelem"><a class="el" href="classarmnn_1_1_i_runtime.html">IRuntime</a></li> |
| 699 | <li class="footer">Generated on Fri Mar 13 2020 16:07:03 for ArmNN by |
| 700 | <a href="http://www.doxygen.org/index.html"> |
| 701 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 702 | </ul> |
| 703 | </div> |
| 704 | </body> |
| 705 | </html> |