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: ViewsDescriptor 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_views_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_views_descriptor-members.html">List of all members</a> </div> |
| 87 | <div class="headertitle"> |
| 88 | <div class="title">ViewsDescriptor Struct Reference</div> </div> |
| 89 | </div><!--header--> |
| 90 | <div class="contents"> |
| 91 | |
| 92 | <p>A <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> for the <a class="el" href="classarmnn_1_1_splitter_layer.html" title="This layer represents a split operation. ">SplitterLayer</a>. 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. |
| 93 | <a href="structarmnn_1_1_views_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:ab506124f0492dced09d0f7f62e8d14c3"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_views_descriptor.html#ab506124f0492dced09d0f7f62e8d14c3">ViewsDescriptor</a> (uint32_t numViews, uint32_t numDimensions=4)</td></tr> |
| 100 | <tr class="separator:ab506124f0492dced09d0f7f62e8d14c3"><td class="memSeparator" colspan="2"> </td></tr> |
| 101 | <tr class="memitem:abe247761d72676899c0a70488d0b9227"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_views_descriptor.html#abe247761d72676899c0a70488d0b9227">ViewsDescriptor</a> (const <a class="el" href="structarmnn_1_1_views_descriptor.html">ViewsDescriptor</a> &other)</td></tr> |
| 102 | <tr class="separator:abe247761d72676899c0a70488d0b9227"><td class="memSeparator" colspan="2"> </td></tr> |
| 103 | <tr class="memitem:a3076393f5568657d04520f900e413dcb"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_views_descriptor.html#a3076393f5568657d04520f900e413dcb">ViewsDescriptor</a> ()</td></tr> |
| 104 | <tr class="separator:a3076393f5568657d04520f900e413dcb"><td class="memSeparator" colspan="2"> </td></tr> |
| 105 | <tr class="memitem:a047d65ed115b9b6fcf54669ae7c16e8d"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_views_descriptor.html#a047d65ed115b9b6fcf54669ae7c16e8d">ViewsDescriptor</a> (<a class="el" href="structarmnn_1_1_views_descriptor.html">ViewsDescriptor</a> &&other)</td></tr> |
| 106 | <tr class="separator:a047d65ed115b9b6fcf54669ae7c16e8d"><td class="memSeparator" colspan="2"> </td></tr> |
| 107 | <tr class="memitem:a6316c5537fc3d9e8e71bf0541c6044d9"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_views_descriptor.html#a6316c5537fc3d9e8e71bf0541c6044d9">~ViewsDescriptor</a> ()</td></tr> |
| 108 | <tr class="separator:a6316c5537fc3d9e8e71bf0541c6044d9"><td class="memSeparator" colspan="2"> </td></tr> |
| 109 | <tr class="memitem:aee83273c36d9506ce40c904a93c6ab8b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarmnn_1_1_views_descriptor.html">ViewsDescriptor</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_views_descriptor.html#aee83273c36d9506ce40c904a93c6ab8b">operator=</a> (<a class="el" href="structarmnn_1_1_views_descriptor.html">ViewsDescriptor</a> rhs)</td></tr> |
| 110 | <tr class="separator:aee83273c36d9506ce40c904a93c6ab8b"><td class="memSeparator" colspan="2"> </td></tr> |
| 111 | <tr class="memitem:a85dcac1ac31524ea0f9d16a0a939bd75"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_views_descriptor.html#a85dcac1ac31524ea0f9d16a0a939bd75">operator==</a> (const <a class="el" href="structarmnn_1_1_views_descriptor.html">ViewsDescriptor</a> &rhs) const</td></tr> |
| 112 | <tr class="separator:a85dcac1ac31524ea0f9d16a0a939bd75"><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_views_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:aae0893695f5803a3517985c7cb1ccb2e"><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_views_descriptor.html#aae0893695f5803a3517985c7cb1ccb2e">SetViewSize</a> (uint32_t view, uint32_t coord, uint32_t value)</td></tr> |
| 116 | <tr class="memdesc:aae0893695f5803a3517985c7cb1ccb2e"><td class="mdescLeft"> </td><td class="mdescRight">Set the size of the views. The arguments are: view, dimension, value. If the view is greater than or equal to <a class="el" href="structarmnn_1_1_views_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_views_descriptor.html#a78e8266be865fdd92cadd04d6e25ae1f" title="Get the number of dimensions. ">GetNumDimensions()</a>, then the coord argument is out of range. <a href="#aae0893695f5803a3517985c7cb1ccb2e">More...</a><br /></td></tr> |
| 117 | <tr class="separator:aae0893695f5803a3517985c7cb1ccb2e"><td class="memSeparator" colspan="2"> </td></tr> |
| 118 | <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_views_descriptor.html#a35546e7b56e6e972a495b48748478ede">GetNumViews</a> () const</td></tr> |
| 119 | <tr class="memdesc:a35546e7b56e6e972a495b48748478ede"><td class="mdescLeft"> </td><td class="mdescRight">Get the number of views. <a href="#a35546e7b56e6e972a495b48748478ede">More...</a><br /></td></tr> |
| 120 | <tr class="separator:a35546e7b56e6e972a495b48748478ede"><td class="memSeparator" colspan="2"> </td></tr> |
| 121 | <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_views_descriptor.html#a78e8266be865fdd92cadd04d6e25ae1f">GetNumDimensions</a> () const</td></tr> |
| 122 | <tr class="memdesc:a78e8266be865fdd92cadd04d6e25ae1f"><td class="mdescLeft"> </td><td class="mdescRight">Get the number of dimensions. <a href="#a78e8266be865fdd92cadd04d6e25ae1f">More...</a><br /></td></tr> |
| 123 | <tr class="separator:a78e8266be865fdd92cadd04d6e25ae1f"><td class="memSeparator" colspan="2"> </td></tr> |
| 124 | <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_views_descriptor.html#ab78e6fe963508c1ac5c00d04bb3361a3">GetViewOrigin</a> (uint32_t idx) const</td></tr> |
| 125 | <tr class="memdesc:ab78e6fe963508c1ac5c00d04bb3361a3"><td class="mdescLeft"> </td><td class="mdescRight">Get the view origin at the int value idx. <a href="#ab78e6fe963508c1ac5c00d04bb3361a3">More...</a><br /></td></tr> |
| 126 | <tr class="separator:ab78e6fe963508c1ac5c00d04bb3361a3"><td class="memSeparator" colspan="2"> </td></tr> |
| 127 | <tr class="memitem:a3c1ab47a0a319413b3a4b5757ed5b80b"><td class="memItemLeft" align="right" valign="top">const uint32_t * </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_views_descriptor.html#a3c1ab47a0a319413b3a4b5757ed5b80b">GetViewSizes</a> (uint32_t idx) const</td></tr> |
| 128 | <tr class="memdesc:a3c1ab47a0a319413b3a4b5757ed5b80b"><td class="mdescLeft"> </td><td class="mdescRight">Get the view sizes at the int value idx. <a href="#a3c1ab47a0a319413b3a4b5757ed5b80b">More...</a><br /></td></tr> |
| 129 | <tr class="separator:a3c1ab47a0a319413b3a4b5757ed5b80b"><td class="memSeparator" colspan="2"> </td></tr> |
| 130 | <tr class="memitem:a88d7c8ef4baba3690a4d25eec350ecb3"><td class="memItemLeft" align="right" valign="top">const <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_views_descriptor.html#a88d7c8ef4baba3690a4d25eec350ecb3">GetOrigins</a> () const</td></tr> |
| 131 | <tr class="memdesc:a88d7c8ef4baba3690a4d25eec350ecb3"><td class="mdescLeft"> </td><td class="mdescRight">Get the View Origins. <a href="#a88d7c8ef4baba3690a4d25eec350ecb3">More...</a><br /></td></tr> |
| 132 | <tr class="separator:a88d7c8ef4baba3690a4d25eec350ecb3"><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:a6ab1c51c46d6587c0eaa2a1674b2b48c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_views_descriptor.html#a6ab1c51c46d6587c0eaa2a1674b2b48c">swap</a> (<a class="el" href="structarmnn_1_1_views_descriptor.html">ViewsDescriptor</a> &first, <a class="el" href="structarmnn_1_1_views_descriptor.html">ViewsDescriptor</a> &second)</td></tr> |
| 137 | <tr class="memdesc:a6ab1c51c46d6587c0eaa2a1674b2b48c"><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> value first and second. <a href="#a6ab1c51c46d6587c0eaa2a1674b2b48c">More...</a><br /></td></tr> |
| 138 | <tr class="separator:a6ab1c51c46d6587c0eaa2a1674b2b48c"><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>A <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> for the <a class="el" href="classarmnn_1_1_splitter_layer.html" title="This layer represents a split operation. ">SplitterLayer</a>. 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. </p> |
| 142 | |
| 143 | <p class="definition">Definition at line <a class="el" href="_descriptors_8hpp_source.html#l00190">190</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="ab506124f0492dced09d0f7f62e8d14c3"></a> |
| 146 | <h2 class="memtitle"><span class="permalink"><a href="#ab506124f0492dced09d0f7f62e8d14c3">◆ </a></span>ViewsDescriptor() <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_views_descriptor.html">ViewsDescriptor</a> </td> |
| 153 | <td>(</td> |
| 154 | <td class="paramtype">uint32_t </td> |
| 155 | <td class="paramname"><em>numViews</em>, </td> |
| 156 | </tr> |
| 157 | <tr> |
| 158 | <td class="paramkey"></td> |
| 159 | <td></td> |
| 160 | <td class="paramtype">uint32_t </td> |
| 161 | <td class="paramname"><em>numDimensions</em> = <code>4</code> </td> |
| 162 | </tr> |
| 163 | <tr> |
| 164 | <td></td> |
| 165 | <td>)</td> |
| 166 | <td></td><td></td> |
| 167 | </tr> |
| 168 | </table> |
| 169 | </div><div class="memdoc"> |
| 170 | |
| 171 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.html#l00213">213</a> of file <a class="el" href="_descriptors_8cpp_source.html">Descriptors.cpp</a>.</p> |
| 172 | |
| 173 | <p class="reference">References <a class="el" href="_descriptors_8cpp_source.html#l00292">ViewsDescriptor::GetNumDimensions()</a>, and <a class="el" href="_descriptors_8cpp_source.html#l00287">ViewsDescriptor::GetNumViews()</a>.</p> |
| 174 | <div class="fragment"><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  : m_Origins(numViews, numDimensions)</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  , m_ViewSizes(numViews > 0 && numDimensions > 0 ?</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  <span class="keyword">new</span> uint32_t *[numViews]() : <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span> {</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  <span class="keywordflow">if</span> (m_ViewSizes)</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  {</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  <span class="keywordflow">for</span> (uint32_t i = 0; <a class="code" href="structarmnn_1_1_views_descriptor.html#a78e8266be865fdd92cadd04d6e25ae1f">GetNumDimensions</a>() > 0 && i < <a class="code" href="structarmnn_1_1_views_descriptor.html#a35546e7b56e6e972a495b48748478ede">GetNumViews</a>(); ++i)</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  {</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  m_ViewSizes[i] = <span class="keyword">new</span> uint32_t[<a class="code" href="structarmnn_1_1_views_descriptor.html#a78e8266be865fdd92cadd04d6e25ae1f">GetNumDimensions</a>()]();</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  }</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  }</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span> }</div><div class="ttc" id="structarmnn_1_1_views_descriptor_html_a78e8266be865fdd92cadd04d6e25ae1f"><div class="ttname"><a href="structarmnn_1_1_views_descriptor.html#a78e8266be865fdd92cadd04d6e25ae1f">armnn::ViewsDescriptor::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#l00292">Descriptors.cpp:292</a></div></div> |
| 175 | <div class="ttc" id="structarmnn_1_1_views_descriptor_html_a35546e7b56e6e972a495b48748478ede"><div class="ttname"><a href="structarmnn_1_1_views_descriptor.html#a35546e7b56e6e972a495b48748478ede">armnn::ViewsDescriptor::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#l00287">Descriptors.cpp:287</a></div></div> |
| 176 | </div><!-- fragment --> |
| 177 | </div> |
| 178 | </div> |
| 179 | <a id="abe247761d72676899c0a70488d0b9227"></a> |
| 180 | <h2 class="memtitle"><span class="permalink"><a href="#abe247761d72676899c0a70488d0b9227">◆ </a></span>ViewsDescriptor() <span class="overload">[2/4]</span></h2> |
| 181 | |
| 182 | <div class="memitem"> |
| 183 | <div class="memproto"> |
| 184 | <table class="memname"> |
| 185 | <tr> |
| 186 | <td class="memname"><a class="el" href="structarmnn_1_1_views_descriptor.html">ViewsDescriptor</a> </td> |
| 187 | <td>(</td> |
| 188 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_views_descriptor.html">ViewsDescriptor</a> & </td> |
| 189 | <td class="paramname"><em>other</em></td><td>)</td> |
| 190 | <td></td> |
| 191 | </tr> |
| 192 | </table> |
| 193 | </div><div class="memdoc"> |
| 194 | |
| 195 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.html#l00227">227</a> of file <a class="el" href="_descriptors_8cpp_source.html">Descriptors.cpp</a>.</p> |
| 196 | |
| 197 | <p class="reference">References <a class="el" href="_descriptors_8cpp_source.html#l00292">ViewsDescriptor::GetNumDimensions()</a>, and <a class="el" href="_descriptors_8cpp_source.html#l00287">ViewsDescriptor::GetNumViews()</a>.</p> |
| 198 | <div class="fragment"><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  : m_Origins(other.m_Origins)</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  , m_ViewSizes(other.GetNumViews() > 0 && other.GetNumDimensions() > 0 ?</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  <span class="keyword">new</span> uint32_t *[other.GetNumViews()]() : <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span> {</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  <span class="keywordflow">if</span> (m_ViewSizes)</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  {</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  <span class="keywordflow">for</span> (uint32_t i = 0; <a class="code" href="structarmnn_1_1_views_descriptor.html#a78e8266be865fdd92cadd04d6e25ae1f">GetNumDimensions</a>() > 0 && i < <a class="code" href="structarmnn_1_1_views_descriptor.html#a35546e7b56e6e972a495b48748478ede">GetNumViews</a>(); ++i)</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  {</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  m_ViewSizes[i] = <span class="keyword">new</span> uint32_t[<a class="code" href="structarmnn_1_1_views_descriptor.html#a78e8266be865fdd92cadd04d6e25ae1f">GetNumDimensions</a>()]();</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  memcpy(m_ViewSizes[i], other.m_ViewSizes[i], <a class="code" href="structarmnn_1_1_views_descriptor.html#a78e8266be865fdd92cadd04d6e25ae1f">GetNumDimensions</a>() * <span class="keyword">sizeof</span>(uint32_t));</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  }</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  }</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span> }</div><div class="ttc" id="structarmnn_1_1_views_descriptor_html_a78e8266be865fdd92cadd04d6e25ae1f"><div class="ttname"><a href="structarmnn_1_1_views_descriptor.html#a78e8266be865fdd92cadd04d6e25ae1f">armnn::ViewsDescriptor::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#l00292">Descriptors.cpp:292</a></div></div> |
| 199 | <div class="ttc" id="structarmnn_1_1_views_descriptor_html_a35546e7b56e6e972a495b48748478ede"><div class="ttname"><a href="structarmnn_1_1_views_descriptor.html#a35546e7b56e6e972a495b48748478ede">armnn::ViewsDescriptor::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#l00287">Descriptors.cpp:287</a></div></div> |
| 200 | </div><!-- fragment --> |
| 201 | </div> |
| 202 | </div> |
| 203 | <a id="a3076393f5568657d04520f900e413dcb"></a> |
| 204 | <h2 class="memtitle"><span class="permalink"><a href="#a3076393f5568657d04520f900e413dcb">◆ </a></span>ViewsDescriptor() <span class="overload">[3/4]</span></h2> |
| 205 | |
| 206 | <div class="memitem"> |
| 207 | <div class="memproto"> |
| 208 | <table class="memname"> |
| 209 | <tr> |
| 210 | <td class="memname"><a class="el" href="structarmnn_1_1_views_descriptor.html">ViewsDescriptor</a> </td> |
| 211 | <td>(</td> |
| 212 | <td class="paramname"></td><td>)</td> |
| 213 | <td></td> |
| 214 | </tr> |
| 215 | </table> |
| 216 | </div><div class="memdoc"> |
| 217 | |
| 218 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.html#l00208">208</a> of file <a class="el" href="_descriptors_8cpp_source.html">Descriptors.cpp</a>.</p> |
| 219 | <div class="fragment"><div class="line"><a name="l00209"></a><span class="lineno"> 209</span> : m_Origins()</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span> , m_ViewSizes(<span class="keyword">nullptr</span>)</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span> {}</div></div><!-- fragment --> |
| 220 | </div> |
| 221 | </div> |
| 222 | <a id="a047d65ed115b9b6fcf54669ae7c16e8d"></a> |
| 223 | <h2 class="memtitle"><span class="permalink"><a href="#a047d65ed115b9b6fcf54669ae7c16e8d">◆ </a></span>ViewsDescriptor() <span class="overload">[4/4]</span></h2> |
| 224 | |
| 225 | <div class="memitem"> |
| 226 | <div class="memproto"> |
| 227 | <table class="memname"> |
| 228 | <tr> |
| 229 | <td class="memname"><a class="el" href="structarmnn_1_1_views_descriptor.html">ViewsDescriptor</a> </td> |
| 230 | <td>(</td> |
| 231 | <td class="paramtype"><a class="el" href="structarmnn_1_1_views_descriptor.html">ViewsDescriptor</a> && </td> |
| 232 | <td class="paramname"><em>other</em></td><td>)</td> |
| 233 | <td></td> |
| 234 | </tr> |
| 235 | </table> |
| 236 | </div><div class="memdoc"> |
| 237 | |
| 238 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.html#l00242">242</a> of file <a class="el" href="_descriptors_8cpp_source.html">Descriptors.cpp</a>.</p> |
| 239 | |
| 240 | <p class="reference">References <a class="el" href="_descriptors_8cpp_source.html#l00351">ViewsDescriptor::swap</a>.</p> |
| 241 | <div class="fragment"><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  : <a class="code" href="structarmnn_1_1_views_descriptor.html#a3076393f5568657d04520f900e413dcb">ViewsDescriptor</a>()</div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span> {</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  <a class="code" href="structarmnn_1_1_views_descriptor.html#a6ab1c51c46d6587c0eaa2a1674b2b48c">swap</a>(*<span class="keyword">this</span>, other);</div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span> }</div><div class="ttc" id="structarmnn_1_1_views_descriptor_html_a3076393f5568657d04520f900e413dcb"><div class="ttname"><a href="structarmnn_1_1_views_descriptor.html#a3076393f5568657d04520f900e413dcb">armnn::ViewsDescriptor::ViewsDescriptor</a></div><div class="ttdeci">ViewsDescriptor()</div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8cpp_source.html#l00208">Descriptors.cpp:208</a></div></div> |
| 242 | <div class="ttc" id="structarmnn_1_1_views_descriptor_html_a6ab1c51c46d6587c0eaa2a1674b2b48c"><div class="ttname"><a href="structarmnn_1_1_views_descriptor.html#a6ab1c51c46d6587c0eaa2a1674b2b48c">armnn::ViewsDescriptor::swap</a></div><div class="ttdeci">friend void swap(ViewsDescriptor &first, ViewsDescriptor &second)</div><div class="ttdoc">Swap the ViewsDescriptor value first and second. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8cpp_source.html#l00351">Descriptors.cpp:351</a></div></div> |
| 243 | </div><!-- fragment --> |
| 244 | </div> |
| 245 | </div> |
| 246 | <a id="a6316c5537fc3d9e8e71bf0541c6044d9"></a> |
| 247 | <h2 class="memtitle"><span class="permalink"><a href="#a6316c5537fc3d9e8e71bf0541c6044d9">◆ </a></span>~ViewsDescriptor()</h2> |
| 248 | |
| 249 | <div class="memitem"> |
| 250 | <div class="memproto"> |
| 251 | <table class="memname"> |
| 252 | <tr> |
| 253 | <td class="memname">~<a class="el" href="structarmnn_1_1_views_descriptor.html">ViewsDescriptor</a> </td> |
| 254 | <td>(</td> |
| 255 | <td class="paramname"></td><td>)</td> |
| 256 | <td></td> |
| 257 | </tr> |
| 258 | </table> |
| 259 | </div><div class="memdoc"> |
| 260 | |
| 261 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.html#l00248">248</a> of file <a class="el" href="_descriptors_8cpp_source.html">Descriptors.cpp</a>.</p> |
| 262 | |
| 263 | <p class="reference">References <a class="el" href="_descriptors_8cpp_source.html#l00292">ViewsDescriptor::GetNumDimensions()</a>, and <a class="el" href="_descriptors_8cpp_source.html#l00287">ViewsDescriptor::GetNumViews()</a>.</p> |
| 264 | <div class="fragment"><div class="line"><a name="l00249"></a><span class="lineno"> 249</span> {</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  <span class="keywordflow">if</span> (m_ViewSizes)</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  {</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  <span class="keywordflow">for</span> (uint32_t i = 0; <a class="code" href="structarmnn_1_1_views_descriptor.html#a78e8266be865fdd92cadd04d6e25ae1f">GetNumDimensions</a>() > 0 && i < <a class="code" href="structarmnn_1_1_views_descriptor.html#a35546e7b56e6e972a495b48748478ede">GetNumViews</a>(); ++i)</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  {</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  <span class="keyword">delete</span>[] m_ViewSizes[i];</div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  }</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  <span class="keyword">delete</span>[] m_ViewSizes;</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  }</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span> }</div><div class="ttc" id="structarmnn_1_1_views_descriptor_html_a78e8266be865fdd92cadd04d6e25ae1f"><div class="ttname"><a href="structarmnn_1_1_views_descriptor.html#a78e8266be865fdd92cadd04d6e25ae1f">armnn::ViewsDescriptor::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#l00292">Descriptors.cpp:292</a></div></div> |
| 265 | <div class="ttc" id="structarmnn_1_1_views_descriptor_html_a35546e7b56e6e972a495b48748478ede"><div class="ttname"><a href="structarmnn_1_1_views_descriptor.html#a35546e7b56e6e972a495b48748478ede">armnn::ViewsDescriptor::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#l00287">Descriptors.cpp:287</a></div></div> |
| 266 | </div><!-- fragment --> |
| 267 | </div> |
| 268 | </div> |
| 269 | <h2 class="groupheader">Member Function Documentation</h2> |
| 270 | <a id="a78e8266be865fdd92cadd04d6e25ae1f"></a> |
| 271 | <h2 class="memtitle"><span class="permalink"><a href="#a78e8266be865fdd92cadd04d6e25ae1f">◆ </a></span>GetNumDimensions()</h2> |
| 272 | |
| 273 | <div class="memitem"> |
| 274 | <div class="memproto"> |
| 275 | <table class="memname"> |
| 276 | <tr> |
| 277 | <td class="memname">uint32_t GetNumDimensions </td> |
| 278 | <td>(</td> |
| 279 | <td class="paramname"></td><td>)</td> |
| 280 | <td> const</td> |
| 281 | </tr> |
| 282 | </table> |
| 283 | </div><div class="memdoc"> |
| 284 | |
| 285 | <p>Get the number of dimensions. </p> |
| 286 | |
| 287 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.html#l00292">292</a> of file <a class="el" href="_descriptors_8cpp_source.html">Descriptors.cpp</a>.</p> |
| 288 | |
| 289 | <p class="reference">References <a class="el" href="_descriptors_8cpp_source.html#l00184">OriginsDescriptor::GetNumDimensions()</a>.</p> |
| 290 | |
| 291 | <p class="reference">Referenced by <a class="el" href="_cl_splitter_workload_8cpp_source.html#l00055">ClSplitterWorkload::ClSplitterWorkload()</a>, <a class="el" href="_arm_compute_utils_8hpp_source.html#l00154">armnn::ComputeSplitAxis()</a>, <a class="el" href="_splitter_layer_8cpp_source.html#l00021">SplitterLayer::CreateWorkload()</a>, <a class="el" href="_splitter_layer_8cpp_source.html#l00128">SplitterLayer::InferOutputShapes()</a>, <a class="el" href="_cl_layer_support_8cpp_source.html#l00737">ClLayerSupport::IsSplitterSupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.html#l00721">NeonLayerSupport::IsSplitterSupported()</a>, <a class="el" href="_neon_splitter_workload_8cpp_source.html#l00055">NeonSplitterWorkload::NeonSplitterWorkload()</a>, <a class="el" href="_descriptors_8cpp_source.html#l00266">ViewsDescriptor::operator==()</a>, <a class="el" href="_serialize_layer_parameters_8cpp_source.html#l00181">StringifyLayerParameters< ViewsDescriptor >::Serialize()</a>, <a class="el" href="_descriptors_8cpp_source.html#l00307">ViewsDescriptor::SetViewSize()</a>, <a class="el" href="_splitter_layer_8cpp_source.html#l00142">SplitterLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_descriptors_8cpp_source.html#l00213">ViewsDescriptor::ViewsDescriptor()</a>, <a class="el" href="_serializer_8cpp_source.html#l01088">SerializerVisitor::VisitSplitterLayer()</a>, and <a class="el" href="_descriptors_8cpp_source.html#l00248">ViewsDescriptor::~ViewsDescriptor()</a>.</p> |
| 292 | <div class="fragment"><div class="line"><a name="l00293"></a><span class="lineno"> 293</span> {</div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  <span class="keywordflow">return</span> m_Origins.<a class="code" href="structarmnn_1_1_origins_descriptor.html#a78e8266be865fdd92cadd04d6e25ae1f">GetNumDimensions</a>();</div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span> }</div><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> |
| 293 | </div><!-- fragment --> |
| 294 | </div> |
| 295 | </div> |
| 296 | <a id="a35546e7b56e6e972a495b48748478ede"></a> |
| 297 | <h2 class="memtitle"><span class="permalink"><a href="#a35546e7b56e6e972a495b48748478ede">◆ </a></span>GetNumViews()</h2> |
| 298 | |
| 299 | <div class="memitem"> |
| 300 | <div class="memproto"> |
| 301 | <table class="memname"> |
| 302 | <tr> |
| 303 | <td class="memname">uint32_t GetNumViews </td> |
| 304 | <td>(</td> |
| 305 | <td class="paramname"></td><td>)</td> |
| 306 | <td> const</td> |
| 307 | </tr> |
| 308 | </table> |
| 309 | </div><div class="memdoc"> |
| 310 | |
| 311 | <p>Get the number of views. </p> |
| 312 | |
| 313 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.html#l00287">287</a> of file <a class="el" href="_descriptors_8cpp_source.html">Descriptors.cpp</a>.</p> |
| 314 | |
| 315 | <p class="reference">References <a class="el" href="_descriptors_8cpp_source.html#l00179">OriginsDescriptor::GetNumViews()</a>.</p> |
| 316 | |
| 317 | <p class="reference">Referenced by <a class="el" href="_arm_compute_utils_8hpp_source.html#l00154">armnn::ComputeSplitAxis()</a>, <a class="el" href="_splitter_layer_8cpp_source.html#l00021">SplitterLayer::CreateWorkload()</a>, <a class="el" href="_splitter_layer_8cpp_source.html#l00128">SplitterLayer::InferOutputShapes()</a>, <a class="el" href="_descriptors_8cpp_source.html#l00266">ViewsDescriptor::operator==()</a>, <a class="el" href="_serialize_layer_parameters_8cpp_source.html#l00181">StringifyLayerParameters< ViewsDescriptor >::Serialize()</a>, <a class="el" href="_descriptors_8cpp_source.html#l00307">ViewsDescriptor::SetViewSize()</a>, <a class="el" href="_splitter_layer_8cpp_source.html#l00142">SplitterLayer::ValidateTensorShapesFromInputs()</a>, <a class="el" href="_descriptors_8cpp_source.html#l00213">ViewsDescriptor::ViewsDescriptor()</a>, <a class="el" href="_serializer_8cpp_source.html#l01088">SerializerVisitor::VisitSplitterLayer()</a>, and <a class="el" href="_descriptors_8cpp_source.html#l00248">ViewsDescriptor::~ViewsDescriptor()</a>.</p> |
| 318 | <div class="fragment"><div class="line"><a name="l00288"></a><span class="lineno"> 288</span> {</div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  <span class="keywordflow">return</span> m_Origins.<a class="code" href="structarmnn_1_1_origins_descriptor.html#a35546e7b56e6e972a495b48748478ede">GetNumViews</a>();</div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span> }</div><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> |
| 319 | </div><!-- fragment --> |
| 320 | </div> |
| 321 | </div> |
| 322 | <a id="a88d7c8ef4baba3690a4d25eec350ecb3"></a> |
| 323 | <h2 class="memtitle"><span class="permalink"><a href="#a88d7c8ef4baba3690a4d25eec350ecb3">◆ </a></span>GetOrigins()</h2> |
| 324 | |
| 325 | <div class="memitem"> |
| 326 | <div class="memproto"> |
| 327 | <table class="memname"> |
| 328 | <tr> |
| 329 | <td class="memname">const <a class="el" href="structarmnn_1_1_origins_descriptor.html">OriginsDescriptor</a> & GetOrigins </td> |
| 330 | <td>(</td> |
| 331 | <td class="paramname"></td><td>)</td> |
| 332 | <td> const</td> |
| 333 | </tr> |
| 334 | </table> |
| 335 | </div><div class="memdoc"> |
| 336 | |
| 337 | <p>Get the View Origins. </p> |
| 338 | |
| 339 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.html#l00337">337</a> of file <a class="el" href="_descriptors_8cpp_source.html">Descriptors.cpp</a>.</p> |
| 340 | |
| 341 | <p class="reference">Referenced by <a class="el" href="_serialize_layer_parameters_8cpp_source.html#l00181">StringifyLayerParameters< ViewsDescriptor >::Serialize()</a>, and <a class="el" href="_serializer_8cpp_source.html#l01088">SerializerVisitor::VisitSplitterLayer()</a>.</p> |
| 342 | <div class="fragment"><div class="line"><a name="l00338"></a><span class="lineno"> 338</span> {</div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  <span class="keywordflow">return</span> m_Origins;</div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span> }</div></div><!-- fragment --> |
| 343 | </div> |
| 344 | </div> |
| 345 | <a id="ab78e6fe963508c1ac5c00d04bb3361a3"></a> |
| 346 | <h2 class="memtitle"><span class="permalink"><a href="#ab78e6fe963508c1ac5c00d04bb3361a3">◆ </a></span>GetViewOrigin()</h2> |
| 347 | |
| 348 | <div class="memitem"> |
| 349 | <div class="memproto"> |
| 350 | <table class="memname"> |
| 351 | <tr> |
| 352 | <td class="memname">const uint32_t * GetViewOrigin </td> |
| 353 | <td>(</td> |
| 354 | <td class="paramtype">uint32_t </td> |
| 355 | <td class="paramname"><em>idx</em></td><td>)</td> |
| 356 | <td> const</td> |
| 357 | </tr> |
| 358 | </table> |
| 359 | </div><div class="memdoc"> |
| 360 | |
| 361 | <p>Get the view origin at the int value idx. </p> |
| 362 | |
| 363 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.html#l00297">297</a> of file <a class="el" href="_descriptors_8cpp_source.html">Descriptors.cpp</a>.</p> |
| 364 | |
| 365 | <p class="reference">References <a class="el" href="_descriptors_8cpp_source.html#l00189">OriginsDescriptor::GetViewOrigin()</a>.</p> |
| 366 | |
| 367 | <p class="reference">Referenced by <a class="el" href="_splitter_layer_8cpp_source.html#l00021">SplitterLayer::CreateWorkload()</a>, <a class="el" href="_descriptors_8cpp_source.html#l00266">ViewsDescriptor::operator==()</a>, and <a class="el" href="_serializer_8cpp_source.html#l01088">SerializerVisitor::VisitSplitterLayer()</a>.</p> |
| 368 | <div class="fragment"><div class="line"><a name="l00298"></a><span class="lineno"> 298</span> {</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  <span class="keywordflow">return</span> m_Origins.<a class="code" href="structarmnn_1_1_origins_descriptor.html#ab78e6fe963508c1ac5c00d04bb3361a3">GetViewOrigin</a>(idx);</div><div class="line"><a name="l00300"></a><span class="lineno"> 300</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> |
| 369 | </div><!-- fragment --> |
| 370 | </div> |
| 371 | </div> |
| 372 | <a id="a3c1ab47a0a319413b3a4b5757ed5b80b"></a> |
| 373 | <h2 class="memtitle"><span class="permalink"><a href="#a3c1ab47a0a319413b3a4b5757ed5b80b">◆ </a></span>GetViewSizes()</h2> |
| 374 | |
| 375 | <div class="memitem"> |
| 376 | <div class="memproto"> |
| 377 | <table class="memname"> |
| 378 | <tr> |
| 379 | <td class="memname">const uint32_t * GetViewSizes </td> |
| 380 | <td>(</td> |
| 381 | <td class="paramtype">uint32_t </td> |
| 382 | <td class="paramname"><em>idx</em></td><td>)</td> |
| 383 | <td> const</td> |
| 384 | </tr> |
| 385 | </table> |
| 386 | </div><div class="memdoc"> |
| 387 | |
| 388 | <p>Get the view sizes at the int value idx. </p> |
| 389 | |
| 390 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.html#l00332">332</a> of file <a class="el" href="_descriptors_8cpp_source.html">Descriptors.cpp</a>.</p> |
| 391 | |
| 392 | <p class="reference">Referenced by <a class="el" href="_arm_compute_utils_8hpp_source.html#l00154">armnn::ComputeSplitAxis()</a>, <a class="el" href="_splitter_layer_8cpp_source.html#l00128">SplitterLayer::InferOutputShapes()</a>, <a class="el" href="_descriptors_8cpp_source.html#l00266">ViewsDescriptor::operator==()</a>, <a class="el" href="_serialize_layer_parameters_8cpp_source.html#l00181">StringifyLayerParameters< ViewsDescriptor >::Serialize()</a>, <a class="el" href="_splitter_layer_8cpp_source.html#l00142">SplitterLayer::ValidateTensorShapesFromInputs()</a>, and <a class="el" href="_serializer_8cpp_source.html#l01088">SerializerVisitor::VisitSplitterLayer()</a>.</p> |
| 393 | <div class="fragment"><div class="line"><a name="l00333"></a><span class="lineno"> 333</span> {</div><div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  <span class="keywordflow">return</span> m_ViewSizes ? m_ViewSizes[idx] : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span> }</div></div><!-- fragment --> |
| 394 | </div> |
| 395 | </div> |
| 396 | <a id="aee83273c36d9506ce40c904a93c6ab8b"></a> |
| 397 | <h2 class="memtitle"><span class="permalink"><a href="#aee83273c36d9506ce40c904a93c6ab8b">◆ </a></span>operator=()</h2> |
| 398 | |
| 399 | <div class="memitem"> |
| 400 | <div class="memproto"> |
| 401 | <table class="memname"> |
| 402 | <tr> |
| 403 | <td class="memname"><a class="el" href="structarmnn_1_1_views_descriptor.html">ViewsDescriptor</a> & operator= </td> |
| 404 | <td>(</td> |
| 405 | <td class="paramtype"><a class="el" href="structarmnn_1_1_views_descriptor.html">ViewsDescriptor</a> </td> |
| 406 | <td class="paramname"><em>rhs</em></td><td>)</td> |
| 407 | <td></td> |
| 408 | </tr> |
| 409 | </table> |
| 410 | </div><div class="memdoc"> |
| 411 | |
| 412 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.html#l00260">260</a> of file <a class="el" href="_descriptors_8cpp_source.html">Descriptors.cpp</a>.</p> |
| 413 | |
| 414 | <p class="reference">References <a class="el" href="_descriptors_8cpp_source.html#l00351">ViewsDescriptor::swap</a>.</p> |
| 415 | <div class="fragment"><div class="line"><a name="l00261"></a><span class="lineno"> 261</span> {</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  <a class="code" href="structarmnn_1_1_views_descriptor.html#a6ab1c51c46d6587c0eaa2a1674b2b48c">swap</a>(*<span class="keyword">this</span>, rhs);</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span> }</div><div class="ttc" id="structarmnn_1_1_views_descriptor_html_a6ab1c51c46d6587c0eaa2a1674b2b48c"><div class="ttname"><a href="structarmnn_1_1_views_descriptor.html#a6ab1c51c46d6587c0eaa2a1674b2b48c">armnn::ViewsDescriptor::swap</a></div><div class="ttdeci">friend void swap(ViewsDescriptor &first, ViewsDescriptor &second)</div><div class="ttdoc">Swap the ViewsDescriptor value first and second. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8cpp_source.html#l00351">Descriptors.cpp:351</a></div></div> |
| 416 | </div><!-- fragment --> |
| 417 | </div> |
| 418 | </div> |
| 419 | <a id="a85dcac1ac31524ea0f9d16a0a939bd75"></a> |
| 420 | <h2 class="memtitle"><span class="permalink"><a href="#a85dcac1ac31524ea0f9d16a0a939bd75">◆ </a></span>operator==()</h2> |
| 421 | |
| 422 | <div class="memitem"> |
| 423 | <div class="memproto"> |
| 424 | <table class="memname"> |
| 425 | <tr> |
| 426 | <td class="memname">bool operator== </td> |
| 427 | <td>(</td> |
| 428 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_views_descriptor.html">ViewsDescriptor</a> & </td> |
| 429 | <td class="paramname"><em>rhs</em></td><td>)</td> |
| 430 | <td> const</td> |
| 431 | </tr> |
| 432 | </table> |
| 433 | </div><div class="memdoc"> |
| 434 | |
| 435 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.html#l00266">266</a> of file <a class="el" href="_descriptors_8cpp_source.html">Descriptors.cpp</a>.</p> |
| 436 | |
| 437 | <p class="reference">References <a class="el" href="_descriptors_8cpp_source.html#l00292">ViewsDescriptor::GetNumDimensions()</a>, <a class="el" href="_descriptors_8cpp_source.html#l00287">ViewsDescriptor::GetNumViews()</a>, <a class="el" href="_descriptors_8cpp_source.html#l00297">ViewsDescriptor::GetViewOrigin()</a>, and <a class="el" href="_descriptors_8cpp_source.html#l00332">ViewsDescriptor::GetViewSizes()</a>.</p> |
| 438 | <div class="fragment"><div class="line"><a name="l00267"></a><span class="lineno"> 267</span> {</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  <span class="keywordflow">if</span> (<a class="code" href="structarmnn_1_1_views_descriptor.html#a35546e7b56e6e972a495b48748478ede">GetNumViews</a>() != rhs.GetNumViews() || <a class="code" href="structarmnn_1_1_views_descriptor.html#a78e8266be865fdd92cadd04d6e25ae1f">GetNumDimensions</a>() != rhs.GetNumDimensions())</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  {</div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  }</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span> </div><div class="line"><a name="l00273"></a><span class="lineno"> 273</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_views_descriptor.html#a35546e7b56e6e972a495b48748478ede">GetNumViews</a>(); ++i)</div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  {</div><div class="line"><a name="l00275"></a><span class="lineno"> 275</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_views_descriptor.html#a78e8266be865fdd92cadd04d6e25ae1f">GetNumDimensions</a>(); ++j)</div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  {</div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  <span class="keywordflow">if</span> (<a class="code" href="structarmnn_1_1_views_descriptor.html#ab78e6fe963508c1ac5c00d04bb3361a3">GetViewOrigin</a>(i)[j] != rhs.GetViewOrigin(i)[j] || <a class="code" href="structarmnn_1_1_views_descriptor.html#a3c1ab47a0a319413b3a4b5757ed5b80b">GetViewSizes</a>(i)[j] != rhs.GetViewSizes(i)[j])</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  {</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  }</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  }</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  }</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span> </div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span> }</div><div class="ttc" id="structarmnn_1_1_views_descriptor_html_a78e8266be865fdd92cadd04d6e25ae1f"><div class="ttname"><a href="structarmnn_1_1_views_descriptor.html#a78e8266be865fdd92cadd04d6e25ae1f">armnn::ViewsDescriptor::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#l00292">Descriptors.cpp:292</a></div></div> |
| 439 | <div class="ttc" id="structarmnn_1_1_views_descriptor_html_a3c1ab47a0a319413b3a4b5757ed5b80b"><div class="ttname"><a href="structarmnn_1_1_views_descriptor.html#a3c1ab47a0a319413b3a4b5757ed5b80b">armnn::ViewsDescriptor::GetViewSizes</a></div><div class="ttdeci">const uint32_t * GetViewSizes(uint32_t idx) const</div><div class="ttdoc">Get the view sizes at the int value idx. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8cpp_source.html#l00332">Descriptors.cpp:332</a></div></div> |
| 440 | <div class="ttc" id="structarmnn_1_1_views_descriptor_html_ab78e6fe963508c1ac5c00d04bb3361a3"><div class="ttname"><a href="structarmnn_1_1_views_descriptor.html#ab78e6fe963508c1ac5c00d04bb3361a3">armnn::ViewsDescriptor::GetViewOrigin</a></div><div class="ttdeci">const uint32_t * GetViewOrigin(uint32_t idx) const</div><div class="ttdoc">Get the view origin at the int value idx. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8cpp_source.html#l00297">Descriptors.cpp:297</a></div></div> |
| 441 | <div class="ttc" id="structarmnn_1_1_views_descriptor_html_a35546e7b56e6e972a495b48748478ede"><div class="ttname"><a href="structarmnn_1_1_views_descriptor.html#a35546e7b56e6e972a495b48748478ede">armnn::ViewsDescriptor::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#l00287">Descriptors.cpp:287</a></div></div> |
| 442 | </div><!-- fragment --> |
| 443 | </div> |
| 444 | </div> |
| 445 | <a id="a2b125117aa61f9baf3a9cb8658aa61a2"></a> |
| 446 | <h2 class="memtitle"><span class="permalink"><a href="#a2b125117aa61f9baf3a9cb8658aa61a2">◆ </a></span>SetViewOriginCoord()</h2> |
| 447 | |
| 448 | <div class="memitem"> |
| 449 | <div class="memproto"> |
| 450 | <table class="memname"> |
| 451 | <tr> |
| 452 | <td class="memname"><a class="el" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> SetViewOriginCoord </td> |
| 453 | <td>(</td> |
| 454 | <td class="paramtype">uint32_t </td> |
| 455 | <td class="paramname"><em>view</em>, </td> |
| 456 | </tr> |
| 457 | <tr> |
| 458 | <td class="paramkey"></td> |
| 459 | <td></td> |
| 460 | <td class="paramtype">uint32_t </td> |
| 461 | <td class="paramname"><em>coord</em>, </td> |
| 462 | </tr> |
| 463 | <tr> |
| 464 | <td class="paramkey"></td> |
| 465 | <td></td> |
| 466 | <td class="paramtype">uint32_t </td> |
| 467 | <td class="paramname"><em>value</em> </td> |
| 468 | </tr> |
| 469 | <tr> |
| 470 | <td></td> |
| 471 | <td>)</td> |
| 472 | <td></td><td></td> |
| 473 | </tr> |
| 474 | </table> |
| 475 | </div><div class="memdoc"> |
| 476 | <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_views_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_views_descriptor.html#a78e8266be865fdd92cadd04d6e25ae1f" title="Get the number of dimensions. ">GetNumDimensions()</a>, then the coord argument is out of range. </p> |
| 477 | |
| 478 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.html#l00302">302</a> of file <a class="el" href="_descriptors_8cpp_source.html">Descriptors.cpp</a>.</p> |
| 479 | |
| 480 | <p class="reference">References <a class="el" href="_descriptors_8cpp_source.html#l00159">OriginsDescriptor::SetViewOriginCoord()</a>.</p> |
| 481 | |
| 482 | <p class="reference">Referenced by <a class="el" href="_caffe_parser_8cpp_source.html#l00419">CaffeParserBase::AddConvLayerWithSplits()</a>, <a class="el" href="_serializer_tests_8cpp_source.html#l02273">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_deserializer_8cpp_source.html#l02148">Deserializer::GetNormalizationDescriptor()</a>, <a class="el" href="_tf_lite_parser_8cpp_source.html#l01901">TfLiteParser::OutputShapeOfReshape()</a>, and <a class="el" href="_tf_parser_8cpp_source.html#l02414">armnnTfParser::OutputShapeOfSqueeze()</a>.</p> |
| 483 | <div class="fragment"><div class="line"><a name="l00303"></a><span class="lineno"> 303</span> {</div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  <span class="keywordflow">return</span> m_Origins.<a class="code" href="structarmnn_1_1_origins_descriptor.html#a2b125117aa61f9baf3a9cb8658aa61a2">SetViewOriginCoord</a>(view, coord, value);</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span> }</div><div class="ttc" id="structarmnn_1_1_origins_descriptor_html_a2b125117aa61f9baf3a9cb8658aa61a2"><div class="ttname"><a href="structarmnn_1_1_origins_descriptor.html#a2b125117aa61f9baf3a9cb8658aa61a2">armnn::OriginsDescriptor::SetViewOriginCoord</a></div><div class="ttdeci">Status SetViewOriginCoord(uint32_t view, uint32_t coord, uint32_t value)</div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8cpp_source.html#l00159">Descriptors.cpp:159</a></div></div> |
| 484 | </div><!-- fragment --> |
| 485 | </div> |
| 486 | </div> |
| 487 | <a id="aae0893695f5803a3517985c7cb1ccb2e"></a> |
| 488 | <h2 class="memtitle"><span class="permalink"><a href="#aae0893695f5803a3517985c7cb1ccb2e">◆ </a></span>SetViewSize()</h2> |
| 489 | |
| 490 | <div class="memitem"> |
| 491 | <div class="memproto"> |
| 492 | <table class="memname"> |
| 493 | <tr> |
| 494 | <td class="memname"><a class="el" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">Status</a> SetViewSize </td> |
| 495 | <td>(</td> |
| 496 | <td class="paramtype">uint32_t </td> |
| 497 | <td class="paramname"><em>view</em>, </td> |
| 498 | </tr> |
| 499 | <tr> |
| 500 | <td class="paramkey"></td> |
| 501 | <td></td> |
| 502 | <td class="paramtype">uint32_t </td> |
| 503 | <td class="paramname"><em>coord</em>, </td> |
| 504 | </tr> |
| 505 | <tr> |
| 506 | <td class="paramkey"></td> |
| 507 | <td></td> |
| 508 | <td class="paramtype">uint32_t </td> |
| 509 | <td class="paramname"><em>value</em> </td> |
| 510 | </tr> |
| 511 | <tr> |
| 512 | <td></td> |
| 513 | <td>)</td> |
| 514 | <td></td><td></td> |
| 515 | </tr> |
| 516 | </table> |
| 517 | </div><div class="memdoc"> |
| 518 | |
| 519 | <p>Set the size of the views. The arguments are: view, dimension, value. If the view is greater than or equal to <a class="el" href="structarmnn_1_1_views_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_views_descriptor.html#a78e8266be865fdd92cadd04d6e25ae1f" title="Get the number of dimensions. ">GetNumDimensions()</a>, then the coord argument is out of range. </p> |
| 520 | |
| 521 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.html#l00307">307</a> of file <a class="el" href="_descriptors_8cpp_source.html">Descriptors.cpp</a>.</p> |
| 522 | |
| 523 | <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>, <a class="el" href="_descriptors_8cpp_source.html#l00292">ViewsDescriptor::GetNumDimensions()</a>, <a class="el" href="_descriptors_8cpp_source.html#l00287">ViewsDescriptor::GetNumViews()</a>, and <a class="el" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba505a83f220c02df2f85c3810cd9ceb38">armnn::Success</a>.</p> |
| 524 | |
| 525 | <p class="reference">Referenced by <a class="el" href="_caffe_parser_8cpp_source.html#l00419">CaffeParserBase::AddConvLayerWithSplits()</a>, <a class="el" href="_serializer_tests_8cpp_source.html#l02273">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_deserializer_8cpp_source.html#l02148">Deserializer::GetNormalizationDescriptor()</a>, <a class="el" href="_tf_lite_parser_8cpp_source.html#l01901">TfLiteParser::OutputShapeOfReshape()</a>, and <a class="el" href="_tf_parser_8cpp_source.html#l02414">armnnTfParser::OutputShapeOfSqueeze()</a>.</p> |
| 526 | <div class="fragment"><div class="line"><a name="l00308"></a><span class="lineno"> 308</span> {</div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  <span class="keywordflow">if</span> (!m_ViewSizes)</div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  {</div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  <a class="code" href="_logging_8hpp.html#a7b6ad073975f437ec38ca7d20154727f">ARMNN_LOG</a>(<a class="code" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acb5e100e5a9a3e7f6d1fd97512215282">error</a>) << <span class="stringliteral">"ViewsDescriptor::SetViewSize: invalid view sizes"</span>;</div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  <span class="keywordflow">return</span> <a class="code" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70bae139a585510a502bbf1841cf589f5086">Status::Failure</a>;</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  }</div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span> </div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  <span class="keywordflow">if</span> (view >= <a class="code" href="structarmnn_1_1_views_descriptor.html#a35546e7b56e6e972a495b48748478ede">GetNumViews</a>())</div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  {</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  <a class="code" href="_logging_8hpp.html#a7b6ad073975f437ec38ca7d20154727f">ARMNN_LOG</a>(<a class="code" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acb5e100e5a9a3e7f6d1fd97512215282">error</a>) << <span class="stringliteral">"ViewsDescriptor::SetViewSize: view argument:"</span> << view <<</div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  <span class="stringliteral">" is out of range"</span>;</div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  <span class="keywordflow">return</span> <a class="code" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70bae139a585510a502bbf1841cf589f5086">Status::Failure</a>;</div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  }</div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  <span class="keywordflow">if</span> (coord >= <a class="code" href="structarmnn_1_1_views_descriptor.html#a78e8266be865fdd92cadd04d6e25ae1f">GetNumDimensions</a>())</div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  {</div><div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  <a class="code" href="_logging_8hpp.html#a7b6ad073975f437ec38ca7d20154727f">ARMNN_LOG</a>(<a class="code" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acb5e100e5a9a3e7f6d1fd97512215282">error</a>) << <span class="stringliteral">"ViewsDescriptor::SetViewSize: coord argument:"</span> << coord <<</div><div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  <span class="stringliteral">" is out of range"</span>;</div><div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  <span class="keywordflow">return</span> <a class="code" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70bae139a585510a502bbf1841cf589f5086">Status::Failure</a>;</div><div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  }</div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span> </div><div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  m_ViewSizes[view][coord] = value;</div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  <span class="keywordflow">return</span> <a class="code" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba505a83f220c02df2f85c3810cd9ceb38">Status::Success</a>;</div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span> }</div><div class="ttc" id="namespacearmnn_html_a67a0db04d321a74b7e7fcfd3f1a3f70ba505a83f220c02df2f85c3810cd9ceb38"><div class="ttname"><a href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70ba505a83f220c02df2f85c3810cd9ceb38">armnn::Status::Success</a></div></div> |
| 527 | <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> |
| 528 | <div class="ttc" id="namespacearmnn_html_a4dc0adc6737b5944e7671bee71788407acb5e100e5a9a3e7f6d1fd97512215282"><div class="ttname"><a href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acb5e100e5a9a3e7f6d1fd97512215282">armnn::BoostLogSeverityMapping::error</a></div></div> |
| 529 | <div class="ttc" id="structarmnn_1_1_views_descriptor_html_a78e8266be865fdd92cadd04d6e25ae1f"><div class="ttname"><a href="structarmnn_1_1_views_descriptor.html#a78e8266be865fdd92cadd04d6e25ae1f">armnn::ViewsDescriptor::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#l00292">Descriptors.cpp:292</a></div></div> |
| 530 | <div class="ttc" id="namespacearmnn_html_a67a0db04d321a74b7e7fcfd3f1a3f70bae139a585510a502bbf1841cf589f5086"><div class="ttname"><a href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70bae139a585510a502bbf1841cf589f5086">armnn::Status::Failure</a></div></div> |
| 531 | <div class="ttc" id="structarmnn_1_1_views_descriptor_html_a35546e7b56e6e972a495b48748478ede"><div class="ttname"><a href="structarmnn_1_1_views_descriptor.html#a35546e7b56e6e972a495b48748478ede">armnn::ViewsDescriptor::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#l00287">Descriptors.cpp:287</a></div></div> |
| 532 | </div><!-- fragment --> |
| 533 | </div> |
| 534 | </div> |
| 535 | <h2 class="groupheader">Friends And Related Function Documentation</h2> |
| 536 | <a id="a6ab1c51c46d6587c0eaa2a1674b2b48c"></a> |
| 537 | <h2 class="memtitle"><span class="permalink"><a href="#a6ab1c51c46d6587c0eaa2a1674b2b48c">◆ </a></span>swap</h2> |
| 538 | |
| 539 | <div class="memitem"> |
| 540 | <div class="memproto"> |
| 541 | <table class="mlabels"> |
| 542 | <tr> |
| 543 | <td class="mlabels-left"> |
| 544 | <table class="memname"> |
| 545 | <tr> |
| 546 | <td class="memname">void swap </td> |
| 547 | <td>(</td> |
| 548 | <td class="paramtype"><a class="el" href="structarmnn_1_1_views_descriptor.html">ViewsDescriptor</a> & </td> |
| 549 | <td class="paramname"><em>first</em>, </td> |
| 550 | </tr> |
| 551 | <tr> |
| 552 | <td class="paramkey"></td> |
| 553 | <td></td> |
| 554 | <td class="paramtype"><a class="el" href="structarmnn_1_1_views_descriptor.html">ViewsDescriptor</a> & </td> |
| 555 | <td class="paramname"><em>second</em> </td> |
| 556 | </tr> |
| 557 | <tr> |
| 558 | <td></td> |
| 559 | <td>)</td> |
| 560 | <td></td><td></td> |
| 561 | </tr> |
| 562 | </table> |
| 563 | </td> |
| 564 | <td class="mlabels-right"> |
| 565 | <span class="mlabels"><span class="mlabel">friend</span></span> </td> |
| 566 | </tr> |
| 567 | </table> |
| 568 | </div><div class="memdoc"> |
| 569 | |
| 570 | <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> value first and second. </p> |
| 571 | |
| 572 | <p class="definition">Definition at line <a class="el" href="_descriptors_8cpp_source.html#l00351">351</a> of file <a class="el" href="_descriptors_8cpp_source.html">Descriptors.cpp</a>.</p> |
| 573 | |
| 574 | <p class="reference">Referenced by <a class="el" href="_descriptors_8cpp_source.html#l00260">ViewsDescriptor::operator=()</a>, <a class="el" href="_descriptors_8cpp_source.html#l00342">armnn::swap()</a>, and <a class="el" href="_descriptors_8cpp_source.html#l00242">ViewsDescriptor::ViewsDescriptor()</a>.</p> |
| 575 | <div class="fragment"><div class="line"><a name="l00352"></a><span class="lineno"> 352</span> {</div><div class="line"><a name="l00353"></a><span class="lineno"> 353</span>  <span class="keyword">using</span> <a class="code" href="namespacearmnn.html#a686b8288a04b3ffff67d560eea53f6be">std::swap</a>;</div><div class="line"><a name="l00354"></a><span class="lineno"> 354</span>  <a class="code" href="structarmnn_1_1_views_descriptor.html#a6ab1c51c46d6587c0eaa2a1674b2b48c">swap</a>(first.m_Origins, second.m_Origins);</div><div class="line"><a name="l00355"></a><span class="lineno"> 355</span>  <a class="code" href="structarmnn_1_1_views_descriptor.html#a6ab1c51c46d6587c0eaa2a1674b2b48c">swap</a>(first.m_ViewSizes, second.m_ViewSizes);</div><div class="line"><a name="l00356"></a><span class="lineno"> 356</span> }</div><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> |
| 576 | <div class="ttc" id="structarmnn_1_1_views_descriptor_html_a6ab1c51c46d6587c0eaa2a1674b2b48c"><div class="ttname"><a href="structarmnn_1_1_views_descriptor.html#a6ab1c51c46d6587c0eaa2a1674b2b48c">armnn::ViewsDescriptor::swap</a></div><div class="ttdeci">friend void swap(ViewsDescriptor &first, ViewsDescriptor &second)</div><div class="ttdoc">Swap the ViewsDescriptor value first and second. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8cpp_source.html#l00351">Descriptors.cpp:351</a></div></div> |
| 577 | </div><!-- fragment --> |
| 578 | </div> |
| 579 | </div> |
| 580 | <hr/>The documentation for this struct was generated from the following files:<ul> |
| 581 | <li>include/armnn/<a class="el" href="_descriptors_8hpp_source.html">Descriptors.hpp</a></li> |
| 582 | <li>src/armnn/<a class="el" href="_descriptors_8cpp_source.html">Descriptors.cpp</a></li> |
| 583 | </ul> |
| 584 | </div><!-- contents --> |
| 585 | </div><!-- doc-content --> |
| 586 | <!-- start footer part --> |
| 587 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 588 | <ul> |
| 589 | <li class="navelem"><a class="el" href="namespacearmnn.html">armnn</a></li><li class="navelem"><a class="el" href="structarmnn_1_1_views_descriptor.html">ViewsDescriptor</a></li> |
| 590 | <li class="footer">Generated on Fri Mar 13 2020 16:07:05 for ArmNN by |
| 591 | <a href="http://www.doxygen.org/index.html"> |
| 592 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 593 | </ul> |
| 594 | </div> |
| 595 | </body> |
| 596 | </html> |