blob: 99f2d2a58a35cf5417602a3e1155a181b62de2a7 [file] [log] [blame]
Nikhil Raj549b9602022-05-24 11:32:07 +01001<!-- 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: ReshapeDescriptor 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">22.05</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_reshape_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="#pub-attribs">Public Attributes</a> &#124;
100<a href="structarmnn_1_1_reshape_descriptor-members.xhtml">List of all members</a> </div>
101 <div class="headertitle">
102<div class="title">ReshapeDescriptor Struct Reference</div> </div>
103</div><!--header-->
104<div class="contents">
105
106<p>A <a class="el" href="structarmnn_1_1_reshape_descriptor.xhtml" title="A ReshapeDescriptor for the ReshapeLayer. ">ReshapeDescriptor</a> for the <a class="el" href="classarmnn_1_1_reshape_layer.xhtml" title="This layer represents a reshape operation. ">ReshapeLayer</a>.
107 <a href="structarmnn_1_1_reshape_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<div class="dynheader">
111Inheritance diagram for ReshapeDescriptor:</div>
112<div class="dyncontent">
113 <div class="center">
114 <img src="structarmnn_1_1_reshape_descriptor.png" usemap="#ReshapeDescriptor_map" alt=""/>
115 <map id="ReshapeDescriptor_map" name="ReshapeDescriptor_map">
116<area href="structarmnn_1_1_base_descriptor.xhtml" title="Base class for all descriptors. " alt="BaseDescriptor" shape="rect" coords="0,0,120,24"/>
117</map>
118 </div></div>
119<table class="memberdecls">
120<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
121Public Member Functions</h2></td></tr>
122<tr class="memitem:aa56cfbc7e14b271ba389e064a769e2f2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_reshape_descriptor.xhtml#aa56cfbc7e14b271ba389e064a769e2f2">ReshapeDescriptor</a> ()</td></tr>
123<tr class="separator:aa56cfbc7e14b271ba389e064a769e2f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
124<tr class="memitem:a167ba78098e8fdf1e3d467c8ac5bd57c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_reshape_descriptor.xhtml#a167ba78098e8fdf1e3d467c8ac5bd57c">ReshapeDescriptor</a> (const <a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a> &amp;shape)</td></tr>
125<tr class="separator:a167ba78098e8fdf1e3d467c8ac5bd57c"><td class="memSeparator" colspan="2">&#160;</td></tr>
126<tr class="memitem:a382377c9853a4aca845b50ba73a74c79"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_reshape_descriptor.xhtml#a382377c9853a4aca845b50ba73a74c79">operator==</a> (const <a class="el" href="structarmnn_1_1_reshape_descriptor.xhtml">ReshapeDescriptor</a> &amp;rhs) const</td></tr>
127<tr class="separator:a382377c9853a4aca845b50ba73a74c79"><td class="memSeparator" colspan="2">&#160;</td></tr>
128<tr class="inherit_header pub_methods_structarmnn_1_1_base_descriptor"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_structarmnn_1_1_base_descriptor')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="structarmnn_1_1_base_descriptor.xhtml">BaseDescriptor</a></td></tr>
129<tr class="memitem:ac618666b3c6d65d2c88bcbb7abeed343 inherit pub_methods_structarmnn_1_1_base_descriptor"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_base_descriptor.xhtml#ac618666b3c6d65d2c88bcbb7abeed343">IsNull</a> () const</td></tr>
130<tr class="separator:ac618666b3c6d65d2c88bcbb7abeed343 inherit pub_methods_structarmnn_1_1_base_descriptor"><td class="memSeparator" colspan="2">&#160;</td></tr>
131<tr class="memitem:a5e0f82ef2f18eb897e6d6f1845e74033 inherit pub_methods_structarmnn_1_1_base_descriptor"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_base_descriptor.xhtml#a5e0f82ef2f18eb897e6d6f1845e74033">~BaseDescriptor</a> ()=default</td></tr>
132<tr class="separator:a5e0f82ef2f18eb897e6d6f1845e74033 inherit pub_methods_structarmnn_1_1_base_descriptor"><td class="memSeparator" colspan="2">&#160;</td></tr>
133</table><table class="memberdecls">
134<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
135Public Attributes</h2></td></tr>
136<tr class="memitem:a1178f4dafdda81f59c15145ec327f7d9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_reshape_descriptor.xhtml#a1178f4dafdda81f59c15145ec327f7d9">m_TargetShape</a></td></tr>
137<tr class="memdesc:a1178f4dafdda81f59c15145ec327f7d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Target shape value. <a href="#a1178f4dafdda81f59c15145ec327f7d9">More...</a><br /></td></tr>
138<tr class="separator:a1178f4dafdda81f59c15145ec327f7d9"><td class="memSeparator" colspan="2">&#160;</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_reshape_descriptor.xhtml" title="A ReshapeDescriptor for the ReshapeLayer. ">ReshapeDescriptor</a> for the <a class="el" href="classarmnn_1_1_reshape_layer.xhtml" title="This layer represents a reshape operation. ">ReshapeLayer</a>. </p>
142
143<p class="definition">Definition at line <a class="el" href="_descriptors_8hpp_source.xhtml#l01004">1004</a> of file <a class="el" href="_descriptors_8hpp_source.xhtml">Descriptors.hpp</a>.</p>
144</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
145<a id="aa56cfbc7e14b271ba389e064a769e2f2"></a>
146<h2 class="memtitle"><span class="permalink"><a href="#aa56cfbc7e14b271ba389e064a769e2f2">&#9670;&nbsp;</a></span>ReshapeDescriptor() <span class="overload">[1/2]</span></h2>
147
148<div class="memitem">
149<div class="memproto">
150<table class="mlabels">
151 <tr>
152 <td class="mlabels-left">
153 <table class="memname">
154 <tr>
155 <td class="memname"><a class="el" href="structarmnn_1_1_reshape_descriptor.xhtml">ReshapeDescriptor</a> </td>
156 <td>(</td>
157 <td class="paramname"></td><td>)</td>
158 <td></td>
159 </tr>
160 </table>
161 </td>
162 <td class="mlabels-right">
163<span class="mlabels"><span class="mlabel">inline</span></span> </td>
164 </tr>
165</table>
166</div><div class="memdoc">
167
168<p class="definition">Definition at line <a class="el" href="_descriptors_8hpp_source.xhtml#l01006">1006</a> of file <a class="el" href="_descriptors_8hpp_source.xhtml">Descriptors.hpp</a>.</p>
169<div class="fragment"><div class="line"><a name="l01007"></a><span class="lineno"> 1007</span>&#160; : <a class="code" href="structarmnn_1_1_reshape_descriptor.xhtml#a1178f4dafdda81f59c15145ec327f7d9">m_TargetShape</a>()</div><div class="line"><a name="l01008"></a><span class="lineno"> 1008</span>&#160; {}</div><div class="ttc" id="structarmnn_1_1_reshape_descriptor_xhtml_a1178f4dafdda81f59c15145ec327f7d9"><div class="ttname"><a href="structarmnn_1_1_reshape_descriptor.xhtml#a1178f4dafdda81f59c15145ec327f7d9">armnn::ReshapeDescriptor::m_TargetShape</a></div><div class="ttdeci">TensorShape m_TargetShape</div><div class="ttdoc">Target shape value. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.xhtml#l01020">Descriptors.hpp:1020</a></div></div>
170</div><!-- fragment -->
171</div>
172</div>
173<a id="a167ba78098e8fdf1e3d467c8ac5bd57c"></a>
174<h2 class="memtitle"><span class="permalink"><a href="#a167ba78098e8fdf1e3d467c8ac5bd57c">&#9670;&nbsp;</a></span>ReshapeDescriptor() <span class="overload">[2/2]</span></h2>
175
176<div class="memitem">
177<div class="memproto">
178<table class="mlabels">
179 <tr>
180 <td class="mlabels-left">
181 <table class="memname">
182 <tr>
183 <td class="memname"><a class="el" href="structarmnn_1_1_reshape_descriptor.xhtml">ReshapeDescriptor</a> </td>
184 <td>(</td>
185 <td class="paramtype">const <a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a> &amp;&#160;</td>
186 <td class="paramname"><em>shape</em></td><td>)</td>
187 <td></td>
188 </tr>
189 </table>
190 </td>
191 <td class="mlabels-right">
192<span class="mlabels"><span class="mlabel">inline</span></span> </td>
193 </tr>
194</table>
195</div><div class="memdoc">
196
197<p class="definition">Definition at line <a class="el" href="_descriptors_8hpp_source.xhtml#l01010">1010</a> of file <a class="el" href="_descriptors_8hpp_source.xhtml">Descriptors.hpp</a>.</p>
198<div class="fragment"><div class="line"><a name="l01011"></a><span class="lineno"> 1011</span>&#160; : <a class="code" href="structarmnn_1_1_reshape_descriptor.xhtml#a1178f4dafdda81f59c15145ec327f7d9">m_TargetShape</a>(shape)</div><div class="line"><a name="l01012"></a><span class="lineno"> 1012</span>&#160; {}</div><div class="ttc" id="structarmnn_1_1_reshape_descriptor_xhtml_a1178f4dafdda81f59c15145ec327f7d9"><div class="ttname"><a href="structarmnn_1_1_reshape_descriptor.xhtml#a1178f4dafdda81f59c15145ec327f7d9">armnn::ReshapeDescriptor::m_TargetShape</a></div><div class="ttdeci">TensorShape m_TargetShape</div><div class="ttdoc">Target shape value. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.xhtml#l01020">Descriptors.hpp:1020</a></div></div>
199</div><!-- fragment -->
200</div>
201</div>
202<h2 class="groupheader">Member Function Documentation</h2>
203<a id="a382377c9853a4aca845b50ba73a74c79"></a>
204<h2 class="memtitle"><span class="permalink"><a href="#a382377c9853a4aca845b50ba73a74c79">&#9670;&nbsp;</a></span>operator==()</h2>
205
206<div class="memitem">
207<div class="memproto">
208<table class="mlabels">
209 <tr>
210 <td class="mlabels-left">
211 <table class="memname">
212 <tr>
213 <td class="memname">bool operator== </td>
214 <td>(</td>
215 <td class="paramtype">const <a class="el" href="structarmnn_1_1_reshape_descriptor.xhtml">ReshapeDescriptor</a> &amp;&#160;</td>
216 <td class="paramname"><em>rhs</em></td><td>)</td>
217 <td> const</td>
218 </tr>
219 </table>
220 </td>
221 <td class="mlabels-right">
222<span class="mlabels"><span class="mlabel">inline</span></span> </td>
223 </tr>
224</table>
225</div><div class="memdoc">
226
227<p class="definition">Definition at line <a class="el" href="_descriptors_8hpp_source.xhtml#l01014">1014</a> of file <a class="el" href="_descriptors_8hpp_source.xhtml">Descriptors.hpp</a>.</p>
228
229<p class="reference">References <a class="el" href="_descriptors_8hpp_source.xhtml#l01020">ReshapeDescriptor::m_TargetShape</a>.</p>
230<div class="fragment"><div class="line"><a name="l01015"></a><span class="lineno"> 1015</span>&#160; {</div><div class="line"><a name="l01016"></a><span class="lineno"> 1016</span>&#160; <span class="keywordflow">return</span> <a class="code" href="structarmnn_1_1_reshape_descriptor.xhtml#a1178f4dafdda81f59c15145ec327f7d9">m_TargetShape</a> == rhs.m_TargetShape;</div><div class="line"><a name="l01017"></a><span class="lineno"> 1017</span>&#160; }</div><div class="ttc" id="structarmnn_1_1_reshape_descriptor_xhtml_a1178f4dafdda81f59c15145ec327f7d9"><div class="ttname"><a href="structarmnn_1_1_reshape_descriptor.xhtml#a1178f4dafdda81f59c15145ec327f7d9">armnn::ReshapeDescriptor::m_TargetShape</a></div><div class="ttdeci">TensorShape m_TargetShape</div><div class="ttdoc">Target shape value. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.xhtml#l01020">Descriptors.hpp:1020</a></div></div>
231</div><!-- fragment -->
232</div>
233</div>
234<h2 class="groupheader">Member Data Documentation</h2>
235<a id="a1178f4dafdda81f59c15145ec327f7d9"></a>
236<h2 class="memtitle"><span class="permalink"><a href="#a1178f4dafdda81f59c15145ec327f7d9">&#9670;&nbsp;</a></span>m_TargetShape</h2>
237
238<div class="memitem">
239<div class="memproto">
240 <table class="memname">
241 <tr>
242 <td class="memname"><a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a> m_TargetShape</td>
243 </tr>
244 </table>
245</div><div class="memdoc">
246
247<p>Target shape value. </p>
248
249<p class="definition">Definition at line <a class="el" href="_descriptors_8hpp_source.xhtml#l01020">1020</a> of file <a class="el" href="_descriptors_8hpp_source.xhtml">Descriptors.hpp</a>.</p>
250
251<p class="reference">Referenced by <a class="el" href="_tf_lite_parser_8cpp_source.xhtml#l00900">armnnTfLiteParser::AsFloatArray()</a>, <a class="el" href="_onnx_parser_8cpp_source.xhtml#l00797">OnnxParserImpl::CreateNetworkFromString()</a>, <a class="el" href="_serializer_8cpp_source.xhtml#l00086">armnnSerializer::GetFlatBufferArgMinMaxFunction()</a>, <a class="el" href="_reshape_layer_8cpp_source.xhtml#l00035">ReshapeLayer::InferOutputShapes()</a>, <a class="el" href="_reshape_layer_8hpp_source.xhtml#l00042">ReshapeLayer::IsEqual()</a>, <a class="el" href="_descriptors_8hpp_source.xhtml#l01014">ReshapeDescriptor::operator==()</a>, <a class="el" href="_deserializer_8cpp_source.xhtml#l02486">IDeserializer::DeserializerImpl::OutputShapeOfReshape()</a>, <a class="el" href="_tf_lite_parser_8cpp_source.xhtml#l02671">TfLiteParserImpl::OutputShapeOfReshape()</a>, <a class="el" href="_tf_lite_parser_8cpp_source.xhtml#l01928">TfLiteParserImpl::OutputShapeOfSqueeze()</a>, <a class="el" href="_serialize_layer_parameters_8cpp_source.xhtml#l00403">StringifyLayerParameters&lt; ReshapeDescriptor &gt;::Serialize()</a>, and <a class="el" href="_shape_inference_tests_8cpp_source.xhtml#l00017">TEST_SUITE()</a>.</p>
252
253</div>
254</div>
255<hr/>The documentation for this struct was generated from the following file:<ul>
256<li>include/armnn/<a class="el" href="_descriptors_8hpp_source.xhtml">Descriptors.hpp</a></li>
257</ul>
258</div><!-- contents -->
259</div><!-- doc-content -->
260<!-- start footer part -->
261<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
262 <ul>
263 <li class="navelem"><a class="el" href="namespacearmnn.xhtml">armnn</a></li><li class="navelem"><a class="el" href="structarmnn_1_1_reshape_descriptor.xhtml">ReshapeDescriptor</a></li>
264 <li class="footer">Generated on Tue May 24 2022 11:27:25 for ArmNN by
265 <a href="http://www.doxygen.org/index.html">
266 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
267 </ul>
268</div>
269</body>
270</html>