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