Ryan OShea | de36e4a | 2020-03-13 16:26:19 +0000 | [diff] [blame] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 3 | <head> |
| 4 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| 6 | <meta name="generator" content="Doxygen 1.8.13"/> |
| 7 | <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| 8 | <title>ArmNN: OriginsDescriptor Struct Reference</title> |
| 9 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 10 | <script type="text/javascript" src="jquery.js"></script> |
| 11 | <script type="text/javascript" src="dynsections.js"></script> |
| 12 | <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| 13 | <script type="text/javascript" src="resize.js"></script> |
| 14 | <script type="text/javascript" src="navtreedata.js"></script> |
| 15 | <script type="text/javascript" src="navtree.js"></script> |
| 16 | <script type="text/javascript"> |
| 17 | $(document).ready(initResizable); |
| 18 | </script> |
| 19 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 20 | <script type="text/javascript" src="search/searchdata.js"></script> |
| 21 | <script type="text/javascript" src="search/search.js"></script> |
| 22 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 23 | </head> |
| 24 | <body> |
| 25 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 26 | <div id="titlearea"> |
| 27 | <table cellspacing="0" cellpadding="0"> |
| 28 | <tbody> |
| 29 | <tr style="height: 56px;"> |
| 30 | <td id="projectalign" style="padding-left: 0.5em;"> |
| 31 | <div id="projectname">ArmNN |
| 32 |  <span id="projectnumber">NotReleased</span> |
| 33 | </div> |
| 34 | </td> |
| 35 | </tr> |
| 36 | </tbody> |
| 37 | </table> |
| 38 | </div> |
| 39 | <!-- end header part --> |
| 40 | <!-- Generated by Doxygen 1.8.13 --> |
| 41 | <script type="text/javascript"> |
| 42 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 43 | </script> |
| 44 | <script type="text/javascript" src="menudata.js"></script> |
| 45 | <script type="text/javascript" src="menu.js"></script> |
| 46 | <script type="text/javascript"> |
| 47 | $(function() { |
| 48 | initMenu('',true,false,'search.php','Search'); |
| 49 | $(document).ready(function() { init_search(); }); |
| 50 | }); |
| 51 | </script> |
| 52 | <div id="main-nav"></div> |
| 53 | </div><!-- top --> |
| 54 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 55 | <div id="nav-tree"> |
| 56 | <div id="nav-tree-contents"> |
| 57 | <div id="nav-sync" class="sync"></div> |
| 58 | </div> |
| 59 | </div> |
| 60 | <div id="splitbar" style="-moz-user-select:none;" |
| 61 | class="ui-resizable-handle"> |
| 62 | </div> |
| 63 | </div> |
| 64 | <script type="text/javascript"> |
| 65 | $(document).ready(function(){initNavTree('structarmnn_1_1_origins_descriptor.html','');}); |
| 66 | </script> |
| 67 | <div id="doc-content"> |
| 68 | <!-- window showing the filter options --> |
| 69 | <div id="MSearchSelectWindow" |
| 70 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 71 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 72 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| 73 | </div> |
| 74 | |
| 75 | <!-- iframe showing the search results (closed by default) --> |
| 76 | <div id="MSearchResultsWindow"> |
| 77 | <iframe src="javascript:void(0)" frameborder="0" |
| 78 | name="MSearchResults" id="MSearchResults"> |
| 79 | </iframe> |
| 80 | </div> |
| 81 | |
| 82 | <div class="header"> |
| 83 | <div class="summary"> |
| 84 | <a href="#pub-methods">Public Member Functions</a> | |
| 85 | <a href="#friends">Friends</a> | |
| 86 | <a href="structarmnn_1_1_origins_descriptor-members.html">List of all members</a> </div> |
| 87 | <div class="headertitle"> |
| 88 | <div class="title">OriginsDescriptor Struct Reference</div> </div> |
| 89 | </div><!--header--> |
| 90 | <div class="contents"> |
| 91 | |
| 92 | <p>An <a class="el" href="structarmnn_1_1_origins_descriptor.html" title="An OriginsDescriptor for the ConcatLayer. Descriptor to configure the concatenation process...">OriginsDescriptor</a> for the <a class="el" href="classarmnn_1_1_concat_layer.html" title="This layer represents a merge operation. ">ConcatLayer</a>. Descriptor to configure the concatenation process. Number of views must be equal to the number of inputs, and their order must match - e.g. first view corresponds to the first input, second view to the second input, etc. |
| 93 | <a href="structarmnn_1_1_origins_descriptor.html#details">More...</a></p> |
| 94 | |
| 95 | <p><code>#include <<a class="el" href="_descriptors_8hpp_source.html">Descriptors.hpp</a>></code></p> |
| 96 | <table class="memberdecls"> |
| 97 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| 98 | Public Member Functions</h2></td></tr> |
| 99 | <tr class="memitem:a5a41cf9db1648399ac8c226101daf066"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_origins_descriptor.html#a5a41cf9db1648399ac8c226101daf066">OriginsDescriptor</a> ()</td></tr> |
| 100 | <tr class="separator:a5a41cf9db1648399ac8c226101daf066"><td class="memSeparator" colspan="2"> </td></tr> |
| 101 | <tr class="memitem:aa3451ee04c881166752622573dda6aab"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_origins_descriptor.html#aa3451ee04c881166752622573dda6aab">OriginsDescriptor</a> (uint32_t numViews, uint32_t numDimensions=4)</td></tr> |
| 102 | <tr class="separator:aa3451ee04c881166752622573dda6aab"><td class="memSeparator" colspan="2"> </td></tr> |
| 103 | <tr class="memitem:af4ceae391b359730261d998d65875c3a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_origins_descriptor.html#af4ceae391b359730261d998d65875c3a">OriginsDescriptor</a> (const <a class="el" href="structarmnn_1_1_origins_descriptor.html">OriginsDescriptor</a> &other)</td></tr> |
| 104 | <tr class="separator:af4ceae391b359730261d998d65875c3a"><td class="memSeparator" colspan="2"> </td></tr> |
| 105 | <tr class="memitem:af6d6f705cb02ec84c47737aff3745d6e"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_origins_descriptor.html#af6d6f705cb02ec84c47737aff3745d6e">OriginsDescriptor</a> (<a class="el" href="structarmnn_1_1_origins_descriptor.html">OriginsDescriptor</a> &&other)</td></tr> |
| 106 | <tr class="separator:af6d6f705cb02ec84c47737aff3745d6e"><td class="memSeparator" colspan="2"> </td></tr> |
| 107 | <tr class="memitem:aa507c5561373dbd58e149611a7f46470"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_origins_descriptor.html#aa507c5561373dbd58e149611a7f46470">~OriginsDescriptor</a> ()</td></tr> |
| 108 | <tr class="separator:aa507c5561373dbd58e149611a7f46470"><td class="memSeparator" colspan="2"> </td></tr> |
| 109 | <tr class="memitem:af714290740c651092629e45cf692fc1a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarmnn_1_1_origins_descriptor.html">OriginsDescriptor</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_origins_descriptor.html#af714290740c651092629e45cf692fc1a">operator=</a> (<a class="el" href="structarmnn_1_1_origins_descriptor.html">OriginsDescriptor</a> rhs)</td></tr> |
| 110 | <tr class="separator:af714290740c651092629e45cf692fc1a"><td class="memSeparator" colspan="2"> </td></tr> |
| 111 | <tr class="memitem:a1efc8be2c15fe67917c60041dc926701"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_origins_descriptor.html#a1efc8be2c15fe67917c60041dc926701">operator==</a> (const <a class="el" href="structarmnn_1_1_origins_descriptor.html">OriginsDescriptor</a> &rhs) const</td></tr> |
| 112 | <tr class="separator:a1efc8be2c15fe67917c60041dc926701"><td class="memSeparator" colspan="2"> </td></tr> |
| 113 | <tr class="memitem:a2b125117aa61f9baf3a9cb8658aa61a2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_origins_descriptor.html#a2b125117aa61f9baf3a9cb8658aa61a2">SetViewOriginCoord</a> (uint32_t view, uint32_t coord, uint32_t value)</td></tr> |
| 114 | <tr class="separator:a2b125117aa61f9baf3a9cb8658aa61a2"><td class="memSeparator" colspan="2"> </td></tr> |
| 115 | <tr class="memitem:a35546e7b56e6e972a495b48748478ede"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_origins_descriptor.html#a35546e7b56e6e972a495b48748478ede">GetNumViews</a> () const</td></tr> |
| 116 | <tr class="memdesc:a35546e7b56e6e972a495b48748478ede"><td class="mdescLeft"> </td><td class="mdescRight">Get the number of views. <a href="#a35546e7b56e6e972a495b48748478ede">More...</a><br /></td></tr> |
| 117 | <tr class="separator:a35546e7b56e6e972a495b48748478ede"><td class="memSeparator" colspan="2"> </td></tr> |
| 118 | <tr class="memitem:a78e8266be865fdd92cadd04d6e25ae1f"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_origins_descriptor.html#a78e8266be865fdd92cadd04d6e25ae1f">GetNumDimensions</a> () const</td></tr> |
| 119 | <tr class="memdesc:a78e8266be865fdd92cadd04d6e25ae1f"><td class="mdescLeft"> </td><td class="mdescRight">Get the number of dimensions. <a href="#a78e8266be865fdd92cadd04d6e25ae1f">More...</a><br /></td></tr> |
| 120 | <tr class="separator:a78e8266be865fdd92cadd04d6e25ae1f"><td class="memSeparator" colspan="2"> </td></tr> |
| 121 | <tr class="memitem:ab78e6fe963508c1ac5c00d04bb3361a3"><td class="memItemLeft" align="right" valign="top">const uint32_t * </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_origins_descriptor.html#ab78e6fe963508c1ac5c00d04bb3361a3">GetViewOrigin</a> (uint32_t idx) const</td></tr> |
| 122 | <tr class="memdesc:ab78e6fe963508c1ac5c00d04bb3361a3"><td class="mdescLeft"> </td><td class="mdescRight">Return the view origin at the int value idx. <a href="#ab78e6fe963508c1ac5c00d04bb3361a3">More...</a><br /></td></tr> |
| 123 | <tr class="separator:ab78e6fe963508c1ac5c00d04bb3361a3"><td class="memSeparator" colspan="2"> </td></tr> |
| 124 | <tr class="memitem:aae1f4844cfb511b5b3a25c6761483624"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_origins_descriptor.html#aae1f4844cfb511b5b3a25c6761483624">ReorderOrigins</a> (unsigned int *newOrdering, unsigned int numNewOrdering)</td></tr> |
| 125 | <tr class="memdesc:aae1f4844cfb511b5b3a25c6761483624"><td class="mdescLeft"> </td><td class="mdescRight">Reorders the viewOrigins in accordance with the indices presented in newOrdering array. The number of views must match number of elements in the new ordering array. <a href="#aae1f4844cfb511b5b3a25c6761483624">More...</a><br /></td></tr> |
| 126 | <tr class="separator:aae1f4844cfb511b5b3a25c6761483624"><td class="memSeparator" colspan="2"> </td></tr> |
| 127 | <tr class="memitem:a5b192c5fcd96a0f75542524cf646b355"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_origins_descriptor.html#a5b192c5fcd96a0f75542524cf646b355">SetConcatAxis</a> (unsigned int concatAxis)</td></tr> |
| 128 | <tr class="memdesc:a5b192c5fcd96a0f75542524cf646b355"><td class="mdescLeft"> </td><td class="mdescRight">Set the concatenation axis value. <a href="#a5b192c5fcd96a0f75542524cf646b355">More...</a><br /></td></tr> |
| 129 | <tr class="separator:a5b192c5fcd96a0f75542524cf646b355"><td class="memSeparator" colspan="2"> </td></tr> |
| 130 | <tr class="memitem:a379929e3b277f1ef94f3ce645870589d"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_origins_descriptor.html#a379929e3b277f1ef94f3ce645870589d">GetConcatAxis</a> () const</td></tr> |
| 131 | <tr class="memdesc:a379929e3b277f1ef94f3ce645870589d"><td class="mdescLeft"> </td><td class="mdescRight">Get the concatenation axis value. <a href="#a379929e3b277f1ef94f3ce645870589d">More...</a><br /></td></tr> |
| 132 | <tr class="separator:a379929e3b277f1ef94f3ce645870589d"><td class="memSeparator" colspan="2"> </td></tr> |
| 133 | </table><table class="memberdecls"> |
| 134 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a> |
| 135 | Friends</h2></td></tr> |
| 136 | <tr class="memitem:a0c0e7d9253dee85be237536cf1d7b0ac"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_origins_descriptor.html#a0c0e7d9253dee85be237536cf1d7b0ac">swap</a> (<a class="el" href="structarmnn_1_1_origins_descriptor.html">OriginsDescriptor</a> &first, <a class="el" href="structarmnn_1_1_origins_descriptor.html">OriginsDescriptor</a> &second)</td></tr> |
| 137 | <tr class="memdesc:a0c0e7d9253dee85be237536cf1d7b0ac"><td class="mdescLeft"> </td><td class="mdescRight">Swap the <a class="el" href="structarmnn_1_1_views_descriptor.html" title="A ViewsDescriptor for the SplitterLayer. Descriptor to configure the splitting process. Number of Views must be equal to the number of outputs, and their order must match - e.g. first view corresponds to the first output, second view to the second output, etc. ">ViewsDescriptor</a> values first and second. <a href="#a0c0e7d9253dee85be237536cf1d7b0ac">More...</a><br /></td></tr> |
| 138 | <tr class="separator:a0c0e7d9253dee85be237536cf1d7b0ac"><td class="memSeparator" colspan="2"> </td></tr> |
| 139 | </table> |
| 140 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 141 | <div class="textblock"><p>An <a class="el" href="structarmnn_1_1_origins_descriptor.html" title="An OriginsDescriptor for the ConcatLayer. Descriptor to configure the concatenation process...">OriginsDescriptor</a> for the <a class="el" href="classarmnn_1_1_concat_layer.html" title="This layer represents a merge operation. ">ConcatLayer</a>. Descriptor to configure the concatenation process. Number of views must be equal to the number of inputs, and their order must match - e.g. first view corresponds to the first input, second view to the second input, etc. </p> |
| 142 | |
| 143 | <p class="definition">Definition at line <a class="el" href="_descriptors_8hpp_source.html#l00147">147</a> of file <a class="el" href="_descriptors_8hpp_source.html">Descriptors.hpp</a>.</p> |
| 144 | </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| 145 | <a id="a5a41cf9db1648399ac8c226101daf066"></a> |
| 146 | <h2 class="memtitle"><span class="permalink"><a href="#a5a41cf9db1648399ac8c226101daf066">◆ </a></span>OriginsDescriptor() <span class="overload">[1/4]</span></h2> |
| 147 | |
| 148 | <div class="memitem"> |
| 149 | <div class="memproto"> |
| 150 | <table class="memname"> |
| 151 | <tr> |
| 152 | <td class="memname"><a class="el" href="structarmnn_1_1_origins_descriptor.html">OriginsDescriptor</a> </td> |
| 153 | <td>(</td> |
| 154 | <td class="paramname"></td><td>)</td> |
| 155 | <td></td> |
| 156 | </tr> |
| 157 | </table> |
| 158 | </div><div class="memdoc"> |
| 159 | |
| 160 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.html#l00074">74</a> of file <a class="el" href="_descriptors_8cpp_source.html">Descriptors.cpp</a>.</p> |
| 161 | <div class="fragment"><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> : m_ConcatAxis(1)</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> , m_NumViews(0)</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> , m_NumDimensions(0)</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> , m_ViewOrigins(<span class="keyword">nullptr</span>)</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> {}</div></div><!-- fragment --> |
| 162 | </div> |
| 163 | </div> |
| 164 | <a id="aa3451ee04c881166752622573dda6aab"></a> |
| 165 | <h2 class="memtitle"><span class="permalink"><a href="#aa3451ee04c881166752622573dda6aab">◆ </a></span>OriginsDescriptor() <span class="overload">[2/4]</span></h2> |
| 166 | |
| 167 | <div class="memitem"> |
| 168 | <div class="memproto"> |
| 169 | <table class="memname"> |
| 170 | <tr> |
| 171 | <td class="memname"><a class="el" href="structarmnn_1_1_origins_descriptor.html">OriginsDescriptor</a> </td> |
| 172 | <td>(</td> |
| 173 | <td class="paramtype">uint32_t </td> |
| 174 | <td class="paramname"><em>numViews</em>, </td> |
| 175 | </tr> |
| 176 | <tr> |
| 177 | <td class="paramkey"></td> |
| 178 | <td></td> |
| 179 | <td class="paramtype">uint32_t </td> |
| 180 | <td class="paramname"><em>numDimensions</em> = <code>4</code> </td> |
| 181 | </tr> |
| 182 | <tr> |
| 183 | <td></td> |
| 184 | <td>)</td> |
| 185 | <td></td><td></td> |
| 186 | </tr> |
| 187 | </table> |
| 188 | </div><div class="memdoc"> |
| 189 | |
| 190 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.html#l00081">81</a> of file <a class="el" href="_descriptors_8cpp_source.html">Descriptors.cpp</a>.</p> |
| 191 | <div class="fragment"><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> : m_ConcatAxis(1)</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span> , m_NumViews(numViews)</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> , m_NumDimensions(numDimensions)</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> , m_ViewOrigins(numViews && numDimensions > 0 ? <span class="keyword">new</span> uint32_t *[numViews]() : <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> {</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keywordflow">for</span> (uint32_t i = 0; m_NumDimensions > 0 && i < m_NumViews; ++i)</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  {</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  m_ViewOrigins[i] = <span class="keyword">new</span> uint32_t[m_NumDimensions]();</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  }</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> }</div></div><!-- fragment --> |
| 192 | </div> |
| 193 | </div> |
| 194 | <a id="af4ceae391b359730261d998d65875c3a"></a> |
| 195 | <h2 class="memtitle"><span class="permalink"><a href="#af4ceae391b359730261d998d65875c3a">◆ </a></span>OriginsDescriptor() <span class="overload">[3/4]</span></h2> |
| 196 | |
| 197 | <div class="memitem"> |
| 198 | <div class="memproto"> |
| 199 | <table class="memname"> |
| 200 | <tr> |
| 201 | <td class="memname"><a class="el" href="structarmnn_1_1_origins_descriptor.html">OriginsDescriptor</a> </td> |
| 202 | <td>(</td> |
| 203 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_origins_descriptor.html">OriginsDescriptor</a> & </td> |
| 204 | <td class="paramname"><em>other</em></td><td>)</td> |
| 205 | <td></td> |
| 206 | </tr> |
| 207 | </table> |
| 208 | </div><div class="memdoc"> |
| 209 | |
| 210 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.html#l00093">93</a> of file <a class="el" href="_descriptors_8cpp_source.html">Descriptors.cpp</a>.</p> |
| 211 | <div class="fragment"><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> : m_ConcatAxis(other.m_ConcatAxis)</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> , m_NumViews(other.m_NumViews)</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span> , m_NumDimensions(other.m_NumDimensions)</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> , m_ViewOrigins(other.m_NumViews && other.m_NumDimensions > 0 ? <span class="keyword">new</span> uint32_t *[other.m_NumViews]() : <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span> {</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keywordflow">for</span> (uint32_t i = 0; m_NumDimensions > 0 && i < m_NumViews; ++i)</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  {</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  m_ViewOrigins[i] = <span class="keyword">new</span> uint32_t[m_NumDimensions]();</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  memcpy(m_ViewOrigins[i], other.m_ViewOrigins[i], m_NumDimensions * <span class="keyword">sizeof</span>(uint32_t));</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> }</div></div><!-- fragment --> |
| 212 | </div> |
| 213 | </div> |
| 214 | <a id="af6d6f705cb02ec84c47737aff3745d6e"></a> |
| 215 | <h2 class="memtitle"><span class="permalink"><a href="#af6d6f705cb02ec84c47737aff3745d6e">◆ </a></span>OriginsDescriptor() <span class="overload">[4/4]</span></h2> |
| 216 | |
| 217 | <div class="memitem"> |
| 218 | <div class="memproto"> |
| 219 | <table class="memname"> |
| 220 | <tr> |
| 221 | <td class="memname"><a class="el" href="structarmnn_1_1_origins_descriptor.html">OriginsDescriptor</a> </td> |
| 222 | <td>(</td> |
| 223 | <td class="paramtype"><a class="el" href="structarmnn_1_1_origins_descriptor.html">OriginsDescriptor</a> && </td> |
| 224 | <td class="paramname"><em>other</em></td><td>)</td> |
| 225 | <td></td> |
| 226 | </tr> |
| 227 | </table> |
| 228 | </div><div class="memdoc"> |
| 229 | |
| 230 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.html#l00106">106</a> of file <a class="el" href="_descriptors_8cpp_source.html">Descriptors.cpp</a>.</p> |
| 231 | |
| 232 | <p class="reference">References <a class="el" href="_descriptors_8cpp_source.html#l00342">OriginsDescriptor::swap</a>.</p> |
| 233 | <div class="fragment"><div class="line"><a name="l00107"></a><span class="lineno"> 107</span> : <a class="code" href="structarmnn_1_1_origins_descriptor.html#a5a41cf9db1648399ac8c226101daf066">OriginsDescriptor</a>()</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span> {</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <a class="code" href="structarmnn_1_1_origins_descriptor.html#a0c0e7d9253dee85be237536cf1d7b0ac">swap</a>(*<span class="keyword">this</span>, other);</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> }</div><div class="ttc" id="structarmnn_1_1_origins_descriptor_html_a0c0e7d9253dee85be237536cf1d7b0ac"><div class="ttname"><a href="structarmnn_1_1_origins_descriptor.html#a0c0e7d9253dee85be237536cf1d7b0ac">armnn::OriginsDescriptor::swap</a></div><div class="ttdeci">friend void swap(OriginsDescriptor &first, OriginsDescriptor &second)</div><div class="ttdoc">Swap the ViewsDescriptor values first and second. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8cpp_source.html#l00342">Descriptors.cpp:342</a></div></div> |
| 234 | <div class="ttc" id="structarmnn_1_1_origins_descriptor_html_a5a41cf9db1648399ac8c226101daf066"><div class="ttname"><a href="structarmnn_1_1_origins_descriptor.html#a5a41cf9db1648399ac8c226101daf066">armnn::OriginsDescriptor::OriginsDescriptor</a></div><div class="ttdeci">OriginsDescriptor()</div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8cpp_source.html#l00074">Descriptors.cpp:74</a></div></div> |
| 235 | </div><!-- fragment --> |
| 236 | </div> |
| 237 | </div> |
| 238 | <a id="aa507c5561373dbd58e149611a7f46470"></a> |
| 239 | <h2 class="memtitle"><span class="permalink"><a href="#aa507c5561373dbd58e149611a7f46470">◆ </a></span>~OriginsDescriptor()</h2> |
| 240 | |
| 241 | <div class="memitem"> |
| 242 | <div class="memproto"> |
| 243 | <table class="memname"> |
| 244 | <tr> |
| 245 | <td class="memname">~<a class="el" href="structarmnn_1_1_origins_descriptor.html">OriginsDescriptor</a> </td> |
| 246 | <td>(</td> |
| 247 | <td class="paramname"></td><td>)</td> |
| 248 | <td></td> |
| 249 | </tr> |
| 250 | </table> |
| 251 | </div><div class="memdoc"> |
| 252 | |
| 253 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.html#l00112">112</a> of file <a class="el" href="_descriptors_8cpp_source.html">Descriptors.cpp</a>.</p> |
| 254 | <div class="fragment"><div class="line"><a name="l00113"></a><span class="lineno"> 113</span> {</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keywordflow">for</span> (uint32_t i = 0; m_NumDimensions > 0 && i < m_NumViews; ++i)</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  {</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keyword">delete</span>[] m_ViewOrigins[i];</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  }</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keyword">delete</span>[] m_ViewOrigins;</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span> }</div></div><!-- fragment --> |
| 255 | </div> |
| 256 | </div> |
| 257 | <h2 class="groupheader">Member Function Documentation</h2> |
| 258 | <a id="a379929e3b277f1ef94f3ce645870589d"></a> |
| 259 | <h2 class="memtitle"><span class="permalink"><a href="#a379929e3b277f1ef94f3ce645870589d">◆ </a></span>GetConcatAxis()</h2> |
| 260 | |
| 261 | <div class="memitem"> |
| 262 | <div class="memproto"> |
| 263 | <table class="memname"> |
| 264 | <tr> |
| 265 | <td class="memname">unsigned int GetConcatAxis </td> |
| 266 | <td>(</td> |
| 267 | <td class="paramname"></td><td>)</td> |
| 268 | <td> const</td> |
| 269 | </tr> |
| 270 | </table> |
| 271 | </div><div class="memdoc"> |
| 272 | |
| 273 | <p>Get the concatenation axis value. </p> |
| 274 | |
| 275 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.html#l00154">154</a> of file <a class="el" href="_descriptors_8cpp_source.html">Descriptors.cpp</a>.</p> |
| 276 | |
| 277 | <p class="reference">Referenced by <a class="el" href="_cl_layer_support_8cpp_source.html#l00247">ClLayerSupport::IsConcatSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.html#l00218">NeonLayerSupport::IsConcatSupported()</a>, <a class="el" href="_descriptors_8cpp_source.html#l00127">OriginsDescriptor::operator==()</a>, <a class="el" href="_serialize_layer_parameters_8cpp_source.html#l00152">StringifyLayerParameters< OriginsDescriptor >::Serialize()</a>, <a class="el" href="_serializer_8cpp_source.html#l00725">SerializerVisitor::VisitConcatLayer()</a>, and <a class="el" href="_serializer_8cpp_source.html#l01088">SerializerVisitor::VisitSplitterLayer()</a>.</p> |
| 278 | <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> m_ConcatAxis;</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span> }</div></div><!-- fragment --> |
| 279 | </div> |
| 280 | </div> |
| 281 | <a id="a78e8266be865fdd92cadd04d6e25ae1f"></a> |
| 282 | <h2 class="memtitle"><span class="permalink"><a href="#a78e8266be865fdd92cadd04d6e25ae1f">◆ </a></span>GetNumDimensions()</h2> |
| 283 | |
| 284 | <div class="memitem"> |
| 285 | <div class="memproto"> |
| 286 | <table class="memname"> |
| 287 | <tr> |
| 288 | <td class="memname">uint32_t GetNumDimensions </td> |
| 289 | <td>(</td> |
| 290 | <td class="paramname"></td><td>)</td> |
| 291 | <td> const</td> |
| 292 | </tr> |
| 293 | </table> |
| 294 | </div><div class="memdoc"> |
| 295 | |
| 296 | <p>Get the number of dimensions. </p> |
| 297 | |
| 298 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.html#l00184">184</a> of file <a class="el" href="_descriptors_8cpp_source.html">Descriptors.cpp</a>.</p> |
| 299 | |
| 300 | <p class="reference">Referenced by <a class="el" href="_concat_test_impl_8cpp_source.html#l00272">Concatenate()</a>, <a class="el" href="_concat_layer_8cpp_source.html#l00022">ConcatLayer::CreateWorkload()</a>, <a class="el" href="_descriptors_8cpp_source.html#l00292">ViewsDescriptor::GetNumDimensions()</a>, <a class="el" href="_concat_layer_8cpp_source.html#l00154">ConcatLayer::InferOutputShapes()</a>, <a class="el" href="_neon_layer_support_8cpp_source.html#l00218">NeonLayerSupport::IsConcatSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00247">ClLayerSupport::IsConcatSupported()</a>, <a class="el" href="_descriptors_8cpp_source.html#l00127">OriginsDescriptor::operator==()</a>, <a class="el" href="_parser_helper_8cpp_source.html#l00019">armnnUtils::ProcessConcatInputTensorInfo()</a>, <a class="el" href="_serialize_layer_parameters_8cpp_source.html#l00152">StringifyLayerParameters< OriginsDescriptor >::Serialize()</a>, <a class="el" href="_serializer_8cpp_source.html#l00725">SerializerVisitor::VisitConcatLayer()</a>, and <a class="el" href="_serializer_8cpp_source.html#l01088">SerializerVisitor::VisitSplitterLayer()</a>.</p> |
| 301 | <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> m_NumDimensions;</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span> }</div></div><!-- fragment --> |
| 302 | </div> |
| 303 | </div> |
| 304 | <a id="a35546e7b56e6e972a495b48748478ede"></a> |
| 305 | <h2 class="memtitle"><span class="permalink"><a href="#a35546e7b56e6e972a495b48748478ede">◆ </a></span>GetNumViews()</h2> |
| 306 | |
| 307 | <div class="memitem"> |
| 308 | <div class="memproto"> |
| 309 | <table class="memname"> |
| 310 | <tr> |
| 311 | <td class="memname">uint32_t GetNumViews </td> |
| 312 | <td>(</td> |
| 313 | <td class="paramname"></td><td>)</td> |
| 314 | <td> const</td> |
| 315 | </tr> |
| 316 | </table> |
| 317 | </div><div class="memdoc"> |
| 318 | |
| 319 | <p>Get the number of views. </p> |
| 320 | |
| 321 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.html#l00179">179</a> of file <a class="el" href="_descriptors_8cpp_source.html">Descriptors.cpp</a>.</p> |
| 322 | |
| 323 | <p class="reference">Referenced by <a class="el" href="_concat_test_impl_8cpp_source.html#l00272">Concatenate()</a>, <a class="el" href="_concat_layer_8cpp_source.html#l00022">ConcatLayer::CreateWorkload()</a>, <a class="el" href="_descriptors_8cpp_source.html#l00287">ViewsDescriptor::GetNumViews()</a>, <a class="el" href="_concat_layer_8cpp_source.html#l00154">ConcatLayer::InferOutputShapes()</a>, <a class="el" href="_descriptors_8cpp_source.html#l00127">OriginsDescriptor::operator==()</a>, <a class="el" href="_serialize_layer_parameters_8cpp_source.html#l00152">StringifyLayerParameters< OriginsDescriptor >::Serialize()</a>, <a class="el" href="_concat_layer_8cpp_source.html#l00244">ConcatLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_serializer_8cpp_source.html#l00725">SerializerVisitor::VisitConcatLayer()</a>, and <a class="el" href="_serializer_8cpp_source.html#l01088">SerializerVisitor::VisitSplitterLayer()</a>.</p> |
| 324 | <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_NumViews;</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span> }</div></div><!-- fragment --> |
| 325 | </div> |
| 326 | </div> |
| 327 | <a id="ab78e6fe963508c1ac5c00d04bb3361a3"></a> |
| 328 | <h2 class="memtitle"><span class="permalink"><a href="#ab78e6fe963508c1ac5c00d04bb3361a3">◆ </a></span>GetViewOrigin()</h2> |
| 329 | |
| 330 | <div class="memitem"> |
| 331 | <div class="memproto"> |
| 332 | <table class="memname"> |
| 333 | <tr> |
| 334 | <td class="memname">const uint32_t * GetViewOrigin </td> |
| 335 | <td>(</td> |
| 336 | <td class="paramtype">uint32_t </td> |
| 337 | <td class="paramname"><em>idx</em></td><td>)</td> |
| 338 | <td> const</td> |
| 339 | </tr> |
| 340 | </table> |
| 341 | </div><div class="memdoc"> |
| 342 | |
| 343 | <p>Return the view origin at the int value idx. </p> |
| 344 | |
| 345 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.html#l00189">189</a> of file <a class="el" href="_descriptors_8cpp_source.html">Descriptors.cpp</a>.</p> |
| 346 | |
| 347 | <p class="reference">Referenced by <a class="el" href="_tf_parser_8cpp_source.html#l02089">armnnTfParser::CalculatePaddedOutputTensorInfo()</a>, <a class="el" href="_concat_test_impl_8cpp_source.html#l00272">Concatenate()</a>, <a class="el" href="_concat_layer_8cpp_source.html#l00022">ConcatLayer::CreateWorkload()</a>, <a class="el" href="_descriptors_8cpp_source.html#l00297">ViewsDescriptor::GetViewOrigin()</a>, <a class="el" href="_concat_layer_8cpp_source.html#l00154">ConcatLayer::InferOutputShapes()</a>, <a class="el" href="_descriptors_8cpp_source.html#l00127">OriginsDescriptor::operator==()</a>, <a class="el" href="_serialize_layer_parameters_8cpp_source.html#l00152">StringifyLayerParameters< OriginsDescriptor >::Serialize()</a>, and <a class="el" href="_serializer_8cpp_source.html#l00725">SerializerVisitor::VisitConcatLayer()</a>.</p> |
| 348 | <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> m_ViewOrigins ? m_ViewOrigins[idx] : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span> }</div></div><!-- fragment --> |
| 349 | </div> |
| 350 | </div> |
| 351 | <a id="af714290740c651092629e45cf692fc1a"></a> |
| 352 | <h2 class="memtitle"><span class="permalink"><a href="#af714290740c651092629e45cf692fc1a">◆ </a></span>operator=()</h2> |
| 353 | |
| 354 | <div class="memitem"> |
| 355 | <div class="memproto"> |
| 356 | <table class="memname"> |
| 357 | <tr> |
| 358 | <td class="memname"><a class="el" href="structarmnn_1_1_origins_descriptor.html">OriginsDescriptor</a> & operator= </td> |
| 359 | <td>(</td> |
| 360 | <td class="paramtype"><a class="el" href="structarmnn_1_1_origins_descriptor.html">OriginsDescriptor</a> </td> |
| 361 | <td class="paramname"><em>rhs</em></td><td>)</td> |
| 362 | <td></td> |
| 363 | </tr> |
| 364 | </table> |
| 365 | </div><div class="memdoc"> |
| 366 | |
| 367 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.html#l00121">121</a> of file <a class="el" href="_descriptors_8cpp_source.html">Descriptors.cpp</a>.</p> |
| 368 | |
| 369 | <p class="reference">References <a class="el" href="_descriptors_8cpp_source.html#l00342">OriginsDescriptor::swap</a>.</p> |
| 370 | <div class="fragment"><div class="line"><a name="l00122"></a><span class="lineno"> 122</span> {</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <a class="code" href="structarmnn_1_1_origins_descriptor.html#a0c0e7d9253dee85be237536cf1d7b0ac">swap</a>(*<span class="keyword">this</span>, rhs);</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span> }</div><div class="ttc" id="structarmnn_1_1_origins_descriptor_html_a0c0e7d9253dee85be237536cf1d7b0ac"><div class="ttname"><a href="structarmnn_1_1_origins_descriptor.html#a0c0e7d9253dee85be237536cf1d7b0ac">armnn::OriginsDescriptor::swap</a></div><div class="ttdeci">friend void swap(OriginsDescriptor &first, OriginsDescriptor &second)</div><div class="ttdoc">Swap the ViewsDescriptor values first and second. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8cpp_source.html#l00342">Descriptors.cpp:342</a></div></div> |
| 371 | </div><!-- fragment --> |
| 372 | </div> |
| 373 | </div> |
| 374 | <a id="a1efc8be2c15fe67917c60041dc926701"></a> |
| 375 | <h2 class="memtitle"><span class="permalink"><a href="#a1efc8be2c15fe67917c60041dc926701">◆ </a></span>operator==()</h2> |
| 376 | |
| 377 | <div class="memitem"> |
| 378 | <div class="memproto"> |
| 379 | <table class="memname"> |
| 380 | <tr> |
| 381 | <td class="memname">bool operator== </td> |
| 382 | <td>(</td> |
| 383 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_origins_descriptor.html">OriginsDescriptor</a> & </td> |
| 384 | <td class="paramname"><em>rhs</em></td><td>)</td> |
| 385 | <td> const</td> |
| 386 | </tr> |
| 387 | </table> |
| 388 | </div><div class="memdoc"> |
| 389 | |
| 390 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.html#l00127">127</a> of file <a class="el" href="_descriptors_8cpp_source.html">Descriptors.cpp</a>.</p> |
| 391 | |
| 392 | <p class="reference">References <a class="el" href="_descriptors_8cpp_source.html#l00154">OriginsDescriptor::GetConcatAxis()</a>, <a class="el" href="_descriptors_8cpp_source.html#l00184">OriginsDescriptor::GetNumDimensions()</a>, <a class="el" href="_descriptors_8cpp_source.html#l00179">OriginsDescriptor::GetNumViews()</a>, and <a class="el" href="_descriptors_8cpp_source.html#l00189">OriginsDescriptor::GetViewOrigin()</a>.</p> |
| 393 | <div class="fragment"><div class="line"><a name="l00128"></a><span class="lineno"> 128</span> {</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <span class="keywordflow">if</span> (<a class="code" href="structarmnn_1_1_origins_descriptor.html#a35546e7b56e6e972a495b48748478ede">GetNumViews</a>() != rhs.GetNumViews() ||</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <a class="code" href="structarmnn_1_1_origins_descriptor.html#a78e8266be865fdd92cadd04d6e25ae1f">GetNumDimensions</a>() != rhs.GetNumDimensions() ||</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <a class="code" href="structarmnn_1_1_origins_descriptor.html#a379929e3b277f1ef94f3ce645870589d">GetConcatAxis</a>() != rhs.GetConcatAxis())</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  {</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  }</div><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">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0u; i < <a class="code" href="structarmnn_1_1_origins_descriptor.html#a35546e7b56e6e972a495b48748478ede">GetNumViews</a>(); ++i)</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  {</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> j = 0u; j < <a class="code" href="structarmnn_1_1_origins_descriptor.html#a78e8266be865fdd92cadd04d6e25ae1f">GetNumDimensions</a>(); ++j)</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  {</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="keywordflow">if</span> (<a class="code" href="structarmnn_1_1_origins_descriptor.html#ab78e6fe963508c1ac5c00d04bb3361a3">GetViewOrigin</a>(i)[j] != rhs.GetViewOrigin(i)[j])</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  {</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  }</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  }</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  }</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span> </div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span> }</div><div class="ttc" id="structarmnn_1_1_origins_descriptor_html_ab78e6fe963508c1ac5c00d04bb3361a3"><div class="ttname"><a href="structarmnn_1_1_origins_descriptor.html#ab78e6fe963508c1ac5c00d04bb3361a3">armnn::OriginsDescriptor::GetViewOrigin</a></div><div class="ttdeci">const uint32_t * GetViewOrigin(uint32_t idx) const</div><div class="ttdoc">Return the view origin at the int value idx. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8cpp_source.html#l00189">Descriptors.cpp:189</a></div></div> |
| 394 | <div class="ttc" id="structarmnn_1_1_origins_descriptor_html_a35546e7b56e6e972a495b48748478ede"><div class="ttname"><a href="structarmnn_1_1_origins_descriptor.html#a35546e7b56e6e972a495b48748478ede">armnn::OriginsDescriptor::GetNumViews</a></div><div class="ttdeci">uint32_t GetNumViews() const</div><div class="ttdoc">Get the number of views. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8cpp_source.html#l00179">Descriptors.cpp:179</a></div></div> |
| 395 | <div class="ttc" id="structarmnn_1_1_origins_descriptor_html_a78e8266be865fdd92cadd04d6e25ae1f"><div class="ttname"><a href="structarmnn_1_1_origins_descriptor.html#a78e8266be865fdd92cadd04d6e25ae1f">armnn::OriginsDescriptor::GetNumDimensions</a></div><div class="ttdeci">uint32_t GetNumDimensions() const</div><div class="ttdoc">Get the number of dimensions. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8cpp_source.html#l00184">Descriptors.cpp:184</a></div></div> |
| 396 | <div class="ttc" id="structarmnn_1_1_origins_descriptor_html_a379929e3b277f1ef94f3ce645870589d"><div class="ttname"><a href="structarmnn_1_1_origins_descriptor.html#a379929e3b277f1ef94f3ce645870589d">armnn::OriginsDescriptor::GetConcatAxis</a></div><div class="ttdeci">unsigned int GetConcatAxis() const</div><div class="ttdoc">Get the concatenation axis value. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8cpp_source.html#l00154">Descriptors.cpp:154</a></div></div> |
| 397 | </div><!-- fragment --> |
| 398 | </div> |
| 399 | </div> |
| 400 | <a id="aae1f4844cfb511b5b3a25c6761483624"></a> |
| 401 | <h2 class="memtitle"><span class="permalink"><a href="#aae1f4844cfb511b5b3a25c6761483624">◆ </a></span>ReorderOrigins()</h2> |
| 402 | |
| 403 | <div class="memitem"> |
| 404 | <div class="memproto"> |
| 405 | <table class="memname"> |
| 406 | <tr> |
| 407 | <td class="memname">void ReorderOrigins </td> |
| 408 | <td>(</td> |
| 409 | <td class="paramtype">unsigned int * </td> |
| 410 | <td class="paramname"><em>newOrdering</em>, </td> |
| 411 | </tr> |
| 412 | <tr> |
| 413 | <td class="paramkey"></td> |
| 414 | <td></td> |
| 415 | <td class="paramtype">unsigned int </td> |
| 416 | <td class="paramname"><em>numNewOrdering</em> </td> |
| 417 | </tr> |
| 418 | <tr> |
| 419 | <td></td> |
| 420 | <td>)</td> |
| 421 | <td></td><td></td> |
| 422 | </tr> |
| 423 | </table> |
| 424 | </div><div class="memdoc"> |
| 425 | |
| 426 | <p>Reorders the viewOrigins in accordance with the indices presented in newOrdering array. The number of views must match number of elements in the new ordering array. </p> |
| 427 | |
| 428 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.html#l00196">196</a> of file <a class="el" href="_descriptors_8cpp_source.html">Descriptors.cpp</a>.</p> |
| 429 | <div class="fragment"><div class="line"><a name="l00197"></a><span class="lineno"> 197</span> {</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  BOOST_ASSERT_MSG(m_NumViews == numNewOrdering, <span class="stringliteral">"number of views must match number of "</span></div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <span class="stringliteral">"elements in the new ordering array"</span>);</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  std::vector<uint32_t*> viewOrigins(&m_ViewOrigins[0], &m_ViewOrigins[m_NumViews]);</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span> </div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < numNewOrdering; ++i)</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  {</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  m_ViewOrigins[i] = viewOrigins[newOrdering[i]];</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  }</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span> }</div></div><!-- fragment --> |
| 430 | </div> |
| 431 | </div> |
| 432 | <a id="a5b192c5fcd96a0f75542524cf646b355"></a> |
| 433 | <h2 class="memtitle"><span class="permalink"><a href="#a5b192c5fcd96a0f75542524cf646b355">◆ </a></span>SetConcatAxis()</h2> |
| 434 | |
| 435 | <div class="memitem"> |
| 436 | <div class="memproto"> |
| 437 | <table class="memname"> |
| 438 | <tr> |
| 439 | <td class="memname">void SetConcatAxis </td> |
| 440 | <td>(</td> |
| 441 | <td class="paramtype">unsigned int </td> |
| 442 | <td class="paramname"><em>concatAxis</em></td><td>)</td> |
| 443 | <td></td> |
| 444 | </tr> |
| 445 | </table> |
| 446 | </div><div class="memdoc"> |
| 447 | |
| 448 | <p>Set the concatenation axis value. </p> |
| 449 | |
| 450 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.html#l00150">150</a> of file <a class="el" href="_descriptors_8cpp_source.html">Descriptors.cpp</a>.</p> |
| 451 | |
| 452 | <p class="reference">Referenced by <a class="el" href="_tf_parser_8cpp_source.html#l02089">armnnTfParser::CalculatePaddedOutputTensorInfo()</a>, <a class="el" href="_descriptors_8hpp_source.html#l00242">armnn::CreateDescriptorForConcatenation()</a>, and <a class="el" href="_tf_lite_parser_8cpp_source.html#l01901">TfLiteParser::OutputShapeOfReshape()</a>.</p> |
| 453 | <div class="fragment"><div class="line"><a name="l00151"></a><span class="lineno"> 151</span> {</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  m_ConcatAxis = concatAxis;</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span> }</div></div><!-- fragment --> |
| 454 | </div> |
| 455 | </div> |
| 456 | <a id="a2b125117aa61f9baf3a9cb8658aa61a2"></a> |
| 457 | <h2 class="memtitle"><span class="permalink"><a href="#a2b125117aa61f9baf3a9cb8658aa61a2">◆ </a></span>SetViewOriginCoord()</h2> |
| 458 | |
| 459 | <div class="memitem"> |
| 460 | <div class="memproto"> |
| 461 | <table class="memname"> |
| 462 | <tr> |
| 463 | <td class="memname"><a class="el" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> SetViewOriginCoord </td> |
| 464 | <td>(</td> |
| 465 | <td class="paramtype">uint32_t </td> |
| 466 | <td class="paramname"><em>view</em>, </td> |
| 467 | </tr> |
| 468 | <tr> |
| 469 | <td class="paramkey"></td> |
| 470 | <td></td> |
| 471 | <td class="paramtype">uint32_t </td> |
| 472 | <td class="paramname"><em>coord</em>, </td> |
| 473 | </tr> |
| 474 | <tr> |
| 475 | <td class="paramkey"></td> |
| 476 | <td></td> |
| 477 | <td class="paramtype">uint32_t </td> |
| 478 | <td class="paramname"><em>value</em> </td> |
| 479 | </tr> |
| 480 | <tr> |
| 481 | <td></td> |
| 482 | <td>)</td> |
| 483 | <td></td><td></td> |
| 484 | </tr> |
| 485 | </table> |
| 486 | </div><div class="memdoc"> |
| 487 | <p>Set the view origin coordinates. The arguments are: view, dimension, value. If the view is greater than or equal to <a class="el" href="structarmnn_1_1_origins_descriptor.html#a35546e7b56e6e972a495b48748478ede" title="Get the number of views. ">GetNumViews()</a>, then the view argument is out of range. If the coord is greater than or equal to <a class="el" href="structarmnn_1_1_origins_descriptor.html#a78e8266be865fdd92cadd04d6e25ae1f" title="Get the number of dimensions. ">GetNumDimensions()</a>, then the coord argument is out of range. </p> |
| 488 | |
| 489 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.html#l00159">159</a> of file <a class="el" href="_descriptors_8cpp_source.html">Descriptors.cpp</a>.</p> |
| 490 | |
| 491 | <p class="reference">References <a class="el" href="_logging_8hpp_source.html#l00163">ARMNN_LOG</a>, <a class="el" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acb5e100e5a9a3e7f6d1fd97512215282">armnn::error</a>, <a class="el" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70bae139a585510a502bbf1841cf589f5086">armnn::Failure</a>, and <a class="el" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba505a83f220c02df2f85c3810cd9ceb38">armnn::Success</a>.</p> |
| 492 | |
| 493 | <p class="reference">Referenced by <a class="el" href="_caffe_parser_8cpp_source.html#l00419">CaffeParserBase::AddConvLayerWithSplits()</a>, <a class="el" href="_tf_parser_8cpp_source.html#l02089">armnnTfParser::CalculatePaddedOutputTensorInfo()</a>, <a class="el" href="_descriptors_8hpp_source.html#l00242">armnn::CreateDescriptorForConcatenation()</a>, <a class="el" href="_caffe_parser_8cpp_source.html#l01277">CaffeParserBase::ParseConcatLayer()</a>, <a class="el" href="_parser_helper_8cpp_source.html#l00019">armnnUtils::ProcessConcatInputTensorInfo()</a>, and <a class="el" href="_descriptors_8cpp_source.html#l00302">ViewsDescriptor::SetViewOriginCoord()</a>.</p> |
| 494 | <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">if</span> (view >= m_NumViews)</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  {</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <a class="code" href="_logging_8hpp.html#a7b6ad073975f437ec38ca7d20154727f">ARMNN_LOG</a>(<a class="code" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acb5e100e5a9a3e7f6d1fd97512215282">error</a>) << <span class="stringliteral">"OriginsDescriptor::SetViewOriginCoord: view argument:"</span> << view <<</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <span class="stringliteral">" is out of range"</span>;</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <span class="keywordflow">return</span> <a class="code" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70bae139a585510a502bbf1841cf589f5086">Status::Failure</a>;</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  }</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keywordflow">if</span> (coord >= m_NumDimensions)</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  {</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <a class="code" href="_logging_8hpp.html#a7b6ad073975f437ec38ca7d20154727f">ARMNN_LOG</a>(<a class="code" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acb5e100e5a9a3e7f6d1fd97512215282">error</a>) << <span class="stringliteral">"OriginsDescriptor::SetViewOriginCoord: coord argument:"</span> << coord <<</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <span class="stringliteral">" is out of range"</span>;</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="keywordflow">return</span> <a class="code" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70bae139a585510a502bbf1841cf589f5086">Status::Failure</a>;</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  }</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span> </div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  m_ViewOrigins[view][coord] = value;</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <span class="keywordflow">return</span> <a class="code" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba505a83f220c02df2f85c3810cd9ceb38">Status::Success</a>;</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span> }</div><div class="ttc" id="namespacearmnn_html_a67a0db04d321a74b7e7fcfd3f1a3f70ba505a83f220c02df2f85c3810cd9ceb38"><div class="ttname"><a href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba505a83f220c02df2f85c3810cd9ceb38">armnn::Status::Success</a></div></div> |
| 495 | <div class="ttc" id="_logging_8hpp_html_a7b6ad073975f437ec38ca7d20154727f"><div class="ttname"><a href="_logging_8hpp.html#a7b6ad073975f437ec38ca7d20154727f">ARMNN_LOG</a></div><div class="ttdeci">#define ARMNN_LOG(severity)</div><div class="ttdef"><b>Definition:</b> <a href="_logging_8hpp_source.html#l00163">Logging.hpp:163</a></div></div> |
| 496 | <div class="ttc" id="namespacearmnn_html_a4dc0adc6737b5944e7671bee71788407acb5e100e5a9a3e7f6d1fd97512215282"><div class="ttname"><a href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acb5e100e5a9a3e7f6d1fd97512215282">armnn::BoostLogSeverityMapping::error</a></div></div> |
| 497 | <div class="ttc" id="namespacearmnn_html_a67a0db04d321a74b7e7fcfd3f1a3f70bae139a585510a502bbf1841cf589f5086"><div class="ttname"><a href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70bae139a585510a502bbf1841cf589f5086">armnn::Status::Failure</a></div></div> |
| 498 | </div><!-- fragment --> |
| 499 | </div> |
| 500 | </div> |
| 501 | <h2 class="groupheader">Friends And Related Function Documentation</h2> |
| 502 | <a id="a0c0e7d9253dee85be237536cf1d7b0ac"></a> |
| 503 | <h2 class="memtitle"><span class="permalink"><a href="#a0c0e7d9253dee85be237536cf1d7b0ac">◆ </a></span>swap</h2> |
| 504 | |
| 505 | <div class="memitem"> |
| 506 | <div class="memproto"> |
| 507 | <table class="mlabels"> |
| 508 | <tr> |
| 509 | <td class="mlabels-left"> |
| 510 | <table class="memname"> |
| 511 | <tr> |
| 512 | <td class="memname">void swap </td> |
| 513 | <td>(</td> |
| 514 | <td class="paramtype"><a class="el" href="structarmnn_1_1_origins_descriptor.html">OriginsDescriptor</a> & </td> |
| 515 | <td class="paramname"><em>first</em>, </td> |
| 516 | </tr> |
| 517 | <tr> |
| 518 | <td class="paramkey"></td> |
| 519 | <td></td> |
| 520 | <td class="paramtype"><a class="el" href="structarmnn_1_1_origins_descriptor.html">OriginsDescriptor</a> & </td> |
| 521 | <td class="paramname"><em>second</em> </td> |
| 522 | </tr> |
| 523 | <tr> |
| 524 | <td></td> |
| 525 | <td>)</td> |
| 526 | <td></td><td></td> |
| 527 | </tr> |
| 528 | </table> |
| 529 | </td> |
| 530 | <td class="mlabels-right"> |
| 531 | <span class="mlabels"><span class="mlabel">friend</span></span> </td> |
| 532 | </tr> |
| 533 | </table> |
| 534 | </div><div class="memdoc"> |
| 535 | |
| 536 | <p>Swap the <a class="el" href="structarmnn_1_1_views_descriptor.html" title="A ViewsDescriptor for the SplitterLayer. Descriptor to configure the splitting process. Number of Views must be equal to the number of outputs, and their order must match - e.g. first view corresponds to the first output, second view to the second output, etc. ">ViewsDescriptor</a> values first and second. </p> |
| 537 | |
| 538 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.html#l00342">342</a> of file <a class="el" href="_descriptors_8cpp_source.html">Descriptors.cpp</a>.</p> |
| 539 | |
| 540 | <p class="reference">Referenced by <a class="el" href="_descriptors_8cpp_source.html#l00121">OriginsDescriptor::operator=()</a>, and <a class="el" href="_descriptors_8cpp_source.html#l00106">OriginsDescriptor::OriginsDescriptor()</a>.</p> |
| 541 | <div class="fragment"><div class="line"><a name="l00343"></a><span class="lineno"> 343</span> {</div><div class="line"><a name="l00344"></a><span class="lineno"> 344</span>  <span class="keyword">using</span> <a class="code" href="namespacearmnn.html#a686b8288a04b3ffff67d560eea53f6be">std::swap</a>;</div><div class="line"><a name="l00345"></a><span class="lineno"> 345</span>  <a class="code" href="structarmnn_1_1_origins_descriptor.html#a0c0e7d9253dee85be237536cf1d7b0ac">swap</a>(first.m_NumViews, second.m_NumViews);</div><div class="line"><a name="l00346"></a><span class="lineno"> 346</span>  <a class="code" href="structarmnn_1_1_origins_descriptor.html#a0c0e7d9253dee85be237536cf1d7b0ac">swap</a>(first.m_NumDimensions, second.m_NumDimensions);</div><div class="line"><a name="l00347"></a><span class="lineno"> 347</span>  <a class="code" href="structarmnn_1_1_origins_descriptor.html#a0c0e7d9253dee85be237536cf1d7b0ac">swap</a>(first.m_ViewOrigins, second.m_ViewOrigins);</div><div class="line"><a name="l00348"></a><span class="lineno"> 348</span>  <a class="code" href="structarmnn_1_1_origins_descriptor.html#a0c0e7d9253dee85be237536cf1d7b0ac">swap</a>(first.m_ConcatAxis, second.m_ConcatAxis);</div><div class="line"><a name="l00349"></a><span class="lineno"> 349</span> }</div><div class="ttc" id="structarmnn_1_1_origins_descriptor_html_a0c0e7d9253dee85be237536cf1d7b0ac"><div class="ttname"><a href="structarmnn_1_1_origins_descriptor.html#a0c0e7d9253dee85be237536cf1d7b0ac">armnn::OriginsDescriptor::swap</a></div><div class="ttdeci">friend void swap(OriginsDescriptor &first, OriginsDescriptor &second)</div><div class="ttdoc">Swap the ViewsDescriptor values first and second. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8cpp_source.html#l00342">Descriptors.cpp:342</a></div></div> |
| 542 | <div class="ttc" id="namespacearmnn_html_a686b8288a04b3ffff67d560eea53f6be"><div class="ttname"><a href="namespacearmnn.html#a686b8288a04b3ffff67d560eea53f6be">armnn::swap</a></div><div class="ttdeci">void swap(ViewsDescriptor &first, ViewsDescriptor &second)</div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8cpp_source.html#l00351">Descriptors.cpp:351</a></div></div> |
| 543 | </div><!-- fragment --> |
| 544 | </div> |
| 545 | </div> |
| 546 | <hr/>The documentation for this struct was generated from the following files:<ul> |
| 547 | <li>include/armnn/<a class="el" href="_descriptors_8hpp_source.html">Descriptors.hpp</a></li> |
| 548 | <li>src/armnn/<a class="el" href="_descriptors_8cpp_source.html">Descriptors.cpp</a></li> |
| 549 | </ul> |
| 550 | </div><!-- contents --> |
| 551 | </div><!-- doc-content --> |
| 552 | <!-- start footer part --> |
| 553 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 554 | <ul> |
| 555 | <li class="navelem"><a class="el" href="namespacearmnn.html">armnn</a></li><li class="navelem"><a class="el" href="structarmnn_1_1_origins_descriptor.html">OriginsDescriptor</a></li> |
| 556 | <li class="footer">Generated on Fri Mar 13 2020 16:07:04 for ArmNN by |
| 557 | <a href="http://www.doxygen.org/index.html"> |
| 558 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 559 | </ul> |
| 560 | </div> |
| 561 | </body> |
| 562 | </html> |