diff options
author | Nikhil Raj <nikhil.raj@arm.com> | 2023-05-19 11:14:28 +0100 |
---|---|---|
committer | Nikhil Raj <nikhil.raj@arm.com> | 2023-05-19 11:14:28 +0100 |
commit | 8efb48a6847c5cd166c561127ae6611150963ce3 (patch) | |
tree | f4262b7e54d26021a54bbc310f46d16a291463e5 /23.05/_runtime_8hpp_source.xhtml | |
parent | 023fe66a59414a0a7b337c7be5c3c341eb5b55d2 (diff) | |
download | armnn-8efb48a6847c5cd166c561127ae6611150963ce3.tar.gz |
Update Doxygen docu for 23.05
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I0a992286f14fa68fcc6e5eba31ac39fed003cbbe
Diffstat (limited to '23.05/_runtime_8hpp_source.xhtml')
-rw-r--r-- | 23.05/_runtime_8hpp_source.xhtml | 328 |
1 files changed, 328 insertions, 0 deletions
diff --git a/23.05/_runtime_8hpp_source.xhtml b/23.05/_runtime_8hpp_source.xhtml new file mode 100644 index 0000000000..0ff55107d7 --- /dev/null +++ b/23.05/_runtime_8hpp_source.xhtml @@ -0,0 +1,328 @@ +<!-- Copyright (c) 2020 ARM Limited. --> +<!-- --> +<!-- SPDX-License-Identifier: MIT --> +<!-- --> +<!-- HTML header for doxygen 1.8.13--> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> +<meta http-equiv="X-UA-Compatible" content="IE=9"/> +<meta name="generator" content="Doxygen 1.8.17"/> +<meta name="robots" content="NOINDEX, NOFOLLOW" /> +<meta name="viewport" content="width=device-width, initial-scale=1"/> +<title>ArmNN: src/armnn/Runtime.hpp Source File</title> +<link href="tabs.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="jquery.js"></script> +<script type="text/javascript" src="dynsections.js"></script> +<link href="navtree.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="resize.js"></script> +<script type="text/javascript" src="navtreedata.js"></script> +<script type="text/javascript" src="navtree.js"></script> +<link href="search/search.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="search/searchdata.js"></script> +<script type="text/javascript" src="search/search.js"></script> +<script type="text/x-mathjax-config"> + MathJax.Hub.Config({ + extensions: ["tex2jax.js"], + jax: ["input/TeX","output/HTML-CSS"], +}); +</script> +<script type="text/javascript" async="async" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script> +<link href="doxygen.css" rel="stylesheet" type="text/css" /> +<link href="stylesheet.css" rel="stylesheet" type="text/css"/> +</head> +<body> +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> +<div id="titlearea"> +<table cellspacing="0" cellpadding="0"> + <tbody> + <tr style="height: 56px;"> + <img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 10rem; margin-top: .5rem; margin-left 10px"/> + <td style="padding-left: 0.5em;"> + <div id="projectname"> +  <span id="projectnumber">23.05</span> + </div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.17 --> +<script type="text/javascript"> +/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ +var searchBox = new SearchBox("searchBox", "search",false,'Search'); +/* @license-end */ +</script> +<script type="text/javascript" src="menudata.js"></script> +<script type="text/javascript" src="menu.js"></script> +<script type="text/javascript"> +/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ +$(function() { + initMenu('',true,false,'search.php','Search'); + $(document).ready(function() { init_search(); }); +}); +/* @license-end */</script> +<div id="main-nav"></div> +</div><!-- top --> +<div id="side-nav" class="ui-resizable side-nav-resizable"> + <div id="nav-tree"> + <div id="nav-tree-contents"> + <div id="nav-sync" class="sync"></div> + </div> + </div> + <div id="splitbar" style="-moz-user-select:none;" + class="ui-resizable-handle"> + </div> +</div> +<script type="text/javascript"> +/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ +$(document).ready(function(){initNavTree('_runtime_8hpp_source.xhtml',''); initResizable(); }); +/* @license-end */ +</script> +<div id="doc-content"> +<!-- window showing the filter options --> +<div id="MSearchSelectWindow" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + onkeydown="return searchBox.OnSearchSelectKey(event)"> +</div> + +<!-- iframe showing the search results (closed by default) --> +<div id="MSearchResultsWindow"> +<iframe src="javascript:void(0)" frameborder="0" + name="MSearchResults" id="MSearchResults"> +</iframe> +</div> + +<div class="header"> + <div class="headertitle"> +<div class="title">Runtime.hpp</div> </div> +</div><!--header--> +<div class="contents"> +<a href="_runtime_8hpp.xhtml">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">//</span></div> +<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// Copyright © 2017, 2023 Arm Ltd and Contributors. All rights reserved.</span></div> +<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// SPDX-License-Identifier: MIT</span></div> +<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">//</span></div> +<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#pragma once</span></div> +<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  </div> +<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor">#include "<a class="code" href="_loaded_network_8hpp.xhtml">LoadedNetwork.hpp</a>"</span></div> +<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#include "<a class="code" href="_device_spec_8hpp.xhtml">DeviceSpec.hpp</a>"</span></div> +<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  </div> +<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#include <<a class="code" href="_i_network_8hpp.xhtml">armnn/INetwork.hpp</a>></span></div> +<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#include <<a class="code" href="_i_runtime_8hpp.xhtml">armnn/IRuntime.hpp</a>></span></div> +<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <<a class="code" href="_tensor_8hpp.xhtml">armnn/Tensor.hpp</a>></span></div> +<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#include <<a class="code" href="_backend_id_8hpp.xhtml">armnn/BackendId.hpp</a>></span></div> +<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  </div> +<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include <<a class="code" href="include_2armnn_2backends_2_dynamic_backend_8hpp.xhtml">armnn/backends/DynamicBackend.hpp</a>></span></div> +<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  </div> +<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include <client/include/IInitialiseProfilingService.hpp></span></div> +<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include <client/include/IProfilingService.hpp></span></div> +<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include <client/include/IReportStructure.hpp></span></div> +<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="preprocessor">#include <mutex></span></div> +<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <unordered_map></span></div> +<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  </div> +<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="keyword">namespace </span><a class="code" href="namespacearmnn.xhtml">armnn</a></div> +<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> {</div> +<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="namespacearmnn.xhtml#a12f6b97ee3f1060ecb6240e022678a8b"> 26</a></span> <span class="keyword">using</span> <a class="code" href="namespacearmnn.xhtml#a12f6b97ee3f1060ecb6240e022678a8b">LoadedNetworks</a> = std::unordered_map<NetworkId, std::unique_ptr<LoadedNetwork>>;</div> +<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="namespacearmnn.xhtml#a8f7d7a1df79013aed46ae67d31c239b5"> 27</a></span> <span class="keyword">using</span> <a class="code" href="namespacearmnn.xhtml#a8f7d7a1df79013aed46ae67d31c239b5">IReportStructure</a> = <a class="code" href="namespacearmnn.xhtml#a8f7d7a1df79013aed46ae67d31c239b5">arm::pipe::IReportStructure</a>;</div> +<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="namespacearmnn.xhtml#ac77c71a352f1e7f9fa4d9e4ceafa81d9"> 28</a></span>  <span class="keyword">using</span> <a class="code" href="namespacearmnn.xhtml#ac77c71a352f1e7f9fa4d9e4ceafa81d9">IInitialiseProfilingService</a> = <a class="code" href="namespacearmnn.xhtml#ac77c71a352f1e7f9fa4d9e4ceafa81d9">arm::pipe::IInitialiseProfilingService</a>;</div> +<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  </div> +<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="structarmnn_1_1_runtime_impl.xhtml"> 30</a></span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_runtime_impl.xhtml">RuntimeImpl</a> final : <span class="keyword">public</span> <a class="code" href="namespacearmnn.xhtml#a8f7d7a1df79013aed46ae67d31c239b5">IReportStructure</a>, <span class="keyword">public</span> <a class="code" href="namespacearmnn.xhtml#ac77c71a352f1e7f9fa4d9e4ceafa81d9">IInitialiseProfilingService</a></div> +<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="keyword">public</span>:<span class="comment"></span></div> +<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment"> /// Loads a complete network into the Runtime.</span></div> +<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment"> /// @param [out] networkIdOut - Unique identifier for the network is returned in this reference.</span></div> +<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment"> /// @param [in] network - Complete network to load into the Runtime.</span></div> +<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment"> /// The runtime takes ownership of the network once passed in.</span></div> +<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment"> /// @return armnn::Status</span></div> +<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="comment"></span> <a class="code" href="namespacearmnn.xhtml#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> <a class="code" href="structarmnn_1_1_runtime_impl.xhtml#af92b5ae61208a778571bcea7e6aac7b4">LoadNetwork</a>(<a class="code" href="namespacearmnn.xhtml#a0d8160388a127c1a23b37bc88dc6e2ec">NetworkId</a>& networkIdOut, <a class="code" href="namespacearmnn.xhtml#a674efcf6cbdb9e831d653ff0e821fb38">IOptimizedNetworkPtr</a> network);</div> +<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="comment"></span> </div> +<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="comment"> /// Load a complete network into the IRuntime.</span></div> +<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="comment"> /// @param [out] networkIdOut Unique identifier for the network is returned in this reference.</span></div> +<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="comment"> /// @param [in] network Complete network to load into the IRuntime.</span></div> +<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="comment"> /// @param [out] errorMessage Error message if there were any errors.</span></div> +<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="comment"> /// The runtime takes ownership of the network once passed in.</span></div> +<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="comment"> /// @return armnn::Status</span></div> +<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="comment"></span> <a class="code" href="namespacearmnn.xhtml#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> <a class="code" href="structarmnn_1_1_runtime_impl.xhtml#af92b5ae61208a778571bcea7e6aac7b4">LoadNetwork</a>(<a class="code" href="namespacearmnn.xhtml#a0d8160388a127c1a23b37bc88dc6e2ec">NetworkId</a>& networkIdOut,</div> +<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <a class="code" href="namespacearmnn.xhtml#a674efcf6cbdb9e831d653ff0e821fb38">IOptimizedNetworkPtr</a> network,</div> +<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  std::string& errorMessage);</div> +<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>  <a class="code" href="namespacearmnn.xhtml#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> <a class="code" href="structarmnn_1_1_runtime_impl.xhtml#af92b5ae61208a778571bcea7e6aac7b4">LoadNetwork</a>(<a class="code" href="namespacearmnn.xhtml#a0d8160388a127c1a23b37bc88dc6e2ec">NetworkId</a>& networkIdOut,</div> +<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <a class="code" href="namespacearmnn.xhtml#a674efcf6cbdb9e831d653ff0e821fb38">IOptimizedNetworkPtr</a> network,</div> +<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  std::string& errorMessage,</div> +<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_i_network_properties.xhtml">INetworkProperties</a>& networkProperties);</div> +<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  </div> +<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <a class="code" href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a> <a class="code" href="structarmnn_1_1_runtime_impl.xhtml#aa198ca53eeb01b6e2134da924ec36405">GetInputTensorInfo</a>(<a class="code" href="namespacearmnn.xhtml#a0d8160388a127c1a23b37bc88dc6e2ec">NetworkId</a> networkId, <a class="code" href="namespacearmnn.xhtml#ab8cf8f9fb6792e654c2d8d8382f6f01b">LayerBindingId</a> layerId) <span class="keyword">const</span>;</div> +<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <a class="code" href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a> <a class="code" href="structarmnn_1_1_runtime_impl.xhtml#a81c83702b94931626c6d84a3fa915362">GetOutputTensorInfo</a>(<a class="code" href="namespacearmnn.xhtml#a0d8160388a127c1a23b37bc88dc6e2ec">NetworkId</a> networkId, <a class="code" href="namespacearmnn.xhtml#ab8cf8f9fb6792e654c2d8d8382f6f01b">LayerBindingId</a> layerId) <span class="keyword">const</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>  std::vector<ImportedInputId> <a class="code" href="structarmnn_1_1_runtime_impl.xhtml#a9e568c24b320fffcbacf27d9e5025b68">ImportInputs</a>(<a class="code" href="namespacearmnn.xhtml#a0d8160388a127c1a23b37bc88dc6e2ec">NetworkId</a> networkId, <span class="keyword">const</span> <a class="code" href="namespacearmnn.xhtml#aa01bce88f89975a5a031db4cc8861527">InputTensors</a>& inputTensors,</div> +<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <a class="code" href="namespacearmnn.xhtml#a14fcd7f88d11cea0a018269dca5f9277">MemorySource</a> forceImportMemorySource);</div> +<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  std::vector<ImportedOutputId> <a class="code" href="structarmnn_1_1_runtime_impl.xhtml#a759c10269d17da40e41500a132d4f0d8">ImportOutputs</a>(<a class="code" href="namespacearmnn.xhtml#a0d8160388a127c1a23b37bc88dc6e2ec">NetworkId</a> networkId, <span class="keyword">const</span> <a class="code" href="namespacearmnn.xhtml#a8f091a512915d1cb29a4ebf13dfc53ea">OutputTensors</a>& outputTensors,</div> +<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <a class="code" href="namespacearmnn.xhtml#a14fcd7f88d11cea0a018269dca5f9277">MemorySource</a> forceImportMemorySource);</div> +<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="keywordtype">void</span> <a class="code" href="structarmnn_1_1_runtime_impl.xhtml#ab2498cef8d01323527d59b6bb5848eed">ClearImportedInputs</a>(<a class="code" href="namespacearmnn.xhtml#a0d8160388a127c1a23b37bc88dc6e2ec">NetworkId</a> networkId, <span class="keyword">const</span> std::vector<ImportedInputId> inputIds);</div> +<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordtype">void</span> <a class="code" href="structarmnn_1_1_runtime_impl.xhtml#a746d54f647096c2f9932dae20a6590a2">ClearImportedOutputs</a>(<a class="code" href="namespacearmnn.xhtml#a0d8160388a127c1a23b37bc88dc6e2ec">NetworkId</a> networkId, <span class="keyword">const</span> std::vector<ImportedOutputId> outputIds);</div> +<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  </div> +<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="comment">// Evaluates network using input in inputTensors, outputs filled into outputTensors.</span></div> +<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <a class="code" href="namespacearmnn.xhtml#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> <a class="code" href="structarmnn_1_1_runtime_impl.xhtml#aca51209383683ab8dbe801bbfddfe0c0">EnqueueWorkload</a>(<a class="code" href="namespacearmnn.xhtml#a0d8160388a127c1a23b37bc88dc6e2ec">NetworkId</a> networkId,</div> +<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keyword">const</span> <a class="code" href="namespacearmnn.xhtml#aa01bce88f89975a5a031db4cc8861527">InputTensors</a>& inputTensors,</div> +<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keyword">const</span> <a class="code" href="namespacearmnn.xhtml#a8f091a512915d1cb29a4ebf13dfc53ea">OutputTensors</a>& outputTensors,</div> +<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  std::vector<ImportedInputId> preImportedInputIds = {},</div> +<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  std::vector<ImportedOutputId> preImportedOutputIds = {});</div> +<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="comment"></span> </div> +<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="comment"> /// This is an experimental function.</span></div> +<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="comment"> /// Evaluates a network using input in inputTensors and outputs filled into outputTensors.</span></div> +<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <span class="comment"> /// This function performs a thread safe execution of the network. Returns once execution is complete.</span></div> +<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="comment"> /// Will block until this and any other thread using the same workingMem object completes.</span></div> +<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="comment"></span> <a class="code" href="namespacearmnn.xhtml#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> <a class="code" href="structarmnn_1_1_runtime_impl.xhtml#a5637cf5a5ddd5da1058606e26ca06737">Execute</a>(<a class="code" href="classarmnn_1_1experimental_1_1_i_working_mem_handle.xhtml">IWorkingMemHandle</a>& workingMemHandle,</div> +<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keyword">const</span> <a class="code" href="namespacearmnn.xhtml#aa01bce88f89975a5a031db4cc8861527">InputTensors</a>& inputTensors,</div> +<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keyword">const</span> <a class="code" href="namespacearmnn.xhtml#a8f091a512915d1cb29a4ebf13dfc53ea">OutputTensors</a>& outputTensors,</div> +<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  std::vector<ImportedInputId> preImportedInputs,</div> +<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  std::vector<ImportedOutputId> preImportedOutputs);</div> +<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="comment"></span> </div> +<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="comment"> /// Unloads a network from the Runtime.</span></div> +<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="comment"> /// At the moment this only removes the network from the m_Impl->m_Network.</span></div> +<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="comment"> /// This might need more work in the future to be AndroidNN compliant.</span></div> +<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <span class="comment"> /// @param [in] networkId Unique identifier for the network to be unloaded. Generated in LoadNetwork().</span></div> +<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="comment"> /// @return armnn::Status</span></div> +<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="comment"></span> <a class="code" href="namespacearmnn.xhtml#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> <a class="code" href="structarmnn_1_1_runtime_impl.xhtml#aed397991b99f485ffab9a42aece47019">UnloadNetwork</a>(<a class="code" href="namespacearmnn.xhtml#a0d8160388a127c1a23b37bc88dc6e2ec">NetworkId</a> networkId);</div> +<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  </div> +<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="structarmnn_1_1_runtime_impl.xhtml#ace3a3fbd42ff981af628e91fbeb254d5"> 90</a></span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_device_spec.xhtml">IDeviceSpec</a>& <a class="code" href="structarmnn_1_1_runtime_impl.xhtml#ace3a3fbd42ff981af628e91fbeb254d5">GetDeviceSpec</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_DeviceSpec; }</div> +<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="comment"></span> </div> +<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="comment"> /// Gets the profiler corresponding to the given network id.</span></div> +<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> <span class="comment"> /// @param networkId The id of the network for which to get the profile.</span></div> +<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <span class="comment"> /// @return A pointer to the requested profiler, or nullptr if not found.</span></div> +<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> <span class="comment"></span> <span class="keyword">const</span> std::shared_ptr<IProfiler> <a class="code" href="structarmnn_1_1_runtime_impl.xhtml#af87d0743d1266e264c3197a32299f4b2">GetProfiler</a>(<a class="code" href="namespacearmnn.xhtml#a0d8160388a127c1a23b37bc88dc6e2ec">NetworkId</a> networkId) <span class="keyword">const</span>;</div> +<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="comment"></span> </div> +<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="comment"> /// Create a new unique WorkingMemHandle object. Create multiple handles if you wish to have</span></div> +<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="comment"> /// overlapped Execution by calling this function from different threads.</span></div> +<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="comment"></span> std::unique_ptr<IWorkingMemHandle> <a class="code" href="structarmnn_1_1_runtime_impl.xhtml#a16e72675c37a8f251cf02951e222d4ab">CreateWorkingMemHandle</a>(<a class="code" href="namespacearmnn.xhtml#a0d8160388a127c1a23b37bc88dc6e2ec">NetworkId</a> networkId);</div> +<div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="comment"></span> </div> +<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <span class="comment"> /// Registers a callback function to debug layers performing custom computations on intermediate tensors.</span></div> +<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <span class="comment"> /// @param networkId The id of the network to register the callback.</span></div> +<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="comment"> /// @param func callback function to pass to the debug layer.</span></div> +<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="structarmnn_1_1_runtime_impl.xhtml#a957014ce1bfd27e99f0a50b3ced439e1">RegisterDebugCallback</a>(<a class="code" href="namespacearmnn.xhtml#a0d8160388a127c1a23b37bc88dc6e2ec">NetworkId</a> networkId, <span class="keyword">const</span> <a class="code" href="namespacearmnn.xhtml#a15f3ad9b5e4e3d46b0a6dda246a7bc28">DebugCallbackFunction</a>& func);</div> +<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> <span class="comment"></span> </div> +<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> <span class="comment"> /// Creates a runtime for workload execution.</span></div> +<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> <span class="comment"></span> <a class="code" href="structarmnn_1_1_runtime_impl.xhtml#a16dc7f9aef55701fb8634997eef570b0">RuntimeImpl</a>(<span class="keyword">const</span> <a class="code" href="structarmnn_1_1_i_runtime_1_1_creation_options.xhtml">IRuntime::CreationOptions</a>& options);</div> +<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  </div> +<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <a class="code" href="structarmnn_1_1_runtime_impl.xhtml#a67c5b82a7e34c291702233eb716cf96f">~RuntimeImpl</a>();</div> +<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  </div> +<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="comment">//NOTE: we won't need the profiling service reference but it is good to pass the service</span></div> +<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="comment">// in this way to facilitate other implementations down the road</span></div> +<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="keywordtype">void</span> <a class="code" href="structarmnn_1_1_runtime_impl.xhtml#a26fba70157e543867e53fded4373787d">ReportStructure</a>(arm::pipe::IProfilingService& profilingService) <span class="keyword">override</span>;</div> +<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  </div> +<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keywordtype">void</span> <a class="code" href="structarmnn_1_1_runtime_impl.xhtml#ae481f80f6519544d0d20d4f5d7419c7c">InitialiseProfilingService</a>(arm::pipe::IProfilingService& profilingService) <span class="keyword">override</span>;</div> +<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  </div> +<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="keyword">private</span>:</div> +<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keyword">friend</span> <span class="keywordtype">void</span> <a class="code" href="structarmnn_1_1_runtime_impl.xhtml#ab066312b4ca56c429a6b9c4095ac95ff">RuntimeLoadedNetworksReserve</a>(<a class="code" href="structarmnn_1_1_runtime_impl.xhtml">RuntimeImpl</a>* runtime); <span class="comment">// See RuntimeTests.cpp</span></div> +<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  </div> +<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="keyword">friend</span> arm::pipe::IProfilingService& <a class="code" href="structarmnn_1_1_runtime_impl.xhtml#ad100e1d65ec8df307df124da56b16e69">GetProfilingService</a>(<a class="code" href="structarmnn_1_1_runtime_impl.xhtml">RuntimeImpl</a>* runtime); <span class="comment">// See RuntimeTests.cpp</span></div> +<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  </div> +<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keywordtype">int</span> GenerateNetworkId();</div> +<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  </div> +<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <a class="code" href="classarmnn_1_1_loaded_network.xhtml">LoadedNetwork</a>* GetLoadedNetworkPtr(<a class="code" href="namespacearmnn.xhtml#a0d8160388a127c1a23b37bc88dc6e2ec">NetworkId</a> networkId) <span class="keyword">const</span>;</div> +<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  </div> +<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Func></div> +<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keywordtype">void</span> LoadedNetworkFuncSafe(<a class="code" href="namespacearmnn.xhtml#a0d8160388a127c1a23b37bc88dc6e2ec">NetworkId</a> networkId, Func f)</div> +<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  {</div> +<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> <span class="preprocessor">#if !defined(ARMNN_DISABLE_THREADS)</span></div> +<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  std::lock_guard<std::mutex> lockGuard(m_Mutex);</div> +<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> <span class="preprocessor">#endif</span></div> +<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="keyword">auto</span> iter = m_LoadedNetworks.find(networkId);</div> +<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="keywordflow">if</span> (iter != m_LoadedNetworks.end())</div> +<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  {</div> +<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  f(iter->second.get());</div> +<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  }</div> +<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  }</div> +<div class="line"><a name="l00138"></a><span class="lineno"> 138</span> <span class="comment"></span> </div> +<div class="line"><a name="l00139"></a><span class="lineno"> 139</span> <span class="comment"> /// Loads any available/compatible dynamic backend in the runtime.</span></div> +<div class="line"><a name="l00140"></a><span class="lineno"> 140</span> <span class="comment"></span> <span class="keywordtype">void</span> LoadDynamicBackends(<span class="keyword">const</span> std::string& overrideBackendPath);</div> +<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  </div> +<div class="line"><a name="l00142"></a><span class="lineno"> 142</span> <span class="preprocessor">#if !defined(ARMNN_DISABLE_THREADS)</span></div> +<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="keyword">mutable</span> std::mutex m_Mutex;</div> +<div class="line"><a name="l00144"></a><span class="lineno"> 144</span> <span class="preprocessor">#endif</span></div> +<div class="line"><a name="l00145"></a><span class="lineno"> 145</span> <span class="comment"></span> </div> +<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> <span class="comment"> /// Map of Loaded Networks with associated GUID as key</span></div> +<div class="line"><a name="l00147"></a><span class="lineno"> 147</span> <span class="comment"></span> <a class="code" href="namespacearmnn.xhtml#a12f6b97ee3f1060ecb6240e022678a8b">LoadedNetworks</a> m_LoadedNetworks;</div> +<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  </div> +<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  std::unordered_map<BackendId, IBackendInternal::IBackendContextPtr> m_BackendContexts;</div> +<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  </div> +<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keywordtype">int</span> m_NetworkIdCounter;</div> +<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  </div> +<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  DeviceSpec m_DeviceSpec;</div> +<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> <span class="comment"></span> </div> +<div class="line"><a name="l00155"></a><span class="lineno"> 155</span> <span class="comment"> /// List of dynamic backends loaded in the runtime</span></div> +<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> <span class="comment"></span> std::vector<DynamicBackendPtr> m_DynamicBackends;</div> +<div class="line"><a name="l00157"></a><span class="lineno"> 157</span> <span class="comment"></span> </div> +<div class="line"><a name="l00158"></a><span class="lineno"> 158</span> <span class="comment"> /// Profiling Service Instance</span></div> +<div class="line"><a name="l00159"></a><span class="lineno"> 159</span> <span class="comment"></span> std::unique_ptr<arm::pipe::IProfilingService> m_ProfilingService;</div> +<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> <span class="comment"></span> </div> +<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> <span class="comment"> /// Keep track of backend ids of the custom allocators that this instance of the runtime added. The</span></div> +<div class="line"><a name="l00162"></a><span class="lineno"> 162</span> <span class="comment"> /// destructor can then clean up for this runtime.</span></div> +<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> <span class="comment"></span> std::set<BackendId> m_AllocatorsAddedByThisRuntime;</div> +<div class="line"><a name="l00164"></a><span class="lineno"> 164</span> };</div> +<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  </div> +<div class="line"><a name="l00166"></a><span class="lineno"> 166</span> } <span class="comment">// namespace armnn</span></div> +</div><!-- fragment --></div><!-- contents --> +</div><!-- doc-content --> +<div class="ttc" id="astructarmnn_1_1_runtime_impl_xhtml_a67c5b82a7e34c291702233eb716cf96f"><div class="ttname"><a href="structarmnn_1_1_runtime_impl.xhtml#a67c5b82a7e34c291702233eb716cf96f">armnn::RuntimeImpl::~RuntimeImpl</a></div><div class="ttdeci">~RuntimeImpl()</div><div class="ttdef"><b>Definition:</b> <a href="_runtime_8cpp_source.xhtml#l00548">Runtime.cpp:548</a></div></div> +<div class="ttc" id="aclassarmnn_1_1experimental_1_1_i_working_mem_handle_xhtml"><div class="ttname"><a href="classarmnn_1_1experimental_1_1_i_working_mem_handle.xhtml">armnn::experimental::IWorkingMemHandle</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_working_mem_handle_8hpp_source.xhtml#l00020">IWorkingMemHandle.hpp:20</a></div></div> +<div class="ttc" id="anamespacearmnn_xhtml_a12f6b97ee3f1060ecb6240e022678a8b"><div class="ttname"><a href="namespacearmnn.xhtml#a12f6b97ee3f1060ecb6240e022678a8b">armnn::LoadedNetworks</a></div><div class="ttdeci">std::unordered_map< NetworkId, std::unique_ptr< LoadedNetwork > > LoadedNetworks</div><div class="ttdef"><b>Definition:</b> <a href="_runtime_8hpp_source.xhtml#l00026">Runtime.hpp:26</a></div></div> +<div class="ttc" id="anamespacearmnn_xhtml_a674efcf6cbdb9e831d653ff0e821fb38"><div class="ttname"><a href="namespacearmnn.xhtml#a674efcf6cbdb9e831d653ff0e821fb38">armnn::IOptimizedNetworkPtr</a></div><div class="ttdeci">std::unique_ptr< IOptimizedNetwork, void(*)(IOptimizedNetwork *network)> IOptimizedNetworkPtr</div><div class="ttdef"><b>Definition:</b> <a href="_i_network_8hpp_source.xhtml#l00328">INetwork.hpp:328</a></div></div> +<div class="ttc" id="astructarmnn_1_1_runtime_impl_xhtml_a957014ce1bfd27e99f0a50b3ced439e1"><div class="ttname"><a href="structarmnn_1_1_runtime_impl.xhtml#a957014ce1bfd27e99f0a50b3ced439e1">armnn::RuntimeImpl::RegisterDebugCallback</a></div><div class="ttdeci">void RegisterDebugCallback(NetworkId networkId, const DebugCallbackFunction &func)</div><div class="ttdoc">Registers a callback function to debug layers performing custom computations on intermediate tensors.</div><div class="ttdef"><b>Definition:</b> <a href="_runtime_8cpp_source.xhtml#l00766">Runtime.cpp:766</a></div></div> +<div class="ttc" id="astructarmnn_1_1_runtime_impl_xhtml_ab2498cef8d01323527d59b6bb5848eed"><div class="ttname"><a href="structarmnn_1_1_runtime_impl.xhtml#ab2498cef8d01323527d59b6bb5848eed">armnn::RuntimeImpl::ClearImportedInputs</a></div><div class="ttdeci">void ClearImportedInputs(NetworkId networkId, const std::vector< ImportedInputId > inputIds)</div><div class="ttdef"><b>Definition:</b> <a href="_runtime_8cpp_source.xhtml#l00635">Runtime.cpp:635</a></div></div> +<div class="ttc" id="anamespacearmnn_xhtml_ab8cf8f9fb6792e654c2d8d8382f6f01b"><div class="ttname"><a href="namespacearmnn.xhtml#ab8cf8f9fb6792e654c2d8d8382f6f01b">armnn::LayerBindingId</a></div><div class="ttdeci">int LayerBindingId</div><div class="ttdoc">Type of identifiers for bindable layers (inputs, outputs).</div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.xhtml#l00301">Types.hpp:301</a></div></div> +<div class="ttc" id="aclassarmnn_1_1_loaded_network_xhtml"><div class="ttname"><a href="classarmnn_1_1_loaded_network.xhtml">armnn::LoadedNetwork</a></div><div class="ttdef"><b>Definition:</b> <a href="_loaded_network_8hpp_source.xhtml#l00042">LoadedNetwork.hpp:42</a></div></div> +<div class="ttc" id="astructarmnn_1_1_i_runtime_1_1_creation_options_xhtml"><div class="ttname"><a href="structarmnn_1_1_i_runtime_1_1_creation_options.xhtml">armnn::IRuntime::CreationOptions</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.xhtml#l00085">IRuntime.hpp:85</a></div></div> +<div class="ttc" id="astructarmnn_1_1_runtime_impl_xhtml_a9e568c24b320fffcbacf27d9e5025b68"><div class="ttname"><a href="structarmnn_1_1_runtime_impl.xhtml#a9e568c24b320fffcbacf27d9e5025b68">armnn::RuntimeImpl::ImportInputs</a></div><div class="ttdeci">std::vector< ImportedInputId > ImportInputs(NetworkId networkId, const InputTensors &inputTensors, MemorySource forceImportMemorySource)</div><div class="ttdef"><b>Definition:</b> <a href="_runtime_8cpp_source.xhtml#l00623">Runtime.cpp:623</a></div></div> +<div class="ttc" id="anamespacearmnn_xhtml_a15f3ad9b5e4e3d46b0a6dda246a7bc28"><div class="ttname"><a href="namespacearmnn.xhtml#a15f3ad9b5e4e3d46b0a6dda246a7bc28">armnn::DebugCallbackFunction</a></div><div class="ttdeci">std::function< void(LayerGuid guid, unsigned int slotIndex, ITensorHandle *tensorHandle)> DebugCallbackFunction</div><div class="ttdoc">Define the type of callback for the Debug layer to call.</div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.xhtml#l00390">Types.hpp:390</a></div></div> +<div class="ttc" id="astructarmnn_1_1_runtime_impl_xhtml"><div class="ttname"><a href="structarmnn_1_1_runtime_impl.xhtml">armnn::RuntimeImpl</a></div><div class="ttdef"><b>Definition:</b> <a href="_runtime_8hpp_source.xhtml#l00030">Runtime.hpp:30</a></div></div> +<div class="ttc" id="ainclude_2armnn_2backends_2_dynamic_backend_8hpp_xhtml"><div class="ttname"><a href="include_2armnn_2backends_2_dynamic_backend_8hpp.xhtml">DynamicBackend.hpp</a></div></div> +<div class="ttc" id="astructarmnn_1_1_runtime_impl_xhtml_aca51209383683ab8dbe801bbfddfe0c0"><div class="ttname"><a href="structarmnn_1_1_runtime_impl.xhtml#aca51209383683ab8dbe801bbfddfe0c0">armnn::RuntimeImpl::EnqueueWorkload</a></div><div class="ttdeci">Status EnqueueWorkload(NetworkId networkId, const InputTensors &inputTensors, const OutputTensors &outputTensors, std::vector< ImportedInputId > preImportedInputIds={}, std::vector< ImportedOutputId > preImportedOutputIds={})</div><div class="ttdef"><b>Definition:</b> <a href="_runtime_8cpp_source.xhtml#l00644">Runtime.cpp:644</a></div></div> +<div class="ttc" id="astructarmnn_1_1_runtime_impl_xhtml_a26fba70157e543867e53fded4373787d"><div class="ttname"><a href="structarmnn_1_1_runtime_impl.xhtml#a26fba70157e543867e53fded4373787d">armnn::RuntimeImpl::ReportStructure</a></div><div class="ttdeci">void ReportStructure(arm::pipe::IProfilingService &profilingService) override</div><div class="ttdef"><b>Definition:</b> <a href="_runtime_8cpp_source.xhtml#l00302">Runtime.cpp:302</a></div></div> +<div class="ttc" id="astructarmnn_1_1_runtime_impl_xhtml_aed397991b99f485ffab9a42aece47019"><div class="ttname"><a href="structarmnn_1_1_runtime_impl.xhtml#aed397991b99f485ffab9a42aece47019">armnn::RuntimeImpl::UnloadNetwork</a></div><div class="ttdeci">Status UnloadNetwork(NetworkId networkId)</div><div class="ttdoc">Unloads a network from the Runtime.</div><div class="ttdef"><b>Definition:</b> <a href="_runtime_8cpp_source.xhtml#l00232">Runtime.cpp:232</a></div></div> +<div class="ttc" id="a_i_network_8hpp_xhtml"><div class="ttname"><a href="_i_network_8hpp.xhtml">INetwork.hpp</a></div></div> +<div class="ttc" id="anamespacearmnn_xhtml"><div class="ttname"><a href="namespacearmnn.xhtml">armnn</a></div><div class="ttdoc">Copyright (c) 2021 ARM Limited and Contributors.</div><div class="ttdef"><b>Definition:</b> <a href="01__00__quick__start_8dox_source.xhtml#l00006">01_00_quick_start.dox:6</a></div></div> +<div class="ttc" id="a_backend_id_8hpp_xhtml"><div class="ttname"><a href="_backend_id_8hpp.xhtml">BackendId.hpp</a></div></div> +<div class="ttc" id="a_device_spec_8hpp_xhtml"><div class="ttname"><a href="_device_spec_8hpp.xhtml">DeviceSpec.hpp</a></div></div> +<div class="ttc" id="astructarmnn_1_1_i_network_properties_xhtml"><div class="ttname"><a href="structarmnn_1_1_i_network_properties.xhtml">armnn::INetworkProperties</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.xhtml#l00043">IRuntime.hpp:43</a></div></div> +<div class="ttc" id="astructarmnn_1_1_runtime_impl_xhtml_ae481f80f6519544d0d20d4f5d7419c7c"><div class="ttname"><a href="structarmnn_1_1_runtime_impl.xhtml#ae481f80f6519544d0d20d4f5d7419c7c">armnn::RuntimeImpl::InitialiseProfilingService</a></div><div class="ttdeci">void InitialiseProfilingService(arm::pipe::IProfilingService &profilingService) override</div><div class="ttdef"><b>Definition:</b> <a href="_runtime_8cpp_source.xhtml#l00317">Runtime.cpp:317</a></div></div> +<div class="ttc" id="astructarmnn_1_1_runtime_impl_xhtml_ad100e1d65ec8df307df124da56b16e69"><div class="ttname"><a href="structarmnn_1_1_runtime_impl.xhtml#ad100e1d65ec8df307df124da56b16e69">armnn::RuntimeImpl::GetProfilingService</a></div><div class="ttdeci">friend arm::pipe::IProfilingService & GetProfilingService(RuntimeImpl *runtime)</div><div class="ttdef"><b>Definition:</b> <a href="_test_utils_8cpp_source.xhtml#l00059">TestUtils.cpp:59</a></div></div> +<div class="ttc" id="anamespacearmnn_xhtml_ac77c71a352f1e7f9fa4d9e4ceafa81d9"><div class="ttname"><a href="namespacearmnn.xhtml#ac77c71a352f1e7f9fa4d9e4ceafa81d9">armnn::IInitialiseProfilingService</a></div><div class="ttdeci">arm::pipe::IInitialiseProfilingService IInitialiseProfilingService</div><div class="ttdef"><b>Definition:</b> <a href="_runtime_8hpp_source.xhtml#l00028">Runtime.hpp:28</a></div></div> +<div class="ttc" id="anamespacearmnn_xhtml_aa01bce88f89975a5a031db4cc8861527"><div class="ttname"><a href="namespacearmnn.xhtml#aa01bce88f89975a5a031db4cc8861527">armnn::InputTensors</a></div><div class="ttdeci">std::vector< std::pair< LayerBindingId, class ConstTensor > > InputTensors</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.xhtml#l00392">Tensor.hpp:392</a></div></div> +<div class="ttc" id="aclassarmnn_1_1_i_device_spec_xhtml"><div class="ttname"><a href="classarmnn_1_1_i_device_spec.xhtml">armnn::IDeviceSpec</a></div><div class="ttdoc">Device specific knowledge to be passed to the optimizer.</div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.xhtml#l00291">Types.hpp:291</a></div></div> +<div class="ttc" id="anamespacearmnn_xhtml_a14fcd7f88d11cea0a018269dca5f9277"><div class="ttname"><a href="namespacearmnn.xhtml#a14fcd7f88d11cea0a018269dca5f9277">armnn::MemorySource</a></div><div class="ttdeci">MemorySource</div><div class="ttdoc">Define the Memory Source to reduce copies.</div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.xhtml#l00241">Types.hpp:241</a></div></div> +<div class="ttc" id="aclassarmnn_1_1_tensor_info_xhtml"><div class="ttname"><a href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.xhtml#l00152">Tensor.hpp:152</a></div></div> +<div class="ttc" id="anamespacearmnn_xhtml_a8f7d7a1df79013aed46ae67d31c239b5"><div class="ttname"><a href="namespacearmnn.xhtml#a8f7d7a1df79013aed46ae67d31c239b5">armnn::IReportStructure</a></div><div class="ttdeci">arm::pipe::IReportStructure IReportStructure</div><div class="ttdef"><b>Definition:</b> <a href="_runtime_8hpp_source.xhtml#l00027">Runtime.hpp:27</a></div></div> +<div class="ttc" id="anamespacearmnn_xhtml_a0d8160388a127c1a23b37bc88dc6e2ec"><div class="ttname"><a href="namespacearmnn.xhtml#a0d8160388a127c1a23b37bc88dc6e2ec">armnn::NetworkId</a></div><div class="ttdeci">int NetworkId</div><div class="ttdef"><b>Definition:</b> <a href="_i_runtime_8hpp_source.xhtml#l00035">IRuntime.hpp:35</a></div></div> +<div class="ttc" id="a_tensor_8hpp_xhtml"><div class="ttname"><a href="_tensor_8hpp.xhtml">Tensor.hpp</a></div></div> +<div class="ttc" id="astructarmnn_1_1_runtime_impl_xhtml_af87d0743d1266e264c3197a32299f4b2"><div class="ttname"><a href="structarmnn_1_1_runtime_impl.xhtml#af87d0743d1266e264c3197a32299f4b2">armnn::RuntimeImpl::GetProfiler</a></div><div class="ttdeci">const std::shared_ptr< IProfiler > GetProfiler(NetworkId networkId) const</div><div class="ttdoc">Gets the profiler corresponding to the given network id.</div><div class="ttdef"><b>Definition:</b> <a href="_runtime_8cpp_source.xhtml#l00290">Runtime.cpp:290</a></div></div> +<div class="ttc" id="anamespacearmnn_xhtml_a67a0db04d321a74b7e7fcfd3f1a3f70b"><div class="ttname"><a href="namespacearmnn.xhtml#a67a0db04d321a74b7e7fcfd3f1a3f70b">armnn::Status</a></div><div class="ttdeci">Status</div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.xhtml#l00042">Types.hpp:42</a></div></div> +<div class="ttc" id="astructarmnn_1_1_runtime_impl_xhtml_a746d54f647096c2f9932dae20a6590a2"><div class="ttname"><a href="structarmnn_1_1_runtime_impl.xhtml#a746d54f647096c2f9932dae20a6590a2">armnn::RuntimeImpl::ClearImportedOutputs</a></div><div class="ttdeci">void ClearImportedOutputs(NetworkId networkId, const std::vector< ImportedOutputId > outputIds)</div><div class="ttdef"><b>Definition:</b> <a href="_runtime_8cpp_source.xhtml#l00639">Runtime.cpp:639</a></div></div> +<div class="ttc" id="astructarmnn_1_1_runtime_impl_xhtml_aa198ca53eeb01b6e2134da924ec36405"><div class="ttname"><a href="structarmnn_1_1_runtime_impl.xhtml#aa198ca53eeb01b6e2134da924ec36405">armnn::RuntimeImpl::GetInputTensorInfo</a></div><div class="ttdeci">armnn::TensorInfo GetInputTensorInfo(NetworkId networkId, LayerBindingId layerId) const</div><div class="ttdef"><b>Definition:</b> <a href="_runtime_8cpp_source.xhtml#l00613">Runtime.cpp:613</a></div></div> +<div class="ttc" id="astructarmnn_1_1_runtime_impl_xhtml_af92b5ae61208a778571bcea7e6aac7b4"><div class="ttname"><a href="structarmnn_1_1_runtime_impl.xhtml#af92b5ae61208a778571bcea7e6aac7b4">armnn::RuntimeImpl::LoadNetwork</a></div><div class="ttdeci">Status LoadNetwork(NetworkId &networkIdOut, IOptimizedNetworkPtr network)</div><div class="ttdoc">Loads a complete network into the Runtime.</div><div class="ttdef"><b>Definition:</b> <a href="_runtime_8cpp_source.xhtml#l00166">Runtime.cpp:166</a></div></div> +<div class="ttc" id="astructarmnn_1_1_runtime_impl_xhtml_a759c10269d17da40e41500a132d4f0d8"><div class="ttname"><a href="structarmnn_1_1_runtime_impl.xhtml#a759c10269d17da40e41500a132d4f0d8">armnn::RuntimeImpl::ImportOutputs</a></div><div class="ttdeci">std::vector< ImportedOutputId > ImportOutputs(NetworkId networkId, const OutputTensors &outputTensors, MemorySource forceImportMemorySource)</div><div class="ttdef"><b>Definition:</b> <a href="_runtime_8cpp_source.xhtml#l00629">Runtime.cpp:629</a></div></div> +<div class="ttc" id="a_i_runtime_8hpp_xhtml"><div class="ttname"><a href="_i_runtime_8hpp.xhtml">IRuntime.hpp</a></div></div> +<div class="ttc" id="anamespacearmnn_xhtml_a8f091a512915d1cb29a4ebf13dfc53ea"><div class="ttname"><a href="namespacearmnn.xhtml#a8f091a512915d1cb29a4ebf13dfc53ea">armnn::OutputTensors</a></div><div class="ttdeci">std::vector< std::pair< LayerBindingId, class Tensor > > OutputTensors</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.xhtml#l00393">Tensor.hpp:393</a></div></div> +<div class="ttc" id="astructarmnn_1_1_runtime_impl_xhtml_a5637cf5a5ddd5da1058606e26ca06737"><div class="ttname"><a href="structarmnn_1_1_runtime_impl.xhtml#a5637cf5a5ddd5da1058606e26ca06737">armnn::RuntimeImpl::Execute</a></div><div class="ttdeci">Status Execute(IWorkingMemHandle &workingMemHandle, const InputTensors &inputTensors, const OutputTensors &outputTensors, std::vector< ImportedInputId > preImportedInputs, std::vector< ImportedOutputId > preImportedOutputs)</div><div class="ttdoc">This is an experimental function.</div><div class="ttdef"><b>Definition:</b> <a href="_runtime_8cpp_source.xhtml#l00696">Runtime.cpp:696</a></div></div> +<div class="ttc" id="a_loaded_network_8hpp_xhtml"><div class="ttname"><a href="_loaded_network_8hpp.xhtml">LoadedNetwork.hpp</a></div></div> +<div class="ttc" id="astructarmnn_1_1_runtime_impl_xhtml_ace3a3fbd42ff981af628e91fbeb254d5"><div class="ttname"><a href="structarmnn_1_1_runtime_impl.xhtml#ace3a3fbd42ff981af628e91fbeb254d5">armnn::RuntimeImpl::GetDeviceSpec</a></div><div class="ttdeci">const IDeviceSpec & GetDeviceSpec() const</div><div class="ttdef"><b>Definition:</b> <a href="_runtime_8hpp_source.xhtml#l00090">Runtime.hpp:90</a></div></div> +<div class="ttc" id="astructarmnn_1_1_runtime_impl_xhtml_a16e72675c37a8f251cf02951e222d4ab"><div class="ttname"><a href="structarmnn_1_1_runtime_impl.xhtml#a16e72675c37a8f251cf02951e222d4ab">armnn::RuntimeImpl::CreateWorkingMemHandle</a></div><div class="ttdeci">std::unique_ptr< IWorkingMemHandle > CreateWorkingMemHandle(NetworkId networkId)</div><div class="ttdoc">Create a new unique WorkingMemHandle object.</div><div class="ttdef"><b>Definition:</b> <a href="_runtime_8cpp_source.xhtml#l00735">Runtime.cpp:735</a></div></div> +<div class="ttc" id="astructarmnn_1_1_runtime_impl_xhtml_ab066312b4ca56c429a6b9c4095ac95ff"><div class="ttname"><a href="structarmnn_1_1_runtime_impl.xhtml#ab066312b4ca56c429a6b9c4095ac95ff">armnn::RuntimeImpl::RuntimeLoadedNetworksReserve</a></div><div class="ttdeci">friend void RuntimeLoadedNetworksReserve(RuntimeImpl *runtime)</div></div> +<div class="ttc" id="astructarmnn_1_1_runtime_impl_xhtml_a16dc7f9aef55701fb8634997eef570b0"><div class="ttname"><a href="structarmnn_1_1_runtime_impl.xhtml#a16dc7f9aef55701fb8634997eef570b0">armnn::RuntimeImpl::RuntimeImpl</a></div><div class="ttdeci">RuntimeImpl(const IRuntime::CreationOptions &options)</div><div class="ttdoc">Creates a runtime for workload execution.</div><div class="ttdef"><b>Definition:</b> <a href="_runtime_8cpp_source.xhtml#l00323">Runtime.cpp:323</a></div></div> +<div class="ttc" id="astructarmnn_1_1_runtime_impl_xhtml_a81c83702b94931626c6d84a3fa915362"><div class="ttname"><a href="structarmnn_1_1_runtime_impl.xhtml#a81c83702b94931626c6d84a3fa915362">armnn::RuntimeImpl::GetOutputTensorInfo</a></div><div class="ttdeci">armnn::TensorInfo GetOutputTensorInfo(NetworkId networkId, LayerBindingId layerId) const</div><div class="ttdef"><b>Definition:</b> <a href="_runtime_8cpp_source.xhtml#l00618">Runtime.cpp:618</a></div></div> +<!-- start footer part --> +<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> + <ul> + <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.xhtml">src</a></li><li class="navelem"><a class="el" href="dir_e0a84d05c80a2ef4231141dcbbeac5c8.xhtml">armnn</a></li><li class="navelem"><a class="el" href="_runtime_8hpp.xhtml">Runtime.hpp</a></li> + <li class="footer">Generated on Thu May 18 2023 10:35:40 for ArmNN by + <a href="http://www.doxygen.org/index.html"> + <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li> + </ul> +</div> +</body> +</html> |