aboutsummaryrefslogtreecommitdiff
path: root/23.05/_working_mem_handle_8hpp_source.xhtml
diff options
context:
space:
mode:
authorNikhil Raj <nikhil.raj@arm.com>2023-05-19 11:14:28 +0100
committerNikhil Raj <nikhil.raj@arm.com>2023-05-19 11:14:28 +0100
commit8efb48a6847c5cd166c561127ae6611150963ce3 (patch)
treef4262b7e54d26021a54bbc310f46d16a291463e5 /23.05/_working_mem_handle_8hpp_source.xhtml
parent023fe66a59414a0a7b337c7be5c3c341eb5b55d2 (diff)
downloadarmnn-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/_working_mem_handle_8hpp_source.xhtml')
-rw-r--r--23.05/_working_mem_handle_8hpp_source.xhtml319
1 files changed, 319 insertions, 0 deletions
diff --git a/23.05/_working_mem_handle_8hpp_source.xhtml b/23.05/_working_mem_handle_8hpp_source.xhtml
new file mode 100644
index 0000000000..8ab746508b
--- /dev/null
+++ b/23.05/_working_mem_handle_8hpp_source.xhtml
@@ -0,0 +1,319 @@
+<!-- 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/WorkingMemHandle.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">
+ &#160;<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&amp;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&amp;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&amp;dn=gpl-2.0.txt GPL-v2 */
+$(document).ready(function(){initNavTree('_working_mem_handle_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">WorkingMemHandle.hpp</div> </div>
+</div><!--header-->
+<div class="contents">
+<a href="_working_mem_handle_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>&#160;<span class="comment">//</span></div>
+<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">// Copyright © 2022 Arm Ltd and Contributors. All rights reserved.</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// SPDX-License-Identifier: MIT</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">//</span></div>
+<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160; </div>
+<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="preprocessor">#pragma once</span></div>
+<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160; </div>
+<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_execution_data_8hpp.xhtml">ExecutionData.hpp</a>&quot;</span></div>
+<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_layer_8hpp.xhtml">Layer.hpp</a>&quot;</span></div>
+<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_network_8hpp.xhtml">Network.hpp</a>&quot;</span></div>
+<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_working_mem_descriptor_8hpp.xhtml">WorkingMemDescriptor.hpp</a>&quot;</span></div>
+<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160; </div>
+<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_i_working_mem_handle_8hpp.xhtml">armnn/IWorkingMemHandle.hpp</a>&gt;</span></div>
+<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_tensor_8hpp.xhtml">armnn/Tensor.hpp</a>&gt;</span></div>
+<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_i_backend_internal_8hpp.xhtml">armnn/backends/IBackendInternal.hpp</a>&gt;</span></div>
+<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160; </div>
+<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#include &lt;unordered_map&gt;</span></div>
+<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#include &lt;mutex&gt;</span></div>
+<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_memory_manager_8hpp.xhtml">backendsCommon/MemoryManager.hpp</a>&gt;</span></div>
+<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; </div>
+<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacearmnn.xhtml">armnn</a></div>
+<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;{</div>
+<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; </div>
+<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="keyword">namespace </span>experimental</div>
+<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;{</div>
+<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; </div>
+<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="namespacearmnn_1_1experimental.xhtml#a6ecc50f3f0bfbe5e0ed1439e58ad59ef"> 27</a></span>&#160;<span class="keyword">using</span> <a class="code" href="namespacearmnn_1_1experimental.xhtml#a6ecc50f3f0bfbe5e0ed1439e58ad59ef">BackendPtrMap</a> = std::unordered_map&lt;BackendId, IBackendInternalUniquePtr&gt;;</div>
+<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; </div>
+<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml"> 29</a></span>&#160;<span class="keyword">class </span><a class="code" href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml">WorkingMemHandle</a> final : <span class="keyword">public</span> <a class="code" href="classarmnn_1_1experimental_1_1_i_working_mem_handle.xhtml">IWorkingMemHandle</a></div>
+<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;{</div>
+<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; </div>
+<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="keyword">public</span>:</div>
+<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="structarmnn_1_1experimental_1_1_working_mem_handle_1_1_input_mem_descriptor_coords.xhtml"> 33</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structarmnn_1_1experimental_1_1_working_mem_handle_1_1_input_mem_descriptor_coords.xhtml">InputMemDescriptorCoords</a></div>
+<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; {</div>
+<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="structarmnn_1_1experimental_1_1_working_mem_handle_1_1_input_mem_descriptor_coords.xhtml#a147c24da9123341cca03441ec6224e71"> 35</a></span>&#160; <a class="code" href="namespacearmnn.xhtml#ab8cf8f9fb6792e654c2d8d8382f6f01b">LayerBindingId</a> <a class="code" href="structarmnn_1_1experimental_1_1_working_mem_handle_1_1_input_mem_descriptor_coords.xhtml#a147c24da9123341cca03441ec6224e71">m_LayerBindingId</a>;</div>
+<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; </div>
+<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="structarmnn_1_1experimental_1_1_working_mem_handle_1_1_input_mem_descriptor_coords.xhtml#a2164ead5e3ecbddcf0d86b088ede3dfb"> 37</a></span>&#160; std::vector&lt;std::pair&lt;unsigned int, unsigned int&gt;&gt; <a class="code" href="structarmnn_1_1experimental_1_1_working_mem_handle_1_1_input_mem_descriptor_coords.xhtml#a2164ead5e3ecbddcf0d86b088ede3dfb">m_InputSlotCoords</a>;</div>
+<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; };</div>
+<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; </div>
+<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="structarmnn_1_1experimental_1_1_working_mem_handle_1_1_output_mem_descriptor_coords.xhtml"> 40</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structarmnn_1_1experimental_1_1_working_mem_handle_1_1_output_mem_descriptor_coords.xhtml">OutputMemDescriptorCoords</a></div>
+<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; {</div>
+<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="structarmnn_1_1experimental_1_1_working_mem_handle_1_1_output_mem_descriptor_coords.xhtml#a0460a16f2db17e30246bf4a669823dbe"> 42</a></span>&#160; std::vector&lt;LayerBindingId&gt; <a class="code" href="structarmnn_1_1experimental_1_1_working_mem_handle_1_1_output_mem_descriptor_coords.xhtml#a0460a16f2db17e30246bf4a669823dbe">m_LayerBindingIds</a>;</div>
+<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; </div>
+<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="structarmnn_1_1experimental_1_1_working_mem_handle_1_1_output_mem_descriptor_coords.xhtml#a9a3da982146e249244c81b347aaafa40"> 44</a></span>&#160; std::pair&lt;unsigned int, unsigned int&gt; <a class="code" href="structarmnn_1_1experimental_1_1_working_mem_handle_1_1_output_mem_descriptor_coords.xhtml#a9a3da982146e249244c81b347aaafa40">m_OutputSlotCoords</a>;</div>
+<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="structarmnn_1_1experimental_1_1_working_mem_handle_1_1_output_mem_descriptor_coords.xhtml#a2164ead5e3ecbddcf0d86b088ede3dfb"> 45</a></span>&#160; std::vector&lt;std::pair&lt;unsigned int, unsigned int&gt;&gt; <a class="code" href="structarmnn_1_1experimental_1_1_working_mem_handle_1_1_output_mem_descriptor_coords.xhtml#a2164ead5e3ecbddcf0d86b088ede3dfb">m_InputSlotCoords</a>;</div>
+<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; };</div>
+<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; </div>
+<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#af67131ba41e1e6df7fe1428bd0475b92"> 48</a></span>&#160; <a class="code" href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#af67131ba41e1e6df7fe1428bd0475b92">WorkingMemHandle</a>(<a class="code" href="namespacearmnn.xhtml#a0d8160388a127c1a23b37bc88dc6e2ec">NetworkId</a> networkId) : m_NetworkId(networkId){}</div>
+<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; </div>
+<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <a class="code" href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#af67131ba41e1e6df7fe1428bd0475b92">WorkingMemHandle</a>(<a class="code" href="namespacearmnn.xhtml#a0d8160388a127c1a23b37bc88dc6e2ec">NetworkId</a> networkId,</div>
+<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; std::vector&lt;InputMemDescriptorCoords&gt; inputLayerInfo,</div>
+<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; std::vector&lt;OutputMemDescriptorCoords&gt; outputLayerInfo,</div>
+<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; std::vector&lt;WorkingMemDescriptor&gt; workingMemDescriptors,</div>
+<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; std::unique_ptr&lt;MemoryManager&gt; memoryManager,</div>
+<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; std::vector&lt;std::pair&lt;std::shared_ptr&lt;TensorMemory&gt;, <a class="code" href="namespacearmnn.xhtml#a14fcd7f88d11cea0a018269dca5f9277">MemorySource</a>&gt;&gt; tensorMemory,</div>
+<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; std::vector&lt;std::unique_ptr&lt;ITensorHandle&gt;&gt; managedTensorHandles,</div>
+<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; std::vector&lt;std::unique_ptr&lt;ITensorHandle&gt;&gt; unmanagedTensorHandles,</div>
+<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; std::vector&lt;std::pair&lt;BackendId, ExecutionData&gt;&gt; executionDataVec,</div>
+<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <a class="code" href="namespacearmnn_1_1experimental.xhtml#a6ecc50f3f0bfbe5e0ed1439e58ad59ef">BackendPtrMap</a>* backends);</div>
+<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; </div>
+<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#a37c7b7f79e6b8dc05aaf5926fd975622"> 61</a></span>&#160; <a class="code" href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#a37c7b7f79e6b8dc05aaf5926fd975622">~WorkingMemHandle</a>()</div>
+<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; { <a class="code" href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#a2688c89e6bdec61e0f483d9be6fd688c">Free</a>(); }</div>
+<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; </div>
+<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#a6d485a38c5d662a4aa9471587b4688bb"> 64</a></span>&#160; <a class="code" href="namespacearmnn.xhtml#a0d8160388a127c1a23b37bc88dc6e2ec">NetworkId</a> <a class="code" href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#a6d485a38c5d662a4aa9471587b4688bb">GetNetworkId</a>()<span class="keyword"> override</span></div>
+<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;<span class="keyword"> </span>{</div>
+<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; <span class="keywordflow">return</span> m_NetworkId;</div>
+<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; }</div>
+<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;<span class="comment"></span> </div>
+<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;<span class="comment"> /// Allocate the backing memory required for execution. If this is not called, then allocation will be</span></div>
+<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;<span class="comment"> /// deferred to execution time.</span></div>
+<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;<span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#a8518772c5d692e334a76617582b10b92">Allocate</a>() <span class="keyword">override</span>;</div>
+<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;<span class="comment"></span> </div>
+<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;<span class="comment"> /// Free the backing memory required for execution.</span></div>
+<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;<span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#a2688c89e6bdec61e0f483d9be6fd688c">Free</a>() <span class="keyword">override</span>;</div>
+<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;<span class="comment"></span> </div>
+<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;<span class="comment"> /// IsAllocated returns true if the backing memory is currently allocated.</span></div>
+<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#a1a573373f4505385578f830caebf6adb"> 77</a></span>&#160;<span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#a1a573373f4505385578f830caebf6adb">IsAllocated</a>()<span class="keyword"> override</span></div>
+<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;<span class="keyword"> </span>{</div>
+<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <span class="keywordflow">return</span> m_IsAllocated;</div>
+<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; }</div>
+<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;<span class="comment"></span> </div>
+<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;<span class="comment"> /// Get the WorkingMemDescriptor at an index. The WorkingMemDescriptors are stored in the same order as</span></div>
+<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;<span class="comment"> /// the Workloads in a topologically sorted graph.</span></div>
+<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#a1915a1eb2ba2554103a09de391a9f6bd"> 84</a></span>&#160;<span class="comment"></span> <a class="code" href="structarmnn_1_1experimental_1_1_working_mem_descriptor.xhtml">WorkingMemDescriptor</a>&amp; <a class="code" href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#a1915a1eb2ba2554103a09de391a9f6bd">GetWorkingMemDescriptorAt</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>)<span class="keyword"> override</span></div>
+<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;<span class="keyword"> </span>{</div>
+<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; <span class="keywordflow">return</span> m_WorkingMemDescriptors[id];</div>
+<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; }</div>
+<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;<span class="comment"></span> </div>
+<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160;<span class="comment"> /// Get the ExecutionData at an index.</span></div>
+<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;<span class="comment"> /// The ExecutionData is paired with a BackendId to be able to call backend specific functions upon it.</span></div>
+<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;<span class="comment"> /// The ExecutionData are stored in the same order as the Workloads in a topologically sorted graph.</span></div>
+<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#ab522849a917e9095c462e5e5980316be"> 92</a></span>&#160;<span class="comment"></span> std::pair&lt;BackendId, ExecutionData&gt;&amp; <a class="code" href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#ab522849a917e9095c462e5e5980316be">GetExecutionDataAt</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <span class="keywordtype">id</span>)<span class="keyword"> override</span></div>
+<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;<span class="keyword"> </span>{</div>
+<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <span class="keywordflow">return</span> m_ExecutionDataVec[id];</div>
+<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; }</div>
+<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; </div>
+<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#ab0ba2e3d5e666b99e28a485d117ddfc3"> 97</a></span>&#160; <a class="code" href="classarmnn_1_1_i_tensor_handle.xhtml">ITensorHandle</a>* <a class="code" href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#ab0ba2e3d5e666b99e28a485d117ddfc3">GetInputHandle</a>(<a class="code" href="namespacearmnn.xhtml#ab8cf8f9fb6792e654c2d8d8382f6f01b">LayerBindingId</a> layerBindingId)<span class="keyword"> const</span></div>
+<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;<span class="keyword"> </span>{</div>
+<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; <span class="keywordflow">return</span> m_InputHandleMap.at(layerBindingId);</div>
+<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; };</div>
+<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; </div>
+<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#ad5e03a241b63b19580f8fdd08c3647b7"> 102</a></span>&#160; <a class="code" href="classarmnn_1_1_i_tensor_handle.xhtml">ITensorHandle</a>* <a class="code" href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#ad5e03a241b63b19580f8fdd08c3647b7">GetOutputHandle</a>(<a class="code" href="namespacearmnn.xhtml#ab8cf8f9fb6792e654c2d8d8382f6f01b">LayerBindingId</a> layerBindingId)<span class="keyword"> const</span></div>
+<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160;<span class="keyword"> </span>{</div>
+<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; <span class="keywordflow">return</span> m_OutputHandleMap.at(layerBindingId);</div>
+<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; };</div>
+<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; </div>
+<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#ae65834ecb69e3bc6a41ca1a57e4b63ab"> 107</a></span>&#160; <span class="keyword">const</span> std::vector&lt;std::vector&lt;ITensorHandle*&gt;::iterator&gt;&amp; <a class="code" href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#ae65834ecb69e3bc6a41ca1a57e4b63ab">GetInputConnections</a>(<a class="code" href="namespacearmnn.xhtml#ab8cf8f9fb6792e654c2d8d8382f6f01b">LayerBindingId</a> layerBindingId)<span class="keyword"> const</span></div>
+<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;<span class="keyword"> </span>{</div>
+<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <span class="keywordflow">return</span> m_InputConnectionMap.at(layerBindingId);</div>
+<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; };</div>
+<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; </div>
+<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#a39754dbf5b5cb692d3ba97f23b23962f"> 112</a></span>&#160; <span class="keyword">const</span> std::vector&lt;std::vector&lt;ITensorHandle*&gt;::iterator&gt;&amp; <a class="code" href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#a39754dbf5b5cb692d3ba97f23b23962f">GetOutputConnection</a>(<a class="code" href="namespacearmnn.xhtml#ab8cf8f9fb6792e654c2d8d8382f6f01b">LayerBindingId</a> layerBindingId)<span class="keyword"> const</span></div>
+<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160;<span class="keyword"> </span>{</div>
+<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; <span class="keywordflow">return</span> m_OutputConnectionMap.at(layerBindingId);</div>
+<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; };</div>
+<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; </div>
+<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#a7487c3835e842582920969f2663bcc30">MemSyncOutputs</a>();</div>
+<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; </div>
+<div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#abdfaf46d2e4cd003c0f13cdb1f1e6a20"> 119</a></span>&#160; std::vector&lt;LayerBindingId&gt;&amp; <a class="code" href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#abdfaf46d2e4cd003c0f13cdb1f1e6a20">GetBindingIdVector</a>()</div>
+<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; {</div>
+<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; <span class="keywordflow">return</span> m_BindingIdVec;</div>
+<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; };</div>
+<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; </div>
+<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#ab35a0f45d4b1bdad5c8e6614c7bf8d18">ValidateBindingIds</a>();</div>
+<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; </div>
+<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;<span class="keyword">private</span>:</div>
+<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; <span class="keyword">using</span> DifferenceType = std::vector&lt;ITensorHandle*&gt;::difference_type;</div>
+<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; <a class="code" href="namespacearmnn.xhtml#a0d8160388a127c1a23b37bc88dc6e2ec">NetworkId</a> m_NetworkId;</div>
+<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; </div>
+<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; std::unordered_map&lt;LayerBindingId, ITensorHandle*&gt; m_InputHandleMap;</div>
+<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; std::unordered_map&lt;LayerBindingId, ITensorHandle*&gt; m_OutputHandleMap;</div>
+<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; std::unordered_map&lt;LayerBindingId, std::vector&lt;std::vector&lt;ITensorHandle*&gt;::iterator&gt;&gt; m_InputConnectionMap;</div>
+<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; std::unordered_map&lt;LayerBindingId, std::vector&lt;std::vector&lt;ITensorHandle*&gt;::iterator&gt;&gt; m_OutputConnectionMap;</div>
+<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; </div>
+<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; std::vector&lt;WorkingMemDescriptor&gt; m_WorkingMemDescriptors;</div>
+<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; </div>
+<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; std::unique_ptr&lt;MemoryManager&gt; m_MemoryManager;</div>
+<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; </div>
+<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; <span class="comment">// Memory to be imported into the tensorHandles after allocation</span></div>
+<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; std::vector&lt;std::pair&lt;std::shared_ptr&lt;TensorMemory&gt;, <a class="code" href="namespacearmnn.xhtml#a14fcd7f88d11cea0a018269dca5f9277">MemorySource</a>&gt;&gt; m_TensorMemory;</div>
+<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; </div>
+<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; <span class="comment">// Tensors that will need to be allocated internally within armnn</span></div>
+<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; std::vector&lt;std::unique_ptr&lt;ITensorHandle&gt;&gt; m_ManagedTensorHandles;</div>
+<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; </div>
+<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; <span class="comment">// Tensors that will be allocated externally by the user</span></div>
+<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; std::vector&lt;std::unique_ptr&lt;ITensorHandle&gt;&gt; m_UnmanagedTensorHandles;</div>
+<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; </div>
+<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; std::unordered_map&lt;LayerBindingId, bool&gt; m_InputValidationMap;</div>
+<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; std::unordered_map&lt;LayerBindingId, bool&gt; m_OutputValidationMap;</div>
+<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; </div>
+<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; std::vector&lt;LayerBindingId&gt; m_BindingIdVec;</div>
+<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; </div>
+<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; DifferenceType m_InputSize;</div>
+<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; </div>
+<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <span class="keywordtype">bool</span> m_IsAllocated;</div>
+<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; </div>
+<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; std::vector&lt;std::pair&lt;BackendId, ExecutionData&gt;&gt; m_ExecutionDataVec;</div>
+<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; </div>
+<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; <a class="code" href="namespacearmnn_1_1experimental.xhtml#a6ecc50f3f0bfbe5e0ed1439e58ad59ef">BackendPtrMap</a>* m_Backends;</div>
+<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160;};</div>
+<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; </div>
+<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160;} <span class="comment">// end experimental namespace</span></div>
+<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; </div>
+<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160;} <span class="comment">// end armnn namespace</span></div>
+</div><!-- fragment --></div><!-- contents -->
+</div><!-- doc-content -->
+<div class="ttc" id="a_i_working_mem_handle_8hpp_xhtml"><div class="ttname"><a href="_i_working_mem_handle_8hpp.xhtml">IWorkingMemHandle.hpp</a></div></div>
+<div class="ttc" id="aclassarmnn_1_1experimental_1_1_working_mem_handle_xhtml_a1915a1eb2ba2554103a09de391a9f6bd"><div class="ttname"><a href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#a1915a1eb2ba2554103a09de391a9f6bd">armnn::experimental::WorkingMemHandle::GetWorkingMemDescriptorAt</a></div><div class="ttdeci">WorkingMemDescriptor &amp; GetWorkingMemDescriptorAt(unsigned int id) override</div><div class="ttdoc">Get the WorkingMemDescriptor at an index.</div><div class="ttdef"><b>Definition:</b> <a href="_working_mem_handle_8hpp_source.xhtml#l00084">WorkingMemHandle.hpp:84</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="a_i_backend_internal_8hpp_xhtml"><div class="ttname"><a href="_i_backend_internal_8hpp.xhtml">IBackendInternal.hpp</a></div></div>
+<div class="ttc" id="aclassarmnn_1_1experimental_1_1_working_mem_handle_xhtml_ad5e03a241b63b19580f8fdd08c3647b7"><div class="ttname"><a href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#ad5e03a241b63b19580f8fdd08c3647b7">armnn::experimental::WorkingMemHandle::GetOutputHandle</a></div><div class="ttdeci">ITensorHandle * GetOutputHandle(LayerBindingId layerBindingId) const</div><div class="ttdef"><b>Definition:</b> <a href="_working_mem_handle_8hpp_source.xhtml#l00102">WorkingMemHandle.hpp:102</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_1experimental_1_1_working_mem_handle_xhtml_a7487c3835e842582920969f2663bcc30"><div class="ttname"><a href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#a7487c3835e842582920969f2663bcc30">armnn::experimental::WorkingMemHandle::MemSyncOutputs</a></div><div class="ttdeci">void MemSyncOutputs()</div><div class="ttdef"><b>Definition:</b> <a href="_working_mem_handle_8cpp_source.xhtml#l00136">WorkingMemHandle.cpp:136</a></div></div>
+<div class="ttc" id="aclassarmnn_1_1experimental_1_1_working_mem_handle_xhtml_ae65834ecb69e3bc6a41ca1a57e4b63ab"><div class="ttname"><a href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#ae65834ecb69e3bc6a41ca1a57e4b63ab">armnn::experimental::WorkingMemHandle::GetInputConnections</a></div><div class="ttdeci">const std::vector&lt; std::vector&lt; ITensorHandle * &gt;::iterator &gt; &amp; GetInputConnections(LayerBindingId layerBindingId) const</div><div class="ttdef"><b>Definition:</b> <a href="_working_mem_handle_8hpp_source.xhtml#l00107">WorkingMemHandle.hpp:107</a></div></div>
+<div class="ttc" id="astructarmnn_1_1experimental_1_1_working_mem_handle_1_1_input_mem_descriptor_coords_xhtml_a2164ead5e3ecbddcf0d86b088ede3dfb"><div class="ttname"><a href="structarmnn_1_1experimental_1_1_working_mem_handle_1_1_input_mem_descriptor_coords.xhtml#a2164ead5e3ecbddcf0d86b088ede3dfb">armnn::experimental::WorkingMemHandle::InputMemDescriptorCoords::m_InputSlotCoords</a></div><div class="ttdeci">std::vector&lt; std::pair&lt; unsigned int, unsigned int &gt; &gt; m_InputSlotCoords</div><div class="ttdef"><b>Definition:</b> <a href="_working_mem_handle_8hpp_source.xhtml#l00037">WorkingMemHandle.hpp:37</a></div></div>
+<div class="ttc" id="astructarmnn_1_1experimental_1_1_working_mem_handle_1_1_input_mem_descriptor_coords_xhtml"><div class="ttname"><a href="structarmnn_1_1experimental_1_1_working_mem_handle_1_1_input_mem_descriptor_coords.xhtml">armnn::experimental::WorkingMemHandle::InputMemDescriptorCoords</a></div><div class="ttdef"><b>Definition:</b> <a href="_working_mem_handle_8hpp_source.xhtml#l00033">WorkingMemHandle.hpp:33</a></div></div>
+<div class="ttc" id="astructarmnn_1_1experimental_1_1_working_mem_descriptor_xhtml"><div class="ttname"><a href="structarmnn_1_1experimental_1_1_working_mem_descriptor.xhtml">armnn::experimental::WorkingMemDescriptor</a></div><div class="ttdef"><b>Definition:</b> <a href="_working_mem_descriptor_8hpp_source.xhtml#l00018">WorkingMemDescriptor.hpp:18</a></div></div>
+<div class="ttc" id="aclassarmnn_1_1experimental_1_1_working_mem_handle_xhtml_af67131ba41e1e6df7fe1428bd0475b92"><div class="ttname"><a href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#af67131ba41e1e6df7fe1428bd0475b92">armnn::experimental::WorkingMemHandle::WorkingMemHandle</a></div><div class="ttdeci">WorkingMemHandle(NetworkId networkId)</div><div class="ttdef"><b>Definition:</b> <a href="_working_mem_handle_8hpp_source.xhtml#l00048">WorkingMemHandle.hpp:48</a></div></div>
+<div class="ttc" id="astructarmnn_1_1experimental_1_1_working_mem_handle_1_1_output_mem_descriptor_coords_xhtml"><div class="ttname"><a href="structarmnn_1_1experimental_1_1_working_mem_handle_1_1_output_mem_descriptor_coords.xhtml">armnn::experimental::WorkingMemHandle::OutputMemDescriptorCoords</a></div><div class="ttdef"><b>Definition:</b> <a href="_working_mem_handle_8hpp_source.xhtml#l00040">WorkingMemHandle.hpp:40</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="aclassarmnn_1_1_i_tensor_handle_xhtml"><div class="ttname"><a href="classarmnn_1_1_i_tensor_handle.xhtml">armnn::ITensorHandle</a></div><div class="ttdef"><b>Definition:</b> <a href="include_2armnn_2backends_2_i_tensor_handle_8hpp_source.xhtml#l00015">ITensorHandle.hpp:15</a></div></div>
+<div class="ttc" id="aclassarmnn_1_1experimental_1_1_working_mem_handle_xhtml_a8518772c5d692e334a76617582b10b92"><div class="ttname"><a href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#a8518772c5d692e334a76617582b10b92">armnn::experimental::WorkingMemHandle::Allocate</a></div><div class="ttdeci">void Allocate() override</div><div class="ttdoc">Allocate the backing memory required for execution.</div><div class="ttdef"><b>Definition:</b> <a href="_working_mem_handle_8cpp_source.xhtml#l00100">WorkingMemHandle.cpp:100</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_1experimental_1_1_working_mem_handle_xhtml_a39754dbf5b5cb692d3ba97f23b23962f"><div class="ttname"><a href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#a39754dbf5b5cb692d3ba97f23b23962f">armnn::experimental::WorkingMemHandle::GetOutputConnection</a></div><div class="ttdeci">const std::vector&lt; std::vector&lt; ITensorHandle * &gt;::iterator &gt; &amp; GetOutputConnection(LayerBindingId layerBindingId) const</div><div class="ttdef"><b>Definition:</b> <a href="_working_mem_handle_8hpp_source.xhtml#l00112">WorkingMemHandle.hpp:112</a></div></div>
+<div class="ttc" id="aclassarmnn_1_1experimental_1_1_working_mem_handle_xhtml_a37c7b7f79e6b8dc05aaf5926fd975622"><div class="ttname"><a href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#a37c7b7f79e6b8dc05aaf5926fd975622">armnn::experimental::WorkingMemHandle::~WorkingMemHandle</a></div><div class="ttdeci">~WorkingMemHandle()</div><div class="ttdef"><b>Definition:</b> <a href="_working_mem_handle_8hpp_source.xhtml#l00061">WorkingMemHandle.hpp:61</a></div></div>
+<div class="ttc" id="a_layer_8hpp_xhtml"><div class="ttname"><a href="_layer_8hpp.xhtml">Layer.hpp</a></div></div>
+<div class="ttc" id="aclassarmnn_1_1experimental_1_1_working_mem_handle_xhtml_a1a573373f4505385578f830caebf6adb"><div class="ttname"><a href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#a1a573373f4505385578f830caebf6adb">armnn::experimental::WorkingMemHandle::IsAllocated</a></div><div class="ttdeci">bool IsAllocated() override</div><div class="ttdoc">IsAllocated returns true if the backing memory is currently allocated.</div><div class="ttdef"><b>Definition:</b> <a href="_working_mem_handle_8hpp_source.xhtml#l00077">WorkingMemHandle.hpp:77</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="aclassarmnn_1_1experimental_1_1_working_mem_handle_xhtml_ab0ba2e3d5e666b99e28a485d117ddfc3"><div class="ttname"><a href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#ab0ba2e3d5e666b99e28a485d117ddfc3">armnn::experimental::WorkingMemHandle::GetInputHandle</a></div><div class="ttdeci">ITensorHandle * GetInputHandle(LayerBindingId layerBindingId) const</div><div class="ttdef"><b>Definition:</b> <a href="_working_mem_handle_8hpp_source.xhtml#l00097">WorkingMemHandle.hpp:97</a></div></div>
+<div class="ttc" id="aclassarmnn_1_1experimental_1_1_working_mem_handle_xhtml_ab522849a917e9095c462e5e5980316be"><div class="ttname"><a href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#ab522849a917e9095c462e5e5980316be">armnn::experimental::WorkingMemHandle::GetExecutionDataAt</a></div><div class="ttdeci">std::pair&lt; BackendId, ExecutionData &gt; &amp; GetExecutionDataAt(unsigned int id) override</div><div class="ttdoc">Get the ExecutionData at an index.</div><div class="ttdef"><b>Definition:</b> <a href="_working_mem_handle_8hpp_source.xhtml#l00092">WorkingMemHandle.hpp:92</a></div></div>
+<div class="ttc" id="a_network_8hpp_xhtml"><div class="ttname"><a href="_network_8hpp.xhtml">Network.hpp</a></div></div>
+<div class="ttc" id="astructarmnn_1_1experimental_1_1_working_mem_handle_1_1_output_mem_descriptor_coords_xhtml_a2164ead5e3ecbddcf0d86b088ede3dfb"><div class="ttname"><a href="structarmnn_1_1experimental_1_1_working_mem_handle_1_1_output_mem_descriptor_coords.xhtml#a2164ead5e3ecbddcf0d86b088ede3dfb">armnn::experimental::WorkingMemHandle::OutputMemDescriptorCoords::m_InputSlotCoords</a></div><div class="ttdeci">std::vector&lt; std::pair&lt; unsigned int, unsigned int &gt; &gt; m_InputSlotCoords</div><div class="ttdef"><b>Definition:</b> <a href="_working_mem_handle_8hpp_source.xhtml#l00045">WorkingMemHandle.hpp:45</a></div></div>
+<div class="ttc" id="astructarmnn_1_1experimental_1_1_working_mem_handle_1_1_output_mem_descriptor_coords_xhtml_a0460a16f2db17e30246bf4a669823dbe"><div class="ttname"><a href="structarmnn_1_1experimental_1_1_working_mem_handle_1_1_output_mem_descriptor_coords.xhtml#a0460a16f2db17e30246bf4a669823dbe">armnn::experimental::WorkingMemHandle::OutputMemDescriptorCoords::m_LayerBindingIds</a></div><div class="ttdeci">std::vector&lt; LayerBindingId &gt; m_LayerBindingIds</div><div class="ttdef"><b>Definition:</b> <a href="_working_mem_handle_8hpp_source.xhtml#l00042">WorkingMemHandle.hpp:42</a></div></div>
+<div class="ttc" id="a_working_mem_descriptor_8hpp_xhtml"><div class="ttname"><a href="_working_mem_descriptor_8hpp.xhtml">WorkingMemDescriptor.hpp</a></div></div>
+<div class="ttc" id="a_memory_manager_8hpp_xhtml"><div class="ttname"><a href="_memory_manager_8hpp.xhtml">MemoryManager.hpp</a></div></div>
+<div class="ttc" id="aclassarmnn_1_1experimental_1_1_working_mem_handle_xhtml_abdfaf46d2e4cd003c0f13cdb1f1e6a20"><div class="ttname"><a href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#abdfaf46d2e4cd003c0f13cdb1f1e6a20">armnn::experimental::WorkingMemHandle::GetBindingIdVector</a></div><div class="ttdeci">std::vector&lt; LayerBindingId &gt; &amp; GetBindingIdVector()</div><div class="ttdef"><b>Definition:</b> <a href="_working_mem_handle_8hpp_source.xhtml#l00119">WorkingMemHandle.hpp:119</a></div></div>
+<div class="ttc" id="aclassarmnn_1_1experimental_1_1_working_mem_handle_xhtml_ab35a0f45d4b1bdad5c8e6614c7bf8d18"><div class="ttname"><a href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#ab35a0f45d4b1bdad5c8e6614c7bf8d18">armnn::experimental::WorkingMemHandle::ValidateBindingIds</a></div><div class="ttdeci">void ValidateBindingIds()</div><div class="ttdef"><b>Definition:</b> <a href="_working_mem_handle_8cpp_source.xhtml#l00145">WorkingMemHandle.cpp:145</a></div></div>
+<div class="ttc" id="aclassarmnn_1_1experimental_1_1_working_mem_handle_xhtml_a6d485a38c5d662a4aa9471587b4688bb"><div class="ttname"><a href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#a6d485a38c5d662a4aa9471587b4688bb">armnn::experimental::WorkingMemHandle::GetNetworkId</a></div><div class="ttdeci">NetworkId GetNetworkId() override</div><div class="ttdoc">Returns the NetworkId of the Network that this IWorkingMemHandle works with.</div><div class="ttdef"><b>Definition:</b> <a href="_working_mem_handle_8hpp_source.xhtml#l00064">WorkingMemHandle.hpp:64</a></div></div>
+<div class="ttc" id="aclassarmnn_1_1experimental_1_1_working_mem_handle_xhtml_a2688c89e6bdec61e0f483d9be6fd688c"><div class="ttname"><a href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml#a2688c89e6bdec61e0f483d9be6fd688c">armnn::experimental::WorkingMemHandle::Free</a></div><div class="ttdeci">void Free() override</div><div class="ttdoc">Free the backing memory required for execution.</div><div class="ttdef"><b>Definition:</b> <a href="_working_mem_handle_8cpp_source.xhtml#l00125">WorkingMemHandle.cpp:125</a></div></div>
+<div class="ttc" id="anamespacearmnn_1_1experimental_xhtml_a6ecc50f3f0bfbe5e0ed1439e58ad59ef"><div class="ttname"><a href="namespacearmnn_1_1experimental.xhtml#a6ecc50f3f0bfbe5e0ed1439e58ad59ef">armnn::experimental::BackendPtrMap</a></div><div class="ttdeci">std::unordered_map&lt; BackendId, IBackendInternalUniquePtr &gt; BackendPtrMap</div><div class="ttdef"><b>Definition:</b> <a href="_working_mem_handle_8hpp_source.xhtml#l00027">WorkingMemHandle.hpp:27</a></div></div>
+<div class="ttc" id="aclassarmnn_1_1experimental_1_1_working_mem_handle_xhtml"><div class="ttname"><a href="classarmnn_1_1experimental_1_1_working_mem_handle.xhtml">armnn::experimental::WorkingMemHandle</a></div><div class="ttdef"><b>Definition:</b> <a href="_working_mem_handle_8hpp_source.xhtml#l00029">WorkingMemHandle.hpp:29</a></div></div>
+<div class="ttc" id="astructarmnn_1_1experimental_1_1_working_mem_handle_1_1_output_mem_descriptor_coords_xhtml_a9a3da982146e249244c81b347aaafa40"><div class="ttname"><a href="structarmnn_1_1experimental_1_1_working_mem_handle_1_1_output_mem_descriptor_coords.xhtml#a9a3da982146e249244c81b347aaafa40">armnn::experimental::WorkingMemHandle::OutputMemDescriptorCoords::m_OutputSlotCoords</a></div><div class="ttdeci">std::pair&lt; unsigned int, unsigned int &gt; m_OutputSlotCoords</div><div class="ttdef"><b>Definition:</b> <a href="_working_mem_handle_8hpp_source.xhtml#l00044">WorkingMemHandle.hpp:44</a></div></div>
+<div class="ttc" id="a_execution_data_8hpp_xhtml"><div class="ttname"><a href="_execution_data_8hpp.xhtml">ExecutionData.hpp</a></div></div>
+<div class="ttc" id="astructarmnn_1_1experimental_1_1_working_mem_handle_1_1_input_mem_descriptor_coords_xhtml_a147c24da9123341cca03441ec6224e71"><div class="ttname"><a href="structarmnn_1_1experimental_1_1_working_mem_handle_1_1_input_mem_descriptor_coords.xhtml#a147c24da9123341cca03441ec6224e71">armnn::experimental::WorkingMemHandle::InputMemDescriptorCoords::m_LayerBindingId</a></div><div class="ttdeci">LayerBindingId m_LayerBindingId</div><div class="ttdef"><b>Definition:</b> <a href="_working_mem_handle_8hpp_source.xhtml#l00035">WorkingMemHandle.hpp:35</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="_working_mem_handle_8hpp.xhtml">WorkingMemHandle.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>