blob: cdd8d9b9fa6936b543b7a89ecc0f310295666b24 [file] [log] [blame]
Colm Donelana983e462020-05-20 16:12:19 +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: ElementwiseUnaryDescriptor 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.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_elementwise_unary_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_elementwise_unary_descriptor-members.xhtml">List of all members</a> </div>
101 <div class="headertitle">
102<div class="title">ElementwiseUnaryDescriptor Struct Reference</div> </div>
103</div><!--header-->
104<div class="contents">
105
106<p>A <a class="el" href="structarmnn_1_1_elementwise_unary_descriptor.xhtml" title="A ElementwiseUnaryDescriptor for the ElementwiseUnaryLayer. ">ElementwiseUnaryDescriptor</a> for the <a class="el" href="classarmnn_1_1_elementwise_unary_layer.xhtml" title="This layer represents a elementwiseUnary operation. ">ElementwiseUnaryLayer</a>.
107 <a href="structarmnn_1_1_elementwise_unary_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:a3f8539a92fa960a194527b03c2183172"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_elementwise_unary_descriptor.xhtml#a3f8539a92fa960a194527b03c2183172">ElementwiseUnaryDescriptor</a> ()</td></tr>
114<tr class="separator:a3f8539a92fa960a194527b03c2183172"><td class="memSeparator" colspan="2">&#160;</td></tr>
115<tr class="memitem:a6b7d869ff464fce01745b97f89cc1a02"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_elementwise_unary_descriptor.xhtml#a6b7d869ff464fce01745b97f89cc1a02">ElementwiseUnaryDescriptor</a> (<a class="el" href="namespacearmnn.xhtml#a1cfaa710db2a54673b21d2ea2da757c8">UnaryOperation</a> operation)</td></tr>
116<tr class="separator:a6b7d869ff464fce01745b97f89cc1a02"><td class="memSeparator" colspan="2">&#160;</td></tr>
117<tr class="memitem:a58aa3857edb8d4addbbb44510147bb59"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_elementwise_unary_descriptor.xhtml#a58aa3857edb8d4addbbb44510147bb59">operator==</a> (const <a class="el" href="structarmnn_1_1_elementwise_unary_descriptor.xhtml">ElementwiseUnaryDescriptor</a> &amp;rhs) const</td></tr>
118<tr class="separator:a58aa3857edb8d4addbbb44510147bb59"><td class="memSeparator" colspan="2">&#160;</td></tr>
119</table><table class="memberdecls">
120<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
121Public Attributes</h2></td></tr>
122<tr class="memitem:afe768be66897eb3d73284424e3239b23"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn.xhtml#a1cfaa710db2a54673b21d2ea2da757c8">UnaryOperation</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_elementwise_unary_descriptor.xhtml#afe768be66897eb3d73284424e3239b23">m_Operation</a></td></tr>
123<tr class="memdesc:afe768be66897eb3d73284424e3239b23"><td class="mdescLeft">&#160;</td><td class="mdescRight">Specifies the elementwiseUnary operation to execute. <a href="#afe768be66897eb3d73284424e3239b23">More...</a><br /></td></tr>
124<tr class="separator:afe768be66897eb3d73284424e3239b23"><td class="memSeparator" colspan="2">&#160;</td></tr>
125</table>
126<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
127<div class="textblock"><p>A <a class="el" href="structarmnn_1_1_elementwise_unary_descriptor.xhtml" title="A ElementwiseUnaryDescriptor for the ElementwiseUnaryLayer. ">ElementwiseUnaryDescriptor</a> for the <a class="el" href="classarmnn_1_1_elementwise_unary_layer.xhtml" title="This layer represents a elementwiseUnary operation. ">ElementwiseUnaryLayer</a>. </p>
128
129<p class="definition">Definition at line <a class="el" href="_descriptors_8hpp_source.xhtml#l00090">90</a> of file <a class="el" href="_descriptors_8hpp_source.xhtml">Descriptors.hpp</a>.</p>
130</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
131<a id="a3f8539a92fa960a194527b03c2183172"></a>
132<h2 class="memtitle"><span class="permalink"><a href="#a3f8539a92fa960a194527b03c2183172">&#9670;&nbsp;</a></span>ElementwiseUnaryDescriptor() <span class="overload">[1/2]</span></h2>
133
134<div class="memitem">
135<div class="memproto">
136<table class="mlabels">
137 <tr>
138 <td class="mlabels-left">
139 <table class="memname">
140 <tr>
141 <td class="memname"><a class="el" href="structarmnn_1_1_elementwise_unary_descriptor.xhtml">ElementwiseUnaryDescriptor</a> </td>
142 <td>(</td>
143 <td class="paramname"></td><td>)</td>
144 <td></td>
145 </tr>
146 </table>
147 </td>
148 <td class="mlabels-right">
149<span class="mlabels"><span class="mlabel">inline</span></span> </td>
150 </tr>
151</table>
152</div><div class="memdoc">
153
154<p class="definition">Definition at line <a class="el" href="_descriptors_8hpp_source.xhtml#l00092">92</a> of file <a class="el" href="_descriptors_8hpp_source.xhtml">Descriptors.hpp</a>.</p>
155<div class="fragment"><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; : <a class="code" href="structarmnn_1_1_elementwise_unary_descriptor.xhtml#a3f8539a92fa960a194527b03c2183172">ElementwiseUnaryDescriptor</a>(<a class="code" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa1e34af023adeb7d5f484f8eb4b9826b6">UnaryOperation::Abs</a>)</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; {}</div><div class="ttc" id="namespacearmnn_xhtml_a56297e0f7b215eea46c818cb7528d9eaa1e34af023adeb7d5f484f8eb4b9826b6"><div class="ttname"><a href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa1e34af023adeb7d5f484f8eb4b9826b6">armnn::ActivationFunction::Abs</a></div></div>
156<div class="ttc" id="structarmnn_1_1_elementwise_unary_descriptor_xhtml_a3f8539a92fa960a194527b03c2183172"><div class="ttname"><a href="structarmnn_1_1_elementwise_unary_descriptor.xhtml#a3f8539a92fa960a194527b03c2183172">armnn::ElementwiseUnaryDescriptor::ElementwiseUnaryDescriptor</a></div><div class="ttdeci">ElementwiseUnaryDescriptor()</div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.xhtml#l00092">Descriptors.hpp:92</a></div></div>
157</div><!-- fragment -->
158</div>
159</div>
160<a id="a6b7d869ff464fce01745b97f89cc1a02"></a>
161<h2 class="memtitle"><span class="permalink"><a href="#a6b7d869ff464fce01745b97f89cc1a02">&#9670;&nbsp;</a></span>ElementwiseUnaryDescriptor() <span class="overload">[2/2]</span></h2>
162
163<div class="memitem">
164<div class="memproto">
165<table class="mlabels">
166 <tr>
167 <td class="mlabels-left">
168 <table class="memname">
169 <tr>
170 <td class="memname"><a class="el" href="structarmnn_1_1_elementwise_unary_descriptor.xhtml">ElementwiseUnaryDescriptor</a> </td>
171 <td>(</td>
172 <td class="paramtype"><a class="el" href="namespacearmnn.xhtml#a1cfaa710db2a54673b21d2ea2da757c8">UnaryOperation</a>&#160;</td>
173 <td class="paramname"><em>operation</em></td><td>)</td>
174 <td></td>
175 </tr>
176 </table>
177 </td>
178 <td class="mlabels-right">
179<span class="mlabels"><span class="mlabel">inline</span></span> </td>
180 </tr>
181</table>
182</div><div class="memdoc">
183
184<p class="definition">Definition at line <a class="el" href="_descriptors_8hpp_source.xhtml#l00096">96</a> of file <a class="el" href="_descriptors_8hpp_source.xhtml">Descriptors.hpp</a>.</p>
185<div class="fragment"><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; : <a class="code" href="structarmnn_1_1_elementwise_unary_descriptor.xhtml#afe768be66897eb3d73284424e3239b23">m_Operation</a>(operation)</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; {}</div><div class="ttc" id="structarmnn_1_1_elementwise_unary_descriptor_xhtml_afe768be66897eb3d73284424e3239b23"><div class="ttname"><a href="structarmnn_1_1_elementwise_unary_descriptor.xhtml#afe768be66897eb3d73284424e3239b23">armnn::ElementwiseUnaryDescriptor::m_Operation</a></div><div class="ttdeci">UnaryOperation m_Operation</div><div class="ttdoc">Specifies the elementwiseUnary operation to execute. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.xhtml#l00106">Descriptors.hpp:106</a></div></div>
186</div><!-- fragment -->
187</div>
188</div>
189<h2 class="groupheader">Member Function Documentation</h2>
190<a id="a58aa3857edb8d4addbbb44510147bb59"></a>
191<h2 class="memtitle"><span class="permalink"><a href="#a58aa3857edb8d4addbbb44510147bb59">&#9670;&nbsp;</a></span>operator==()</h2>
192
193<div class="memitem">
194<div class="memproto">
195<table class="mlabels">
196 <tr>
197 <td class="mlabels-left">
198 <table class="memname">
199 <tr>
200 <td class="memname">bool operator== </td>
201 <td>(</td>
202 <td class="paramtype">const <a class="el" href="structarmnn_1_1_elementwise_unary_descriptor.xhtml">ElementwiseUnaryDescriptor</a> &amp;&#160;</td>
203 <td class="paramname"><em>rhs</em></td><td>)</td>
204 <td> const</td>
205 </tr>
206 </table>
207 </td>
208 <td class="mlabels-right">
209<span class="mlabels"><span class="mlabel">inline</span></span> </td>
210 </tr>
211</table>
212</div><div class="memdoc">
213
214<p class="definition">Definition at line <a class="el" href="_descriptors_8hpp_source.xhtml#l00100">100</a> of file <a class="el" href="_descriptors_8hpp_source.xhtml">Descriptors.hpp</a>.</p>
215
216<p class="reference">References <a class="el" href="_descriptors_8hpp_source.xhtml#l00106">ElementwiseUnaryDescriptor::m_Operation</a>.</p>
217<div class="fragment"><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; {</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; <span class="keywordflow">return</span> <a class="code" href="structarmnn_1_1_elementwise_unary_descriptor.xhtml#afe768be66897eb3d73284424e3239b23">m_Operation</a> == rhs.m_Operation;</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; }</div><div class="ttc" id="structarmnn_1_1_elementwise_unary_descriptor_xhtml_afe768be66897eb3d73284424e3239b23"><div class="ttname"><a href="structarmnn_1_1_elementwise_unary_descriptor.xhtml#afe768be66897eb3d73284424e3239b23">armnn::ElementwiseUnaryDescriptor::m_Operation</a></div><div class="ttdeci">UnaryOperation m_Operation</div><div class="ttdoc">Specifies the elementwiseUnary operation to execute. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.xhtml#l00106">Descriptors.hpp:106</a></div></div>
218</div><!-- fragment -->
219</div>
220</div>
221<h2 class="groupheader">Member Data Documentation</h2>
222<a id="afe768be66897eb3d73284424e3239b23"></a>
223<h2 class="memtitle"><span class="permalink"><a href="#afe768be66897eb3d73284424e3239b23">&#9670;&nbsp;</a></span>m_Operation</h2>
224
225<div class="memitem">
226<div class="memproto">
227 <table class="memname">
228 <tr>
229 <td class="memname"><a class="el" href="namespacearmnn.xhtml#a1cfaa710db2a54673b21d2ea2da757c8">UnaryOperation</a> m_Operation</td>
230 </tr>
231 </table>
232</div><div class="memdoc">
233
234<p>Specifies the elementwiseUnary operation to execute. </p>
235
236<p class="definition">Definition at line <a class="el" href="_descriptors_8hpp_source.xhtml#l00106">106</a> of file <a class="el" href="_descriptors_8hpp_source.xhtml">Descriptors.hpp</a>.</p>
237
238<p class="reference">Referenced by <a class="el" href="_ref_workload_factory_8cpp_source.xhtml#l00124">RefWorkloadFactory::CreateAbs()</a>, <a class="el" href="_cl_workload_factory_8cpp_source.xhtml#l00249">ClWorkloadFactory::CreateElementwiseUnary()</a>, <a class="el" href="_neon_workload_factory_8cpp_source.xhtml#l00227">NeonWorkloadFactory::CreateElementwiseUnary()</a>, <a class="el" href="_workload_factory_base_8hpp_source.xhtml#l00109">WorkloadFactoryBase::CreateElementwiseUnary()</a>, <a class="el" href="_tf_lite_parser_8cpp_source.xhtml#l00608">TfLiteParser::CreateNetworkFromBinary()</a>, <a class="el" href="_ref_workload_factory_8cpp_source.xhtml#l00551">RefWorkloadFactory::CreateRsqrt()</a>, <a class="el" href="_ref_elementwise_unary_workload_8cpp_source.xhtml#l00041">RefElementwiseUnaryWorkload::Execute()</a>, <a class="el" href="_deserializer_8cpp_source.xhtml#l01574">armnnDeserializer::GetOriginsDescriptor()</a>, <a class="el" href="_cl_layer_support_8cpp_source.xhtml#l00397">ClLayerSupport::IsElementwiseUnarySupported()</a>, <a class="el" href="_neon_layer_support_8cpp_source.xhtml#l00375">NeonLayerSupport::IsElementwiseUnarySupported()</a>, <a class="el" href="_layer_support_base_8cpp_source.xhtml#l00216">LayerSupportBase::IsElementwiseUnarySupported()</a>, <a class="el" href="_descriptors_8hpp_source.xhtml#l00100">ElementwiseUnaryDescriptor::operator==()</a>, and <a class="el" href="_serializer_8cpp_source.xhtml#l00446">SerializerVisitor::VisitElementwiseUnaryLayer()</a>.</p>
239
240</div>
241</div>
242<hr/>The documentation for this struct was generated from the following file:<ul>
243<li>include/armnn/<a class="el" href="_descriptors_8hpp_source.xhtml">Descriptors.hpp</a></li>
244</ul>
245</div><!-- contents -->
246</div><!-- doc-content -->
247<!-- start footer part -->
248<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
249 <ul>
250 <li class="navelem"><a class="el" href="namespacearmnn.xhtml">armnn</a></li><li class="navelem"><a class="el" href="structarmnn_1_1_elementwise_unary_descriptor.xhtml">ElementwiseUnaryDescriptor</a></li>
251 <li class="footer">Generated on Fri May 29 2020 10:20:51 for ArmNN by
252 <a href="http://www.doxygen.org/index.html">
253 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
254 </ul>
255</div>
256</body>
257</html>