diff options
author | Nikhil Raj <nikhil.raj@arm.com> | 2022-03-08 20:01:38 +0000 |
---|---|---|
committer | Nikhil Raj <nikhil.raj@arm.com> | 2022-03-09 12:26:14 +0000 |
commit | f4019872c1134c6fcc1d6993e5746f55c1e79208 (patch) | |
tree | b07ea8bdd70d696adfa3814344e210ea67be1e8c /22.02/_runtime_8hpp_source.xhtml | |
parent | 0d75c02b21b919b81035205f3914ee273b93b30c (diff) | |
download | armnn-f4019872c1134c6fcc1d6993e5746f55c1e79208.tar.gz |
IVGCVSW-6819 Fix the directory structure and broken link to latest docu
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I05b559d15faf92c76ff536719693b361316be4f3
Diffstat (limited to '22.02/_runtime_8hpp_source.xhtml')
-rw-r--r-- | 22.02/_runtime_8hpp_source.xhtml | 164 |
1 files changed, 164 insertions, 0 deletions
diff --git a/22.02/_runtime_8hpp_source.xhtml b/22.02/_runtime_8hpp_source.xhtml new file mode 100644 index 0000000000..76a6df6383 --- /dev/null +++ b/22.02/_runtime_8hpp_source.xhtml @@ -0,0 +1,164 @@ +<!-- 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.13"/> +<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> +<script type="text/javascript"> + $(document).ready(initResizable); +</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" 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">22.02</span> + </div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.13 --> +<script type="text/javascript"> +var searchBox = new SearchBox("searchBox", "search",false,'Search'); +</script> +<script type="text/javascript" src="menudata.js"></script> +<script type="text/javascript" src="menu.js"></script> +<script type="text/javascript"> +$(function() { + initMenu('',true,false,'search.php','Search'); + $(document).ready(function() { init_search(); }); +}); +</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"> +$(document).ready(function(){initNavTree('_runtime_8hpp_source.xhtml','');}); +</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 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 <<a class="code" href="_profiling_service_8hpp.xhtml">ProfilingService.hpp</a>></span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include <<a class="code" href="_i_profiling_service_8hpp.xhtml">IProfilingService.hpp</a>></span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <<a class="code" href="_i_report_structure_8hpp.xhtml">IReportStructure.hpp</a>></span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <mutex></span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <unordered_map></span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="keyword">namespace </span><a class="code" href="namespacearmnn.xhtml">armnn</a></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> {</div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="namespacearmnn.xhtml#a12f6b97ee3f1060ecb6240e022678a8b"> 27</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="l00028"></a><span class="lineno"><a class="line" href="namespacearmnn.xhtml#af55a349b17603163f3dc948928501c00"> 28</a></span> <span class="keyword">using</span> <a class="code" href="classarmnn_1_1profiling_1_1_i_report_structure.xhtml">IReportStructure</a> = <a class="code" href="namespacearmnn.xhtml#af55a349b17603163f3dc948928501c00">profiling::IReportStructure</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="classarmnn_1_1profiling_1_1_i_report_structure.xhtml">IReportStructure</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#ac2cb56a0d7ee6fb53e9f97e624973c19">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 = <a class="code" href="namespacearmnn.xhtml#ae2f04a162585c0a5222a537efd5456aeaec0fc0100c4fc1ce4eea230c3dc10360">MemorySource::Undefined</a>);</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#a7db39b06bc7f50287f54320d26df4373">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 = <a class="code" href="namespacearmnn.xhtml#ae2f04a162585c0a5222a537efd5456aeaec0fc0100c4fc1ce4eea230c3dc10360">MemorySource::Undefined</a>);</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#a75ccbc4465b34e691a31a5cea42689c0">ReportStructure</a>();</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="keyword">private</span>:</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</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="l00117"></a><span class="lineno"> 117</span> </div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keyword">friend</span> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">profiling::ProfilingService</a>& <a class="code" href="structarmnn_1_1_runtime_impl.xhtml#aff65942646ba035d5f2a775fa9358ff4">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="l00119"></a><span class="lineno"> 119</span> </div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="keywordtype">int</span> GenerateNetworkId();</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>  <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="l00123"></a><span class="lineno"> 123</span> </div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Func></div><div class="line"><a name="l00125"></a><span class="lineno"> 125</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="l00126"></a><span class="lineno"> 126</span>  {</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  std::lock_guard<std::mutex> lockGuard(m_Mutex);</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keyword">auto</span> iter = m_LoadedNetworks.find(networkId);</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <span class="keywordflow">if</span> (iter != m_LoadedNetworks.end())</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  {</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  f(iter->second.get());</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  }</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  }</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span> <span class="comment"></span></div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span> <span class="comment"> /// Loads any available/compatible dynamic backend in the runtime.</span></div><div class="line"><a name="l00136"></a><span class="lineno"> 136</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="l00137"></a><span class="lineno"> 137</span> </div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="keyword">mutable</span> std::mutex m_Mutex;</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span> <span class="comment"></span></div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span> <span class="comment"> /// Map of Loaded Networks with associated GUID as key</span></div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span> <span class="comment"></span> <a class="code" href="namespacearmnn.xhtml#a12f6b97ee3f1060ecb6240e022678a8b">LoadedNetworks</a> m_LoadedNetworks;</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span> </div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  std::unordered_map<BackendId, IBackendInternal::IBackendContextPtr> m_BackendContexts;</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span> </div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keywordtype">int</span> m_NetworkIdCounter;</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span> </div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <a class="code" href="classarmnn_1_1_device_spec.xhtml">DeviceSpec</a> m_DeviceSpec;</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span> <span class="comment"></span></div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span> <span class="comment"> /// List of dynamic backends loaded in the runtime</span></div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span> <span class="comment"></span> std::vector<DynamicBackendPtr> m_DynamicBackends;</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span> <span class="comment"></span></div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span> <span class="comment"> /// Profiling Service Instance</span></div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span> <span class="comment"></span> <a class="code" href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">profiling::ProfilingService</a> m_ProfilingService;</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span> };</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span> </div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span> } <span class="comment">// namespace armnn</span></div><div class="ttc" id="_device_spec_8hpp_xhtml"><div class="ttname"><a href="_device_spec_8hpp.xhtml">DeviceSpec.hpp</a></div></div> +<div class="ttc" id="structarmnn_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#l00565">Runtime.cpp:565</a></div></div> +<div class="ttc" id="_tensor_8hpp_xhtml"><div class="ttname"><a href="_tensor_8hpp.xhtml">Tensor.hpp</a></div></div> +<div class="ttc" id="classarmnn_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="classarmnn_1_1_device_spec_xhtml"><div class="ttname"><a href="classarmnn_1_1_device_spec.xhtml">armnn::DeviceSpec</a></div><div class="ttdef"><b>Definition:</b> <a href="_device_spec_8hpp_source.xhtml#l00014">DeviceSpec.hpp:14</a></div></div> +<div class="ttc" id="structarmnn_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#l00648">Runtime.cpp:648</a></div></div> +<div class="ttc" id="structarmnn_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#l00214">Runtime.cpp:214</a></div></div> +<div class="ttc" id="_i_runtime_8hpp_xhtml"><div class="ttname"><a href="_i_runtime_8hpp.xhtml">IRuntime.hpp</a></div></div> +<div class="ttc" id="structarmnn_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#l00150">Runtime.cpp:150</a></div></div> +<div class="ttc" id="namespacearmnn_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="structarmnn_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#l00570">Runtime.cpp:570</a></div></div> +<div class="ttc" id="namespacearmnn_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="namespacearmnn_xhtml_af55a349b17603163f3dc948928501c00"><div class="ttname"><a href="namespacearmnn.xhtml#af55a349b17603163f3dc948928501c00">armnn::IReportStructure</a></div><div class="ttdeci">profiling::IReportStructure IReportStructure</div><div class="ttdef"><b>Definition:</b> <a href="_runtime_8hpp_source.xhtml#l00028">Runtime.hpp:28</a></div></div> +<div class="ttc" id="_loaded_network_8hpp_xhtml"><div class="ttname"><a href="_loaded_network_8hpp.xhtml">LoadedNetwork.hpp</a></div></div> +<div class="ttc" id="structarmnn_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#l00718">Runtime.cpp:718</a></div></div> +<div class="ttc" id="structarmnn_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#l00270">Runtime.cpp:270</a></div></div> +<div class="ttc" id="namespacearmnn_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#l00371">Types.hpp:371</a></div></div> +<div class="ttc" id="namespacearmnn_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#l00277">Types.hpp:277</a></div></div> +<div class="ttc" id="structarmnn_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#l00033">IRuntime.hpp:33</a></div></div> +<div class="ttc" id="structarmnn_1_1_runtime_impl_xhtml_aff65942646ba035d5f2a775fa9358ff4"><div class="ttname"><a href="structarmnn_1_1_runtime_impl.xhtml#aff65942646ba035d5f2a775fa9358ff4">armnn::RuntimeImpl::GetProfilingService</a></div><div class="ttdeci">friend profiling::ProfilingService & GetProfilingService(RuntimeImpl *runtime)</div><div class="ttdef"><b>Definition:</b> <a href="_test_utils_8cpp_source.xhtml#l00057">TestUtils.cpp:57</a></div></div> +<div class="ttc" id="_i_report_structure_8hpp_xhtml"><div class="ttname"><a href="_i_report_structure_8hpp.xhtml">IReportStructure.hpp</a></div></div> +<div class="ttc" id="include_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="structarmnn_1_1_runtime_impl_xhtml_a75ccbc4465b34e691a31a5cea42689c0"><div class="ttname"><a href="structarmnn_1_1_runtime_impl.xhtml#a75ccbc4465b34e691a31a5cea42689c0">armnn::RuntimeImpl::ReportStructure</a></div><div class="ttdeci">void ReportStructure()</div><div class="ttdef"><b>Definition:</b> <a href="_runtime_8cpp_source.xhtml#l00282">Runtime.cpp:282</a></div></div> +<div class="ttc" id="structarmnn_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="namespacearmnn_xhtml_ae2f04a162585c0a5222a537efd5456aeaec0fc0100c4fc1ce4eea230c3dc10360"><div class="ttname"><a href="namespacearmnn.xhtml#ae2f04a162585c0a5222a537efd5456aeaec0fc0100c4fc1ce4eea230c3dc10360">armnn::Compute::Undefined</a></div></div> +<div class="ttc" id="namespacearmnn_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#l00025">IRuntime.hpp:25</a></div></div> +<div class="ttc" id="structarmnn_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#l00509">Runtime.cpp:509</a></div></div> +<div class="ttc" id="namespacearmnn_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="namespacearmnn_xhtml_a67a0db04d321a74b7e7fcfd3f1a3f70b"><div class="ttname"><a href="namespacearmnn.xhtml#a67a0db04d321a74b7e7fcfd3f1a3f70b">armnn::Status</a></div><div class="ttdeci">Status</div><div class="ttdoc">enumeration </div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.xhtml#l00029">Types.hpp:29</a></div></div> +<div class="ttc" id="namespacearmnn_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#l00242">INetwork.hpp:242</a></div></div> +<div class="ttc" id="structarmnn_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#l00587">Runtime.cpp:587</a></div></div> +<div class="ttc" id="classarmnn_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#l00018">IWorkingMemHandle.hpp:18</a></div></div> +<div class="ttc" id="classarmnn_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#l00267">Types.hpp:267</a></div></div> +<div class="ttc" id="structarmnn_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 class="ttdef"><b>Definition:</b> <a href="_runtime_tests_8cpp_source.xhtml#l00030">RuntimeTests.cpp:30</a></div></div> +<div class="ttc" id="structarmnn_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="_backend_id_8hpp_xhtml"><div class="ttname"><a href="_backend_id_8hpp.xhtml">BackendId.hpp</a></div></div> +<div class="ttc" id="_i_network_8hpp_xhtml"><div class="ttname"><a href="_i_network_8hpp.xhtml">INetwork.hpp</a></div></div> +<div class="ttc" id="classarmnn_1_1profiling_1_1_i_report_structure_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_i_report_structure.xhtml">armnn::profiling::IReportStructure</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_report_structure_8hpp_source.xhtml#l00014">IReportStructure.hpp:14</a></div></div> +<div class="ttc" id="structarmnn_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#l00075">IRuntime.hpp:75</a></div></div> +<div class="ttc" id="classarmnn_1_1profiling_1_1_profiling_service_xhtml"><div class="ttname"><a href="classarmnn_1_1profiling_1_1_profiling_service.xhtml">armnn::profiling::ProfilingService</a></div><div class="ttdef"><b>Definition:</b> <a href="_profiling_service_8hpp_source.xhtml#l00050">ProfilingService.hpp:50</a></div></div> +<div class="ttc" id="structarmnn_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#l00596">Runtime.cpp:596</a></div></div> +<div class="ttc" id="classarmnn_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#l00041">LoadedNetwork.hpp:41</a></div></div> +<div class="ttc" id="namespacearmnn_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#l00217">Types.hpp:217</a></div></div> +<div class="ttc" id="structarmnn_1_1_runtime_impl_xhtml_ac2cb56a0d7ee6fb53e9f97e624973c19"><div class="ttname"><a href="structarmnn_1_1_runtime_impl.xhtml#ac2cb56a0d7ee6fb53e9f97e624973c19">armnn::RuntimeImpl::ImportInputs</a></div><div class="ttdeci">std::vector< ImportedInputId > ImportInputs(NetworkId networkId, const InputTensors &inputTensors, MemorySource forceImportMemorySource=MemorySource::Undefined)</div><div class="ttdef"><b>Definition:</b> <a href="_runtime_8cpp_source.xhtml#l00575">Runtime.cpp:575</a></div></div> +<div class="ttc" id="structarmnn_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#l00297">Runtime.cpp:297</a></div></div> +<div class="ttc" id="namespacearmnn_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#l00027">Runtime.hpp:27</a></div></div> +<div class="ttc" id="structarmnn_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#l00687">Runtime.cpp:687</a></div></div> +<div class="ttc" id="structarmnn_1_1_runtime_impl_xhtml_a7db39b06bc7f50287f54320d26df4373"><div class="ttname"><a href="structarmnn_1_1_runtime_impl.xhtml#a7db39b06bc7f50287f54320d26df4373">armnn::RuntimeImpl::ImportOutputs</a></div><div class="ttdeci">std::vector< ImportedOutputId > ImportOutputs(NetworkId networkId, const OutputTensors &outputTensors, MemorySource forceImportMemorySource=MemorySource::Undefined)</div><div class="ttdef"><b>Definition:</b> <a href="_runtime_8cpp_source.xhtml#l00581">Runtime.cpp:581</a></div></div> +<div class="ttc" id="_i_profiling_service_8hpp_xhtml"><div class="ttname"><a href="_i_profiling_service_8hpp.xhtml">IProfilingService.hpp</a></div></div> +<div class="ttc" id="structarmnn_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#l00591">Runtime.cpp:591</a></div></div> +<div class="ttc" id="_profiling_service_8hpp_xhtml"><div class="ttname"><a href="_profiling_service_8hpp.xhtml">ProfilingService.hpp</a></div></div> +</div><!-- fragment --></div><!-- contents --> +</div><!-- doc-content --> +<!-- 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 Wed Mar 9 2022 12:00:07 for ArmNN by + <a href="http://www.doxygen.org/index.html"> + <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> + </ul> +</div> +</body> +</html> |