1 <!-- Copyright (c) 2020 ARM Limited. -->
3 <!-- SPDX-License-Identifier: MIT -->
5 <!-- HTML header for doxygen 1.8.13-->
6 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
7 <html xmlns="http://www.w3.org/1999/xhtml">
9 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
10 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
11 <meta name="generator" content="Doxygen 1.8.13"/>
12 <meta name="robots" content="NOINDEX, NOFOLLOW" />
13 <meta name="viewport" content="width=device-width, initial-scale=1"/>
14 <title>ArmNN: src/armnn/test/GraphUtils.cpp File Reference</title>
15 <link href="tabs.css" rel="stylesheet" type="text/css"/>
16 <script type="text/javascript" src="jquery.js"></script>
17 <script type="text/javascript" src="dynsections.js"></script>
18 <link href="navtree.css" rel="stylesheet" type="text/css"/>
19 <script type="text/javascript" src="resize.js"></script>
20 <script type="text/javascript" src="navtreedata.js"></script>
21 <script type="text/javascript" src="navtree.js"></script>
22 <script type="text/javascript">
23 $(document).ready(initResizable);
25 <link href="search/search.css" rel="stylesheet" type="text/css"/>
26 <script type="text/javascript" src="search/searchdata.js"></script>
27 <script type="text/javascript" src="search/search.js"></script>
28 <script type="text/x-mathjax-config">
30 extensions: ["tex2jax.js"],
31 jax: ["input/TeX","output/HTML-CSS"],
33 </script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
34 <link href="doxygen.css" rel="stylesheet" type="text/css" />
35 <link href="stylesheet.css" rel="stylesheet" type="text/css"/>
38 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
40 <table cellspacing="0" cellpadding="0">
42 <tr style="height: 56px;">
43 <img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 10rem; margin-top: .5rem; margin-left 10px"/>
44 <td style="padding-left: 0.5em;">
45 <div id="projectname">
46  <span id="projectnumber">20.02</span>
53 <!-- end header part -->
54 <!-- Generated by Doxygen 1.8.13 -->
55 <script type="text/javascript">
56 var searchBox = new SearchBox("searchBox", "search",false,'Search');
58 <script type="text/javascript" src="menudata.js"></script>
59 <script type="text/javascript" src="menu.js"></script>
60 <script type="text/javascript">
62 initMenu('',true,false,'search.php','Search');
63 $(document).ready(function() { init_search(); });
66 <div id="main-nav"></div>
68 <div id="side-nav" class="ui-resizable side-nav-resizable">
70 <div id="nav-tree-contents">
71 <div id="nav-sync" class="sync"></div>
74 <div id="splitbar" style="-moz-user-select:none;"
75 class="ui-resizable-handle">
78 <script type="text/javascript">
79 $(document).ready(function(){initNavTree('_graph_utils_8cpp.xhtml','');});
81 <div id="doc-content">
82 <!-- window showing the filter options -->
83 <div id="MSearchSelectWindow"
84 onmouseover="return searchBox.OnSearchSelectShow()"
85 onmouseout="return searchBox.OnSearchSelectHide()"
86 onkeydown="return searchBox.OnSearchSelectKey(event)">
89 <!-- iframe showing the search results (closed by default) -->
90 <div id="MSearchResultsWindow">
91 <iframe src="javascript:void(0)" frameborder="0"
92 name="MSearchResults" id="MSearchResults">
98 <a href="#func-members">Functions</a> </div>
99 <div class="headertitle">
100 <div class="title">GraphUtils.cpp File Reference</div> </div>
102 <div class="contents">
103 <div class="textblock"><code>#include "<a class="el" href="_graph_utils_8hpp_source.xhtml">GraphUtils.hpp</a>"</code><br />
105 <p><a href="_graph_utils_8cpp_source.xhtml">Go to the source code of this file.</a></p>
106 <table class="memberdecls">
107 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
108 Functions</h2></td></tr>
109 <tr class="memitem:ac73a43305233b7e5f70debdb2d14a8d3"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="_graph_utils_8cpp.xhtml#ac73a43305233b7e5f70debdb2d14a8d3">GraphHasNamedLayer</a> (const <a class="el" href="classarmnn_1_1_graph.xhtml">armnn::Graph</a> &graph, const std::string &name)</td></tr>
110 <tr class="separator:ac73a43305233b7e5f70debdb2d14a8d3"><td class="memSeparator" colspan="2"> </td></tr>
111 <tr class="memitem:a5f17e02e0054dac0a691685a0464ed36"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_layer.xhtml">armnn::Layer</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="_graph_utils_8cpp.xhtml#a5f17e02e0054dac0a691685a0464ed36">GetFirstLayerWithName</a> (<a class="el" href="classarmnn_1_1_graph.xhtml">armnn::Graph</a> &graph, const std::string &name)</td></tr>
112 <tr class="separator:a5f17e02e0054dac0a691685a0464ed36"><td class="memSeparator" colspan="2"> </td></tr>
113 <tr class="memitem:a4c04337db4d5f380219a005657a8223b"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="_graph_utils_8cpp.xhtml#a4c04337db4d5f380219a005657a8223b">CheckNumberOfInputSlot</a> (<a class="el" href="classarmnn_1_1_layer.xhtml">armnn::Layer</a> *layer, unsigned int num)</td></tr>
114 <tr class="separator:a4c04337db4d5f380219a005657a8223b"><td class="memSeparator" colspan="2"> </td></tr>
115 <tr class="memitem:aada2e27f100807f5786eecb03390ba58"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="_graph_utils_8cpp.xhtml#aada2e27f100807f5786eecb03390ba58">CheckNumberOfOutputSlot</a> (<a class="el" href="classarmnn_1_1_layer.xhtml">armnn::Layer</a> *layer, unsigned int num)</td></tr>
116 <tr class="separator:aada2e27f100807f5786eecb03390ba58"><td class="memSeparator" colspan="2"> </td></tr>
117 <tr class="memitem:afd518dba3d52728670459e4ad3bed5e1"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="_graph_utils_8cpp.xhtml#afd518dba3d52728670459e4ad3bed5e1">IsConnected</a> (<a class="el" href="classarmnn_1_1_layer.xhtml">armnn::Layer</a> *srcLayer, <a class="el" href="classarmnn_1_1_layer.xhtml">armnn::Layer</a> *destLayer, unsigned int srcSlot, unsigned int destSlot, const <a class="el" href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a> &expectedTensorInfo)</td></tr>
118 <tr class="separator:afd518dba3d52728670459e4ad3bed5e1"><td class="memSeparator" colspan="2"> </td></tr>
120 <h2 class="groupheader">Function Documentation</h2>
121 <a id="a4c04337db4d5f380219a005657a8223b"></a>
122 <h2 class="memtitle"><span class="permalink"><a href="#a4c04337db4d5f380219a005657a8223b">◆ </a></span>CheckNumberOfInputSlot()</h2>
124 <div class="memitem">
125 <div class="memproto">
126 <table class="memname">
128 <td class="memname">bool CheckNumberOfInputSlot </td>
130 <td class="paramtype"><a class="el" href="classarmnn_1_1_layer.xhtml">armnn::Layer</a> * </td>
131 <td class="paramname"><em>layer</em>, </td>
134 <td class="paramkey"></td>
136 <td class="paramtype">unsigned int </td>
137 <td class="paramname"><em>num</em> </td>
145 </div><div class="memdoc">
147 <p class="definition">Definition at line <a class="el" href="_graph_utils_8cpp_source.xhtml#l00032">32</a> of file <a class="el" href="_graph_utils_8cpp_source.xhtml">GraphUtils.cpp</a>.</p>
149 <p class="reference">References <a class="el" href="_layer_8hpp_source.xhtml#l00307">Layer::GetNumInputSlots()</a>.</p>
151 <p class="reference">Referenced by <a class="el" href="armnn_tf_lite_parser_2test_2_detection_post_process_8cpp_source.xhtml#l00226">BOOST_FIXTURE_TEST_CASE()</a>.</p>
152 <div class="fragment"><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> {</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keywordflow">return</span> layer-><a class="code" href="classarmnn_1_1_layer.xhtml#abc0660dc440c8a285b456c9ef6383c26">GetNumInputSlots</a>() == num;</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> }</div><div class="ttc" id="classarmnn_1_1_layer_xhtml_abc0660dc440c8a285b456c9ef6383c26"><div class="ttname"><a href="classarmnn_1_1_layer.xhtml#abc0660dc440c8a285b456c9ef6383c26">armnn::Layer::GetNumInputSlots</a></div><div class="ttdeci">unsigned int GetNumInputSlots() const override</div><div class="ttdoc">Returns the number of connectable input slots. </div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.xhtml#l00307">Layer.hpp:307</a></div></div>
153 </div><!-- fragment -->
156 <a id="aada2e27f100807f5786eecb03390ba58"></a>
157 <h2 class="memtitle"><span class="permalink"><a href="#aada2e27f100807f5786eecb03390ba58">◆ </a></span>CheckNumberOfOutputSlot()</h2>
159 <div class="memitem">
160 <div class="memproto">
161 <table class="memname">
163 <td class="memname">bool CheckNumberOfOutputSlot </td>
165 <td class="paramtype"><a class="el" href="classarmnn_1_1_layer.xhtml">armnn::Layer</a> * </td>
166 <td class="paramname"><em>layer</em>, </td>
169 <td class="paramkey"></td>
171 <td class="paramtype">unsigned int </td>
172 <td class="paramname"><em>num</em> </td>
180 </div><div class="memdoc">
182 <p class="definition">Definition at line <a class="el" href="_graph_utils_8cpp_source.xhtml#l00037">37</a> of file <a class="el" href="_graph_utils_8cpp_source.xhtml">GraphUtils.cpp</a>.</p>
184 <p class="reference">References <a class="el" href="_layer_8hpp_source.xhtml#l00308">Layer::GetNumOutputSlots()</a>.</p>
186 <p class="reference">Referenced by <a class="el" href="armnn_tf_lite_parser_2test_2_detection_post_process_8cpp_source.xhtml#l00226">BOOST_FIXTURE_TEST_CASE()</a>.</p>
187 <div class="fragment"><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> {</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keywordflow">return</span> layer-><a class="code" href="classarmnn_1_1_layer.xhtml#a1594bddc87d6477df300317658f566bb">GetNumOutputSlots</a>() == num;</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> }</div><div class="ttc" id="classarmnn_1_1_layer_xhtml_a1594bddc87d6477df300317658f566bb"><div class="ttname"><a href="classarmnn_1_1_layer.xhtml#a1594bddc87d6477df300317658f566bb">armnn::Layer::GetNumOutputSlots</a></div><div class="ttdeci">unsigned int GetNumOutputSlots() const override</div><div class="ttdoc">Returns the number of connectable output slots. </div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.xhtml#l00308">Layer.hpp:308</a></div></div>
188 </div><!-- fragment -->
191 <a id="a5f17e02e0054dac0a691685a0464ed36"></a>
192 <h2 class="memtitle"><span class="permalink"><a href="#a5f17e02e0054dac0a691685a0464ed36">◆ </a></span>GetFirstLayerWithName()</h2>
194 <div class="memitem">
195 <div class="memproto">
196 <table class="memname">
198 <td class="memname"><a class="el" href="classarmnn_1_1_layer.xhtml">armnn::Layer</a>* GetFirstLayerWithName </td>
200 <td class="paramtype"><a class="el" href="classarmnn_1_1_graph.xhtml">armnn::Graph</a> & </td>
201 <td class="paramname"><em>graph</em>, </td>
204 <td class="paramkey"></td>
206 <td class="paramtype">const std::string & </td>
207 <td class="paramname"><em>name</em> </td>
215 </div><div class="memdoc">
217 <p class="definition">Definition at line <a class="el" href="_graph_utils_8cpp_source.xhtml#l00020">20</a> of file <a class="el" href="_graph_utils_8cpp_source.xhtml">GraphUtils.cpp</a>.</p>
219 <p class="reference">Referenced by <a class="el" href="_graph_tests_8cpp_source.xhtml#l00043">BOOST_AUTO_TEST_CASE()</a>, and <a class="el" href="armnn_tf_lite_parser_2test_2_detection_post_process_8cpp_source.xhtml#l00226">BOOST_FIXTURE_TEST_CASE()</a>.</p>
220 <div class="fragment"><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> {</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <span class="keywordflow">for</span> (<span class="keyword">auto</span>&& layer : graph)</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  {</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <span class="keywordflow">if</span> (layer->GetNameStr() == name)</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  {</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="keywordflow">return</span> layer;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  }</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  }</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keywordflow">return</span> <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> }</div></div><!-- fragment -->
223 <a id="ac73a43305233b7e5f70debdb2d14a8d3"></a>
224 <h2 class="memtitle"><span class="permalink"><a href="#ac73a43305233b7e5f70debdb2d14a8d3">◆ </a></span>GraphHasNamedLayer()</h2>
226 <div class="memitem">
227 <div class="memproto">
228 <table class="memname">
230 <td class="memname">bool GraphHasNamedLayer </td>
232 <td class="paramtype">const <a class="el" href="classarmnn_1_1_graph.xhtml">armnn::Graph</a> & </td>
233 <td class="paramname"><em>graph</em>, </td>
236 <td class="paramkey"></td>
238 <td class="paramtype">const std::string & </td>
239 <td class="paramname"><em>name</em> </td>
247 </div><div class="memdoc">
249 <p class="definition">Definition at line <a class="el" href="_graph_utils_8cpp_source.xhtml#l00008">8</a> of file <a class="el" href="_graph_utils_8cpp_source.xhtml">GraphUtils.cpp</a>.</p>
251 <p class="reference">Referenced by <a class="el" href="_graph_tests_8cpp_source.xhtml#l00036">BOOST_AUTO_TEST_CASE()</a>.</p>
252 <div class="fragment"><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> {</div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>  <span class="keywordflow">for</span> (<span class="keyword">auto</span>&& layer : graph)</div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  {</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  <span class="keywordflow">if</span> (layer->GetName() == name)</div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  {</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  }</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  }</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> }</div></div><!-- fragment -->
255 <a id="afd518dba3d52728670459e4ad3bed5e1"></a>
256 <h2 class="memtitle"><span class="permalink"><a href="#afd518dba3d52728670459e4ad3bed5e1">◆ </a></span>IsConnected()</h2>
258 <div class="memitem">
259 <div class="memproto">
260 <table class="memname">
262 <td class="memname">bool IsConnected </td>
264 <td class="paramtype"><a class="el" href="classarmnn_1_1_layer.xhtml">armnn::Layer</a> * </td>
265 <td class="paramname"><em>srcLayer</em>, </td>
268 <td class="paramkey"></td>
270 <td class="paramtype"><a class="el" href="classarmnn_1_1_layer.xhtml">armnn::Layer</a> * </td>
271 <td class="paramname"><em>destLayer</em>, </td>
274 <td class="paramkey"></td>
276 <td class="paramtype">unsigned int </td>
277 <td class="paramname"><em>srcSlot</em>, </td>
280 <td class="paramkey"></td>
282 <td class="paramtype">unsigned int </td>
283 <td class="paramname"><em>destSlot</em>, </td>
286 <td class="paramkey"></td>
288 <td class="paramtype">const <a class="el" href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a> & </td>
289 <td class="paramname"><em>expectedTensorInfo</em> </td>
297 </div><div class="memdoc">
299 <p class="definition">Definition at line <a class="el" href="_graph_utils_8cpp_source.xhtml#l00042">42</a> of file <a class="el" href="_graph_utils_8cpp_source.xhtml">GraphUtils.cpp</a>.</p>
301 <p class="reference">References <a class="el" href="classarmnn_1_1_i_output_slot.xhtml#a9fffb92dc6d2edd5258d574a5862fc83">IOutputSlot::GetConnection()</a>, <a class="el" href="_layer_8hpp_source.xhtml#l00216">Layer::GetNameStr()</a>, <a class="el" href="classarmnn_1_1_i_output_slot.xhtml#aab97b09d9ee85a105883949abcae52f3">IOutputSlot::GetNumConnections()</a>, <a class="el" href="_layer_8hpp_source.xhtml#l00312">Layer::GetOutputSlot()</a>, and <a class="el" href="classarmnn_1_1_i_output_slot.xhtml#a9943775a364fc4ab53b85ac88f311886">IOutputSlot::GetTensorInfo()</a>.</p>
303 <p class="reference">Referenced by <a class="el" href="armnn_tf_lite_parser_2test_2_detection_post_process_8cpp_source.xhtml#l00226">BOOST_FIXTURE_TEST_CASE()</a>.</p>
304 <div class="fragment"><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> {</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_output_slot.xhtml">armnn::IOutputSlot</a>& outputSlot = srcLayer-><a class="code" href="classarmnn_1_1_layer.xhtml#a0e36688a43c35668d8db5257274c68fe">GetOutputSlot</a>(srcSlot);</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a>& tensorInfo = outputSlot.<a class="code" href="classarmnn_1_1_i_output_slot.xhtml#a9943775a364fc4ab53b85ac88f311886">GetTensorInfo</a>();</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keywordflow">if</span> (expectedTensorInfo != tensorInfo)</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  {</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  }</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> numConnections = outputSlot.<a class="code" href="classarmnn_1_1_i_output_slot.xhtml#aab97b09d9ee85a105883949abcae52f3">GetNumConnections</a>();</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> c = 0; c < numConnections; ++c)</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  {</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keyword">auto</span> inputSlot = boost::polymorphic_downcast<const armnn::InputSlot*>(outputSlot.<a class="code" href="classarmnn_1_1_i_output_slot.xhtml#a9fffb92dc6d2edd5258d574a5862fc83">GetConnection</a>(c));</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keywordflow">if</span> (inputSlot->GetOwningLayer().GetNameStr() == destLayer-><a class="code" href="classarmnn_1_1_layer.xhtml#a9a97cb6d32661a57fc33bd29b8e41ff4">GetNameStr</a>() &&</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  inputSlot->GetSlotIndex() == destSlot)</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  {</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  }</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  }</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span> }</div><div class="ttc" id="classarmnn_1_1_tensor_info_xhtml"><div class="ttname"><a href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.xhtml#l00053">Tensor.hpp:53</a></div></div>
305 <div class="ttc" id="classarmnn_1_1_i_output_slot_xhtml_a9fffb92dc6d2edd5258d574a5862fc83"><div class="ttname"><a href="classarmnn_1_1_i_output_slot.xhtml#a9fffb92dc6d2edd5258d574a5862fc83">armnn::IOutputSlot::GetConnection</a></div><div class="ttdeci">virtual const IInputSlot * GetConnection(unsigned int index) const =0</div></div>
306 <div class="ttc" id="classarmnn_1_1_i_output_slot_xhtml"><div class="ttname"><a href="classarmnn_1_1_i_output_slot.xhtml">armnn::IOutputSlot</a></div><div class="ttdoc">An output connection slot for a layer. </div><div class="ttdef"><b>Definition:</b> <a href="_i_network_8hpp_source.xhtml#l00037">INetwork.hpp:37</a></div></div>
307 <div class="ttc" id="classarmnn_1_1_layer_xhtml_a9a97cb6d32661a57fc33bd29b8e41ff4"><div class="ttname"><a href="classarmnn_1_1_layer.xhtml#a9a97cb6d32661a57fc33bd29b8e41ff4">armnn::Layer::GetNameStr</a></div><div class="ttdeci">const std::string & GetNameStr() const</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.xhtml#l00216">Layer.hpp:216</a></div></div>
308 <div class="ttc" id="classarmnn_1_1_layer_xhtml_a0e36688a43c35668d8db5257274c68fe"><div class="ttname"><a href="classarmnn_1_1_layer.xhtml#a0e36688a43c35668d8db5257274c68fe">armnn::Layer::GetOutputSlot</a></div><div class="ttdeci">const OutputSlot & GetOutputSlot(unsigned int index=0) const override</div><div class="ttdoc">Get the const output slot handle by slot index. </div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.xhtml#l00312">Layer.hpp:312</a></div></div>
309 <div class="ttc" id="classarmnn_1_1_i_output_slot_xhtml_a9943775a364fc4ab53b85ac88f311886"><div class="ttname"><a href="classarmnn_1_1_i_output_slot.xhtml#a9943775a364fc4ab53b85ac88f311886">armnn::IOutputSlot::GetTensorInfo</a></div><div class="ttdeci">virtual const TensorInfo & GetTensorInfo() const =0</div></div>
310 <div class="ttc" id="classarmnn_1_1_i_output_slot_xhtml_aab97b09d9ee85a105883949abcae52f3"><div class="ttname"><a href="classarmnn_1_1_i_output_slot.xhtml#aab97b09d9ee85a105883949abcae52f3">armnn::IOutputSlot::GetNumConnections</a></div><div class="ttdeci">virtual unsigned int GetNumConnections() const =0</div></div>
311 </div><!-- fragment -->
314 </div><!-- contents -->
315 </div><!-- doc-content -->
316 <!-- start footer part -->
317 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
319 <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.xhtml">src</a></li><li class="navelem"><a class="el" href="dir_e0a84d05c80a2ef4231141dcbbeac5c8.xhtml">armnn</a></li><li class="navelem"><a class="el" href="dir_9d86fd1fbecbedf5bdb69c7e7235fe5f.xhtml">test</a></li><li class="navelem"><a class="el" href="_graph_utils_8cpp.xhtml">GraphUtils.cpp</a></li>
320 <li class="footer">Generated on Fri Mar 13 2020 16:09:13 for ArmNN by
321 <a href="http://www.doxygen.org/index.html">
322 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>