Ryan OShea | de36e4a | 2020-03-13 16:26:19 +0000 | [diff] [blame] | 1 | <!-- Copyright (c) 2020 ARM Limited. --> |
| 2 | <!-- --> |
| 3 | <!-- SPDX-License-Identifier: MIT --> |
| 4 | <!-- --> |
| 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"> |
| 8 | <head> |
| 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: SubgraphView Class 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); |
| 24 | </script> |
| 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"> |
| 29 | MathJax.Hub.Config({ |
| 30 | extensions: ["tex2jax.js"], |
| 31 | jax: ["input/TeX","output/HTML-CSS"], |
| 32 | }); |
| 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"/> |
| 36 | </head> |
| 37 | <body> |
| 38 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 39 | <div id="titlearea"> |
| 40 | <table cellspacing="0" cellpadding="0"> |
| 41 | <tbody> |
| 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> |
| 47 | </div> |
| 48 | </td> |
| 49 | </tr> |
| 50 | </tbody> |
| 51 | </table> |
| 52 | </div> |
| 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'); |
| 57 | </script> |
| 58 | <script type="text/javascript" src="menudata.js"></script> |
| 59 | <script type="text/javascript" src="menu.js"></script> |
| 60 | <script type="text/javascript"> |
| 61 | $(function() { |
| 62 | initMenu('',true,false,'search.php','Search'); |
| 63 | $(document).ready(function() { init_search(); }); |
| 64 | }); |
| 65 | </script> |
| 66 | <div id="main-nav"></div> |
| 67 | </div><!-- top --> |
| 68 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 69 | <div id="nav-tree"> |
| 70 | <div id="nav-tree-contents"> |
| 71 | <div id="nav-sync" class="sync"></div> |
| 72 | </div> |
| 73 | </div> |
| 74 | <div id="splitbar" style="-moz-user-select:none;" |
| 75 | class="ui-resizable-handle"> |
| 76 | </div> |
| 77 | </div> |
| 78 | <script type="text/javascript"> |
| 79 | $(document).ready(function(){initNavTree('classarmnn_1_1_subgraph_view.xhtml','');}); |
| 80 | </script> |
| 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)"> |
| 87 | </div> |
| 88 | |
| 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"> |
| 93 | </iframe> |
| 94 | </div> |
| 95 | |
| 96 | <div class="header"> |
| 97 | <div class="summary"> |
| 98 | <a href="#pub-types">Public Types</a> | |
| 99 | <a href="#pub-methods">Public Member Functions</a> | |
| 100 | <a href="classarmnn_1_1_subgraph_view-members.xhtml">List of all members</a> </div> |
| 101 | <div class="headertitle"> |
| 102 | <div class="title">SubgraphView Class Reference<span class="mlabels"><span class="mlabel">final</span></span></div> </div> |
| 103 | </div><!--header--> |
| 104 | <div class="contents"> |
| 105 | |
| 106 | <p>The <a class="el" href="classarmnn_1_1_subgraph_view.xhtml" title="The SubgraphView class represents a subgraph of a Graph. ">SubgraphView</a> class represents a subgraph of a <a class="el" href="classarmnn_1_1_graph.xhtml">Graph</a>. |
| 107 | <a href="classarmnn_1_1_subgraph_view.xhtml#details">More...</a></p> |
| 108 | |
| 109 | <p><code>#include <<a class="el" href="_subgraph_view_8hpp_source.xhtml">SubgraphView.hpp</a>></code></p> |
| 110 | <table class="memberdecls"> |
| 111 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a> |
| 112 | Public Types</h2></td></tr> |
| 113 | <tr class="memitem:a4684a457c7786484375f06e9ab2d2265"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a4684a457c7786484375f06e9ab2d2265">SubgraphViewPtr</a> = std::unique_ptr< <a class="el" href="classarmnn_1_1_subgraph_view.xhtml">SubgraphView</a> ></td></tr> |
| 114 | <tr class="separator:a4684a457c7786484375f06e9ab2d2265"><td class="memSeparator" colspan="2"> </td></tr> |
| 115 | <tr class="memitem:a5cc65e15002dbc33a5c8a7d6680e9a9d"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a5cc65e15002dbc33a5c8a7d6680e9a9d">InputSlots</a> = std::vector< <a class="el" href="classarmnn_1_1_input_slot.xhtml">InputSlot</a> * ></td></tr> |
| 116 | <tr class="separator:a5cc65e15002dbc33a5c8a7d6680e9a9d"><td class="memSeparator" colspan="2"> </td></tr> |
| 117 | <tr class="memitem:a78293334750ec5279eb9c96d56deaf08"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a78293334750ec5279eb9c96d56deaf08">OutputSlots</a> = std::vector< <a class="el" href="classarmnn_1_1_output_slot.xhtml">OutputSlot</a> * ></td></tr> |
| 118 | <tr class="separator:a78293334750ec5279eb9c96d56deaf08"><td class="memSeparator" colspan="2"> </td></tr> |
| 119 | <tr class="memitem:a74798938fdaeae75c8adfa4a7439e7f9"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a74798938fdaeae75c8adfa4a7439e7f9">Layers</a> = std::list< <a class="el" href="classarmnn_1_1_layer.xhtml">Layer</a> * ></td></tr> |
| 120 | <tr class="separator:a74798938fdaeae75c8adfa4a7439e7f9"><td class="memSeparator" colspan="2"> </td></tr> |
| 121 | <tr class="memitem:af323e5b54c189191060bce191ce0f233"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#af323e5b54c189191060bce191ce0f233">Iterator</a> = Layers::iterator</td></tr> |
| 122 | <tr class="separator:af323e5b54c189191060bce191ce0f233"><td class="memSeparator" colspan="2"> </td></tr> |
| 123 | <tr class="memitem:a39524c3cad3af48ba3e2bba2e8bf9fbe"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a39524c3cad3af48ba3e2bba2e8bf9fbe">ConstIterator</a> = Layers::const_iterator</td></tr> |
| 124 | <tr class="separator:a39524c3cad3af48ba3e2bba2e8bf9fbe"><td class="memSeparator" colspan="2"> </td></tr> |
| 125 | </table><table class="memberdecls"> |
| 126 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| 127 | Public Member Functions</h2></td></tr> |
| 128 | <tr class="memitem:ad6521013ad981519904822f2ada2c4ec"><td class="memTemplParams" colspan="2">template<typename Func > </td></tr> |
| 129 | <tr class="memitem:ad6521013ad981519904822f2ada2c4ec"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#ad6521013ad981519904822f2ada2c4ec">ForEachLayer</a> (Func func) const</td></tr> |
| 130 | <tr class="separator:ad6521013ad981519904822f2ada2c4ec"><td class="memSeparator" colspan="2"> </td></tr> |
| 131 | <tr class="memitem:a40bb9799fd918fa31f983cc5aa156828"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a40bb9799fd918fa31f983cc5aa156828">SubgraphView</a> (<a class="el" href="classarmnn_1_1_graph.xhtml">Graph</a> &graph)</td></tr> |
| 132 | <tr class="memdesc:a40bb9799fd918fa31f983cc5aa156828"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a sub-graph from the entire given graph. <a href="#a40bb9799fd918fa31f983cc5aa156828">More...</a><br /></td></tr> |
| 133 | <tr class="separator:a40bb9799fd918fa31f983cc5aa156828"><td class="memSeparator" colspan="2"> </td></tr> |
| 134 | <tr class="memitem:aa3ff0319812b6ea8da57604211400879"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#aa3ff0319812b6ea8da57604211400879">SubgraphView</a> (<a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a5cc65e15002dbc33a5c8a7d6680e9a9d">InputSlots</a> &&inputs, <a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a78293334750ec5279eb9c96d56deaf08">OutputSlots</a> &&outputs, <a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a74798938fdaeae75c8adfa4a7439e7f9">Layers</a> &&layers)</td></tr> |
| 135 | <tr class="memdesc:aa3ff0319812b6ea8da57604211400879"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a sub-graph with the given arguments. <a href="#aa3ff0319812b6ea8da57604211400879">More...</a><br /></td></tr> |
| 136 | <tr class="separator:aa3ff0319812b6ea8da57604211400879"><td class="memSeparator" colspan="2"> </td></tr> |
| 137 | <tr class="memitem:a40ec3404f963da3c5ea3665a3b50c5ca"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a40ec3404f963da3c5ea3665a3b50c5ca">SubgraphView</a> (const <a class="el" href="classarmnn_1_1_subgraph_view.xhtml">SubgraphView</a> &subgraph)</td></tr> |
| 138 | <tr class="memdesc:a40ec3404f963da3c5ea3665a3b50c5ca"><td class="mdescLeft"> </td><td class="mdescRight">Copy-constructor. <a href="#a40ec3404f963da3c5ea3665a3b50c5ca">More...</a><br /></td></tr> |
| 139 | <tr class="separator:a40ec3404f963da3c5ea3665a3b50c5ca"><td class="memSeparator" colspan="2"> </td></tr> |
| 140 | <tr class="memitem:ae192e05beaadbd1d231676d9c37d1317"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#ae192e05beaadbd1d231676d9c37d1317">SubgraphView</a> (<a class="el" href="classarmnn_1_1_subgraph_view.xhtml">SubgraphView</a> &&subgraph)</td></tr> |
| 141 | <tr class="memdesc:ae192e05beaadbd1d231676d9c37d1317"><td class="mdescLeft"> </td><td class="mdescRight">Move-constructor. <a href="#ae192e05beaadbd1d231676d9c37d1317">More...</a><br /></td></tr> |
| 142 | <tr class="separator:ae192e05beaadbd1d231676d9c37d1317"><td class="memSeparator" colspan="2"> </td></tr> |
| 143 | <tr class="memitem:a8e22424d6e8e40cbf9884a08c42a0199"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a8e22424d6e8e40cbf9884a08c42a0199">SubgraphView</a> (<a class="el" href="classarmnn_1_1_i_connectable_layer.xhtml">IConnectableLayer</a> *layer)</td></tr> |
| 144 | <tr class="memdesc:a8e22424d6e8e40cbf9884a08c42a0199"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a sub-graph with only the given layer. <a href="#a8e22424d6e8e40cbf9884a08c42a0199">More...</a><br /></td></tr> |
| 145 | <tr class="separator:a8e22424d6e8e40cbf9884a08c42a0199"><td class="memSeparator" colspan="2"> </td></tr> |
| 146 | <tr class="memitem:aae84cdbe05d87942f8ce0a2576c8a7c8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml">SubgraphView</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#aae84cdbe05d87942f8ce0a2576c8a7c8">operator=</a> (<a class="el" href="classarmnn_1_1_subgraph_view.xhtml">SubgraphView</a> &&other)</td></tr> |
| 147 | <tr class="memdesc:aae84cdbe05d87942f8ce0a2576c8a7c8"><td class="mdescLeft"> </td><td class="mdescRight">Move-assignment operator. <a href="#aae84cdbe05d87942f8ce0a2576c8a7c8">More...</a><br /></td></tr> |
| 148 | <tr class="separator:aae84cdbe05d87942f8ce0a2576c8a7c8"><td class="memSeparator" colspan="2"> </td></tr> |
| 149 | <tr class="memitem:a0b066a26219bcae83ca3e1d7f60fb123"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a5cc65e15002dbc33a5c8a7d6680e9a9d">InputSlots</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a0b066a26219bcae83ca3e1d7f60fb123">GetInputSlots</a> () const</td></tr> |
| 150 | <tr class="separator:a0b066a26219bcae83ca3e1d7f60fb123"><td class="memSeparator" colspan="2"> </td></tr> |
| 151 | <tr class="memitem:a4b924dd808b6a155518d552c7ef3728f"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a78293334750ec5279eb9c96d56deaf08">OutputSlots</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a4b924dd808b6a155518d552c7ef3728f">GetOutputSlots</a> () const</td></tr> |
| 152 | <tr class="separator:a4b924dd808b6a155518d552c7ef3728f"><td class="memSeparator" colspan="2"> </td></tr> |
| 153 | <tr class="memitem:ac8ac9809196ec980b8472fbc8367697a"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a74798938fdaeae75c8adfa4a7439e7f9">Layers</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#ac8ac9809196ec980b8472fbc8367697a">GetLayers</a> () const</td></tr> |
| 154 | <tr class="separator:ac8ac9809196ec980b8472fbc8367697a"><td class="memSeparator" colspan="2"> </td></tr> |
| 155 | <tr class="memitem:affe284f25c7940ffa692a4d2005591ff"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarmnn_1_1_input_slot.xhtml">InputSlot</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#affe284f25c7940ffa692a4d2005591ff">GetInputSlot</a> (unsigned int index) const</td></tr> |
| 156 | <tr class="separator:affe284f25c7940ffa692a4d2005591ff"><td class="memSeparator" colspan="2"> </td></tr> |
| 157 | <tr class="memitem:ad5357715e7e8c6750036d26258449115"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_input_slot.xhtml">InputSlot</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#ad5357715e7e8c6750036d26258449115">GetInputSlot</a> (unsigned int index)</td></tr> |
| 158 | <tr class="separator:ad5357715e7e8c6750036d26258449115"><td class="memSeparator" colspan="2"> </td></tr> |
| 159 | <tr class="memitem:a66fd1c3ee6399e0bef2de8a5b9a59592"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarmnn_1_1_output_slot.xhtml">OutputSlot</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a66fd1c3ee6399e0bef2de8a5b9a59592">GetOutputSlot</a> (unsigned int index) const</td></tr> |
| 160 | <tr class="separator:a66fd1c3ee6399e0bef2de8a5b9a59592"><td class="memSeparator" colspan="2"> </td></tr> |
| 161 | <tr class="memitem:a22a2f50137aef4f93fbdb57b6e029895"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_output_slot.xhtml">OutputSlot</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a22a2f50137aef4f93fbdb57b6e029895">GetOutputSlot</a> (unsigned int index)</td></tr> |
| 162 | <tr class="separator:a22a2f50137aef4f93fbdb57b6e029895"><td class="memSeparator" colspan="2"> </td></tr> |
| 163 | <tr class="memitem:a6cbf14f4d57ef2de2cfed9a903db1643"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a6cbf14f4d57ef2de2cfed9a903db1643">GetNumInputSlots</a> () const</td></tr> |
| 164 | <tr class="separator:a6cbf14f4d57ef2de2cfed9a903db1643"><td class="memSeparator" colspan="2"> </td></tr> |
| 165 | <tr class="memitem:a59a4100374e80a3504f4bb4d13695d0b"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a59a4100374e80a3504f4bb4d13695d0b">GetNumOutputSlots</a> () const</td></tr> |
| 166 | <tr class="separator:a59a4100374e80a3504f4bb4d13695d0b"><td class="memSeparator" colspan="2"> </td></tr> |
| 167 | <tr class="memitem:a2fc512b3ddb7bb2cdf02f44038ca2500"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#af323e5b54c189191060bce191ce0f233">Iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a2fc512b3ddb7bb2cdf02f44038ca2500">begin</a> ()</td></tr> |
| 168 | <tr class="separator:a2fc512b3ddb7bb2cdf02f44038ca2500"><td class="memSeparator" colspan="2"> </td></tr> |
| 169 | <tr class="memitem:aaf68d7cca5c48a7f3d398452a5244667"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#af323e5b54c189191060bce191ce0f233">Iterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#aaf68d7cca5c48a7f3d398452a5244667">end</a> ()</td></tr> |
| 170 | <tr class="separator:aaf68d7cca5c48a7f3d398452a5244667"><td class="memSeparator" colspan="2"> </td></tr> |
| 171 | <tr class="memitem:a6136e1f09b845a7ebe1d57cfd720e0bd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a39524c3cad3af48ba3e2bba2e8bf9fbe">ConstIterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a6136e1f09b845a7ebe1d57cfd720e0bd">begin</a> () const</td></tr> |
| 172 | <tr class="separator:a6136e1f09b845a7ebe1d57cfd720e0bd"><td class="memSeparator" colspan="2"> </td></tr> |
| 173 | <tr class="memitem:a9e48fc9629934ce1c8cd2166fa1aaeca"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a39524c3cad3af48ba3e2bba2e8bf9fbe">ConstIterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a9e48fc9629934ce1c8cd2166fa1aaeca">end</a> () const</td></tr> |
| 174 | <tr class="separator:a9e48fc9629934ce1c8cd2166fa1aaeca"><td class="memSeparator" colspan="2"> </td></tr> |
| 175 | <tr class="memitem:a3b4adb0f69ba6d30924569e5fe22478c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a39524c3cad3af48ba3e2bba2e8bf9fbe">ConstIterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a3b4adb0f69ba6d30924569e5fe22478c">cbegin</a> () const</td></tr> |
| 176 | <tr class="separator:a3b4adb0f69ba6d30924569e5fe22478c"><td class="memSeparator" colspan="2"> </td></tr> |
| 177 | <tr class="memitem:a7efd45d3f8e9891ebd212b1f23062a1e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a39524c3cad3af48ba3e2bba2e8bf9fbe">ConstIterator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a7efd45d3f8e9891ebd212b1f23062a1e">cend</a> () const</td></tr> |
| 178 | <tr class="separator:a7efd45d3f8e9891ebd212b1f23062a1e"><td class="memSeparator" colspan="2"> </td></tr> |
| 179 | <tr class="memitem:aa71d36872f416feaa853788a7a7a7ef8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#aa71d36872f416feaa853788a7a7a7ef8">Clear</a> ()</td></tr> |
| 180 | <tr class="separator:aa71d36872f416feaa853788a7a7a7ef8"><td class="memSeparator" colspan="2"> </td></tr> |
| 181 | </table> |
| 182 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 183 | <div class="textblock"><p>The <a class="el" href="classarmnn_1_1_subgraph_view.xhtml" title="The SubgraphView class represents a subgraph of a Graph. ">SubgraphView</a> class represents a subgraph of a <a class="el" href="classarmnn_1_1_graph.xhtml">Graph</a>. </p> |
| 184 | <p>The data it holds, points to data held by layers of the <a class="el" href="classarmnn_1_1_graph.xhtml">Graph</a>, so the the contents of the <a class="el" href="classarmnn_1_1_subgraph_view.xhtml" title="The SubgraphView class represents a subgraph of a Graph. ">SubgraphView</a> become invalid when the Layers are destroyed or changed. </p> |
| 185 | |
| 186 | <p class="definition">Definition at line <a class="el" href="_subgraph_view_8hpp_source.xhtml#l00023">23</a> of file <a class="el" href="_subgraph_view_8hpp_source.xhtml">SubgraphView.hpp</a>.</p> |
| 187 | </div><h2 class="groupheader">Member Typedef Documentation</h2> |
| 188 | <a id="a39524c3cad3af48ba3e2bba2e8bf9fbe"></a> |
| 189 | <h2 class="memtitle"><span class="permalink"><a href="#a39524c3cad3af48ba3e2bba2e8bf9fbe">◆ </a></span>ConstIterator</h2> |
| 190 | |
| 191 | <div class="memitem"> |
| 192 | <div class="memproto"> |
| 193 | <table class="memname"> |
| 194 | <tr> |
| 195 | <td class="memname">using <a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a39524c3cad3af48ba3e2bba2e8bf9fbe">ConstIterator</a> = Layers::const_iterator</td> |
| 196 | </tr> |
| 197 | </table> |
| 198 | </div><div class="memdoc"> |
| 199 | |
| 200 | <p class="definition">Definition at line <a class="el" href="_subgraph_view_8hpp_source.xhtml#l00042">42</a> of file <a class="el" href="_subgraph_view_8hpp_source.xhtml">SubgraphView.hpp</a>.</p> |
| 201 | |
| 202 | </div> |
| 203 | </div> |
| 204 | <a id="a5cc65e15002dbc33a5c8a7d6680e9a9d"></a> |
| 205 | <h2 class="memtitle"><span class="permalink"><a href="#a5cc65e15002dbc33a5c8a7d6680e9a9d">◆ </a></span>InputSlots</h2> |
| 206 | |
| 207 | <div class="memitem"> |
| 208 | <div class="memproto"> |
| 209 | <table class="memname"> |
| 210 | <tr> |
| 211 | <td class="memname">using <a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a5cc65e15002dbc33a5c8a7d6680e9a9d">InputSlots</a> = std::vector<<a class="el" href="classarmnn_1_1_input_slot.xhtml">InputSlot</a>*></td> |
| 212 | </tr> |
| 213 | </table> |
| 214 | </div><div class="memdoc"> |
| 215 | |
| 216 | <p class="definition">Definition at line <a class="el" href="_subgraph_view_8hpp_source.xhtml#l00038">38</a> of file <a class="el" href="_subgraph_view_8hpp_source.xhtml">SubgraphView.hpp</a>.</p> |
| 217 | |
| 218 | </div> |
| 219 | </div> |
| 220 | <a id="af323e5b54c189191060bce191ce0f233"></a> |
| 221 | <h2 class="memtitle"><span class="permalink"><a href="#af323e5b54c189191060bce191ce0f233">◆ </a></span>Iterator</h2> |
| 222 | |
| 223 | <div class="memitem"> |
| 224 | <div class="memproto"> |
| 225 | <table class="memname"> |
| 226 | <tr> |
| 227 | <td class="memname">using <a class="el" href="classarmnn_1_1_subgraph_view.xhtml#af323e5b54c189191060bce191ce0f233">Iterator</a> = Layers::iterator</td> |
| 228 | </tr> |
| 229 | </table> |
| 230 | </div><div class="memdoc"> |
| 231 | |
| 232 | <p class="definition">Definition at line <a class="el" href="_subgraph_view_8hpp_source.xhtml#l00041">41</a> of file <a class="el" href="_subgraph_view_8hpp_source.xhtml">SubgraphView.hpp</a>.</p> |
| 233 | |
| 234 | </div> |
| 235 | </div> |
| 236 | <a id="a74798938fdaeae75c8adfa4a7439e7f9"></a> |
| 237 | <h2 class="memtitle"><span class="permalink"><a href="#a74798938fdaeae75c8adfa4a7439e7f9">◆ </a></span>Layers</h2> |
| 238 | |
| 239 | <div class="memitem"> |
| 240 | <div class="memproto"> |
| 241 | <table class="memname"> |
| 242 | <tr> |
| 243 | <td class="memname">using <a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a74798938fdaeae75c8adfa4a7439e7f9">Layers</a> = std::list<<a class="el" href="classarmnn_1_1_layer.xhtml">Layer</a>*></td> |
| 244 | </tr> |
| 245 | </table> |
| 246 | </div><div class="memdoc"> |
| 247 | |
| 248 | <p class="definition">Definition at line <a class="el" href="_subgraph_view_8hpp_source.xhtml#l00040">40</a> of file <a class="el" href="_subgraph_view_8hpp_source.xhtml">SubgraphView.hpp</a>.</p> |
| 249 | |
| 250 | </div> |
| 251 | </div> |
| 252 | <a id="a78293334750ec5279eb9c96d56deaf08"></a> |
| 253 | <h2 class="memtitle"><span class="permalink"><a href="#a78293334750ec5279eb9c96d56deaf08">◆ </a></span>OutputSlots</h2> |
| 254 | |
| 255 | <div class="memitem"> |
| 256 | <div class="memproto"> |
| 257 | <table class="memname"> |
| 258 | <tr> |
| 259 | <td class="memname">using <a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a78293334750ec5279eb9c96d56deaf08">OutputSlots</a> = std::vector<<a class="el" href="classarmnn_1_1_output_slot.xhtml">OutputSlot</a>*></td> |
| 260 | </tr> |
| 261 | </table> |
| 262 | </div><div class="memdoc"> |
| 263 | |
| 264 | <p class="definition">Definition at line <a class="el" href="_subgraph_view_8hpp_source.xhtml#l00039">39</a> of file <a class="el" href="_subgraph_view_8hpp_source.xhtml">SubgraphView.hpp</a>.</p> |
| 265 | |
| 266 | </div> |
| 267 | </div> |
| 268 | <a id="a4684a457c7786484375f06e9ab2d2265"></a> |
| 269 | <h2 class="memtitle"><span class="permalink"><a href="#a4684a457c7786484375f06e9ab2d2265">◆ </a></span>SubgraphViewPtr</h2> |
| 270 | |
| 271 | <div class="memitem"> |
| 272 | <div class="memproto"> |
| 273 | <table class="memname"> |
| 274 | <tr> |
| 275 | <td class="memname">using <a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a4684a457c7786484375f06e9ab2d2265">SubgraphViewPtr</a> = std::unique_ptr<<a class="el" href="classarmnn_1_1_subgraph_view.xhtml">SubgraphView</a>></td> |
| 276 | </tr> |
| 277 | </table> |
| 278 | </div><div class="memdoc"> |
| 279 | |
| 280 | <p class="definition">Definition at line <a class="el" href="_subgraph_view_8hpp_source.xhtml#l00037">37</a> of file <a class="el" href="_subgraph_view_8hpp_source.xhtml">SubgraphView.hpp</a>.</p> |
| 281 | |
| 282 | </div> |
| 283 | </div> |
| 284 | <h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| 285 | <a id="a40bb9799fd918fa31f983cc5aa156828"></a> |
| 286 | <h2 class="memtitle"><span class="permalink"><a href="#a40bb9799fd918fa31f983cc5aa156828">◆ </a></span>SubgraphView() <span class="overload">[1/5]</span></h2> |
| 287 | |
| 288 | <div class="memitem"> |
| 289 | <div class="memproto"> |
| 290 | <table class="mlabels"> |
| 291 | <tr> |
| 292 | <td class="mlabels-left"> |
| 293 | <table class="memname"> |
| 294 | <tr> |
| 295 | <td class="memname"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml">SubgraphView</a> </td> |
| 296 | <td>(</td> |
| 297 | <td class="paramtype"><a class="el" href="classarmnn_1_1_graph.xhtml">Graph</a> & </td> |
| 298 | <td class="paramname"><em>graph</em></td><td>)</td> |
| 299 | <td></td> |
| 300 | </tr> |
| 301 | </table> |
| 302 | </td> |
| 303 | <td class="mlabels-right"> |
| 304 | <span class="mlabels"><span class="mlabel">explicit</span></span> </td> |
| 305 | </tr> |
| 306 | </table> |
| 307 | </div><div class="memdoc"> |
| 308 | |
| 309 | <p>Constructs a sub-graph from the entire given graph. </p> |
| 310 | |
| 311 | <p class="definition">Definition at line <a class="el" href="_subgraph_view_8cpp_source.xhtml#l00042">42</a> of file <a class="el" href="_subgraph_view_8cpp_source.xhtml">SubgraphView.cpp</a>.</p> |
| 312 | <div class="fragment"><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  : m_InputSlots{}</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  , m_OutputSlots{}</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  , m_Layers(graph.begin(), graph.end())</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> {</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  CheckSubgraph();</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> }</div></div><!-- fragment --> |
| 313 | </div> |
| 314 | </div> |
| 315 | <a id="aa3ff0319812b6ea8da57604211400879"></a> |
| 316 | <h2 class="memtitle"><span class="permalink"><a href="#aa3ff0319812b6ea8da57604211400879">◆ </a></span>SubgraphView() <span class="overload">[2/5]</span></h2> |
| 317 | |
| 318 | <div class="memitem"> |
| 319 | <div class="memproto"> |
| 320 | <table class="memname"> |
| 321 | <tr> |
| 322 | <td class="memname"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml">SubgraphView</a> </td> |
| 323 | <td>(</td> |
| 324 | <td class="paramtype"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a5cc65e15002dbc33a5c8a7d6680e9a9d">InputSlots</a> && </td> |
| 325 | <td class="paramname"><em>inputs</em>, </td> |
| 326 | </tr> |
| 327 | <tr> |
| 328 | <td class="paramkey"></td> |
| 329 | <td></td> |
| 330 | <td class="paramtype"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a78293334750ec5279eb9c96d56deaf08">OutputSlots</a> && </td> |
| 331 | <td class="paramname"><em>outputs</em>, </td> |
| 332 | </tr> |
| 333 | <tr> |
| 334 | <td class="paramkey"></td> |
| 335 | <td></td> |
| 336 | <td class="paramtype"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a74798938fdaeae75c8adfa4a7439e7f9">Layers</a> && </td> |
| 337 | <td class="paramname"><em>layers</em> </td> |
| 338 | </tr> |
| 339 | <tr> |
| 340 | <td></td> |
| 341 | <td>)</td> |
| 342 | <td></td><td></td> |
| 343 | </tr> |
| 344 | </table> |
| 345 | </div><div class="memdoc"> |
| 346 | |
| 347 | <p>Constructs a sub-graph with the given arguments. </p> |
| 348 | |
| 349 | <p class="definition">Definition at line <a class="el" href="_subgraph_view_8cpp_source.xhtml#l00050">50</a> of file <a class="el" href="_subgraph_view_8cpp_source.xhtml">SubgraphView.cpp</a>.</p> |
| 350 | <div class="fragment"><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  : m_InputSlots{inputs}</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  , m_OutputSlots{outputs}</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  , m_Layers{layers}</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>  CheckSubgraph();</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> }</div></div><!-- fragment --> |
| 351 | </div> |
| 352 | </div> |
| 353 | <a id="a40ec3404f963da3c5ea3665a3b50c5ca"></a> |
| 354 | <h2 class="memtitle"><span class="permalink"><a href="#a40ec3404f963da3c5ea3665a3b50c5ca">◆ </a></span>SubgraphView() <span class="overload">[3/5]</span></h2> |
| 355 | |
| 356 | <div class="memitem"> |
| 357 | <div class="memproto"> |
| 358 | <table class="memname"> |
| 359 | <tr> |
| 360 | <td class="memname"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml">SubgraphView</a> </td> |
| 361 | <td>(</td> |
| 362 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_subgraph_view.xhtml">SubgraphView</a> & </td> |
| 363 | <td class="paramname"><em>subgraph</em></td><td>)</td> |
| 364 | <td></td> |
| 365 | </tr> |
| 366 | </table> |
| 367 | </div><div class="memdoc"> |
| 368 | |
| 369 | <p>Copy-constructor. </p> |
| 370 | |
| 371 | <p class="definition">Definition at line <a class="el" href="_subgraph_view_8cpp_source.xhtml#l00058">58</a> of file <a class="el" href="_subgraph_view_8cpp_source.xhtml">SubgraphView.cpp</a>.</p> |
| 372 | <div class="fragment"><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  : m_InputSlots(subgraph.m_InputSlots.begin(), subgraph.m_InputSlots.end())</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  , m_OutputSlots(subgraph.m_OutputSlots.begin(), subgraph.m_OutputSlots.end())</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  , m_Layers(subgraph.m_Layers.begin(), subgraph.m_Layers.end())</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> {</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  CheckSubgraph();</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> }</div></div><!-- fragment --> |
| 373 | </div> |
| 374 | </div> |
| 375 | <a id="ae192e05beaadbd1d231676d9c37d1317"></a> |
| 376 | <h2 class="memtitle"><span class="permalink"><a href="#ae192e05beaadbd1d231676d9c37d1317">◆ </a></span>SubgraphView() <span class="overload">[4/5]</span></h2> |
| 377 | |
| 378 | <div class="memitem"> |
| 379 | <div class="memproto"> |
| 380 | <table class="memname"> |
| 381 | <tr> |
| 382 | <td class="memname"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml">SubgraphView</a> </td> |
| 383 | <td>(</td> |
| 384 | <td class="paramtype"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml">SubgraphView</a> && </td> |
| 385 | <td class="paramname"><em>subgraph</em></td><td>)</td> |
| 386 | <td></td> |
| 387 | </tr> |
| 388 | </table> |
| 389 | </div><div class="memdoc"> |
| 390 | |
| 391 | <p>Move-constructor. </p> |
| 392 | |
| 393 | <p class="definition">Definition at line <a class="el" href="_subgraph_view_8cpp_source.xhtml#l00066">66</a> of file <a class="el" href="_subgraph_view_8cpp_source.xhtml">SubgraphView.cpp</a>.</p> |
| 394 | <div class="fragment"><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  : m_InputSlots(std::move(subgraph.m_InputSlots))</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  , m_OutputSlots(std::move(subgraph.m_OutputSlots))</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  , m_Layers(std::move(subgraph.m_Layers))</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> {</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  CheckSubgraph();</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> }</div></div><!-- fragment --> |
| 395 | </div> |
| 396 | </div> |
| 397 | <a id="a8e22424d6e8e40cbf9884a08c42a0199"></a> |
| 398 | <h2 class="memtitle"><span class="permalink"><a href="#a8e22424d6e8e40cbf9884a08c42a0199">◆ </a></span>SubgraphView() <span class="overload">[5/5]</span></h2> |
| 399 | |
| 400 | <div class="memitem"> |
| 401 | <div class="memproto"> |
| 402 | <table class="memname"> |
| 403 | <tr> |
| 404 | <td class="memname"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml">SubgraphView</a> </td> |
| 405 | <td>(</td> |
| 406 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_connectable_layer.xhtml">IConnectableLayer</a> * </td> |
| 407 | <td class="paramname"><em>layer</em></td><td>)</td> |
| 408 | <td></td> |
| 409 | </tr> |
| 410 | </table> |
| 411 | </div><div class="memdoc"> |
| 412 | |
| 413 | <p>Constructs a sub-graph with only the given layer. </p> |
| 414 | |
| 415 | <p class="definition">Definition at line <a class="el" href="_subgraph_view_8cpp_source.xhtml#l00074">74</a> of file <a class="el" href="_subgraph_view_8cpp_source.xhtml">SubgraphView.cpp</a>.</p> |
| 416 | <div class="fragment"><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  : m_InputSlots{}</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  , m_OutputSlots{}</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  , m_Layers{boost::polymorphic_downcast<Layer*>(layer)}</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> {</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> numInputSlots = layer->GetNumInputSlots();</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  m_InputSlots.resize(numInputSlots);</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < numInputSlots; i++)</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  {</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  m_InputSlots.at(i) = boost::polymorphic_downcast<InputSlot*>(&(layer->GetInputSlot(i)));</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  }</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> </div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> numOutputSlots = layer->GetNumOutputSlots();</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  m_OutputSlots.resize(numOutputSlots);</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < numOutputSlots; i++)</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  {</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  m_OutputSlots.at(i) = boost::polymorphic_downcast<OutputSlot*>(&(layer->GetOutputSlot(i)));</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  }</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span> </div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  CheckSubgraph();</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> }</div></div><!-- fragment --> |
| 417 | </div> |
| 418 | </div> |
| 419 | <h2 class="groupheader">Member Function Documentation</h2> |
| 420 | <a id="a2fc512b3ddb7bb2cdf02f44038ca2500"></a> |
| 421 | <h2 class="memtitle"><span class="permalink"><a href="#a2fc512b3ddb7bb2cdf02f44038ca2500">◆ </a></span>begin() <span class="overload">[1/2]</span></h2> |
| 422 | |
| 423 | <div class="memitem"> |
| 424 | <div class="memproto"> |
| 425 | <table class="memname"> |
| 426 | <tr> |
| 427 | <td class="memname"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#af323e5b54c189191060bce191ce0f233">SubgraphView::Iterator</a> begin </td> |
| 428 | <td>(</td> |
| 429 | <td class="paramname"></td><td>)</td> |
| 430 | <td></td> |
| 431 | </tr> |
| 432 | </table> |
| 433 | </div><div class="memdoc"> |
| 434 | |
| 435 | <p class="definition">Definition at line <a class="el" href="_subgraph_view_8cpp_source.xhtml#l00164">164</a> of file <a class="el" href="_subgraph_view_8cpp_source.xhtml">SubgraphView.cpp</a>.</p> |
| 436 | |
| 437 | <p class="reference">Referenced by <a class="el" href="_network_8cpp_source.xhtml#l00428">armnn::ApplyBackendOptimizations()</a>, <a class="el" href="_network_8cpp_source.xhtml#l00395">armnn::AssignBackends()</a>, and <a class="el" href="_subgraph_view_8cpp_source.xhtml#l00184">SubgraphView::cbegin()</a>.</p> |
| 438 | <div class="fragment"><div class="line"><a name="l00165"></a><span class="lineno"> 165</span> {</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <span class="keywordflow">return</span> m_Layers.begin();</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span> }</div></div><!-- fragment --> |
| 439 | </div> |
| 440 | </div> |
| 441 | <a id="a6136e1f09b845a7ebe1d57cfd720e0bd"></a> |
| 442 | <h2 class="memtitle"><span class="permalink"><a href="#a6136e1f09b845a7ebe1d57cfd720e0bd">◆ </a></span>begin() <span class="overload">[2/2]</span></h2> |
| 443 | |
| 444 | <div class="memitem"> |
| 445 | <div class="memproto"> |
| 446 | <table class="memname"> |
| 447 | <tr> |
| 448 | <td class="memname"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a39524c3cad3af48ba3e2bba2e8bf9fbe">SubgraphView::ConstIterator</a> begin </td> |
| 449 | <td>(</td> |
| 450 | <td class="paramname"></td><td>)</td> |
| 451 | <td> const</td> |
| 452 | </tr> |
| 453 | </table> |
| 454 | </div><div class="memdoc"> |
| 455 | |
| 456 | <p class="definition">Definition at line <a class="el" href="_subgraph_view_8cpp_source.xhtml#l00174">174</a> of file <a class="el" href="_subgraph_view_8cpp_source.xhtml">SubgraphView.cpp</a>.</p> |
| 457 | <div class="fragment"><div class="line"><a name="l00175"></a><span class="lineno"> 175</span> {</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <span class="keywordflow">return</span> m_Layers.begin();</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span> }</div></div><!-- fragment --> |
| 458 | </div> |
| 459 | </div> |
| 460 | <a id="a3b4adb0f69ba6d30924569e5fe22478c"></a> |
| 461 | <h2 class="memtitle"><span class="permalink"><a href="#a3b4adb0f69ba6d30924569e5fe22478c">◆ </a></span>cbegin()</h2> |
| 462 | |
| 463 | <div class="memitem"> |
| 464 | <div class="memproto"> |
| 465 | <table class="memname"> |
| 466 | <tr> |
| 467 | <td class="memname"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a39524c3cad3af48ba3e2bba2e8bf9fbe">SubgraphView::ConstIterator</a> cbegin </td> |
| 468 | <td>(</td> |
| 469 | <td class="paramname"></td><td>)</td> |
| 470 | <td> const</td> |
| 471 | </tr> |
| 472 | </table> |
| 473 | </div><div class="memdoc"> |
| 474 | |
| 475 | <p class="definition">Definition at line <a class="el" href="_subgraph_view_8cpp_source.xhtml#l00184">184</a> of file <a class="el" href="_subgraph_view_8cpp_source.xhtml">SubgraphView.cpp</a>.</p> |
| 476 | |
| 477 | <p class="reference">References <a class="el" href="_subgraph_view_8cpp_source.xhtml#l00164">SubgraphView::begin()</a>.</p> |
| 478 | <div class="fragment"><div class="line"><a name="l00185"></a><span class="lineno"> 185</span> {</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <span class="keywordflow">return</span> <a class="code" href="classarmnn_1_1_subgraph_view.xhtml#a2fc512b3ddb7bb2cdf02f44038ca2500">begin</a>();</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span> }</div><div class="ttc" id="classarmnn_1_1_subgraph_view_xhtml_a2fc512b3ddb7bb2cdf02f44038ca2500"><div class="ttname"><a href="classarmnn_1_1_subgraph_view.xhtml#a2fc512b3ddb7bb2cdf02f44038ca2500">armnn::SubgraphView::begin</a></div><div class="ttdeci">Iterator begin()</div><div class="ttdef"><b>Definition:</b> <a href="_subgraph_view_8cpp_source.xhtml#l00164">SubgraphView.cpp:164</a></div></div> |
| 479 | </div><!-- fragment --> |
| 480 | </div> |
| 481 | </div> |
| 482 | <a id="a7efd45d3f8e9891ebd212b1f23062a1e"></a> |
| 483 | <h2 class="memtitle"><span class="permalink"><a href="#a7efd45d3f8e9891ebd212b1f23062a1e">◆ </a></span>cend()</h2> |
| 484 | |
| 485 | <div class="memitem"> |
| 486 | <div class="memproto"> |
| 487 | <table class="memname"> |
| 488 | <tr> |
| 489 | <td class="memname"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a39524c3cad3af48ba3e2bba2e8bf9fbe">SubgraphView::ConstIterator</a> cend </td> |
| 490 | <td>(</td> |
| 491 | <td class="paramname"></td><td>)</td> |
| 492 | <td> const</td> |
| 493 | </tr> |
| 494 | </table> |
| 495 | </div><div class="memdoc"> |
| 496 | |
| 497 | <p class="definition">Definition at line <a class="el" href="_subgraph_view_8cpp_source.xhtml#l00189">189</a> of file <a class="el" href="_subgraph_view_8cpp_source.xhtml">SubgraphView.cpp</a>.</p> |
| 498 | |
| 499 | <p class="reference">References <a class="el" href="_subgraph_view_8cpp_source.xhtml#l00169">SubgraphView::end()</a>.</p> |
| 500 | <div class="fragment"><div class="line"><a name="l00190"></a><span class="lineno"> 190</span> {</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  <span class="keywordflow">return</span> <a class="code" href="classarmnn_1_1_subgraph_view.xhtml#aaf68d7cca5c48a7f3d398452a5244667">end</a>();</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span> }</div><div class="ttc" id="classarmnn_1_1_subgraph_view_xhtml_aaf68d7cca5c48a7f3d398452a5244667"><div class="ttname"><a href="classarmnn_1_1_subgraph_view.xhtml#aaf68d7cca5c48a7f3d398452a5244667">armnn::SubgraphView::end</a></div><div class="ttdeci">Iterator end()</div><div class="ttdef"><b>Definition:</b> <a href="_subgraph_view_8cpp_source.xhtml#l00169">SubgraphView.cpp:169</a></div></div> |
| 501 | </div><!-- fragment --> |
| 502 | </div> |
| 503 | </div> |
| 504 | <a id="aa71d36872f416feaa853788a7a7a7ef8"></a> |
| 505 | <h2 class="memtitle"><span class="permalink"><a href="#aa71d36872f416feaa853788a7a7a7ef8">◆ </a></span>Clear()</h2> |
| 506 | |
| 507 | <div class="memitem"> |
| 508 | <div class="memproto"> |
| 509 | <table class="memname"> |
| 510 | <tr> |
| 511 | <td class="memname">void Clear </td> |
| 512 | <td>(</td> |
| 513 | <td class="paramname"></td><td>)</td> |
| 514 | <td></td> |
| 515 | </tr> |
| 516 | </table> |
| 517 | </div><div class="memdoc"> |
| 518 | |
| 519 | <p class="definition">Definition at line <a class="el" href="_subgraph_view_8cpp_source.xhtml#l00194">194</a> of file <a class="el" href="_subgraph_view_8cpp_source.xhtml">SubgraphView.cpp</a>.</p> |
| 520 | |
| 521 | <p class="reference">Referenced by <a class="el" href="_graph_8cpp_source.xhtml#l00404">Graph::SubstituteSubgraph()</a>.</p> |
| 522 | <div class="fragment"><div class="line"><a name="l00195"></a><span class="lineno"> 195</span> {</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  m_InputSlots.clear();</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  m_OutputSlots.clear();</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  m_Layers.clear();</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span> }</div></div><!-- fragment --> |
| 523 | </div> |
| 524 | </div> |
| 525 | <a id="aaf68d7cca5c48a7f3d398452a5244667"></a> |
| 526 | <h2 class="memtitle"><span class="permalink"><a href="#aaf68d7cca5c48a7f3d398452a5244667">◆ </a></span>end() <span class="overload">[1/2]</span></h2> |
| 527 | |
| 528 | <div class="memitem"> |
| 529 | <div class="memproto"> |
| 530 | <table class="memname"> |
| 531 | <tr> |
| 532 | <td class="memname"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#af323e5b54c189191060bce191ce0f233">SubgraphView::Iterator</a> end </td> |
| 533 | <td>(</td> |
| 534 | <td class="paramname"></td><td>)</td> |
| 535 | <td></td> |
| 536 | </tr> |
| 537 | </table> |
| 538 | </div><div class="memdoc"> |
| 539 | |
| 540 | <p class="definition">Definition at line <a class="el" href="_subgraph_view_8cpp_source.xhtml#l00169">169</a> of file <a class="el" href="_subgraph_view_8cpp_source.xhtml">SubgraphView.cpp</a>.</p> |
| 541 | |
| 542 | <p class="reference">Referenced by <a class="el" href="_network_8cpp_source.xhtml#l00428">armnn::ApplyBackendOptimizations()</a>, <a class="el" href="_network_8cpp_source.xhtml#l00395">armnn::AssignBackends()</a>, and <a class="el" href="_subgraph_view_8cpp_source.xhtml#l00189">SubgraphView::cend()</a>.</p> |
| 543 | <div class="fragment"><div class="line"><a name="l00170"></a><span class="lineno"> 170</span> {</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="keywordflow">return</span> m_Layers.end();</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span> }</div></div><!-- fragment --> |
| 544 | </div> |
| 545 | </div> |
| 546 | <a id="a9e48fc9629934ce1c8cd2166fa1aaeca"></a> |
| 547 | <h2 class="memtitle"><span class="permalink"><a href="#a9e48fc9629934ce1c8cd2166fa1aaeca">◆ </a></span>end() <span class="overload">[2/2]</span></h2> |
| 548 | |
| 549 | <div class="memitem"> |
| 550 | <div class="memproto"> |
| 551 | <table class="memname"> |
| 552 | <tr> |
| 553 | <td class="memname"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a39524c3cad3af48ba3e2bba2e8bf9fbe">SubgraphView::ConstIterator</a> end </td> |
| 554 | <td>(</td> |
| 555 | <td class="paramname"></td><td>)</td> |
| 556 | <td> const</td> |
| 557 | </tr> |
| 558 | </table> |
| 559 | </div><div class="memdoc"> |
| 560 | |
| 561 | <p class="definition">Definition at line <a class="el" href="_subgraph_view_8cpp_source.xhtml#l00179">179</a> of file <a class="el" href="_subgraph_view_8cpp_source.xhtml">SubgraphView.cpp</a>.</p> |
| 562 | <div class="fragment"><div class="line"><a name="l00180"></a><span class="lineno"> 180</span> {</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <span class="keywordflow">return</span> m_Layers.end();</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span> }</div></div><!-- fragment --> |
| 563 | </div> |
| 564 | </div> |
| 565 | <a id="ad6521013ad981519904822f2ada2c4ec"></a> |
| 566 | <h2 class="memtitle"><span class="permalink"><a href="#ad6521013ad981519904822f2ada2c4ec">◆ </a></span>ForEachLayer()</h2> |
| 567 | |
| 568 | <div class="memitem"> |
| 569 | <div class="memproto"> |
| 570 | <table class="mlabels"> |
| 571 | <tr> |
| 572 | <td class="mlabels-left"> |
| 573 | <table class="memname"> |
| 574 | <tr> |
| 575 | <td class="memname">void ForEachLayer </td> |
| 576 | <td>(</td> |
| 577 | <td class="paramtype">Func </td> |
| 578 | <td class="paramname"><em>func</em></td><td>)</td> |
| 579 | <td> const</td> |
| 580 | </tr> |
| 581 | </table> |
| 582 | </td> |
| 583 | <td class="mlabels-right"> |
| 584 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 585 | </tr> |
| 586 | </table> |
| 587 | </div><div class="memdoc"> |
| 588 | |
| 589 | <p class="definition">Definition at line <a class="el" href="_subgraph_view_8hpp_source.xhtml#l00027">27</a> of file <a class="el" href="_subgraph_view_8hpp_source.xhtml">SubgraphView.hpp</a>.</p> |
| 590 | |
| 591 | <p class="reference">Referenced by <a class="el" href="_graph_8cpp_source.xhtml#l00404">Graph::SubstituteSubgraph()</a>.</p> |
| 592 | <div class="fragment"><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">for</span> (<span class="keyword">auto</span> it = m_Layers.begin(); it != m_Layers.end(); )</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  {</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keyword">auto</span> next = std::next(it);</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  func(*it);</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  it = next;</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  }</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  }</div></div><!-- fragment --> |
| 593 | </div> |
| 594 | </div> |
| 595 | <a id="affe284f25c7940ffa692a4d2005591ff"></a> |
| 596 | <h2 class="memtitle"><span class="permalink"><a href="#affe284f25c7940ffa692a4d2005591ff">◆ </a></span>GetInputSlot() <span class="overload">[1/2]</span></h2> |
| 597 | |
| 598 | <div class="memitem"> |
| 599 | <div class="memproto"> |
| 600 | <table class="memname"> |
| 601 | <tr> |
| 602 | <td class="memname">const <a class="el" href="classarmnn_1_1_input_slot.xhtml">InputSlot</a> * GetInputSlot </td> |
| 603 | <td>(</td> |
| 604 | <td class="paramtype">unsigned int </td> |
| 605 | <td class="paramname"><em>index</em></td><td>)</td> |
| 606 | <td> const</td> |
| 607 | </tr> |
| 608 | </table> |
| 609 | </div><div class="memdoc"> |
| 610 | |
| 611 | <p class="definition">Definition at line <a class="el" href="_subgraph_view_8cpp_source.xhtml#l00129">129</a> of file <a class="el" href="_subgraph_view_8cpp_source.xhtml">SubgraphView.cpp</a>.</p> |
| 612 | <div class="fragment"><div class="line"><a name="l00130"></a><span class="lineno"> 130</span> {</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="keywordflow">return</span> m_InputSlots.at(index);</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span> }</div></div><!-- fragment --> |
| 613 | </div> |
| 614 | </div> |
| 615 | <a id="ad5357715e7e8c6750036d26258449115"></a> |
| 616 | <h2 class="memtitle"><span class="permalink"><a href="#ad5357715e7e8c6750036d26258449115">◆ </a></span>GetInputSlot() <span class="overload">[2/2]</span></h2> |
| 617 | |
| 618 | <div class="memitem"> |
| 619 | <div class="memproto"> |
| 620 | <table class="memname"> |
| 621 | <tr> |
| 622 | <td class="memname"><a class="el" href="classarmnn_1_1_input_slot.xhtml">InputSlot</a> * GetInputSlot </td> |
| 623 | <td>(</td> |
| 624 | <td class="paramtype">unsigned int </td> |
| 625 | <td class="paramname"><em>index</em></td><td>)</td> |
| 626 | <td></td> |
| 627 | </tr> |
| 628 | </table> |
| 629 | </div><div class="memdoc"> |
| 630 | |
| 631 | <p class="definition">Definition at line <a class="el" href="_subgraph_view_8cpp_source.xhtml#l00134">134</a> of file <a class="el" href="_subgraph_view_8cpp_source.xhtml">SubgraphView.cpp</a>.</p> |
| 632 | <div class="fragment"><div class="line"><a name="l00135"></a><span class="lineno"> 135</span> {</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="keywordflow">return</span> m_InputSlots.at(index);</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span> }</div></div><!-- fragment --> |
| 633 | </div> |
| 634 | </div> |
| 635 | <a id="a0b066a26219bcae83ca3e1d7f60fb123"></a> |
| 636 | <h2 class="memtitle"><span class="permalink"><a href="#a0b066a26219bcae83ca3e1d7f60fb123">◆ </a></span>GetInputSlots()</h2> |
| 637 | |
| 638 | <div class="memitem"> |
| 639 | <div class="memproto"> |
| 640 | <table class="memname"> |
| 641 | <tr> |
| 642 | <td class="memname">const <a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a5cc65e15002dbc33a5c8a7d6680e9a9d">SubgraphView::InputSlots</a> & GetInputSlots </td> |
| 643 | <td>(</td> |
| 644 | <td class="paramname"></td><td>)</td> |
| 645 | <td> const</td> |
| 646 | </tr> |
| 647 | </table> |
| 648 | </div><div class="memdoc"> |
| 649 | |
| 650 | <p class="definition">Definition at line <a class="el" href="_subgraph_view_8cpp_source.xhtml#l00119">119</a> of file <a class="el" href="_subgraph_view_8cpp_source.xhtml">SubgraphView.cpp</a>.</p> |
| 651 | |
| 652 | <p class="reference">Referenced by <a class="el" href="_subgraph_view_tests_8cpp_source.xhtml#l00413">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_graph_8cpp_source.xhtml#l00404">Graph::SubstituteSubgraph()</a>, and <a class="el" href="_optimization_views_8cpp_source.xhtml#l00011">OptimizationViews::Validate()</a>.</p> |
| 653 | <div class="fragment"><div class="line"><a name="l00120"></a><span class="lineno"> 120</span> {</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keywordflow">return</span> m_InputSlots;</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span> }</div></div><!-- fragment --> |
| 654 | </div> |
| 655 | </div> |
| 656 | <a id="ac8ac9809196ec980b8472fbc8367697a"></a> |
| 657 | <h2 class="memtitle"><span class="permalink"><a href="#ac8ac9809196ec980b8472fbc8367697a">◆ </a></span>GetLayers()</h2> |
| 658 | |
| 659 | <div class="memitem"> |
| 660 | <div class="memproto"> |
| 661 | <table class="memname"> |
| 662 | <tr> |
| 663 | <td class="memname">const <a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a74798938fdaeae75c8adfa4a7439e7f9">SubgraphView::Layers</a> & GetLayers </td> |
| 664 | <td>(</td> |
| 665 | <td class="paramname"></td><td>)</td> |
| 666 | <td> const</td> |
| 667 | </tr> |
| 668 | </table> |
| 669 | </div><div class="memdoc"> |
| 670 | |
| 671 | <p class="definition">Definition at line <a class="el" href="_subgraph_view_8cpp_source.xhtml#l00159">159</a> of file <a class="el" href="_subgraph_view_8cpp_source.xhtml">SubgraphView.cpp</a>.</p> |
| 672 | |
| 673 | <p class="reference">Referenced by <a class="el" href="_subgraph_view_tests_8cpp_source.xhtml#l00413">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_mock_backend_8cpp_source.xhtml#l00134">MockBackend::OptimizeSubgraphView()</a>, <a class="el" href="_graph_8cpp_source.xhtml#l00404">Graph::SubstituteSubgraph()</a>, and <a class="el" href="_optimization_views_8cpp_source.xhtml#l00011">OptimizationViews::Validate()</a>.</p> |
| 674 | <div class="fragment"><div class="line"><a name="l00160"></a><span class="lineno"> 160</span> {</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="keywordflow">return</span> m_Layers;</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span> }</div></div><!-- fragment --> |
| 675 | </div> |
| 676 | </div> |
| 677 | <a id="a6cbf14f4d57ef2de2cfed9a903db1643"></a> |
| 678 | <h2 class="memtitle"><span class="permalink"><a href="#a6cbf14f4d57ef2de2cfed9a903db1643">◆ </a></span>GetNumInputSlots()</h2> |
| 679 | |
| 680 | <div class="memitem"> |
| 681 | <div class="memproto"> |
| 682 | <table class="memname"> |
| 683 | <tr> |
| 684 | <td class="memname">unsigned int GetNumInputSlots </td> |
| 685 | <td>(</td> |
| 686 | <td class="paramname"></td><td>)</td> |
| 687 | <td> const</td> |
| 688 | </tr> |
| 689 | </table> |
| 690 | </div><div class="memdoc"> |
| 691 | |
| 692 | <p class="definition">Definition at line <a class="el" href="_subgraph_view_8cpp_source.xhtml#l00149">149</a> of file <a class="el" href="_subgraph_view_8cpp_source.xhtml">SubgraphView.cpp</a>.</p> |
| 693 | |
| 694 | <p class="reference">References <a class="el" href="_numeric_cast_8hpp_source.xhtml#l00033">armnn::numeric_cast()</a>.</p> |
| 695 | <div class="fragment"><div class="line"><a name="l00150"></a><span class="lineno"> 150</span> {</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keywordflow">return</span> <a class="code" href="namespacearmnn.xhtml#a37fa39012e90d568df7f774cd6d1e956">boost::numeric_cast</a><<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>>(m_InputSlots.size());</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span> }</div><div class="ttc" id="namespacearmnn_xhtml_a37fa39012e90d568df7f774cd6d1e956"><div class="ttname"><a href="namespacearmnn.xhtml#a37fa39012e90d568df7f774cd6d1e956">armnn::numeric_cast</a></div><div class="ttdeci">std::enable_if_t< std::is_unsigned< Source >::value &&std::is_unsigned< Dest >::value, Dest > numeric_cast(Source source)</div><div class="ttdef"><b>Definition:</b> <a href="_numeric_cast_8hpp_source.xhtml#l00033">NumericCast.hpp:33</a></div></div> |
| 696 | </div><!-- fragment --> |
| 697 | </div> |
| 698 | </div> |
| 699 | <a id="a59a4100374e80a3504f4bb4d13695d0b"></a> |
| 700 | <h2 class="memtitle"><span class="permalink"><a href="#a59a4100374e80a3504f4bb4d13695d0b">◆ </a></span>GetNumOutputSlots()</h2> |
| 701 | |
| 702 | <div class="memitem"> |
| 703 | <div class="memproto"> |
| 704 | <table class="memname"> |
| 705 | <tr> |
| 706 | <td class="memname">unsigned int GetNumOutputSlots </td> |
| 707 | <td>(</td> |
| 708 | <td class="paramname"></td><td>)</td> |
| 709 | <td> const</td> |
| 710 | </tr> |
| 711 | </table> |
| 712 | </div><div class="memdoc"> |
| 713 | |
| 714 | <p class="definition">Definition at line <a class="el" href="_subgraph_view_8cpp_source.xhtml#l00154">154</a> of file <a class="el" href="_subgraph_view_8cpp_source.xhtml">SubgraphView.cpp</a>.</p> |
| 715 | |
| 716 | <p class="reference">References <a class="el" href="_numeric_cast_8hpp_source.xhtml#l00033">armnn::numeric_cast()</a>.</p> |
| 717 | <div class="fragment"><div class="line"><a name="l00155"></a><span class="lineno"> 155</span> {</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <span class="keywordflow">return</span> <a class="code" href="namespacearmnn.xhtml#a37fa39012e90d568df7f774cd6d1e956">boost::numeric_cast</a><<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span>>(m_OutputSlots.size());</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span> }</div><div class="ttc" id="namespacearmnn_xhtml_a37fa39012e90d568df7f774cd6d1e956"><div class="ttname"><a href="namespacearmnn.xhtml#a37fa39012e90d568df7f774cd6d1e956">armnn::numeric_cast</a></div><div class="ttdeci">std::enable_if_t< std::is_unsigned< Source >::value &&std::is_unsigned< Dest >::value, Dest > numeric_cast(Source source)</div><div class="ttdef"><b>Definition:</b> <a href="_numeric_cast_8hpp_source.xhtml#l00033">NumericCast.hpp:33</a></div></div> |
| 718 | </div><!-- fragment --> |
| 719 | </div> |
| 720 | </div> |
| 721 | <a id="a66fd1c3ee6399e0bef2de8a5b9a59592"></a> |
| 722 | <h2 class="memtitle"><span class="permalink"><a href="#a66fd1c3ee6399e0bef2de8a5b9a59592">◆ </a></span>GetOutputSlot() <span class="overload">[1/2]</span></h2> |
| 723 | |
| 724 | <div class="memitem"> |
| 725 | <div class="memproto"> |
| 726 | <table class="memname"> |
| 727 | <tr> |
| 728 | <td class="memname">const <a class="el" href="classarmnn_1_1_output_slot.xhtml">OutputSlot</a> * GetOutputSlot </td> |
| 729 | <td>(</td> |
| 730 | <td class="paramtype">unsigned int </td> |
| 731 | <td class="paramname"><em>index</em></td><td>)</td> |
| 732 | <td> const</td> |
| 733 | </tr> |
| 734 | </table> |
| 735 | </div><div class="memdoc"> |
| 736 | |
| 737 | <p class="definition">Definition at line <a class="el" href="_subgraph_view_8cpp_source.xhtml#l00139">139</a> of file <a class="el" href="_subgraph_view_8cpp_source.xhtml">SubgraphView.cpp</a>.</p> |
| 738 | <div class="fragment"><div class="line"><a name="l00140"></a><span class="lineno"> 140</span> {</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="keywordflow">return</span> m_OutputSlots.at(index);</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span> }</div></div><!-- fragment --> |
| 739 | </div> |
| 740 | </div> |
| 741 | <a id="a22a2f50137aef4f93fbdb57b6e029895"></a> |
| 742 | <h2 class="memtitle"><span class="permalink"><a href="#a22a2f50137aef4f93fbdb57b6e029895">◆ </a></span>GetOutputSlot() <span class="overload">[2/2]</span></h2> |
| 743 | |
| 744 | <div class="memitem"> |
| 745 | <div class="memproto"> |
| 746 | <table class="memname"> |
| 747 | <tr> |
| 748 | <td class="memname"><a class="el" href="classarmnn_1_1_output_slot.xhtml">OutputSlot</a> * GetOutputSlot </td> |
| 749 | <td>(</td> |
| 750 | <td class="paramtype">unsigned int </td> |
| 751 | <td class="paramname"><em>index</em></td><td>)</td> |
| 752 | <td></td> |
| 753 | </tr> |
| 754 | </table> |
| 755 | </div><div class="memdoc"> |
| 756 | |
| 757 | <p class="definition">Definition at line <a class="el" href="_subgraph_view_8cpp_source.xhtml#l00144">144</a> of file <a class="el" href="_subgraph_view_8cpp_source.xhtml">SubgraphView.cpp</a>.</p> |
| 758 | <div class="fragment"><div class="line"><a name="l00145"></a><span class="lineno"> 145</span> {</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="keywordflow">return</span> m_OutputSlots.at(index);</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span> }</div></div><!-- fragment --> |
| 759 | </div> |
| 760 | </div> |
| 761 | <a id="a4b924dd808b6a155518d552c7ef3728f"></a> |
| 762 | <h2 class="memtitle"><span class="permalink"><a href="#a4b924dd808b6a155518d552c7ef3728f">◆ </a></span>GetOutputSlots()</h2> |
| 763 | |
| 764 | <div class="memitem"> |
| 765 | <div class="memproto"> |
| 766 | <table class="memname"> |
| 767 | <tr> |
| 768 | <td class="memname">const <a class="el" href="classarmnn_1_1_subgraph_view.xhtml#a78293334750ec5279eb9c96d56deaf08">SubgraphView::OutputSlots</a> & GetOutputSlots </td> |
| 769 | <td>(</td> |
| 770 | <td class="paramname"></td><td>)</td> |
| 771 | <td> const</td> |
| 772 | </tr> |
| 773 | </table> |
| 774 | </div><div class="memdoc"> |
| 775 | |
| 776 | <p class="definition">Definition at line <a class="el" href="_subgraph_view_8cpp_source.xhtml#l00124">124</a> of file <a class="el" href="_subgraph_view_8cpp_source.xhtml">SubgraphView.cpp</a>.</p> |
| 777 | |
| 778 | <p class="reference">Referenced by <a class="el" href="_subgraph_view_tests_8cpp_source.xhtml#l00413">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_graph_8cpp_source.xhtml#l00404">Graph::SubstituteSubgraph()</a>, and <a class="el" href="_optimization_views_8cpp_source.xhtml#l00011">OptimizationViews::Validate()</a>.</p> |
| 779 | <div class="fragment"><div class="line"><a name="l00125"></a><span class="lineno"> 125</span> {</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="keywordflow">return</span> m_OutputSlots;</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span> }</div></div><!-- fragment --> |
| 780 | </div> |
| 781 | </div> |
| 782 | <a id="aae84cdbe05d87942f8ce0a2576c8a7c8"></a> |
| 783 | <h2 class="memtitle"><span class="permalink"><a href="#aae84cdbe05d87942f8ce0a2576c8a7c8">◆ </a></span>operator=()</h2> |
| 784 | |
| 785 | <div class="memitem"> |
| 786 | <div class="memproto"> |
| 787 | <table class="memname"> |
| 788 | <tr> |
| 789 | <td class="memname"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml">SubgraphView</a> & operator= </td> |
| 790 | <td>(</td> |
| 791 | <td class="paramtype"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml">SubgraphView</a> && </td> |
| 792 | <td class="paramname"><em>other</em></td><td>)</td> |
| 793 | <td></td> |
| 794 | </tr> |
| 795 | </table> |
| 796 | </div><div class="memdoc"> |
| 797 | |
| 798 | <p>Move-assignment operator. </p> |
| 799 | |
| 800 | <p class="definition">Definition at line <a class="el" href="_subgraph_view_8cpp_source.xhtml#l00096">96</a> of file <a class="el" href="_subgraph_view_8cpp_source.xhtml">SubgraphView.cpp</a>.</p> |
| 801 | <div class="fragment"><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> {</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  m_InputSlots = std::move(other.m_InputSlots);</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  m_OutputSlots = std::move(other.m_OutputSlots);</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  m_Layers = std::move(other.m_Layers);</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span> </div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  CheckSubgraph();</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span> </div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span> }</div></div><!-- fragment --> |
| 802 | </div> |
| 803 | </div> |
| 804 | <hr/>The documentation for this class was generated from the following files:<ul> |
| 805 | <li>src/armnn/<a class="el" href="_subgraph_view_8hpp_source.xhtml">SubgraphView.hpp</a></li> |
| 806 | <li>src/armnn/<a class="el" href="_subgraph_view_8cpp_source.xhtml">SubgraphView.cpp</a></li> |
| 807 | </ul> |
| 808 | </div><!-- contents --> |
| 809 | </div><!-- doc-content --> |
| 810 | <!-- start footer part --> |
| 811 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 812 | <ul> |
| 813 | <li class="navelem"><a class="el" href="namespacearmnn.xhtml">armnn</a></li><li class="navelem"><a class="el" href="classarmnn_1_1_subgraph_view.xhtml">SubgraphView</a></li> |
| 814 | <li class="footer">Generated on Fri Mar 13 2020 16:09:20 for ArmNN by |
| 815 | <a href="http://www.doxygen.org/index.html"> |
| 816 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 817 | </ul> |
| 818 | </div> |
| 819 | </body> |
| 820 | </html> |