Update ACL pin to 8abbabd6ad946441c8ef1a03896fa98f7801af1f
[platform/upstream/armnn.git] / Documentation / _graph_8hpp_source.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
6 <meta name="generator" content="Doxygen 1.8.13"/>
7 <meta name="viewport" content="width=device-width, initial-scale=1"/>
8 <title>ArmNN: src/armnn/Graph.hpp Source File</title>
9 <link href="tabs.css" rel="stylesheet" type="text/css"/>
10 <script type="text/javascript" src="jquery.js"></script>
11 <script type="text/javascript" src="dynsections.js"></script>
12 <link href="navtree.css" rel="stylesheet" type="text/css"/>
13 <script type="text/javascript" src="resize.js"></script>
14 <script type="text/javascript" src="navtreedata.js"></script>
15 <script type="text/javascript" src="navtree.js"></script>
16 <script type="text/javascript">
17   $(document).ready(initResizable);
18 </script>
19 <link href="search/search.css" rel="stylesheet" type="text/css"/>
20 <script type="text/javascript" src="search/searchdata.js"></script>
21 <script type="text/javascript" src="search/search.js"></script>
22 <link href="doxygen.css" rel="stylesheet" type="text/css" />
23 </head>
24 <body>
25 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
26 <div id="titlearea">
27 <table cellspacing="0" cellpadding="0">
28  <tbody>
29  <tr style="height: 56px;">
30   <td id="projectalign" style="padding-left: 0.5em;">
31    <div id="projectname">ArmNN
32    &#160;<span id="projectnumber">NotReleased</span>
33    </div>
34   </td>
35  </tr>
36  </tbody>
37 </table>
38 </div>
39 <!-- end header part -->
40 <!-- Generated by Doxygen 1.8.13 -->
41 <script type="text/javascript">
42 var searchBox = new SearchBox("searchBox", "search",false,'Search');
43 </script>
44 <script type="text/javascript" src="menudata.js"></script>
45 <script type="text/javascript" src="menu.js"></script>
46 <script type="text/javascript">
47 $(function() {
48   initMenu('',true,false,'search.php','Search');
49   $(document).ready(function() { init_search(); });
50 });
51 </script>
52 <div id="main-nav"></div>
53 </div><!-- top -->
54 <div id="side-nav" class="ui-resizable side-nav-resizable">
55   <div id="nav-tree">
56     <div id="nav-tree-contents">
57       <div id="nav-sync" class="sync"></div>
58     </div>
59   </div>
60   <div id="splitbar" style="-moz-user-select:none;" 
61        class="ui-resizable-handle">
62   </div>
63 </div>
64 <script type="text/javascript">
65 $(document).ready(function(){initNavTree('_graph_8hpp_source.html','');});
66 </script>
67 <div id="doc-content">
68 <!-- window showing the filter options -->
69 <div id="MSearchSelectWindow"
70      onmouseover="return searchBox.OnSearchSelectShow()"
71      onmouseout="return searchBox.OnSearchSelectHide()"
72      onkeydown="return searchBox.OnSearchSelectKey(event)">
73 </div>
74
75 <!-- iframe showing the search results (closed by default) -->
76 <div id="MSearchResultsWindow">
77 <iframe src="javascript:void(0)" frameborder="0" 
78         name="MSearchResults" id="MSearchResults">
79 </iframe>
80 </div>
81
82 <div class="header">
83   <div class="headertitle">
84 <div class="title">Graph.hpp</div>  </div>
85 </div><!--header-->
86 <div class="contents">
87 <a href="_graph_8hpp.html">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 © 2017 Arm Ltd. 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;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;</div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_layers_fwd_8hpp.html">LayersFwd.hpp</a>&quot;</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_i_graph_observable_8hpp.html">IGraphObservable.hpp</a>&quot;</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_types_8hpp.html">armnn/Types.hpp</a>&gt;</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_tensor_fwd_8hpp.html">armnn/TensorFwd.hpp</a>&gt;</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_network_fwd_8hpp.html">armnn/NetworkFwd.hpp</a>&gt;</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="_exceptions_8hpp.html">armnn/Exceptions.hpp</a>&gt;</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;</div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &lt;list&gt;</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &lt;map&gt;</span></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;unordered_set&gt;</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#include &lt;vector&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="preprocessor">#include &lt;boost/assert.hpp&gt;</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &lt;boost/iterator/transform_iterator.hpp&gt;</span></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><a class="code" href="namespacearmnn.html">armnn</a></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">   27</span>&#160;<span class="keyword">class </span>SubgraphView;</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_1_graph.html">   29</a></span>&#160;<span class="keyword">class </span><a class="code" href="classarmnn_1_1_graph.html">Graph</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;<span class="keyword">public</span>:</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">typename</span> LayerType&gt;</div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="classarmnn_1_1_graph.html#ab67eccecb5c9e6574f2836623f01025c">   33</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4">LayerType</a>* <a class="code" href="classarmnn_1_1_graph.html#ab67eccecb5c9e6574f2836623f01025c">PtrCast</a>(<a class="code" href="classarmnn_1_1_layer.html">Layer</a>* <span class="keyword">const</span> layer)</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">   35</span>&#160;        <span class="keywordflow">return</span> boost::polymorphic_downcast&lt;LayerType*&gt;(layer);</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">   37</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">typename</span> Func&gt;</div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="classarmnn_1_1_graph.html#ad6521013ad981519904822f2ada2c4ec">   39</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_graph.html#ad6521013ad981519904822f2ada2c4ec">ForEachLayer</a>(Func func)<span class="keyword"> const</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;        <span class="keywordflow">for</span> (<span class="keyword">auto</span> it = m_Layers.begin(); it != m_Layers.end(); )</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;        {</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;             <span class="keyword">auto</span> next = std::next(it);</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;             func(*it);</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;             it = next;</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">   48</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="classarmnn_1_1_graph.html#aa6553ea54991669aaa89b6f17bdf4172">   49</a></span>&#160;    <span class="keyword">using</span> <a class="code" href="classarmnn_1_1_graph.html#aa6553ea54991669aaa89b6f17bdf4172">LayerList</a> = std::list&lt;Layer*&gt;;</div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="classarmnn_1_1_graph.html#acc25db0641c1c22faf95af3bb49080c9">   50</a></span>&#160;    <span class="keyword">using</span> <a class="code" href="classarmnn_1_1_graph.html#acc25db0641c1c22faf95af3bb49080c9">Iterator</a> = LayerList::const_iterator; <span class="comment">// Const so pointers in the list can&#39;t be modified externally.</span></div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="classarmnn_1_1_graph.html#a53402e786b52cef2fb21f3e39a819967">   51</a></span>&#160;    <span class="keyword">using</span> <a class="code" href="classarmnn_1_1_graph.html#a53402e786b52cef2fb21f3e39a819967">IteratorDifference</a> = Iterator::difference_type;</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="classarmnn_1_1_graph.html#af885be8b4485a7252f1f84237aaf67ac">   53</a></span>&#160;    <span class="keyword">using</span> <a class="code" href="classarmnn_1_1_graph.html#af885be8b4485a7252f1f84237aaf67ac">ConstIterator</a>        = boost::transform_iterator&lt;decltype(&amp;PtrCast&lt;const Layer&gt;),       <a class="code" href="classarmnn_1_1_graph.html#acc25db0641c1c22faf95af3bb49080c9">Iterator</a>&gt;;</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classarmnn_1_1_graph.html#ab0b31e4f400c4e847bff12be48edc9b8">   54</a></span>&#160;    <span class="keyword">using</span> <a class="code" href="classarmnn_1_1_graph.html#ab0b31e4f400c4e847bff12be48edc9b8">ConstIteratorInputs</a>  = boost::transform_iterator&lt;decltype(&amp;PtrCast&lt;const InputLayer&gt;),  <a class="code" href="classarmnn_1_1_graph.html#acc25db0641c1c22faf95af3bb49080c9">Iterator</a>&gt;;</div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="classarmnn_1_1_graph.html#a1d661cebc5fd9b5c802c13f0b3e18b85">   55</a></span>&#160;    <span class="keyword">using</span> <a class="code" href="classarmnn_1_1_graph.html#a1d661cebc5fd9b5c802c13f0b3e18b85">ConstIteratorOutputs</a> = boost::transform_iterator&lt;decltype(&amp;PtrCast&lt;const OutputLayer&gt;), <a class="code" href="classarmnn_1_1_graph.html#acc25db0641c1c22faf95af3bb49080c9">Iterator</a>&gt;;</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;</div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="structarmnn_1_1_graph_1_1_input_layers_accessor.html">   58</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_graph_1_1_input_layers_accessor.html">InputLayersAccessor</a></div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    {</div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="structarmnn_1_1_graph_1_1_input_layers_accessor.html#ac1cd5626ebb213e73640ddc04658e755">   60</a></span>&#160;        <span class="keyword">explicit</span> <a class="code" href="structarmnn_1_1_graph_1_1_input_layers_accessor.html#ac1cd5626ebb213e73640ddc04658e755">InputLayersAccessor</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_graph.html">Graph</a>&amp; graph) : <a class="code" href="structarmnn_1_1_graph_1_1_input_layers_accessor.html#ab082a6092f0fdb886a45c56c4ab51a31">m_Graph</a>(graph) {}</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="structarmnn_1_1_graph_1_1_input_layers_accessor.html#af6f3e2b0ee65cd102e20c9f734160b90">   62</a></span>&#160;        <a class="code" href="classarmnn_1_1_graph.html#ab0b31e4f400c4e847bff12be48edc9b8">ConstIteratorInputs</a> <a class="code" href="structarmnn_1_1_graph_1_1_input_layers_accessor.html#af6f3e2b0ee65cd102e20c9f734160b90">begin</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<span class="keyword">        </span>{</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;            <span class="keywordflow">return</span> { <a class="code" href="structarmnn_1_1_graph_1_1_input_layers_accessor.html#ab082a6092f0fdb886a45c56c4ab51a31">m_Graph</a>.m_Layers.begin(), &amp;(PtrCast&lt;const InputLayer&gt;) };</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;        }</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="structarmnn_1_1_graph_1_1_input_layers_accessor.html#a39ebf520b6f30ab8776bdcb99ee38b93">   67</a></span>&#160;        <a class="code" href="classarmnn_1_1_graph.html#ab0b31e4f400c4e847bff12be48edc9b8">ConstIteratorInputs</a> <a class="code" href="structarmnn_1_1_graph_1_1_input_layers_accessor.html#a39ebf520b6f30ab8776bdcb99ee38b93">end</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="keyword">        </span>{</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;            <span class="keywordflow">return</span> { std::next(<a class="code" href="structarmnn_1_1_graph_1_1_input_layers_accessor.html#ab082a6092f0fdb886a45c56c4ab51a31">m_Graph</a>.m_Layers.begin(), <span class="keyword">static_cast&lt;</span><a class="code" href="classarmnn_1_1_graph.html#a53402e786b52cef2fb21f3e39a819967">IteratorDifference</a><span class="keyword">&gt;</span>(<a class="code" href="structarmnn_1_1_graph_1_1_input_layers_accessor.html#ab082a6092f0fdb886a45c56c4ab51a31">m_Graph</a>.<a class="code" href="classarmnn_1_1_graph.html#a8d8179a4a0703602a5d7dbb6e92eaf69">GetNumInputs</a>())),</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;                     &amp;(PtrCast&lt;const InputLayer&gt;) };</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;        }</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div><div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="structarmnn_1_1_graph_1_1_input_layers_accessor.html#ab082a6092f0fdb886a45c56c4ab51a31">   73</a></span>&#160;        <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_graph.html">Graph</a>&amp; <a class="code" href="structarmnn_1_1_graph_1_1_input_layers_accessor.html#ab082a6092f0fdb886a45c56c4ab51a31">m_Graph</a>;</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    };</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="structarmnn_1_1_graph_1_1_output_layers_accessor.html">   77</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_graph_1_1_output_layers_accessor.html">OutputLayersAccessor</a></div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    {</div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="structarmnn_1_1_graph_1_1_output_layers_accessor.html#adf9793f99f3055ef2c43d6c90bbb6344">   79</a></span>&#160;        <span class="keyword">explicit</span> <a class="code" href="structarmnn_1_1_graph_1_1_output_layers_accessor.html#adf9793f99f3055ef2c43d6c90bbb6344">OutputLayersAccessor</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_graph.html">Graph</a>&amp; graph) : <a class="code" href="structarmnn_1_1_graph_1_1_input_layers_accessor.html#ab082a6092f0fdb886a45c56c4ab51a31">m_Graph</a>(graph) {}</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"><a class="line" href="structarmnn_1_1_graph_1_1_output_layers_accessor.html#a660efe3cd8761bd55b70ae83a7ea4334">   81</a></span>&#160;        <a class="code" href="classarmnn_1_1_graph.html#a1d661cebc5fd9b5c802c13f0b3e18b85">ConstIteratorOutputs</a> <a class="code" href="structarmnn_1_1_graph_1_1_output_layers_accessor.html#a660efe3cd8761bd55b70ae83a7ea4334">begin</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;<span class="keyword">        </span>{</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;            <span class="keywordflow">return</span> { std::prev(<a class="code" href="structarmnn_1_1_graph_1_1_input_layers_accessor.html#ab082a6092f0fdb886a45c56c4ab51a31">m_Graph</a>.m_Layers.end(), <span class="keyword">static_cast&lt;</span><a class="code" href="classarmnn_1_1_graph.html#a53402e786b52cef2fb21f3e39a819967">IteratorDifference</a><span class="keyword">&gt;</span>(<a class="code" href="structarmnn_1_1_graph_1_1_input_layers_accessor.html#ab082a6092f0fdb886a45c56c4ab51a31">m_Graph</a>.<a class="code" href="classarmnn_1_1_graph.html#a604654b453ec291a503d62a0beb849d3">GetNumOutputs</a>())),</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;                     &amp;(PtrCast&lt;const OutputLayer&gt;) };</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;        }</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;</div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="structarmnn_1_1_graph_1_1_output_layers_accessor.html#ad2a661f37e89422e29dc70b3e4cc7185">   87</a></span>&#160;        <a class="code" href="classarmnn_1_1_graph.html#a1d661cebc5fd9b5c802c13f0b3e18b85">ConstIteratorOutputs</a> <a class="code" href="structarmnn_1_1_graph_1_1_output_layers_accessor.html#ad2a661f37e89422e29dc70b3e4cc7185">end</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;<span class="keyword">        </span>{</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;            <span class="keywordflow">return</span> { <a class="code" href="structarmnn_1_1_graph_1_1_input_layers_accessor.html#ab082a6092f0fdb886a45c56c4ab51a31">m_Graph</a>.m_Layers.end(), &amp;(PtrCast&lt;const OutputLayer&gt;) };</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;        }</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;</div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="structarmnn_1_1_graph_1_1_output_layers_accessor.html#ab082a6092f0fdb886a45c56c4ab51a31">   92</a></span>&#160;        <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_graph.html">Graph</a>&amp; <a class="code" href="structarmnn_1_1_graph_1_1_output_layers_accessor.html#ab082a6092f0fdb886a45c56c4ab51a31">m_Graph</a>;</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    };</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div><div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="classarmnn_1_1_graph.html#afc5ef9d72cc2c509814200791eaef62c">   95</a></span>&#160;    <a class="code" href="classarmnn_1_1_graph.html#afc5ef9d72cc2c509814200791eaef62c">Graph</a>() : m_LayersInOrder(<a class="code" href="_cl_layer_tests_8cpp.html#a37f1c3ccc9fc906be85185350dd83d48">true</a>) {}</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">   97</span>&#160;    <a class="code" href="classarmnn_1_1_graph.html#afc5ef9d72cc2c509814200791eaef62c">Graph</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_graph.html">Graph</a>&amp; other);</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    <a class="code" href="classarmnn_1_1_graph.html">Graph</a>&amp; <a class="code" href="classarmnn_1_1_graph.html#a99eeb892ef31ec3e7058acea2253bce6">operator=</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_graph.html">Graph</a>&amp; other) = <span class="keyword">delete</span>;</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"><a class="line" href="classarmnn_1_1_graph.html#ab3790d678e488ba10868a9a0b0c324a6">  101</a></span>&#160;    <a class="code" href="classarmnn_1_1_graph.html#ab3790d678e488ba10868a9a0b0c324a6">Graph</a>(<a class="code" href="classarmnn_1_1_graph.html">Graph</a>&amp;&amp; other)</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    {</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;        *<span class="keyword">this</span> = std::move(other);</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;    }</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"><a class="line" href="classarmnn_1_1_graph.html#a04b47532de485737e97066d3cb29c957">  106</a></span>&#160;    <a class="code" href="classarmnn_1_1_graph.html">Graph</a>&amp; <a class="code" href="classarmnn_1_1_graph.html#a04b47532de485737e97066d3cb29c957">operator=</a>(<a class="code" href="classarmnn_1_1_graph.html">Graph</a>&amp;&amp; other)</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    {</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;        m_InputIds      = std::move(other.m_InputIds);</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;        m_OutputIds     = std::move(other.m_OutputIds);</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;        m_LayersInOrder = std::move(other.m_LayersInOrder);</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;        m_Views         = std::move(other.m_Views);</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;        other.<a class="code" href="classarmnn_1_1_graph.html#ad6521013ad981519904822f2ada2c4ec">ForEachLayer</a>([<span class="keyword">this</span>](<a class="code" href="classarmnn_1_1_layer.html">Layer</a>* otherLayer)</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;        {</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;            otherLayer-&gt;<a class="code" href="classarmnn_1_1_layer.html#a72b18e4c5a403bc3fe2fecf20135c8d6">Reparent</a>(*<span class="keyword">this</span>, m_Layers.end());</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;</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;        BOOST_ASSERT(other.m_PosInGraphMap.empty());</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;        BOOST_ASSERT(other.m_Layers.empty());</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> *<span class="keyword">this</span>;</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"><a class="line" href="classarmnn_1_1_graph.html#af5a604e5e9e4d68dbc10b312e59f678f">  124</a></span>&#160;    <a class="code" href="classarmnn_1_1_graph.html#af5a604e5e9e4d68dbc10b312e59f678f">~Graph</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;        <a class="code" href="classarmnn_1_1_graph.html#ad6521013ad981519904822f2ada2c4ec">ForEachLayer</a>([](<a class="code" href="classarmnn_1_1_layer.html">Layer</a>* layer)</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;        {</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;            <span class="keyword">delete</span> layer;</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;    }</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;    <a class="code" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> <a class="code" href="classarmnn_1_1_graph.html#afd329ee7d721aa6cdaacb8391308e34f">Print</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;    <a class="code" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> <a class="code" href="classarmnn_1_1_graph.html#a131873e7a706fc7ca0637027236916e9">SerializeToDot</a>(std::ostream&amp; stream);</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">typename</span> LayerT, <span class="keyword">typename</span>... Args&gt;</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;    LayerT* <a class="code" href="classarmnn_1_1_graph.html#a7563c5b899e7d0ada08fd0fdb202f205">AddLayer</a>(Args&amp;&amp;... args);</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">typename</span> LayerT, <span class="keyword">typename</span>... Args&gt;</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;    LayerT* <a class="code" href="classarmnn_1_1_graph.html#a3ff30c6669fdc69de1f5be1f89bacc3f">InsertNewLayer</a>(<a class="code" href="classarmnn_1_1_input_slot.html">InputSlot</a>&amp; insertBefore, Args&amp;&amp;... args);</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">typename</span> LayerT, <span class="keyword">typename</span>... Args&gt;</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;    LayerT* <a class="code" href="classarmnn_1_1_graph.html#a3ff30c6669fdc69de1f5be1f89bacc3f">InsertNewLayer</a>(<a class="code" href="classarmnn_1_1_output_slot.html">OutputSlot</a>&amp; insertAfter, Args&amp;&amp;... args);</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_graph.html#a96d76fd10af39fbfabfd0caf0d1439fa">EraseLayer</a>(<a class="code" href="classarmnn_1_1_graph.html#acc25db0641c1c22faf95af3bb49080c9">Iterator</a> pos);</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">typename</span> LayerT&gt;</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_graph.html#a96d76fd10af39fbfabfd0caf0d1439fa">EraseLayer</a>(LayerT*&amp; layer);</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;</div><div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="classarmnn_1_1_graph.html#a2387033802383edbdc95f9bbb12a707e">  158</a></span>&#160;    <a class="code" href="classarmnn_1_1_graph.html#acc25db0641c1c22faf95af3bb49080c9">Iterator</a> <a class="code" href="classarmnn_1_1_graph.html#a2387033802383edbdc95f9bbb12a707e">begin</a>() { <span class="keywordflow">return</span> m_Layers.begin(); }</div><div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="classarmnn_1_1_graph.html#ab45dae688fc5d8983727abffa4389003">  160</a></span>&#160;    <a class="code" href="classarmnn_1_1_graph.html#acc25db0641c1c22faf95af3bb49080c9">Iterator</a> <a class="code" href="classarmnn_1_1_graph.html#ab45dae688fc5d8983727abffa4389003">end</a>() { <span class="keywordflow">return</span> m_Layers.end(); }</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;</div><div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="classarmnn_1_1_graph.html#ad5fee900c7aee90671038c79225bf8ec">  163</a></span>&#160;    <a class="code" href="classarmnn_1_1_graph.html#af885be8b4485a7252f1f84237aaf67ac">ConstIterator</a> <a class="code" href="classarmnn_1_1_graph.html#ad5fee900c7aee90671038c79225bf8ec">begin</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> {m_Layers.begin(), &amp;(PtrCast&lt;const Layer&gt;)}; }</div><div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="classarmnn_1_1_graph.html#a69b6e2a03c835ca5d658a1f16acbaa9c">  165</a></span>&#160;    <a class="code" href="classarmnn_1_1_graph.html#af885be8b4485a7252f1f84237aaf67ac">ConstIterator</a> <a class="code" href="classarmnn_1_1_graph.html#a69b6e2a03c835ca5d658a1f16acbaa9c">end</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> {m_Layers.end(), &amp;(PtrCast&lt;const Layer&gt;)}; }</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;</div><div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="classarmnn_1_1_graph.html#a98b1109a9006f8cc7d4566146a3bd737">  168</a></span>&#160;    <a class="code" href="classarmnn_1_1_graph.html#af885be8b4485a7252f1f84237aaf67ac">ConstIterator</a> <a class="code" href="classarmnn_1_1_graph.html#a98b1109a9006f8cc7d4566146a3bd737">cbegin</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="structarmnn_1_1_graph_1_1_input_layers_accessor.html#af6f3e2b0ee65cd102e20c9f734160b90">begin</a>(); }</div><div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="classarmnn_1_1_graph.html#a02fd29b6dc3e21fbe4484362d85893bc">  170</a></span>&#160;    <a class="code" href="classarmnn_1_1_graph.html#af885be8b4485a7252f1f84237aaf67ac">ConstIterator</a> <a class="code" href="classarmnn_1_1_graph.html#a02fd29b6dc3e21fbe4484362d85893bc">cend</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="structarmnn_1_1_graph_1_1_input_layers_accessor.html#a39ebf520b6f30ab8776bdcb99ee38b93">end</a>(); }</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;</div><div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="classarmnn_1_1_graph.html#a9a7209345edfdb2b066b0ceb66414d7c">  173</a></span>&#160;    <a class="code" href="classarmnn_1_1_graph.html">Graph</a>&amp; <a class="code" href="classarmnn_1_1_graph.html#a9a7209345edfdb2b066b0ceb66414d7c">TopologicalSort</a>() { <span class="keyword">const_cast&lt;</span><span class="keyword">const </span><a class="code" href="classarmnn_1_1_graph.html">Graph</a>*<span class="keyword">&gt;</span>(<span class="keyword">this</span>)-&gt;<a class="code" href="classarmnn_1_1_graph.html#a9a7209345edfdb2b066b0ceb66414d7c">TopologicalSort</a>(); <span class="keywordflow">return</span> *<span class="keyword">this</span>; }</div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;    <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_graph.html">Graph</a>&amp; <a class="code" href="classarmnn_1_1_graph.html#a9a7209345edfdb2b066b0ceb66414d7c">TopologicalSort</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;</div><div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="classarmnn_1_1_graph.html#a8d8179a4a0703602a5d7dbb6e92eaf69">  176</a></span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="classarmnn_1_1_graph.html#a8d8179a4a0703602a5d7dbb6e92eaf69">GetNumInputs</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_InputIds.size(); }</div><div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="classarmnn_1_1_graph.html#a604654b453ec291a503d62a0beb849d3">  177</a></span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="classarmnn_1_1_graph.html#a604654b453ec291a503d62a0beb849d3">GetNumOutputs</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_OutputIds.size(); }</div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;</div><div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="classarmnn_1_1_graph.html#a919fb58873ef3a6549e4490e226f2eae">  181</a></span>&#160;    <a class="code" href="structarmnn_1_1_graph_1_1_input_layers_accessor.html">InputLayersAccessor</a> <a class="code" href="classarmnn_1_1_graph.html#a919fb58873ef3a6549e4490e226f2eae">GetInputLayers</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="structarmnn_1_1_graph_1_1_input_layers_accessor.html#ac1cd5626ebb213e73640ddc04658e755">InputLayersAccessor</a>(*<span class="keyword">this</span>); }</div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;</div><div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="classarmnn_1_1_graph.html#aa311c7fe7e05406c9ff4e4ed3ba09825">  185</a></span>&#160;    <a class="code" href="structarmnn_1_1_graph_1_1_output_layers_accessor.html">OutputLayersAccessor</a> <a class="code" href="classarmnn_1_1_graph.html#aa311c7fe7e05406c9ff4e4ed3ba09825">GetOutputLayers</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="structarmnn_1_1_graph_1_1_output_layers_accessor.html">OutputLayersAccessor</a>(*<span class="keyword">this</span>); }</div><div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;</div><div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="classarmnn_1_1_graph.html#afdf8eb85585a798ad0e936bde884d87b">  187</a></span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="classarmnn_1_1_graph.html#afdf8eb85585a798ad0e936bde884d87b">GetNumLayers</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> m_Layers.size(); }</div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;</div><div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;    <a class="code" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> <a class="code" href="classarmnn_1_1_graph.html#a5a989a5f9aeb2935ba932b7f8312fe0c">AllocateDynamicBuffers</a>();</div><div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;</div><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_graph.html#ad1bbee7bf5f93b792675886f57d3ebe0">AddCompatibilityLayers</a>(std::map&lt;<a class="code" href="classarmnn_1_1_backend_id.html">BackendId</a>, std::unique_ptr&lt;class IBackendInternal&gt;&gt;&amp; backends,</div><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;                                <a class="code" href="classarmnn_1_1_tensor_handle_factory_registry.html">TensorHandleFactoryRegistry</a>&amp; registry);</div><div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;</div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_graph.html#aafbd4b469e47160017f409df8d077184">SubstituteSubgraph</a>(<a class="code" href="classarmnn_1_1_subgraph_view.html">SubgraphView</a>&amp; subgraph, <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* substituteLayer);</div><div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_graph.html#aafbd4b469e47160017f409df8d077184">SubstituteSubgraph</a>(<a class="code" href="classarmnn_1_1_subgraph_view.html">SubgraphView</a>&amp; subgraph, <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_subgraph_view.html">SubgraphView</a>&amp; substituteSubgraph);</div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;</div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_graph.html#a2ceda8d369e861997d558fac74d79c33">InferTensorInfos</a>();</div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;</div><div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="classarmnn_1_1_graph.html#a52ff421c210e0e0b247dbe1dd07b9a7d">  204</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_graph.html#a52ff421c210e0e0b247dbe1dd07b9a7d">AttachObservable</a>(<a class="code" href="classarmnn_1_1_i_graph_observable.html">IGraphObservable</a>* <span class="keyword">const</span> observable, <a class="code" href="namespacearmnn.html#a34eaed09302a4d7bfe930c13a7673e0b">GraphEvent</a> notifyOnEvent) {</div><div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;        m_Views[notifyOnEvent].emplace_back(observable);</div><div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;    }</div><div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;</div><div class="line"><a name="l00208"></a><span class="lineno"><a class="line" href="classarmnn_1_1_graph.html#a369faf91a25265add1fe8aa416e7b877">  208</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_graph.html#a369faf91a25265add1fe8aa416e7b877">DetachObservable</a>(<a class="code" href="classarmnn_1_1_i_graph_observable.html">IGraphObservable</a>* <span class="keyword">const</span> observable, <a class="code" href="namespacearmnn.html#a34eaed09302a4d7bfe930c13a7673e0b">GraphEvent</a> notifyOnEvent) {</div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;        m_Views[notifyOnEvent].remove(observable);</div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;    }</div><div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;</div><div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;    <a class="code" href="classarmnn_1_1_graph.html#acc25db0641c1c22faf95af3bb49080c9">Iterator</a> <a class="code" href="classarmnn_1_1_graph.html#ac7ed5efddd83499ff642cc65f3f66a14">GetPosInGraph</a>(<a class="code" href="classarmnn_1_1_layer.html">Layer</a>&amp; layer);</div><div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;</div><div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">typename</span> LayerT&gt;</div><div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;    <span class="keyword">class </span>LayerInGraphBase;</div><div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;</div><div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">typename</span> LayerT&gt;</div><div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;    <span class="keyword">class </span>LayerInGraph;</div><div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;</div><div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;    <a class="code" href="classarmnn_1_1_graph.html#acc25db0641c1c22faf95af3bb49080c9">Iterator</a> ForwardToEndOfInputs(<a class="code" href="classarmnn_1_1_graph.html#acc25db0641c1c22faf95af3bb49080c9">Iterator</a> it)<span class="keyword"> const</span></div><div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;        <span class="keywordflow">while</span> ((it != m_Layers.end()) &amp;&amp; ((*it)-&gt;GetType() == <a class="code" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4a324118a6721dd6b8a9b9f4e327df2bf5">LayerType::Input</a>))</div><div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;        {</div><div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;            ++it;</div><div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;        }</div><div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;        <span class="keywordflow">return</span> it;</div><div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;    }</div><div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;</div><div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;    <a class="code" href="classarmnn_1_1_graph.html#acc25db0641c1c22faf95af3bb49080c9">Iterator</a> RewindToBeginOfOutputs(<a class="code" href="classarmnn_1_1_graph.html#acc25db0641c1c22faf95af3bb49080c9">Iterator</a> it)<span class="keyword"> const</span></div><div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;        <span class="keywordflow">while</span> ((it != m_Layers.begin()) &amp;&amp; ((*std::prev(it))-&gt;GetType() == <a class="code" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4a29c2c02a361c9d7028472e5d92cd4a54">LayerType::Output</a>))</div><div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;        {</div><div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;            --it;</div><div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;        }</div><div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;        <span class="keywordflow">return</span> it;</div><div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;    }</div><div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;</div><div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;    <span class="keywordtype">void</span> NotifyObservables(<a class="code" href="namespacearmnn.html#a34eaed09302a4d7bfe930c13a7673e0b">GraphEvent</a> event, <a class="code" href="classarmnn_1_1_layer.html">Layer</a>* graphState)</div><div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;    {</div><div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;        <span class="comment">// Iterate over all observables observing this event</span></div><div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;        <span class="keywordflow">for</span> (<span class="keyword">auto</span>&amp; observable : m_Views[event])</div><div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;        {</div><div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;            observable-&gt;Update(graphState);</div><div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;        }</div><div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;    }</div><div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;</div><div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;    std::unordered_set&lt;LayerBindingId&gt; m_InputIds;</div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;    std::unordered_set&lt;LayerBindingId&gt; m_OutputIds;</div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;    std::unordered_map&lt;const Layer*, Iterator&gt; m_PosInGraphMap;</div><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;</div><div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;    <span class="keywordtype">void</span> ReplaceSubgraphConnections(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_subgraph_view.html">SubgraphView</a>&amp; subgraph, <a class="code" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a>* substituteLayer);</div><div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;    <span class="keywordtype">void</span> ReplaceSubgraphConnections(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_subgraph_view.html">SubgraphView</a>&amp; subgraph, <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_subgraph_view.html">SubgraphView</a>&amp; substituteSubgraph);</div><div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;    <span class="keywordtype">void</span> EraseSubgraphLayers(<a class="code" href="classarmnn_1_1_subgraph_view.html">SubgraphView</a> &amp;subgraph);</div><div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;</div><div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;    <span class="keyword">mutable</span> <a class="code" href="classarmnn_1_1_graph.html#aa6553ea54991669aaa89b6f17bdf4172">LayerList</a> m_Layers;</div><div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;    <span class="keyword">mutable</span> <span class="keywordtype">bool</span> m_LayersInOrder;</div><div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;</div><div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;    std::map&lt;const GraphEvent, std::list&lt;IGraphObservable*&gt;&gt; m_Views;</div><div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;};</div><div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;</div><div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> LayerT&gt;</div><div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;<span class="keyword">class </span>Graph::LayerInGraphBase : <span class="keyword">public</span> LayerT</div><div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;{</div><div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">typename</span>... Args&gt;</div><div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;    LayerInGraphBase(<a class="code" href="classarmnn_1_1_graph.html">Graph</a>&amp; graph, <a class="code" href="classarmnn_1_1_graph.html#acc25db0641c1c22faf95af3bb49080c9">Iterator</a> insertBefore, Args&amp;&amp;... args)</div><div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;        : LayerT(std::forward&lt;Args&gt;(args)...), <a class="code" href="structarmnn_1_1_graph_1_1_input_layers_accessor.html#ab082a6092f0fdb886a45c56c4ab51a31">m_Graph</a>(&amp;graph)</div><div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;    {</div><div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;        Insert(*<a class="code" href="structarmnn_1_1_graph_1_1_input_layers_accessor.html#ab082a6092f0fdb886a45c56c4ab51a31">m_Graph</a>, insertBefore);</div><div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;    }</div><div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;    ~LayerInGraphBase()</div><div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;    {</div><div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;        <a class="code" href="namespacearmnn_utils_1_1_filesystem.html#a7d64caad10c705910e723dd8920a9dba">Remove</a>(*<a class="code" href="structarmnn_1_1_graph_1_1_input_layers_accessor.html#ab082a6092f0fdb886a45c56c4ab51a31">m_Graph</a>);</div><div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;    }</div><div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;</div><div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;    <span class="keywordtype">void</span> Reparent(<a class="code" href="classarmnn_1_1_graph.html">Graph</a>&amp; destGraph, <a class="code" href="classarmnn_1_1_graph.html#acc25db0641c1c22faf95af3bb49080c9">Iterator</a> insertBefore)<span class="keyword"> override</span></div><div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;        Insert(destGraph, insertBefore);</div><div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;        <a class="code" href="namespacearmnn_utils_1_1_filesystem.html#a7d64caad10c705910e723dd8920a9dba">Remove</a>(*<a class="code" href="structarmnn_1_1_graph_1_1_input_layers_accessor.html#ab082a6092f0fdb886a45c56c4ab51a31">m_Graph</a>);</div><div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;</div><div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;        <a class="code" href="structarmnn_1_1_graph_1_1_input_layers_accessor.html#ab082a6092f0fdb886a45c56c4ab51a31">m_Graph</a> = &amp;destGraph;</div><div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;    }</div><div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;</div><div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;    <span class="keywordtype">void</span> Insert(<a class="code" href="classarmnn_1_1_graph.html">Graph</a>&amp; graph, <a class="code" href="classarmnn_1_1_graph.html#acc25db0641c1c22faf95af3bb49080c9">Iterator</a> insertBefore)</div><div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;    {</div><div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;        graph.m_PosInGraphMap.emplace(<span class="keyword">this</span>, graph.m_Layers.emplace(insertBefore, <span class="keyword">this</span>));</div><div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;    }</div><div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;</div><div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="namespacearmnn_utils_1_1_filesystem.html#a7d64caad10c705910e723dd8920a9dba">Remove</a>(<a class="code" href="classarmnn_1_1_graph.html">Graph</a>&amp; graph)</div><div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;    {</div><div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;        <span class="keyword">auto</span> layerIt = graph.<a class="code" href="classarmnn_1_1_graph.html#ac7ed5efddd83499ff642cc65f3f66a14">GetPosInGraph</a>(*<span class="keyword">this</span>);</div><div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;        graph.m_Layers.erase(layerIt);</div><div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;</div><div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;        <span class="keyword">const</span> <span class="keywordtype">size_t</span> numErased = graph.m_PosInGraphMap.erase(<span class="keyword">this</span>);</div><div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;        boost::ignore_unused(numErased);</div><div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;        BOOST_ASSERT(numErased == 1);</div><div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;    }</div><div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;</div><div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;    <a class="code" href="classarmnn_1_1_graph.html">Graph</a>* <a class="code" href="structarmnn_1_1_graph_1_1_input_layers_accessor.html#ab082a6092f0fdb886a45c56c4ab51a31">m_Graph</a>;</div><div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;};</div><div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;</div><div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> LayerT&gt;</div><div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;<span class="keyword">class </span>Graph::LayerInGraph final : <span class="keyword">public</span> LayerInGraphBase&lt;LayerT&gt;</div><div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;{</div><div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">typename</span>... Args&gt;</div><div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;    LayerInGraph(<a class="code" href="classarmnn_1_1_graph.html">Graph</a>&amp; graph, Args&amp;&amp;... args)</div><div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;        : LayerInGraphBase&lt;LayerT&gt;(graph,</div><div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;                                   <span class="comment">// Insert at the back of the intermediate layers (before outputs).</span></div><div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;                                   std::prev(graph.end(), <a class="code" href="classarmnn_1_1_graph.html#a53402e786b52cef2fb21f3e39a819967">IteratorDifference</a>(graph.GetNumOutputs())),</div><div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;                                   std::forward&lt;Args&gt;(args)...)</div><div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;    {</div><div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;    }</div><div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">typename</span>... Args&gt;</div><div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;    LayerInGraph(<a class="code" href="classarmnn_1_1_graph.html">Graph</a>&amp; graph, <a class="code" href="classarmnn_1_1_graph.html#acc25db0641c1c22faf95af3bb49080c9">Iterator</a> insertBefore, Args&amp;&amp;... args)</div><div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;        : LayerInGraphBase&lt;LayerT&gt;(graph,</div><div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;                                   <span class="comment">// Make sure it&#39;s inserted after all inputs and before all outputs.</span></div><div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;                                   graph.ForwardToEndOfInputs(graph.RewindToBeginOfOutputs(insertBefore)),</div><div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;                                   std::forward&lt;Args&gt;(args)...)</div><div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;    {</div><div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;    }</div><div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;};</div><div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;</div><div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;<span class="keyword">template</span> &lt;&gt;</div><div class="line"><a name="l00333"></a><span class="lineno"><a class="line" href="classarmnn_1_1_graph_1_1_layer_in_graph_3_01_input_layer_01_4.html">  333</a></span>&#160;<span class="keyword">class </span>Graph::LayerInGraph&lt;<a class="code" href="classarmnn_1_1_input_layer.html">InputLayer</a>&gt; final : <span class="keyword">public</span> LayerInGraphBase&lt;InputLayer&gt;</div><div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;{</div><div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">typename</span>... Args&gt;</div><div class="line"><a name="l00337"></a><span class="lineno"><a class="line" href="classarmnn_1_1_graph_1_1_layer_in_graph_3_01_input_layer_01_4.html#a738be94d0baec5ceab8bee31fcb85dbd">  337</a></span>&#160;    <a class="code" href="classarmnn_1_1_graph_1_1_layer_in_graph_3_01_input_layer_01_4.html#a738be94d0baec5ceab8bee31fcb85dbd">LayerInGraph</a>(<a class="code" href="classarmnn_1_1_graph.html">Graph</a>&amp; graph, Args&amp;&amp;... args)</div><div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;        : LayerInGraphBase&lt;<a class="code" href="classarmnn_1_1_input_layer.html">InputLayer</a>&gt;(graph,</div><div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;                                       <span class="comment">// Always add to the back of the inputs.</span></div><div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;                                       <a class="code" href="namespacestd.html">std</a>::next(graph.<a class="code" href="structarmnn_1_1_graph_1_1_input_layers_accessor.html#af6f3e2b0ee65cd102e20c9f734160b90">begin</a>(), <a class="code" href="classarmnn_1_1_graph.html#a53402e786b52cef2fb21f3e39a819967">IteratorDifference</a>(graph.<a class="code" href="classarmnn_1_1_graph.html#a8d8179a4a0703602a5d7dbb6e92eaf69">GetNumInputs</a>())),</div><div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;                                       <a class="code" href="namespacestd.html">std</a>::forward&lt;Args&gt;(args)...)</div><div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;    {</div><div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;        <span class="keyword">const</span> <span class="keywordtype">bool</span> isNewId = <a class="code" href="structarmnn_1_1_graph_1_1_input_layers_accessor.html#ab082a6092f0fdb886a45c56c4ab51a31">m_Graph</a>-&gt;m_InputIds.emplace(GetBindingId()).second;</div><div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;        <span class="keywordflow">if</span> (!isNewId)</div><div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;        {</div><div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;            <span class="keywordflow">throw</span> <a class="code" href="classarmnn_1_1_invalid_argument_exception.html">InvalidArgumentException</a>(<span class="stringliteral">&quot;A layer already exists with the specified id&quot;</span>);</div><div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;        }</div><div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;    }</div><div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">typename</span>... Args&gt;</div><div class="line"><a name="l00350"></a><span class="lineno"><a class="line" href="classarmnn_1_1_graph_1_1_layer_in_graph_3_01_input_layer_01_4.html#a057f444abdec36787b0141875e33fa79">  350</a></span>&#160;    <a class="code" href="classarmnn_1_1_graph_1_1_layer_in_graph_3_01_input_layer_01_4.html#a057f444abdec36787b0141875e33fa79">LayerInGraph</a>(<a class="code" href="classarmnn_1_1_graph.html">Graph</a>&amp; graph, <a class="code" href="classarmnn_1_1_graph.html#acc25db0641c1c22faf95af3bb49080c9">Iterator</a>, Args&amp;&amp;... args)</div><div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;        <span class="comment">// Ignore Iterator argument. Always add to the back of the inputs.</span></div><div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;        : LayerInGraph(graph, <a class="code" href="namespacestd.html">std</a>::forward&lt;Args&gt;(args)...)</div><div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;    {</div><div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;    }</div><div class="line"><a name="l00355"></a><span class="lineno"><a class="line" href="classarmnn_1_1_graph_1_1_layer_in_graph_3_01_input_layer_01_4.html#afcf7e3e1fd008dab68b6354393063243">  355</a></span>&#160;    <a class="code" href="classarmnn_1_1_graph_1_1_layer_in_graph_3_01_input_layer_01_4.html#afcf7e3e1fd008dab68b6354393063243">~LayerInGraph</a>()<span class="keyword"> override</span></div><div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;        <span class="keyword">const</span> <span class="keywordtype">size_t</span> numErased = <a class="code" href="structarmnn_1_1_graph_1_1_input_layers_accessor.html#ab082a6092f0fdb886a45c56c4ab51a31">m_Graph</a>-&gt;m_InputIds.erase(GetBindingId());</div><div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;        boost::ignore_unused(numErased);</div><div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;        BOOST_ASSERT(numErased == 1);</div><div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;    }</div><div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;};</div><div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;</div><div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;<span class="keyword">template</span> &lt;&gt;</div><div class="line"><a name="l00365"></a><span class="lineno"><a class="line" href="classarmnn_1_1_graph_1_1_layer_in_graph_3_01_output_layer_01_4.html">  365</a></span>&#160;<span class="keyword">class </span>Graph::LayerInGraph&lt;<a class="code" href="classarmnn_1_1_output_layer.html">OutputLayer</a>&gt; final : <span class="keyword">public</span> LayerInGraphBase&lt;OutputLayer&gt;</div><div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;{</div><div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;    <span class="keyword">template</span> &lt;<span class="keyword">typename</span>... Args&gt;</div><div class="line"><a name="l00369"></a><span class="lineno"><a class="line" href="classarmnn_1_1_graph_1_1_layer_in_graph_3_01_output_layer_01_4.html#a738be94d0baec5ceab8bee31fcb85dbd">  369</a></span>&#160;    <a class="code" href="classarmnn_1_1_graph_1_1_layer_in_graph_3_01_output_layer_01_4.html#a738be94d0baec5ceab8bee31fcb85dbd">LayerInGraph</a>(<a class="code" href="classarmnn_1_1_graph.html">Graph</a>&amp; graph, Args&amp;&amp;... args)</div><div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;        : LayerInGraphBase&lt;<a class="code" href="classarmnn_1_1_output_layer.html">OutputLayer</a>&gt;(graph,</div><div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;                                        <span class="comment">// Always add to the back of the outputs.</span></div><div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;                                        graph.<a class="code" href="structarmnn_1_1_graph_1_1_input_layers_accessor.html#a39ebf520b6f30ab8776bdcb99ee38b93">end</a>(),</div><div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;                                        <a class="code" href="namespacestd.html">std</a>::forward&lt;Args&gt;(args)...)</div><div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;    {</div><div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;        <span class="keyword">const</span> <span class="keywordtype">bool</span> isNewId = <a class="code" href="structarmnn_1_1_graph_1_1_input_layers_accessor.html#ab082a6092f0fdb886a45c56c4ab51a31">m_Graph</a>-&gt;m_OutputIds.emplace(GetBindingId()).second;</div><div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;        <span class="keywordflow">if</span> (!isNewId)</div><div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;        {</div><div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;            <span class="keywordflow">throw</span> <a class="code" href="classarmnn_1_1_invalid_argument_exception.html">InvalidArgumentException</a>(<span class="stringliteral">&quot;A layer already exists with the specified id&quot;</span>);</div><div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;        }</div><div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;    }</div><div class="line"><a name="l00381"></a><span class="lineno"><a class="line" href="classarmnn_1_1_graph_1_1_layer_in_graph_3_01_output_layer_01_4.html#afcf7e3e1fd008dab68b6354393063243">  381</a></span>&#160;    <a class="code" href="classarmnn_1_1_graph_1_1_layer_in_graph_3_01_output_layer_01_4.html#afcf7e3e1fd008dab68b6354393063243">~LayerInGraph</a>()<span class="keyword"> override</span></div><div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;        <span class="keyword">const</span> <span class="keywordtype">size_t</span> numErased = <a class="code" href="structarmnn_1_1_graph_1_1_input_layers_accessor.html#ab082a6092f0fdb886a45c56c4ab51a31">m_Graph</a>-&gt;m_OutputIds.erase(GetBindingId());</div><div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;        boost::ignore_unused(numErased);</div><div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;        BOOST_ASSERT(numErased == 1);</div><div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160;    }</div><div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;};</div><div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;</div><div class="line"><a name="l00389"></a><span class="lineno"><a class="line" href="classarmnn_1_1_graph.html#ac7ed5efddd83499ff642cc65f3f66a14">  389</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="classarmnn_1_1_graph.html#acc25db0641c1c22faf95af3bb49080c9">Graph::Iterator</a> <a class="code" href="classarmnn_1_1_graph.html#ac7ed5efddd83499ff642cc65f3f66a14">Graph::GetPosInGraph</a>(<a class="code" href="classarmnn_1_1_layer.html">Layer</a>&amp; layer)</div><div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;{</div><div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;    <span class="keyword">auto</span> it = m_PosInGraphMap.find(&amp;layer);</div><div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;    BOOST_ASSERT(it != m_PosInGraphMap.end());</div><div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;    <span class="keywordflow">return</span> it-&gt;second;</div><div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;}</div><div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;</div><div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> LayerT, <span class="keyword">typename</span>... Args&gt;</div><div class="line"><a name="l00397"></a><span class="lineno"><a class="line" href="classarmnn_1_1_graph.html#a7563c5b899e7d0ada08fd0fdb202f205">  397</a></span>&#160;<span class="keyword">inline</span> LayerT* <a class="code" href="classarmnn_1_1_graph.html#a7563c5b899e7d0ada08fd0fdb202f205">Graph::AddLayer</a>(Args&amp;&amp;... args)</div><div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;{</div><div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;    m_LayersInOrder = m_LayersInOrder &amp;&amp;</div><div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;        ((LayerEnumOf&lt;LayerT&gt;() == <a class="code" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4a324118a6721dd6b8a9b9f4e327df2bf5">LayerType::Input</a>) || (LayerEnumOf&lt;LayerT&gt;() == <a class="code" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4a29c2c02a361c9d7028472e5d92cd4a54">LayerType::Output</a>));</div><div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;    LayerT* <span class="keyword">const</span> layer = <span class="keyword">new</span> LayerInGraph&lt;LayerT&gt;(*<span class="keyword">this</span>, std::forward&lt;Args&gt;(args)...);</div><div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;</div><div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;    NotifyObservables(<a class="code" href="namespacearmnn.html#a34eaed09302a4d7bfe930c13a7673e0ba23c3efdd3f80798660ecf0b9af6dd5dd">GraphEvent::LayerAdded</a>, layer);</div><div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;</div><div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;    <span class="keywordflow">return</span> layer;</div><div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;}</div><div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;</div><div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> LayerT, <span class="keyword">typename</span>... Args&gt;</div><div class="line"><a name="l00409"></a><span class="lineno"><a class="line" href="classarmnn_1_1_graph.html#a3ff30c6669fdc69de1f5be1f89bacc3f">  409</a></span>&#160;<span class="keyword">inline</span> LayerT* <a class="code" href="classarmnn_1_1_graph.html#a3ff30c6669fdc69de1f5be1f89bacc3f">Graph::InsertNewLayer</a>(<a class="code" href="classarmnn_1_1_input_slot.html">InputSlot</a>&amp; insertBefore, Args&amp;&amp;... args)</div><div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;{</div><div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;    <span class="comment">// Insert after the parent if any, or before the child otherwise, so the topological order is kept.</span></div><div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;    <a class="code" href="classarmnn_1_1_output_slot.html">OutputSlot</a>* parentOut = insertBefore.<a class="code" href="classarmnn_1_1_input_slot.html#a9effd325a6d512a3f8ff4bd207d53255">GetConnectedOutputSlot</a>();</div><div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;    <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_graph.html#acc25db0641c1c22faf95af3bb49080c9">Iterator</a> pos = (parentOut != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;                         ? std::next(<a class="code" href="classarmnn_1_1_graph.html#ac7ed5efddd83499ff642cc65f3f66a14">GetPosInGraph</a>(parentOut-&gt;<a class="code" href="classarmnn_1_1_output_slot.html#a7ddaf04177053a536f0e7be83a642bc6">GetOwningLayer</a>()))</div><div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;                         : <a class="code" href="classarmnn_1_1_graph.html#ac7ed5efddd83499ff642cc65f3f66a14">GetPosInGraph</a>(insertBefore.<a class="code" href="classarmnn_1_1_input_slot.html#a7ddaf04177053a536f0e7be83a642bc6">GetOwningLayer</a>());</div><div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;    LayerT* <span class="keyword">const</span> layer = <span class="keyword">new</span> LayerInGraph&lt;LayerT&gt;(*<span class="keyword">this</span>, pos, std::forward&lt;Args&gt;(args)...);</div><div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;    insertBefore.<a class="code" href="classarmnn_1_1_input_slot.html#a5a0a7224d93d14db044426a3878dab4d">Insert</a>(*layer);</div><div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;</div><div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;    NotifyObservables(<a class="code" href="namespacearmnn.html#a34eaed09302a4d7bfe930c13a7673e0ba23c3efdd3f80798660ecf0b9af6dd5dd">GraphEvent::LayerAdded</a>, layer);</div><div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;</div><div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;    <span class="keywordflow">return</span> layer;</div><div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;}</div><div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;</div><div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> LayerT, <span class="keyword">typename</span>... Args&gt;</div><div class="line"><a name="l00425"></a><span class="lineno"><a class="line" href="classarmnn_1_1_graph.html#af8c993add04a7b4e1e29924a03d23d0c">  425</a></span>&#160;<span class="keyword">inline</span> LayerT* <a class="code" href="classarmnn_1_1_graph.html#a3ff30c6669fdc69de1f5be1f89bacc3f">Graph::InsertNewLayer</a>(<a class="code" href="classarmnn_1_1_output_slot.html">OutputSlot</a>&amp; insertAfter, Args&amp;&amp;... args)</div><div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;{</div><div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;    <a class="code" href="classarmnn_1_1_layer.html">Layer</a>&amp; owningLayer = insertAfter.<a class="code" href="classarmnn_1_1_output_slot.html#a7ddaf04177053a536f0e7be83a642bc6">GetOwningLayer</a>();</div><div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;</div><div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;    <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_graph.html#acc25db0641c1c22faf95af3bb49080c9">Iterator</a> pos = std::next(<a class="code" href="classarmnn_1_1_graph.html#ac7ed5efddd83499ff642cc65f3f66a14">GetPosInGraph</a>(owningLayer));</div><div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;    LayerT* <span class="keyword">const</span> layer = <span class="keyword">new</span> LayerInGraph&lt;LayerT&gt;(*<span class="keyword">this</span>, pos, std::forward&lt;Args&gt;(args)...);</div><div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;</div><div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;    BOOST_ASSERT(layer-&gt;GetNumInputSlots() == 1);</div><div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;</div><div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;    insertAfter.<a class="code" href="classarmnn_1_1_output_slot.html#a19d30f83e90f2612e6aec510715f790d">MoveAllConnections</a>(layer-&gt;GetOutputSlot());</div><div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;    insertAfter.<a class="code" href="classarmnn_1_1_output_slot.html#adcfb97035799ea4c043f9ef370714815">Connect</a>(layer-&gt;GetInputSlot(0));</div><div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;</div><div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160;    NotifyObservables(<a class="code" href="namespacearmnn.html#a34eaed09302a4d7bfe930c13a7673e0ba23c3efdd3f80798660ecf0b9af6dd5dd">GraphEvent::LayerAdded</a>, layer);</div><div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160;</div><div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160;    <span class="keywordflow">return</span> layer;</div><div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160;}</div><div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;</div><div class="line"><a name="l00442"></a><span class="lineno"><a class="line" href="classarmnn_1_1_graph.html#a96d76fd10af39fbfabfd0caf0d1439fa">  442</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_graph.html#a96d76fd10af39fbfabfd0caf0d1439fa">Graph::EraseLayer</a>(<a class="code" href="classarmnn_1_1_graph.html#acc25db0641c1c22faf95af3bb49080c9">Iterator</a> pos)</div><div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;{</div><div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;    NotifyObservables(<a class="code" href="namespacearmnn.html#a34eaed09302a4d7bfe930c13a7673e0bad6e393dc30fd33cbcb5f6ab199093528">GraphEvent::LayerErased</a>, *pos);</div><div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;</div><div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;    <span class="keyword">delete</span> *pos;</div><div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160;}</div><div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;</div><div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> LayerT&gt;</div><div class="line"><a name="l00450"></a><span class="lineno"><a class="line" href="classarmnn_1_1_graph.html#a2b1af2be20d1b14172c636de692a75a5">  450</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_graph.html#a96d76fd10af39fbfabfd0caf0d1439fa">Graph::EraseLayer</a>(LayerT*&amp; layer)</div><div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160;{</div><div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;    BOOST_ASSERT(layer != <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160;    <a class="code" href="classarmnn_1_1_graph.html#a96d76fd10af39fbfabfd0caf0d1439fa">EraseLayer</a>(<a class="code" href="classarmnn_1_1_graph.html#ac7ed5efddd83499ff642cc65f3f66a14">GetPosInGraph</a>(*layer));</div><div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160;    layer = <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160;}</div><div class="line"><a name="l00456"></a><span class="lineno">  456</span>&#160;</div><div class="line"><a name="l00457"></a><span class="lineno">  457</span>&#160;} <span class="comment">// namespace armnn</span></div><div class="ttc" id="classarmnn_1_1_input_slot_html"><div class="ttname"><a href="classarmnn_1_1_input_slot.html">armnn::InputSlot</a></div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00041">Layer.hpp:41</a></div></div>
88 <div class="ttc" id="classarmnn_1_1_graph_1_1_layer_in_graph_3_01_output_layer_01_4_html_afcf7e3e1fd008dab68b6354393063243"><div class="ttname"><a href="classarmnn_1_1_graph_1_1_layer_in_graph_3_01_output_layer_01_4.html#afcf7e3e1fd008dab68b6354393063243">armnn::Graph::LayerInGraph&lt; OutputLayer &gt;::~LayerInGraph</a></div><div class="ttdeci">~LayerInGraph() override</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00381">Graph.hpp:381</a></div></div>
89 <div class="ttc" id="classarmnn_1_1_tensor_handle_factory_registry_html"><div class="ttname"><a href="classarmnn_1_1_tensor_handle_factory_registry.html">armnn::TensorHandleFactoryRegistry</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_handle_factory_registry_8hpp_source.html#l00020">TensorHandleFactoryRegistry.hpp:20</a></div></div>
90 <div class="ttc" id="namespacearmnn_html_a34eaed09302a4d7bfe930c13a7673e0b"><div class="ttname"><a href="namespacearmnn.html#a34eaed09302a4d7bfe930c13a7673e0b">armnn::GraphEvent</a></div><div class="ttdeci">GraphEvent</div><div class="ttdef"><b>Definition:</b> <a href="_i_graph_observable_8hpp_source.html#l00012">IGraphObservable.hpp:12</a></div></div>
91 <div class="ttc" id="classarmnn_1_1_graph_html_afdf8eb85585a798ad0e936bde884d87b"><div class="ttname"><a href="classarmnn_1_1_graph.html#afdf8eb85585a798ad0e936bde884d87b">armnn::Graph::GetNumLayers</a></div><div class="ttdeci">size_t GetNumLayers() const</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00187">Graph.hpp:187</a></div></div>
92 <div class="ttc" id="classarmnn_1_1_input_layer_html"><div class="ttname"><a href="classarmnn_1_1_input_layer.html">armnn::InputLayer</a></div><div class="ttdoc">A layer user-provided data can be bound to (e.g. inputs, outputs). </div><div class="ttdef"><b>Definition:</b> <a href="_input_layer_8hpp_source.html#l00013">InputLayer.hpp:13</a></div></div>
93 <div class="ttc" id="classarmnn_1_1_input_slot_html_a9effd325a6d512a3f8ff4bd207d53255"><div class="ttname"><a href="classarmnn_1_1_input_slot.html#a9effd325a6d512a3f8ff4bd207d53255">armnn::InputSlot::GetConnectedOutputSlot</a></div><div class="ttdeci">const OutputSlot * GetConnectedOutputSlot() const</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00055">Layer.hpp:55</a></div></div>
94 <div class="ttc" id="namespacearmnn_html_a34eaed09302a4d7bfe930c13a7673e0bad6e393dc30fd33cbcb5f6ab199093528"><div class="ttname"><a href="namespacearmnn.html#a34eaed09302a4d7bfe930c13a7673e0bad6e393dc30fd33cbcb5f6ab199093528">armnn::GraphEvent::LayerErased</a></div></div>
95 <div class="ttc" id="structarmnn_1_1_graph_1_1_input_layers_accessor_html_a39ebf520b6f30ab8776bdcb99ee38b93"><div class="ttname"><a href="structarmnn_1_1_graph_1_1_input_layers_accessor.html#a39ebf520b6f30ab8776bdcb99ee38b93">armnn::Graph::InputLayersAccessor::end</a></div><div class="ttdeci">ConstIteratorInputs end() const</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00067">Graph.hpp:67</a></div></div>
96 <div class="ttc" id="namespacearmnn_html_a67a0db04d321a74b7e7fcfd3f1a3f70b"><div class="ttname"><a href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">armnn::Status</a></div><div class="ttdeci">Status</div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.html#l00026">Types.hpp:26</a></div></div>
97 <div class="ttc" id="classarmnn_1_1_graph_html_a9a7209345edfdb2b066b0ceb66414d7c"><div class="ttname"><a href="classarmnn_1_1_graph.html#a9a7209345edfdb2b066b0ceb66414d7c">armnn::Graph::TopologicalSort</a></div><div class="ttdeci">Graph &amp; TopologicalSort()</div><div class="ttdoc">Sorts layers in topological order and return this. </div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00173">Graph.hpp:173</a></div></div>
98 <div class="ttc" id="structarmnn_1_1_graph_1_1_output_layers_accessor_html_a660efe3cd8761bd55b70ae83a7ea4334"><div class="ttname"><a href="structarmnn_1_1_graph_1_1_output_layers_accessor.html#a660efe3cd8761bd55b70ae83a7ea4334">armnn::Graph::OutputLayersAccessor::begin</a></div><div class="ttdeci">ConstIteratorOutputs begin() const</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00081">Graph.hpp:81</a></div></div>
99 <div class="ttc" id="_exceptions_8hpp_html"><div class="ttname"><a href="_exceptions_8hpp.html">Exceptions.hpp</a></div></div>
100 <div class="ttc" id="classarmnn_1_1_graph_html_af5a604e5e9e4d68dbc10b312e59f678f"><div class="ttname"><a href="classarmnn_1_1_graph.html#af5a604e5e9e4d68dbc10b312e59f678f">armnn::Graph::~Graph</a></div><div class="ttdeci">~Graph()</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00124">Graph.hpp:124</a></div></div>
101 <div class="ttc" id="_network_fwd_8hpp_html"><div class="ttname"><a href="_network_fwd_8hpp.html">NetworkFwd.hpp</a></div></div>
102 <div class="ttc" id="_layers_fwd_8hpp_html"><div class="ttname"><a href="_layers_fwd_8hpp.html">LayersFwd.hpp</a></div></div>
103 <div class="ttc" id="classarmnn_1_1_output_slot_html"><div class="ttname"><a href="classarmnn_1_1_output_slot.html">armnn::OutputSlot</a></div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00083">Layer.hpp:83</a></div></div>
104 <div class="ttc" id="classarmnn_1_1_graph_html_a604654b453ec291a503d62a0beb849d3"><div class="ttname"><a href="classarmnn_1_1_graph.html#a604654b453ec291a503d62a0beb849d3">armnn::Graph::GetNumOutputs</a></div><div class="ttdeci">size_t GetNumOutputs() const</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00177">Graph.hpp:177</a></div></div>
105 <div class="ttc" id="namespacearmnn_html_a56943a0946e5f15e5e58054b8e7a04a4a29c2c02a361c9d7028472e5d92cd4a54"><div class="ttname"><a href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4a29c2c02a361c9d7028472e5d92cd4a54">armnn::LayerType::Output</a></div></div>
106 <div class="ttc" id="classarmnn_1_1_graph_html_a369faf91a25265add1fe8aa416e7b877"><div class="ttname"><a href="classarmnn_1_1_graph.html#a369faf91a25265add1fe8aa416e7b877">armnn::Graph::DetachObservable</a></div><div class="ttdeci">void DetachObservable(IGraphObservable *const observable, GraphEvent notifyOnEvent)</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00208">Graph.hpp:208</a></div></div>
107 <div class="ttc" id="classarmnn_1_1_layer_html"><div class="ttname"><a href="classarmnn_1_1_layer.html">armnn::Layer</a></div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00209">Layer.hpp:209</a></div></div>
108 <div class="ttc" id="classarmnn_1_1_graph_html_ab45dae688fc5d8983727abffa4389003"><div class="ttname"><a href="classarmnn_1_1_graph.html#ab45dae688fc5d8983727abffa4389003">armnn::Graph::end</a></div><div class="ttdeci">Iterator end()</div><div class="ttdoc">Returns iterator pointing to the end of the list. Lowercase for range-based for loops. </div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00160">Graph.hpp:160</a></div></div>
109 <div class="ttc" id="classarmnn_1_1_graph_html_aa311c7fe7e05406c9ff4e4ed3ba09825"><div class="ttname"><a href="classarmnn_1_1_graph.html#aa311c7fe7e05406c9ff4e4ed3ba09825">armnn::Graph::GetOutputLayers</a></div><div class="ttdeci">OutputLayersAccessor GetOutputLayers() const</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00185">Graph.hpp:185</a></div></div>
110 <div class="ttc" id="classarmnn_1_1_graph_html_a52ff421c210e0e0b247dbe1dd07b9a7d"><div class="ttname"><a href="classarmnn_1_1_graph.html#a52ff421c210e0e0b247dbe1dd07b9a7d">armnn::Graph::AttachObservable</a></div><div class="ttdeci">void AttachObservable(IGraphObservable *const observable, GraphEvent notifyOnEvent)</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00204">Graph.hpp:204</a></div></div>
111 <div class="ttc" id="classarmnn_1_1_graph_html_a1d661cebc5fd9b5c802c13f0b3e18b85"><div class="ttname"><a href="classarmnn_1_1_graph.html#a1d661cebc5fd9b5c802c13f0b3e18b85">armnn::Graph::ConstIteratorOutputs</a></div><div class="ttdeci">boost::transform_iterator&lt; decltype(&amp;PtrCast&lt; const OutputLayer &gt;), Iterator &gt; ConstIteratorOutputs</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00055">Graph.hpp:55</a></div></div>
112 <div class="ttc" id="namespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div><div class="ttdef"><b>Definition:</b> <a href="_backend_id_8hpp_source.html#l00147">BackendId.hpp:147</a></div></div>
113 <div class="ttc" id="classarmnn_1_1_graph_html_ab0b31e4f400c4e847bff12be48edc9b8"><div class="ttname"><a href="classarmnn_1_1_graph.html#ab0b31e4f400c4e847bff12be48edc9b8">armnn::Graph::ConstIteratorInputs</a></div><div class="ttdeci">boost::transform_iterator&lt; decltype(&amp;PtrCast&lt; const InputLayer &gt;), Iterator &gt; ConstIteratorInputs</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00054">Graph.hpp:54</a></div></div>
114 <div class="ttc" id="classarmnn_1_1_graph_html_a7563c5b899e7d0ada08fd0fdb202f205"><div class="ttname"><a href="classarmnn_1_1_graph.html#a7563c5b899e7d0ada08fd0fdb202f205">armnn::Graph::AddLayer</a></div><div class="ttdeci">LayerT * AddLayer(Args &amp;&amp;... args)</div><div class="ttdoc">Adds a new layer, of type LayerType, to the graph constructed with the arguments passed. </div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00397">Graph.hpp:397</a></div></div>
115 <div class="ttc" id="classarmnn_1_1_graph_1_1_layer_in_graph_3_01_output_layer_01_4_html_a738be94d0baec5ceab8bee31fcb85dbd"><div class="ttname"><a href="classarmnn_1_1_graph_1_1_layer_in_graph_3_01_output_layer_01_4.html#a738be94d0baec5ceab8bee31fcb85dbd">armnn::Graph::LayerInGraph&lt; OutputLayer &gt;::LayerInGraph</a></div><div class="ttdeci">LayerInGraph(Graph &amp;graph, Args &amp;&amp;... args)</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00369">Graph.hpp:369</a></div></div>
116 <div class="ttc" id="classarmnn_1_1_graph_html_a131873e7a706fc7ca0637027236916e9"><div class="ttname"><a href="classarmnn_1_1_graph.html#a131873e7a706fc7ca0637027236916e9">armnn::Graph::SerializeToDot</a></div><div class="ttdeci">Status SerializeToDot(std::ostream &amp;stream)</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8cpp_source.html#l00081">Graph.cpp:81</a></div></div>
117 <div class="ttc" id="_cl_layer_tests_8cpp_html_a37f1c3ccc9fc906be85185350dd83d48"><div class="ttname"><a href="_cl_layer_tests_8cpp.html#a37f1c3ccc9fc906be85185350dd83d48">true</a></div><div class="ttdeci">DataLayout::NCHW DataLayout::NCHW DataLayout::NHWC DataLayout::NHWC true</div><div class="ttdef"><b>Definition:</b> <a href="_cl_layer_tests_8cpp_source.html#l00176">ClLayerTests.cpp:176</a></div></div>
118 <div class="ttc" id="classarmnn_1_1_output_slot_html_adcfb97035799ea4c043f9ef370714815"><div class="ttname"><a href="classarmnn_1_1_output_slot.html#adcfb97035799ea4c043f9ef370714815">armnn::OutputSlot::Connect</a></div><div class="ttdeci">int Connect(InputSlot &amp;destination)</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8cpp_source.html#l00079">Layer.cpp:79</a></div></div>
119 <div class="ttc" id="_tensor_fwd_8hpp_html"><div class="ttname"><a href="_tensor_fwd_8hpp.html">TensorFwd.hpp</a></div></div>
120 <div class="ttc" id="classarmnn_1_1_graph_html_a2387033802383edbdc95f9bbb12a707e"><div class="ttname"><a href="classarmnn_1_1_graph.html#a2387033802383edbdc95f9bbb12a707e">armnn::Graph::begin</a></div><div class="ttdeci">Iterator begin()</div><div class="ttdoc">Returns iterator pointing to the beginning of the list. Lowercase for range-based for loops...</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00158">Graph.hpp:158</a></div></div>
121 <div class="ttc" id="namespacearmnn_utils_1_1_filesystem_html_a7d64caad10c705910e723dd8920a9dba"><div class="ttname"><a href="namespacearmnn_utils_1_1_filesystem.html#a7d64caad10c705910e723dd8920a9dba">armnnUtils::Filesystem::Remove</a></div><div class="ttdeci">bool Remove(const char *path)</div><div class="ttdef"><b>Definition:</b> <a href="_filesystem_8cpp_source.html#l00047">Filesystem.cpp:47</a></div></div>
122 <div class="ttc" id="classarmnn_1_1_invalid_argument_exception_html"><div class="ttname"><a href="classarmnn_1_1_invalid_argument_exception.html">armnn::InvalidArgumentException</a></div><div class="ttdef"><b>Definition:</b> <a href="_exceptions_8hpp_source.html#l00080">Exceptions.hpp:80</a></div></div>
123 <div class="ttc" id="classarmnn_1_1_subgraph_view_html"><div class="ttname"><a href="classarmnn_1_1_subgraph_view.html">armnn::SubgraphView</a></div><div class="ttdef"><b>Definition:</b> <a href="_subgraph_view_8hpp_source.html#l00023">SubgraphView.hpp:23</a></div></div>
124 <div class="ttc" id="structarmnn_1_1_graph_1_1_input_layers_accessor_html_ac1cd5626ebb213e73640ddc04658e755"><div class="ttname"><a href="structarmnn_1_1_graph_1_1_input_layers_accessor.html#ac1cd5626ebb213e73640ddc04658e755">armnn::Graph::InputLayersAccessor::InputLayersAccessor</a></div><div class="ttdeci">InputLayersAccessor(const Graph &amp;graph)</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00060">Graph.hpp:60</a></div></div>
125 <div class="ttc" id="classarmnn_1_1_backend_id_html"><div class="ttname"><a href="classarmnn_1_1_backend_id.html">armnn::BackendId</a></div><div class="ttdef"><b>Definition:</b> <a href="_backend_id_8hpp_source.html#l00075">BackendId.hpp:75</a></div></div>
126 <div class="ttc" id="classarmnn_1_1_graph_html_ad1bbee7bf5f93b792675886f57d3ebe0"><div class="ttname"><a href="classarmnn_1_1_graph.html#ad1bbee7bf5f93b792675886f57d3ebe0">armnn::Graph::AddCompatibilityLayers</a></div><div class="ttdeci">void AddCompatibilityLayers(std::map&lt; BackendId, std::unique_ptr&lt; class IBackendInternal &gt;&gt; &amp;backends, TensorHandleFactoryRegistry &amp;registry)</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8cpp_source.html#l00263">Graph.cpp:263</a></div></div>
127 <div class="ttc" id="classarmnn_1_1_graph_html_ac7ed5efddd83499ff642cc65f3f66a14"><div class="ttname"><a href="classarmnn_1_1_graph.html#ac7ed5efddd83499ff642cc65f3f66a14">armnn::Graph::GetPosInGraph</a></div><div class="ttdeci">Iterator GetPosInGraph(Layer &amp;layer)</div><div class="ttdoc">Gets the position of a layer in the graph. </div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00389">Graph.hpp:389</a></div></div>
128 <div class="ttc" id="classarmnn_1_1_graph_html_a2ceda8d369e861997d558fac74d79c33"><div class="ttname"><a href="classarmnn_1_1_graph.html#a2ceda8d369e861997d558fac74d79c33">armnn::Graph::InferTensorInfos</a></div><div class="ttdeci">void InferTensorInfos()</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8cpp_source.html#l00493">Graph.cpp:493</a></div></div>
129 <div class="ttc" id="classarmnn_1_1_graph_html_a04b47532de485737e97066d3cb29c957"><div class="ttname"><a href="classarmnn_1_1_graph.html#a04b47532de485737e97066d3cb29c957">armnn::Graph::operator=</a></div><div class="ttdeci">Graph &amp; operator=(Graph &amp;&amp;other)</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00106">Graph.hpp:106</a></div></div>
130 <div class="ttc" id="classarmnn_1_1_graph_html_a53402e786b52cef2fb21f3e39a819967"><div class="ttname"><a href="classarmnn_1_1_graph.html#a53402e786b52cef2fb21f3e39a819967">armnn::Graph::IteratorDifference</a></div><div class="ttdeci">Iterator::difference_type IteratorDifference</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00051">Graph.hpp:51</a></div></div>
131 <div class="ttc" id="classarmnn_1_1_graph_html_ad6521013ad981519904822f2ada2c4ec"><div class="ttname"><a href="classarmnn_1_1_graph.html#ad6521013ad981519904822f2ada2c4ec">armnn::Graph::ForEachLayer</a></div><div class="ttdeci">void ForEachLayer(Func func) const</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00039">Graph.hpp:39</a></div></div>
132 <div class="ttc" id="classarmnn_1_1_graph_html_afd329ee7d721aa6cdaacb8391308e34f"><div class="ttname"><a href="classarmnn_1_1_graph.html#afd329ee7d721aa6cdaacb8391308e34f">armnn::Graph::Print</a></div><div class="ttdeci">Status Print() const</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8cpp_source.html#l00061">Graph.cpp:61</a></div></div>
133 <div class="ttc" id="classarmnn_1_1_output_layer_html"><div class="ttname"><a href="classarmnn_1_1_output_layer.html">armnn::OutputLayer</a></div><div class="ttdoc">A layer user-provided data can be bound to (e.g. inputs, outputs). </div><div class="ttdef"><b>Definition:</b> <a href="_output_layer_8hpp_source.html#l00013">OutputLayer.hpp:13</a></div></div>
134 <div class="ttc" id="classarmnn_1_1_graph_html_ab67eccecb5c9e6574f2836623f01025c"><div class="ttname"><a href="classarmnn_1_1_graph.html#ab67eccecb5c9e6574f2836623f01025c">armnn::Graph::PtrCast</a></div><div class="ttdeci">static LayerType * PtrCast(Layer *const layer)</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00033">Graph.hpp:33</a></div></div>
135 <div class="ttc" id="namespacearmnn_html"><div class="ttname"><a href="namespacearmnn.html">armnn</a></div><div class="ttdef"><b>Definition:</b> <a href="_backend_helper_8hpp_source.html#l00011">BackendHelper.hpp:11</a></div></div>
136 <div class="ttc" id="_types_8hpp_html"><div class="ttname"><a href="_types_8hpp.html">Types.hpp</a></div></div>
137 <div class="ttc" id="classarmnn_1_1_graph_html_af885be8b4485a7252f1f84237aaf67ac"><div class="ttname"><a href="classarmnn_1_1_graph.html#af885be8b4485a7252f1f84237aaf67ac">armnn::Graph::ConstIterator</a></div><div class="ttdeci">boost::transform_iterator&lt; decltype(&amp;PtrCast&lt; const Layer &gt;), Iterator &gt; ConstIterator</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00053">Graph.hpp:53</a></div></div>
138 <div class="ttc" id="classarmnn_1_1_graph_html_aafbd4b469e47160017f409df8d077184"><div class="ttname"><a href="classarmnn_1_1_graph.html#aafbd4b469e47160017f409df8d077184">armnn::Graph::SubstituteSubgraph</a></div><div class="ttdeci">void SubstituteSubgraph(SubgraphView &amp;subgraph, IConnectableLayer *substituteLayer)</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8cpp_source.html#l00396">Graph.cpp:396</a></div></div>
139 <div class="ttc" id="classarmnn_1_1_graph_html_a919fb58873ef3a6549e4490e226f2eae"><div class="ttname"><a href="classarmnn_1_1_graph.html#a919fb58873ef3a6549e4490e226f2eae">armnn::Graph::GetInputLayers</a></div><div class="ttdeci">InputLayersAccessor GetInputLayers() const</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00181">Graph.hpp:181</a></div></div>
140 <div class="ttc" id="structarmnn_1_1_graph_1_1_input_layers_accessor_html_af6f3e2b0ee65cd102e20c9f734160b90"><div class="ttname"><a href="structarmnn_1_1_graph_1_1_input_layers_accessor.html#af6f3e2b0ee65cd102e20c9f734160b90">armnn::Graph::InputLayersAccessor::begin</a></div><div class="ttdeci">ConstIteratorInputs begin() const</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00062">Graph.hpp:62</a></div></div>
141 <div class="ttc" id="classarmnn_1_1_i_graph_observable_html"><div class="ttname"><a href="classarmnn_1_1_i_graph_observable.html">armnn::IGraphObservable</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_graph_observable_8hpp_source.html#l00018">IGraphObservable.hpp:18</a></div></div>
142 <div class="ttc" id="classarmnn_1_1_output_slot_html_a19d30f83e90f2612e6aec510715f790d"><div class="ttname"><a href="classarmnn_1_1_output_slot.html#a19d30f83e90f2612e6aec510715f790d">armnn::OutputSlot::MoveAllConnections</a></div><div class="ttdeci">void MoveAllConnections(OutputSlot &amp;destination)</div><div class="ttdoc">Moves all connections to another OutputSlot. </div><div class="ttdef"><b>Definition:</b> <a href="_layer_8cpp_source.html#l00112">Layer.cpp:112</a></div></div>
143 <div class="ttc" id="classarmnn_1_1_graph_html_a98b1109a9006f8cc7d4566146a3bd737"><div class="ttname"><a href="classarmnn_1_1_graph.html#a98b1109a9006f8cc7d4566146a3bd737">armnn::Graph::cbegin</a></div><div class="ttdeci">ConstIterator cbegin() const</div><div class="ttdoc">Returns const iterator pointing to the beginning of the list. Lowercase for range-based for loops...</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00168">Graph.hpp:168</a></div></div>
144 <div class="ttc" id="_i_graph_observable_8hpp_html"><div class="ttname"><a href="_i_graph_observable_8hpp.html">IGraphObservable.hpp</a></div></div>
145 <div class="ttc" id="structarmnn_1_1_graph_1_1_output_layers_accessor_html"><div class="ttname"><a href="structarmnn_1_1_graph_1_1_output_layers_accessor.html">armnn::Graph::OutputLayersAccessor</a></div><div class="ttdoc">Wrapper class returned by Graph::GetOutputLayers() </div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00077">Graph.hpp:77</a></div></div>
146 <div class="ttc" id="classarmnn_1_1_graph_html_acc25db0641c1c22faf95af3bb49080c9"><div class="ttname"><a href="classarmnn_1_1_graph.html#acc25db0641c1c22faf95af3bb49080c9">armnn::Graph::Iterator</a></div><div class="ttdeci">LayerList::const_iterator Iterator</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00050">Graph.hpp:50</a></div></div>
147 <div class="ttc" id="classarmnn_1_1_graph_html_aa6553ea54991669aaa89b6f17bdf4172"><div class="ttname"><a href="classarmnn_1_1_graph.html#aa6553ea54991669aaa89b6f17bdf4172">armnn::Graph::LayerList</a></div><div class="ttdeci">std::list&lt; Layer * &gt; LayerList</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00049">Graph.hpp:49</a></div></div>
148 <div class="ttc" id="classarmnn_1_1_layer_html_a72b18e4c5a403bc3fe2fecf20135c8d6"><div class="ttname"><a href="classarmnn_1_1_layer.html#a72b18e4c5a403bc3fe2fecf20135c8d6">armnn::Layer::Reparent</a></div><div class="ttdeci">virtual void Reparent(Graph &amp;dest, std::list&lt; Layer *&gt;::const_iterator iterator)=0</div></div>
149 <div class="ttc" id="classarmnn_1_1_graph_html_a69b6e2a03c835ca5d658a1f16acbaa9c"><div class="ttname"><a href="classarmnn_1_1_graph.html#a69b6e2a03c835ca5d658a1f16acbaa9c">armnn::Graph::end</a></div><div class="ttdeci">ConstIterator end() const</div><div class="ttdoc">Returns const iterator pointing to the end of the list. Lowercase for range-based for loops...</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00165">Graph.hpp:165</a></div></div>
150 <div class="ttc" id="classarmnn_1_1_graph_html_a5a989a5f9aeb2935ba932b7f8312fe0c"><div class="ttname"><a href="classarmnn_1_1_graph.html#a5a989a5f9aeb2935ba932b7f8312fe0c">armnn::Graph::AllocateDynamicBuffers</a></div><div class="ttdeci">Status AllocateDynamicBuffers()</div><div class="ttdoc">Allocates memory for all tensors under output tensor handers of each layer. </div><div class="ttdef"><b>Definition:</b> <a href="_graph_8cpp_source.html#l00142">Graph.cpp:142</a></div></div>
151 <div class="ttc" id="classarmnn_1_1_graph_1_1_layer_in_graph_3_01_input_layer_01_4_html_a738be94d0baec5ceab8bee31fcb85dbd"><div class="ttname"><a href="classarmnn_1_1_graph_1_1_layer_in_graph_3_01_input_layer_01_4.html#a738be94d0baec5ceab8bee31fcb85dbd">armnn::Graph::LayerInGraph&lt; InputLayer &gt;::LayerInGraph</a></div><div class="ttdeci">LayerInGraph(Graph &amp;graph, Args &amp;&amp;... args)</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00337">Graph.hpp:337</a></div></div>
152 <div class="ttc" id="classarmnn_1_1_i_connectable_layer_html"><div class="ttname"><a href="classarmnn_1_1_i_connectable_layer.html">armnn::IConnectableLayer</a></div><div class="ttdoc">Interface for a layer that is connectable to other layers via InputSlots and OutputSlots. </div><div class="ttdef"><b>Definition:</b> <a href="_i_network_8hpp_source.html#l00061">INetwork.hpp:61</a></div></div>
153 <div class="ttc" id="classarmnn_1_1_graph_html"><div class="ttname"><a href="classarmnn_1_1_graph.html">armnn::Graph</a></div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00029">Graph.hpp:29</a></div></div>
154 <div class="ttc" id="classarmnn_1_1_graph_html_a99eeb892ef31ec3e7058acea2253bce6"><div class="ttname"><a href="classarmnn_1_1_graph.html#a99eeb892ef31ec3e7058acea2253bce6">armnn::Graph::operator=</a></div><div class="ttdeci">Graph &amp; operator=(const Graph &amp;other)=delete</div></div>
155 <div class="ttc" id="structarmnn_1_1_graph_1_1_output_layers_accessor_html_adf9793f99f3055ef2c43d6c90bbb6344"><div class="ttname"><a href="structarmnn_1_1_graph_1_1_output_layers_accessor.html#adf9793f99f3055ef2c43d6c90bbb6344">armnn::Graph::OutputLayersAccessor::OutputLayersAccessor</a></div><div class="ttdeci">OutputLayersAccessor(const Graph &amp;graph)</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00079">Graph.hpp:79</a></div></div>
156 <div class="ttc" id="classarmnn_1_1_graph_html_a02fd29b6dc3e21fbe4484362d85893bc"><div class="ttname"><a href="classarmnn_1_1_graph.html#a02fd29b6dc3e21fbe4484362d85893bc">armnn::Graph::cend</a></div><div class="ttdeci">ConstIterator cend() const</div><div class="ttdoc">Returns const iterator pointing to the end of the list. Lowercase for range-based for loops...</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00170">Graph.hpp:170</a></div></div>
157 <div class="ttc" id="classarmnn_1_1_graph_html_a96d76fd10af39fbfabfd0caf0d1439fa"><div class="ttname"><a href="classarmnn_1_1_graph.html#a96d76fd10af39fbfabfd0caf0d1439fa">armnn::Graph::EraseLayer</a></div><div class="ttdeci">void EraseLayer(Iterator pos)</div><div class="ttdoc">Deletes the layer at the specified position. </div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00442">Graph.hpp:442</a></div></div>
158 <div class="ttc" id="classarmnn_1_1_graph_html_a8d8179a4a0703602a5d7dbb6e92eaf69"><div class="ttname"><a href="classarmnn_1_1_graph.html#a8d8179a4a0703602a5d7dbb6e92eaf69">armnn::Graph::GetNumInputs</a></div><div class="ttdeci">size_t GetNumInputs() const</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00176">Graph.hpp:176</a></div></div>
159 <div class="ttc" id="classarmnn_1_1_graph_html_ad5fee900c7aee90671038c79225bf8ec"><div class="ttname"><a href="classarmnn_1_1_graph.html#ad5fee900c7aee90671038c79225bf8ec">armnn::Graph::begin</a></div><div class="ttdeci">ConstIterator begin() const</div><div class="ttdoc">Returns const iterator pointing to the beginning of the list. Lowercase for range-based for loops...</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00163">Graph.hpp:163</a></div></div>
160 <div class="ttc" id="classarmnn_1_1_graph_html_afc5ef9d72cc2c509814200791eaef62c"><div class="ttname"><a href="classarmnn_1_1_graph.html#afc5ef9d72cc2c509814200791eaef62c">armnn::Graph::Graph</a></div><div class="ttdeci">Graph()</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00095">Graph.hpp:95</a></div></div>
161 <div class="ttc" id="structarmnn_1_1_graph_1_1_input_layers_accessor_html"><div class="ttname"><a href="structarmnn_1_1_graph_1_1_input_layers_accessor.html">armnn::Graph::InputLayersAccessor</a></div><div class="ttdoc">Wrapper class returned by Graph::GetInputLayers() </div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00058">Graph.hpp:58</a></div></div>
162 <div class="ttc" id="classarmnn_1_1_graph_html_a3ff30c6669fdc69de1f5be1f89bacc3f"><div class="ttname"><a href="classarmnn_1_1_graph.html#a3ff30c6669fdc69de1f5be1f89bacc3f">armnn::Graph::InsertNewLayer</a></div><div class="ttdeci">LayerT * InsertNewLayer(InputSlot &amp;insertBefore, Args &amp;&amp;... args)</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00409">Graph.hpp:409</a></div></div>
163 <div class="ttc" id="classarmnn_1_1_input_slot_html_a5a0a7224d93d14db044426a3878dab4d"><div class="ttname"><a href="classarmnn_1_1_input_slot.html#a5a0a7224d93d14db044426a3878dab4d">armnn::InputSlot::Insert</a></div><div class="ttdeci">void Insert(Layer &amp;layer)</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8cpp_source.html#l00020">Layer.cpp:20</a></div></div>
164 <div class="ttc" id="namespacearmnn_html_a34eaed09302a4d7bfe930c13a7673e0ba23c3efdd3f80798660ecf0b9af6dd5dd"><div class="ttname"><a href="namespacearmnn.html#a34eaed09302a4d7bfe930c13a7673e0ba23c3efdd3f80798660ecf0b9af6dd5dd">armnn::GraphEvent::LayerAdded</a></div></div>
165 <div class="ttc" id="classarmnn_1_1_graph_html_ab3790d678e488ba10868a9a0b0c324a6"><div class="ttname"><a href="classarmnn_1_1_graph.html#ab3790d678e488ba10868a9a0b0c324a6">armnn::Graph::Graph</a></div><div class="ttdeci">Graph(Graph &amp;&amp;other)</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00101">Graph.hpp:101</a></div></div>
166 <div class="ttc" id="classarmnn_1_1_output_slot_html_a7ddaf04177053a536f0e7be83a642bc6"><div class="ttname"><a href="classarmnn_1_1_output_slot.html#a7ddaf04177053a536f0e7be83a642bc6">armnn::OutputSlot::GetOwningLayer</a></div><div class="ttdeci">Layer &amp; GetOwningLayer() const</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00115">Layer.hpp:115</a></div></div>
167 <div class="ttc" id="classarmnn_1_1_graph_1_1_layer_in_graph_3_01_input_layer_01_4_html_afcf7e3e1fd008dab68b6354393063243"><div class="ttname"><a href="classarmnn_1_1_graph_1_1_layer_in_graph_3_01_input_layer_01_4.html#afcf7e3e1fd008dab68b6354393063243">armnn::Graph::LayerInGraph&lt; InputLayer &gt;::~LayerInGraph</a></div><div class="ttdeci">~LayerInGraph() override</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00355">Graph.hpp:355</a></div></div>
168 <div class="ttc" id="namespacearmnn_html_a56943a0946e5f15e5e58054b8e7a04a4a324118a6721dd6b8a9b9f4e327df2bf5"><div class="ttname"><a href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4a324118a6721dd6b8a9b9f4e327df2bf5">armnn::LayerType::Input</a></div></div>
169 <div class="ttc" id="structarmnn_1_1_graph_1_1_output_layers_accessor_html_ab082a6092f0fdb886a45c56c4ab51a31"><div class="ttname"><a href="structarmnn_1_1_graph_1_1_output_layers_accessor.html#ab082a6092f0fdb886a45c56c4ab51a31">armnn::Graph::OutputLayersAccessor::m_Graph</a></div><div class="ttdeci">const Graph &amp; m_Graph</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00092">Graph.hpp:92</a></div></div>
170 <div class="ttc" id="classarmnn_1_1_graph_1_1_layer_in_graph_3_01_input_layer_01_4_html_a057f444abdec36787b0141875e33fa79"><div class="ttname"><a href="classarmnn_1_1_graph_1_1_layer_in_graph_3_01_input_layer_01_4.html#a057f444abdec36787b0141875e33fa79">armnn::Graph::LayerInGraph&lt; InputLayer &gt;::LayerInGraph</a></div><div class="ttdeci">LayerInGraph(Graph &amp;graph, Iterator, Args &amp;&amp;... args)</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00350">Graph.hpp:350</a></div></div>
171 <div class="ttc" id="classarmnn_1_1_input_slot_html_a7ddaf04177053a536f0e7be83a642bc6"><div class="ttname"><a href="classarmnn_1_1_input_slot.html#a7ddaf04177053a536f0e7be83a642bc6">armnn::InputSlot::GetOwningLayer</a></div><div class="ttdeci">Layer &amp; GetOwningLayer() const</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00052">Layer.hpp:52</a></div></div>
172 <div class="ttc" id="structarmnn_1_1_graph_1_1_input_layers_accessor_html_ab082a6092f0fdb886a45c56c4ab51a31"><div class="ttname"><a href="structarmnn_1_1_graph_1_1_input_layers_accessor.html#ab082a6092f0fdb886a45c56c4ab51a31">armnn::Graph::InputLayersAccessor::m_Graph</a></div><div class="ttdeci">const Graph &amp; m_Graph</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00073">Graph.hpp:73</a></div></div>
173 <div class="ttc" id="namespacearmnn_html_a56943a0946e5f15e5e58054b8e7a04a4"><div class="ttname"><a href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4">armnn::LayerType</a></div><div class="ttdeci">LayerType</div><div class="ttdef"><b>Definition:</b> <a href="_internal_types_8hpp_source.html#l00014">InternalTypes.hpp:14</a></div></div>
174 <div class="ttc" id="structarmnn_1_1_graph_1_1_output_layers_accessor_html_ad2a661f37e89422e29dc70b3e4cc7185"><div class="ttname"><a href="structarmnn_1_1_graph_1_1_output_layers_accessor.html#ad2a661f37e89422e29dc70b3e4cc7185">armnn::Graph::OutputLayersAccessor::end</a></div><div class="ttdeci">ConstIteratorOutputs end() const</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00087">Graph.hpp:87</a></div></div>
175 </div><!-- fragment --></div><!-- contents -->
176 </div><!-- doc-content -->
177 <!-- start footer part -->
178 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
179   <ul>
180     <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_e0a84d05c80a2ef4231141dcbbeac5c8.html">armnn</a></li><li class="navelem"><a class="el" href="_graph_8hpp.html">Graph.hpp</a></li>
181     <li class="footer">Generated on Fri Mar 13 2020 16:06:54 for ArmNN by
182     <a href="http://www.doxygen.org/index.html">
183     <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
184   </ul>
185 </div>
186 </body>
187 </html>