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: OriginsDescriptor Struct 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('structarmnn_1_1_origins_descriptor.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-methods">Public Member Functions</a> | |
| 99 | <a href="#friends">Friends</a> | |
| 100 | <a href="structarmnn_1_1_origins_descriptor-members.xhtml">List of all members</a> </div> |
| 101 | <div class="headertitle"> |
| 102 | <div class="title">OriginsDescriptor Struct Reference</div> </div> |
| 103 | </div><!--header--> |
| 104 | <div class="contents"> |
| 105 | |
| 106 | <p>An <a class="el" href="structarmnn_1_1_origins_descriptor.xhtml" title="An OriginsDescriptor for the ConcatLayer. ">OriginsDescriptor</a> for the <a class="el" href="classarmnn_1_1_concat_layer.xhtml" title="This layer represents a merge operation. ">ConcatLayer</a>. |
| 107 | <a href="structarmnn_1_1_origins_descriptor.xhtml#details">More...</a></p> |
| 108 | |
| 109 | <p><code>#include <<a class="el" href="_descriptors_8hpp_source.xhtml">Descriptors.hpp</a>></code></p> |
| 110 | <table class="memberdecls"> |
| 111 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| 112 | Public Member Functions</h2></td></tr> |
| 113 | <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.xhtml#a5a41cf9db1648399ac8c226101daf066">OriginsDescriptor</a> ()</td></tr> |
| 114 | <tr class="separator:a5a41cf9db1648399ac8c226101daf066"><td class="memSeparator" colspan="2"> </td></tr> |
| 115 | <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.xhtml#aa3451ee04c881166752622573dda6aab">OriginsDescriptor</a> (uint32_t numViews, uint32_t numDimensions=4)</td></tr> |
| 116 | <tr class="separator:aa3451ee04c881166752622573dda6aab"><td class="memSeparator" colspan="2"> </td></tr> |
| 117 | <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.xhtml#af4ceae391b359730261d998d65875c3a">OriginsDescriptor</a> (const <a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> &other)</td></tr> |
| 118 | <tr class="separator:af4ceae391b359730261d998d65875c3a"><td class="memSeparator" colspan="2"> </td></tr> |
| 119 | <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.xhtml#af6d6f705cb02ec84c47737aff3745d6e">OriginsDescriptor</a> (<a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> &&other)</td></tr> |
| 120 | <tr class="separator:af6d6f705cb02ec84c47737aff3745d6e"><td class="memSeparator" colspan="2"> </td></tr> |
| 121 | <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.xhtml#aa507c5561373dbd58e149611a7f46470">~OriginsDescriptor</a> ()</td></tr> |
| 122 | <tr class="separator:aa507c5561373dbd58e149611a7f46470"><td class="memSeparator" colspan="2"> </td></tr> |
| 123 | <tr class="memitem:af714290740c651092629e45cf692fc1a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml#af714290740c651092629e45cf692fc1a">operator=</a> (<a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> rhs)</td></tr> |
| 124 | <tr class="separator:af714290740c651092629e45cf692fc1a"><td class="memSeparator" colspan="2"> </td></tr> |
| 125 | <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.xhtml#a1efc8be2c15fe67917c60041dc926701">operator==</a> (const <a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> &rhs) const</td></tr> |
| 126 | <tr class="separator:a1efc8be2c15fe67917c60041dc926701"><td class="memSeparator" colspan="2"> </td></tr> |
| 127 | <tr class="memitem:a2b125117aa61f9baf3a9cb8658aa61a2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn.xhtml#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml#a2b125117aa61f9baf3a9cb8658aa61a2">SetViewOriginCoord</a> (uint32_t view, uint32_t coord, uint32_t value)</td></tr> |
| 128 | <tr class="memdesc:a2b125117aa61f9baf3a9cb8658aa61a2"><td class="mdescLeft"> </td><td class="mdescRight">Set the view origin coordinates. <a href="#a2b125117aa61f9baf3a9cb8658aa61a2">More...</a><br /></td></tr> |
| 129 | <tr class="separator:a2b125117aa61f9baf3a9cb8658aa61a2"><td class="memSeparator" colspan="2"> </td></tr> |
| 130 | <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.xhtml#a35546e7b56e6e972a495b48748478ede">GetNumViews</a> () const</td></tr> |
| 131 | <tr class="memdesc:a35546e7b56e6e972a495b48748478ede"><td class="mdescLeft"> </td><td class="mdescRight">Get the number of views. <a href="#a35546e7b56e6e972a495b48748478ede">More...</a><br /></td></tr> |
| 132 | <tr class="separator:a35546e7b56e6e972a495b48748478ede"><td class="memSeparator" colspan="2"> </td></tr> |
| 133 | <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.xhtml#a78e8266be865fdd92cadd04d6e25ae1f">GetNumDimensions</a> () const</td></tr> |
| 134 | <tr class="memdesc:a78e8266be865fdd92cadd04d6e25ae1f"><td class="mdescLeft"> </td><td class="mdescRight">Get the number of dimensions. <a href="#a78e8266be865fdd92cadd04d6e25ae1f">More...</a><br /></td></tr> |
| 135 | <tr class="separator:a78e8266be865fdd92cadd04d6e25ae1f"><td class="memSeparator" colspan="2"> </td></tr> |
| 136 | <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.xhtml#ab78e6fe963508c1ac5c00d04bb3361a3">GetViewOrigin</a> (uint32_t idx) const</td></tr> |
| 137 | <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> |
| 138 | <tr class="separator:ab78e6fe963508c1ac5c00d04bb3361a3"><td class="memSeparator" colspan="2"> </td></tr> |
| 139 | <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.xhtml#aae1f4844cfb511b5b3a25c6761483624">ReorderOrigins</a> (unsigned int *newOrdering, unsigned int numNewOrdering)</td></tr> |
| 140 | <tr class="memdesc:aae1f4844cfb511b5b3a25c6761483624"><td class="mdescLeft"> </td><td class="mdescRight">Reorders the viewOrigins in accordance with the indices presented in newOrdering array. <a href="#aae1f4844cfb511b5b3a25c6761483624">More...</a><br /></td></tr> |
| 141 | <tr class="separator:aae1f4844cfb511b5b3a25c6761483624"><td class="memSeparator" colspan="2"> </td></tr> |
| 142 | <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.xhtml#a5b192c5fcd96a0f75542524cf646b355">SetConcatAxis</a> (unsigned int concatAxis)</td></tr> |
| 143 | <tr class="memdesc:a5b192c5fcd96a0f75542524cf646b355"><td class="mdescLeft"> </td><td class="mdescRight">Set the concatenation axis value. <a href="#a5b192c5fcd96a0f75542524cf646b355">More...</a><br /></td></tr> |
| 144 | <tr class="separator:a5b192c5fcd96a0f75542524cf646b355"><td class="memSeparator" colspan="2"> </td></tr> |
| 145 | <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.xhtml#a379929e3b277f1ef94f3ce645870589d">GetConcatAxis</a> () const</td></tr> |
| 146 | <tr class="memdesc:a379929e3b277f1ef94f3ce645870589d"><td class="mdescLeft"> </td><td class="mdescRight">Get the concatenation axis value. <a href="#a379929e3b277f1ef94f3ce645870589d">More...</a><br /></td></tr> |
| 147 | <tr class="separator:a379929e3b277f1ef94f3ce645870589d"><td class="memSeparator" colspan="2"> </td></tr> |
| 148 | </table><table class="memberdecls"> |
| 149 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a> |
| 150 | Friends</h2></td></tr> |
| 151 | <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.xhtml#a0c0e7d9253dee85be237536cf1d7b0ac">swap</a> (<a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> &first, <a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> &second)</td></tr> |
| 152 | <tr class="memdesc:a0c0e7d9253dee85be237536cf1d7b0ac"><td class="mdescLeft"> </td><td class="mdescRight">Swap the <a class="el" href="structarmnn_1_1_views_descriptor.xhtml" title="A ViewsDescriptor for the SplitterLayer. ">ViewsDescriptor</a> values first and second. <a href="#a0c0e7d9253dee85be237536cf1d7b0ac">More...</a><br /></td></tr> |
| 153 | <tr class="separator:a0c0e7d9253dee85be237536cf1d7b0ac"><td class="memSeparator" colspan="2"> </td></tr> |
| 154 | </table> |
| 155 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 156 | <div class="textblock"><p>An <a class="el" href="structarmnn_1_1_origins_descriptor.xhtml" title="An OriginsDescriptor for the ConcatLayer. ">OriginsDescriptor</a> for the <a class="el" href="classarmnn_1_1_concat_layer.xhtml" title="This layer represents a merge operation. ">ConcatLayer</a>. </p> |
| 157 | <p>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> |
| 158 | |
| 159 | <p class="definition">Definition at line <a class="el" href="_descriptors_8hpp_source.xhtml#l00147">147</a> of file <a class="el" href="_descriptors_8hpp_source.xhtml">Descriptors.hpp</a>.</p> |
| 160 | </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| 161 | <a id="a5a41cf9db1648399ac8c226101daf066"></a> |
| 162 | <h2 class="memtitle"><span class="permalink"><a href="#a5a41cf9db1648399ac8c226101daf066">◆ </a></span>OriginsDescriptor() <span class="overload">[1/4]</span></h2> |
| 163 | |
| 164 | <div class="memitem"> |
| 165 | <div class="memproto"> |
| 166 | <table class="memname"> |
| 167 | <tr> |
| 168 | <td class="memname"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> </td> |
| 169 | <td>(</td> |
| 170 | <td class="paramname"></td><td>)</td> |
| 171 | <td></td> |
| 172 | </tr> |
| 173 | </table> |
| 174 | </div><div class="memdoc"> |
| 175 | |
| 176 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.xhtml#l00074">74</a> of file <a class="el" href="_descriptors_8cpp_source.xhtml">Descriptors.cpp</a>.</p> |
| 177 | <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 --> |
| 178 | </div> |
| 179 | </div> |
| 180 | <a id="aa3451ee04c881166752622573dda6aab"></a> |
| 181 | <h2 class="memtitle"><span class="permalink"><a href="#aa3451ee04c881166752622573dda6aab">◆ </a></span>OriginsDescriptor() <span class="overload">[2/4]</span></h2> |
| 182 | |
| 183 | <div class="memitem"> |
| 184 | <div class="memproto"> |
| 185 | <table class="memname"> |
| 186 | <tr> |
| 187 | <td class="memname"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> </td> |
| 188 | <td>(</td> |
| 189 | <td class="paramtype">uint32_t </td> |
| 190 | <td class="paramname"><em>numViews</em>, </td> |
| 191 | </tr> |
| 192 | <tr> |
| 193 | <td class="paramkey"></td> |
| 194 | <td></td> |
| 195 | <td class="paramtype">uint32_t </td> |
| 196 | <td class="paramname"><em>numDimensions</em> = <code>4</code> </td> |
| 197 | </tr> |
| 198 | <tr> |
| 199 | <td></td> |
| 200 | <td>)</td> |
| 201 | <td></td><td></td> |
| 202 | </tr> |
| 203 | </table> |
| 204 | </div><div class="memdoc"> |
| 205 | |
| 206 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.xhtml#l00081">81</a> of file <a class="el" href="_descriptors_8cpp_source.xhtml">Descriptors.cpp</a>.</p> |
| 207 | <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 --> |
| 208 | </div> |
| 209 | </div> |
| 210 | <a id="af4ceae391b359730261d998d65875c3a"></a> |
| 211 | <h2 class="memtitle"><span class="permalink"><a href="#af4ceae391b359730261d998d65875c3a">◆ </a></span>OriginsDescriptor() <span class="overload">[3/4]</span></h2> |
| 212 | |
| 213 | <div class="memitem"> |
| 214 | <div class="memproto"> |
| 215 | <table class="memname"> |
| 216 | <tr> |
| 217 | <td class="memname"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> </td> |
| 218 | <td>(</td> |
| 219 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> & </td> |
| 220 | <td class="paramname"><em>other</em></td><td>)</td> |
| 221 | <td></td> |
| 222 | </tr> |
| 223 | </table> |
| 224 | </div><div class="memdoc"> |
| 225 | |
| 226 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.xhtml#l00093">93</a> of file <a class="el" href="_descriptors_8cpp_source.xhtml">Descriptors.cpp</a>.</p> |
| 227 | <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 --> |
| 228 | </div> |
| 229 | </div> |
| 230 | <a id="af6d6f705cb02ec84c47737aff3745d6e"></a> |
| 231 | <h2 class="memtitle"><span class="permalink"><a href="#af6d6f705cb02ec84c47737aff3745d6e">◆ </a></span>OriginsDescriptor() <span class="overload">[4/4]</span></h2> |
| 232 | |
| 233 | <div class="memitem"> |
| 234 | <div class="memproto"> |
| 235 | <table class="memname"> |
| 236 | <tr> |
| 237 | <td class="memname"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> </td> |
| 238 | <td>(</td> |
| 239 | <td class="paramtype"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> && </td> |
| 240 | <td class="paramname"><em>other</em></td><td>)</td> |
| 241 | <td></td> |
| 242 | </tr> |
| 243 | </table> |
| 244 | </div><div class="memdoc"> |
| 245 | |
| 246 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.xhtml#l00106">106</a> of file <a class="el" href="_descriptors_8cpp_source.xhtml">Descriptors.cpp</a>.</p> |
| 247 | |
| 248 | <p class="reference">References <a class="el" href="_descriptors_8cpp_source.xhtml#l00342">OriginsDescriptor::swap</a>.</p> |
| 249 | <div class="fragment"><div class="line"><a name="l00107"></a><span class="lineno"> 107</span> : <a class="code" href="structarmnn_1_1_origins_descriptor.xhtml#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.xhtml#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_xhtml_a0c0e7d9253dee85be237536cf1d7b0ac"><div class="ttname"><a href="structarmnn_1_1_origins_descriptor.xhtml#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.xhtml#l00342">Descriptors.cpp:342</a></div></div> |
| 250 | <div class="ttc" id="structarmnn_1_1_origins_descriptor_xhtml_a5a41cf9db1648399ac8c226101daf066"><div class="ttname"><a href="structarmnn_1_1_origins_descriptor.xhtml#a5a41cf9db1648399ac8c226101daf066">armnn::OriginsDescriptor::OriginsDescriptor</a></div><div class="ttdeci">OriginsDescriptor()</div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8cpp_source.xhtml#l00074">Descriptors.cpp:74</a></div></div> |
| 251 | </div><!-- fragment --> |
| 252 | </div> |
| 253 | </div> |
| 254 | <a id="aa507c5561373dbd58e149611a7f46470"></a> |
| 255 | <h2 class="memtitle"><span class="permalink"><a href="#aa507c5561373dbd58e149611a7f46470">◆ </a></span>~OriginsDescriptor()</h2> |
| 256 | |
| 257 | <div class="memitem"> |
| 258 | <div class="memproto"> |
| 259 | <table class="memname"> |
| 260 | <tr> |
| 261 | <td class="memname">~<a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> </td> |
| 262 | <td>(</td> |
| 263 | <td class="paramname"></td><td>)</td> |
| 264 | <td></td> |
| 265 | </tr> |
| 266 | </table> |
| 267 | </div><div class="memdoc"> |
| 268 | |
| 269 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.xhtml#l00112">112</a> of file <a class="el" href="_descriptors_8cpp_source.xhtml">Descriptors.cpp</a>.</p> |
| 270 | <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 --> |
| 271 | </div> |
| 272 | </div> |
| 273 | <h2 class="groupheader">Member Function Documentation</h2> |
| 274 | <a id="a379929e3b277f1ef94f3ce645870589d"></a> |
| 275 | <h2 class="memtitle"><span class="permalink"><a href="#a379929e3b277f1ef94f3ce645870589d">◆ </a></span>GetConcatAxis()</h2> |
| 276 | |
| 277 | <div class="memitem"> |
| 278 | <div class="memproto"> |
| 279 | <table class="memname"> |
| 280 | <tr> |
| 281 | <td class="memname">unsigned int GetConcatAxis </td> |
| 282 | <td>(</td> |
| 283 | <td class="paramname"></td><td>)</td> |
| 284 | <td> const</td> |
| 285 | </tr> |
| 286 | </table> |
| 287 | </div><div class="memdoc"> |
| 288 | |
| 289 | <p>Get the concatenation axis value. </p> |
| 290 | |
| 291 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.xhtml#l00154">154</a> of file <a class="el" href="_descriptors_8cpp_source.xhtml">Descriptors.cpp</a>.</p> |
| 292 | |
| 293 | <p class="reference">Referenced by <a class="el" href="_cl_layer_support_8cpp_source.xhtml#l00246">ClLayerSupport::IsConcatSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00216">NeonLayerSupport::IsConcatSupported()</a>, <a class="el" href="_descriptors_8cpp_source.xhtml#l00127">OriginsDescriptor::operator==()</a>, <a class="el" href="_serialize_layer_parameters_8cpp_source.xhtml#l00152">StringifyLayerParameters< OriginsDescriptor >::Serialize()</a>, <a class="el" href="_serializer_8cpp_source.xhtml#l00729">SerializerVisitor::VisitConcatLayer()</a>, and <a class="el" href="_serializer_8cpp_source.xhtml#l01092">SerializerVisitor::VisitSplitterLayer()</a>.</p> |
| 294 | <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 --> |
| 295 | </div> |
| 296 | </div> |
| 297 | <a id="a78e8266be865fdd92cadd04d6e25ae1f"></a> |
| 298 | <h2 class="memtitle"><span class="permalink"><a href="#a78e8266be865fdd92cadd04d6e25ae1f">◆ </a></span>GetNumDimensions()</h2> |
| 299 | |
| 300 | <div class="memitem"> |
| 301 | <div class="memproto"> |
| 302 | <table class="memname"> |
| 303 | <tr> |
| 304 | <td class="memname">uint32_t GetNumDimensions </td> |
| 305 | <td>(</td> |
| 306 | <td class="paramname"></td><td>)</td> |
| 307 | <td> const</td> |
| 308 | </tr> |
| 309 | </table> |
| 310 | </div><div class="memdoc"> |
| 311 | |
| 312 | <p>Get the number of dimensions. </p> |
| 313 | |
| 314 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.xhtml#l00184">184</a> of file <a class="el" href="_descriptors_8cpp_source.xhtml">Descriptors.cpp</a>.</p> |
| 315 | |
| 316 | <p class="reference">Referenced by <a class="el" href="_concat_test_impl_8cpp_source.xhtml#l00272">Concatenate()</a>, <a class="el" href="_concat_layer_8cpp_source.xhtml#l00022">ConcatLayer::CreateWorkload()</a>, <a class="el" href="_descriptors_8cpp_source.xhtml#l00292">ViewsDescriptor::GetNumDimensions()</a>, <a class="el" href="_concat_layer_8cpp_source.xhtml#l00154">ConcatLayer::InferOutputShapes()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00216">NeonLayerSupport::IsConcatSupported()</a>, <a class="el" href="_cl_layer_support_8cpp_source.xhtml#l00246">ClLayerSupport::IsConcatSupported()</a>, <a class="el" href="_descriptors_8cpp_source.xhtml#l00127">OriginsDescriptor::operator==()</a>, <a class="el" href="_parser_helper_8cpp_source.xhtml#l00019">armnnUtils::ProcessConcatInputTensorInfo()</a>, <a class="el" href="_serialize_layer_parameters_8cpp_source.xhtml#l00152">StringifyLayerParameters< OriginsDescriptor >::Serialize()</a>, <a class="el" href="_serializer_8cpp_source.xhtml#l00729">SerializerVisitor::VisitConcatLayer()</a>, and <a class="el" href="_serializer_8cpp_source.xhtml#l01092">SerializerVisitor::VisitSplitterLayer()</a>.</p> |
| 317 | <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 --> |
| 318 | </div> |
| 319 | </div> |
| 320 | <a id="a35546e7b56e6e972a495b48748478ede"></a> |
| 321 | <h2 class="memtitle"><span class="permalink"><a href="#a35546e7b56e6e972a495b48748478ede">◆ </a></span>GetNumViews()</h2> |
| 322 | |
| 323 | <div class="memitem"> |
| 324 | <div class="memproto"> |
| 325 | <table class="memname"> |
| 326 | <tr> |
| 327 | <td class="memname">uint32_t GetNumViews </td> |
| 328 | <td>(</td> |
| 329 | <td class="paramname"></td><td>)</td> |
| 330 | <td> const</td> |
| 331 | </tr> |
| 332 | </table> |
| 333 | </div><div class="memdoc"> |
| 334 | |
| 335 | <p>Get the number of views. </p> |
| 336 | |
| 337 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.xhtml#l00179">179</a> of file <a class="el" href="_descriptors_8cpp_source.xhtml">Descriptors.cpp</a>.</p> |
| 338 | |
| 339 | <p class="reference">Referenced by <a class="el" href="_concat_test_impl_8cpp_source.xhtml#l00272">Concatenate()</a>, <a class="el" href="_concat_layer_8cpp_source.xhtml#l00022">ConcatLayer::CreateWorkload()</a>, <a class="el" href="_descriptors_8cpp_source.xhtml#l00287">ViewsDescriptor::GetNumViews()</a>, <a class="el" href="_concat_layer_8cpp_source.xhtml#l00154">ConcatLayer::InferOutputShapes()</a>, <a class="el" href="_descriptors_8cpp_source.xhtml#l00127">OriginsDescriptor::operator==()</a>, <a class="el" href="_serialize_layer_parameters_8cpp_source.xhtml#l00152">StringifyLayerParameters< OriginsDescriptor >::Serialize()</a>, <a class="el" href="_concat_layer_8cpp_source.xhtml#l00244">ConcatLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_serializer_8cpp_source.xhtml#l00729">SerializerVisitor::VisitConcatLayer()</a>, and <a class="el" href="_serializer_8cpp_source.xhtml#l01092">SerializerVisitor::VisitSplitterLayer()</a>.</p> |
| 340 | <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 --> |
| 341 | </div> |
| 342 | </div> |
| 343 | <a id="ab78e6fe963508c1ac5c00d04bb3361a3"></a> |
| 344 | <h2 class="memtitle"><span class="permalink"><a href="#ab78e6fe963508c1ac5c00d04bb3361a3">◆ </a></span>GetViewOrigin()</h2> |
| 345 | |
| 346 | <div class="memitem"> |
| 347 | <div class="memproto"> |
| 348 | <table class="memname"> |
| 349 | <tr> |
| 350 | <td class="memname">const uint32_t * GetViewOrigin </td> |
| 351 | <td>(</td> |
| 352 | <td class="paramtype">uint32_t </td> |
| 353 | <td class="paramname"><em>idx</em></td><td>)</td> |
| 354 | <td> const</td> |
| 355 | </tr> |
| 356 | </table> |
| 357 | </div><div class="memdoc"> |
| 358 | |
| 359 | <p>Return the view origin at the int value idx. </p> |
| 360 | |
| 361 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.xhtml#l00189">189</a> of file <a class="el" href="_descriptors_8cpp_source.xhtml">Descriptors.cpp</a>.</p> |
| 362 | |
| 363 | <p class="reference">Referenced by <a class="el" href="_tf_parser_8cpp_source.xhtml#l02138">armnnTfParser::CalculatePaddedOutputTensorInfo()</a>, <a class="el" href="_concat_test_impl_8cpp_source.xhtml#l00272">Concatenate()</a>, <a class="el" href="_concat_layer_8cpp_source.xhtml#l00022">ConcatLayer::CreateWorkload()</a>, <a class="el" href="_descriptors_8cpp_source.xhtml#l00297">ViewsDescriptor::GetViewOrigin()</a>, <a class="el" href="_concat_layer_8cpp_source.xhtml#l00154">ConcatLayer::InferOutputShapes()</a>, <a class="el" href="_descriptors_8cpp_source.xhtml#l00127">OriginsDescriptor::operator==()</a>, <a class="el" href="_serialize_layer_parameters_8cpp_source.xhtml#l00152">StringifyLayerParameters< OriginsDescriptor >::Serialize()</a>, and <a class="el" href="_serializer_8cpp_source.xhtml#l00729">SerializerVisitor::VisitConcatLayer()</a>.</p> |
| 364 | <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 --> |
| 365 | </div> |
| 366 | </div> |
| 367 | <a id="af714290740c651092629e45cf692fc1a"></a> |
| 368 | <h2 class="memtitle"><span class="permalink"><a href="#af714290740c651092629e45cf692fc1a">◆ </a></span>operator=()</h2> |
| 369 | |
| 370 | <div class="memitem"> |
| 371 | <div class="memproto"> |
| 372 | <table class="memname"> |
| 373 | <tr> |
| 374 | <td class="memname"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> & operator= </td> |
| 375 | <td>(</td> |
| 376 | <td class="paramtype"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> </td> |
| 377 | <td class="paramname"><em>rhs</em></td><td>)</td> |
| 378 | <td></td> |
| 379 | </tr> |
| 380 | </table> |
| 381 | </div><div class="memdoc"> |
| 382 | |
| 383 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.xhtml#l00121">121</a> of file <a class="el" href="_descriptors_8cpp_source.xhtml">Descriptors.cpp</a>.</p> |
| 384 | |
| 385 | <p class="reference">References <a class="el" href="_descriptors_8cpp_source.xhtml#l00342">OriginsDescriptor::swap</a>.</p> |
| 386 | <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.xhtml#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_xhtml_a0c0e7d9253dee85be237536cf1d7b0ac"><div class="ttname"><a href="structarmnn_1_1_origins_descriptor.xhtml#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.xhtml#l00342">Descriptors.cpp:342</a></div></div> |
| 387 | </div><!-- fragment --> |
| 388 | </div> |
| 389 | </div> |
| 390 | <a id="a1efc8be2c15fe67917c60041dc926701"></a> |
| 391 | <h2 class="memtitle"><span class="permalink"><a href="#a1efc8be2c15fe67917c60041dc926701">◆ </a></span>operator==()</h2> |
| 392 | |
| 393 | <div class="memitem"> |
| 394 | <div class="memproto"> |
| 395 | <table class="memname"> |
| 396 | <tr> |
| 397 | <td class="memname">bool operator== </td> |
| 398 | <td>(</td> |
| 399 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> & </td> |
| 400 | <td class="paramname"><em>rhs</em></td><td>)</td> |
| 401 | <td> const</td> |
| 402 | </tr> |
| 403 | </table> |
| 404 | </div><div class="memdoc"> |
| 405 | |
| 406 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.xhtml#l00127">127</a> of file <a class="el" href="_descriptors_8cpp_source.xhtml">Descriptors.cpp</a>.</p> |
| 407 | |
| 408 | <p class="reference">References <a class="el" href="_descriptors_8cpp_source.xhtml#l00154">OriginsDescriptor::GetConcatAxis()</a>, <a class="el" href="_descriptors_8cpp_source.xhtml#l00184">OriginsDescriptor::GetNumDimensions()</a>, <a class="el" href="_descriptors_8cpp_source.xhtml#l00179">OriginsDescriptor::GetNumViews()</a>, and <a class="el" href="_descriptors_8cpp_source.xhtml#l00189">OriginsDescriptor::GetViewOrigin()</a>.</p> |
| 409 | <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.xhtml#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.xhtml#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.xhtml#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.xhtml#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.xhtml#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.xhtml#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_xhtml_ab78e6fe963508c1ac5c00d04bb3361a3"><div class="ttname"><a href="structarmnn_1_1_origins_descriptor.xhtml#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.xhtml#l00189">Descriptors.cpp:189</a></div></div> |
| 410 | <div class="ttc" id="structarmnn_1_1_origins_descriptor_xhtml_a78e8266be865fdd92cadd04d6e25ae1f"><div class="ttname"><a href="structarmnn_1_1_origins_descriptor.xhtml#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.xhtml#l00184">Descriptors.cpp:184</a></div></div> |
| 411 | <div class="ttc" id="structarmnn_1_1_origins_descriptor_xhtml_a35546e7b56e6e972a495b48748478ede"><div class="ttname"><a href="structarmnn_1_1_origins_descriptor.xhtml#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.xhtml#l00179">Descriptors.cpp:179</a></div></div> |
| 412 | <div class="ttc" id="structarmnn_1_1_origins_descriptor_xhtml_a379929e3b277f1ef94f3ce645870589d"><div class="ttname"><a href="structarmnn_1_1_origins_descriptor.xhtml#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.xhtml#l00154">Descriptors.cpp:154</a></div></div> |
| 413 | </div><!-- fragment --> |
| 414 | </div> |
| 415 | </div> |
| 416 | <a id="aae1f4844cfb511b5b3a25c6761483624"></a> |
| 417 | <h2 class="memtitle"><span class="permalink"><a href="#aae1f4844cfb511b5b3a25c6761483624">◆ </a></span>ReorderOrigins()</h2> |
| 418 | |
| 419 | <div class="memitem"> |
| 420 | <div class="memproto"> |
| 421 | <table class="memname"> |
| 422 | <tr> |
| 423 | <td class="memname">void ReorderOrigins </td> |
| 424 | <td>(</td> |
| 425 | <td class="paramtype">unsigned int * </td> |
| 426 | <td class="paramname"><em>newOrdering</em>, </td> |
| 427 | </tr> |
| 428 | <tr> |
| 429 | <td class="paramkey"></td> |
| 430 | <td></td> |
| 431 | <td class="paramtype">unsigned int </td> |
| 432 | <td class="paramname"><em>numNewOrdering</em> </td> |
| 433 | </tr> |
| 434 | <tr> |
| 435 | <td></td> |
| 436 | <td>)</td> |
| 437 | <td></td><td></td> |
| 438 | </tr> |
| 439 | </table> |
| 440 | </div><div class="memdoc"> |
| 441 | |
| 442 | <p>Reorders the viewOrigins in accordance with the indices presented in newOrdering array. </p> |
| 443 | <p>The number of views must match number of elements in the new ordering array. </p> |
| 444 | |
| 445 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.xhtml#l00196">196</a> of file <a class="el" href="_descriptors_8cpp_source.xhtml">Descriptors.cpp</a>.</p> |
| 446 | <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 --> |
| 447 | </div> |
| 448 | </div> |
| 449 | <a id="a5b192c5fcd96a0f75542524cf646b355"></a> |
| 450 | <h2 class="memtitle"><span class="permalink"><a href="#a5b192c5fcd96a0f75542524cf646b355">◆ </a></span>SetConcatAxis()</h2> |
| 451 | |
| 452 | <div class="memitem"> |
| 453 | <div class="memproto"> |
| 454 | <table class="memname"> |
| 455 | <tr> |
| 456 | <td class="memname">void SetConcatAxis </td> |
| 457 | <td>(</td> |
| 458 | <td class="paramtype">unsigned int </td> |
| 459 | <td class="paramname"><em>concatAxis</em></td><td>)</td> |
| 460 | <td></td> |
| 461 | </tr> |
| 462 | </table> |
| 463 | </div><div class="memdoc"> |
| 464 | |
| 465 | <p>Set the concatenation axis value. </p> |
| 466 | |
| 467 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.xhtml#l00150">150</a> of file <a class="el" href="_descriptors_8cpp_source.xhtml">Descriptors.cpp</a>.</p> |
| 468 | |
| 469 | <p class="reference">Referenced by <a class="el" href="_tf_parser_8cpp_source.xhtml#l02138">armnnTfParser::CalculatePaddedOutputTensorInfo()</a>, <a class="el" href="_descriptors_8hpp_source.xhtml#l00242">armnn::CreateDescriptorForConcatenation()</a>, and <a class="el" href="_tf_lite_parser_8cpp_source.xhtml#l01898">TfLiteParser::OutputShapeOfReshape()</a>.</p> |
| 470 | <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 --> |
| 471 | </div> |
| 472 | </div> |
| 473 | <a id="a2b125117aa61f9baf3a9cb8658aa61a2"></a> |
| 474 | <h2 class="memtitle"><span class="permalink"><a href="#a2b125117aa61f9baf3a9cb8658aa61a2">◆ </a></span>SetViewOriginCoord()</h2> |
| 475 | |
| 476 | <div class="memitem"> |
| 477 | <div class="memproto"> |
| 478 | <table class="memname"> |
| 479 | <tr> |
| 480 | <td class="memname"><a class="el" href="namespacearmnn.xhtml#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> SetViewOriginCoord </td> |
| 481 | <td>(</td> |
| 482 | <td class="paramtype">uint32_t </td> |
| 483 | <td class="paramname"><em>view</em>, </td> |
| 484 | </tr> |
| 485 | <tr> |
| 486 | <td class="paramkey"></td> |
| 487 | <td></td> |
| 488 | <td class="paramtype">uint32_t </td> |
| 489 | <td class="paramname"><em>coord</em>, </td> |
| 490 | </tr> |
| 491 | <tr> |
| 492 | <td class="paramkey"></td> |
| 493 | <td></td> |
| 494 | <td class="paramtype">uint32_t </td> |
| 495 | <td class="paramname"><em>value</em> </td> |
| 496 | </tr> |
| 497 | <tr> |
| 498 | <td></td> |
| 499 | <td>)</td> |
| 500 | <td></td><td></td> |
| 501 | </tr> |
| 502 | </table> |
| 503 | </div><div class="memdoc"> |
| 504 | |
| 505 | <p>Set the view origin coordinates. </p> |
| 506 | <p>The arguments are: view, dimension, value. If the view is greater than or equal to <a class="el" href="structarmnn_1_1_origins_descriptor.xhtml#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.xhtml#a78e8266be865fdd92cadd04d6e25ae1f" title="Get the number of dimensions. ">GetNumDimensions()</a>, then the coord argument is out of range. </p> |
| 507 | |
| 508 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.xhtml#l00159">159</a> of file <a class="el" href="_descriptors_8cpp_source.xhtml">Descriptors.cpp</a>.</p> |
| 509 | |
| 510 | <p class="reference">References <a class="el" href="_logging_8hpp_source.xhtml#l00163">ARMNN_LOG</a>, <a class="el" href="namespacearmnn.xhtml#a4dc0adc6737b5944e7671bee71788407acb5e100e5a9a3e7f6d1fd97512215282">armnn::error</a>, <a class="el" href="namespacearmnn.xhtml#a67a0db04d321a74b7e7fcfd3f1a3f70bae139a585510a502bbf1841cf589f5086">armnn::Failure</a>, and <a class="el" href="namespacearmnn.xhtml#a67a0db04d321a74b7e7fcfd3f1a3f70ba505a83f220c02df2f85c3810cd9ceb38">armnn::Success</a>.</p> |
| 511 | |
| 512 | <p class="reference">Referenced by <a class="el" href="_caffe_parser_8cpp_source.xhtml#l00419">CaffeParserBase::AddConvLayerWithSplits()</a>, <a class="el" href="_tf_parser_8cpp_source.xhtml#l02138">armnnTfParser::CalculatePaddedOutputTensorInfo()</a>, <a class="el" href="_descriptors_8hpp_source.xhtml#l00242">armnn::CreateDescriptorForConcatenation()</a>, <a class="el" href="_caffe_parser_8cpp_source.xhtml#l01277">CaffeParserBase::ParseConcatLayer()</a>, <a class="el" href="_parser_helper_8cpp_source.xhtml#l00019">armnnUtils::ProcessConcatInputTensorInfo()</a>, and <a class="el" href="_descriptors_8cpp_source.xhtml#l00302">ViewsDescriptor::SetViewOriginCoord()</a>.</p> |
| 513 | <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.xhtml#a7b6ad073975f437ec38ca7d20154727f">ARMNN_LOG</a>(<a class="code" href="namespacearmnn.xhtml#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.xhtml#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.xhtml#a7b6ad073975f437ec38ca7d20154727f">ARMNN_LOG</a>(<a class="code" href="namespacearmnn.xhtml#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.xhtml#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.xhtml#a67a0db04d321a74b7e7fcfd3f1a3f70ba505a83f220c02df2f85c3810cd9ceb38">Status::Success</a>;</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span> }</div><div class="ttc" id="_logging_8hpp_xhtml_a7b6ad073975f437ec38ca7d20154727f"><div class="ttname"><a href="_logging_8hpp.xhtml#a7b6ad073975f437ec38ca7d20154727f">ARMNN_LOG</a></div><div class="ttdeci">#define ARMNN_LOG(severity)</div><div class="ttdef"><b>Definition:</b> <a href="_logging_8hpp_source.xhtml#l00163">Logging.hpp:163</a></div></div> |
| 514 | <div class="ttc" id="namespacearmnn_xhtml_a4dc0adc6737b5944e7671bee71788407acb5e100e5a9a3e7f6d1fd97512215282"><div class="ttname"><a href="namespacearmnn.xhtml#a4dc0adc6737b5944e7671bee71788407acb5e100e5a9a3e7f6d1fd97512215282">armnn::BoostLogSeverityMapping::error</a></div></div> |
| 515 | <div class="ttc" id="namespacearmnn_xhtml_a67a0db04d321a74b7e7fcfd3f1a3f70ba505a83f220c02df2f85c3810cd9ceb38"><div class="ttname"><a href="namespacearmnn.xhtml#a67a0db04d321a74b7e7fcfd3f1a3f70ba505a83f220c02df2f85c3810cd9ceb38">armnn::Status::Success</a></div></div> |
| 516 | <div class="ttc" id="namespacearmnn_xhtml_a67a0db04d321a74b7e7fcfd3f1a3f70bae139a585510a502bbf1841cf589f5086"><div class="ttname"><a href="namespacearmnn.xhtml#a67a0db04d321a74b7e7fcfd3f1a3f70bae139a585510a502bbf1841cf589f5086">armnn::Status::Failure</a></div></div> |
| 517 | </div><!-- fragment --> |
| 518 | </div> |
| 519 | </div> |
| 520 | <h2 class="groupheader">Friends And Related Function Documentation</h2> |
| 521 | <a id="a0c0e7d9253dee85be237536cf1d7b0ac"></a> |
| 522 | <h2 class="memtitle"><span class="permalink"><a href="#a0c0e7d9253dee85be237536cf1d7b0ac">◆ </a></span>swap</h2> |
| 523 | |
| 524 | <div class="memitem"> |
| 525 | <div class="memproto"> |
| 526 | <table class="mlabels"> |
| 527 | <tr> |
| 528 | <td class="mlabels-left"> |
| 529 | <table class="memname"> |
| 530 | <tr> |
| 531 | <td class="memname">void swap </td> |
| 532 | <td>(</td> |
| 533 | <td class="paramtype"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> & </td> |
| 534 | <td class="paramname"><em>first</em>, </td> |
| 535 | </tr> |
| 536 | <tr> |
| 537 | <td class="paramkey"></td> |
| 538 | <td></td> |
| 539 | <td class="paramtype"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a> & </td> |
| 540 | <td class="paramname"><em>second</em> </td> |
| 541 | </tr> |
| 542 | <tr> |
| 543 | <td></td> |
| 544 | <td>)</td> |
| 545 | <td></td><td></td> |
| 546 | </tr> |
| 547 | </table> |
| 548 | </td> |
| 549 | <td class="mlabels-right"> |
| 550 | <span class="mlabels"><span class="mlabel">friend</span></span> </td> |
| 551 | </tr> |
| 552 | </table> |
| 553 | </div><div class="memdoc"> |
| 554 | |
| 555 | <p>Swap the <a class="el" href="structarmnn_1_1_views_descriptor.xhtml" title="A ViewsDescriptor for the SplitterLayer. ">ViewsDescriptor</a> values first and second. </p> |
| 556 | |
| 557 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.xhtml#l00342">342</a> of file <a class="el" href="_descriptors_8cpp_source.xhtml">Descriptors.cpp</a>.</p> |
| 558 | |
| 559 | <p class="reference">Referenced by <a class="el" href="_descriptors_8cpp_source.xhtml#l00121">OriginsDescriptor::operator=()</a>, and <a class="el" href="_descriptors_8cpp_source.xhtml#l00106">OriginsDescriptor::OriginsDescriptor()</a>.</p> |
| 560 | <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.xhtml#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.xhtml#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.xhtml#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.xhtml#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.xhtml#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_xhtml_a0c0e7d9253dee85be237536cf1d7b0ac"><div class="ttname"><a href="structarmnn_1_1_origins_descriptor.xhtml#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.xhtml#l00342">Descriptors.cpp:342</a></div></div> |
| 561 | <div class="ttc" id="namespacearmnn_xhtml_a686b8288a04b3ffff67d560eea53f6be"><div class="ttname"><a href="namespacearmnn.xhtml#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.xhtml#l00351">Descriptors.cpp:351</a></div></div> |
| 562 | </div><!-- fragment --> |
| 563 | </div> |
| 564 | </div> |
| 565 | <hr/>The documentation for this struct was generated from the following files:<ul> |
| 566 | <li>include/armnn/<a class="el" href="_descriptors_8hpp_source.xhtml">Descriptors.hpp</a></li> |
| 567 | <li>src/armnn/<a class="el" href="_descriptors_8cpp_source.xhtml">Descriptors.cpp</a></li> |
| 568 | </ul> |
| 569 | </div><!-- contents --> |
| 570 | </div><!-- doc-content --> |
| 571 | <!-- start footer part --> |
| 572 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 573 | <ul> |
| 574 | <li class="navelem"><a class="el" href="namespacearmnn.xhtml">armnn</a></li><li class="navelem"><a class="el" href="structarmnn_1_1_origins_descriptor.xhtml">OriginsDescriptor</a></li> |
| 575 | <li class="footer">Generated on Fri Mar 13 2020 16:09:19 for ArmNN by |
| 576 | <a href="http://www.doxygen.org/index.html"> |
| 577 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 578 | </ul> |
| 579 | </div> |
| 580 | </body> |
| 581 | </html> |