blob: 71ea598dccd0c82b751b848be96207fa780d7978 [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: ElementwiseBinaryFunction&lt; Functor &gt; Struct Template 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_elementwise_binary_function.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-types">Public Types</a> &#124;
99<a href="#pub-methods">Public Member Functions</a> &#124;
100<a href="structarmnn_1_1_elementwise_binary_function-members.xhtml">List of all members</a> </div>
101 <div class="headertitle">
102<div class="title">ElementwiseBinaryFunction&lt; Functor &gt; Struct Template Reference</div> </div>
103</div><!--header-->
104<div class="contents">
105
106<p><code>#include &lt;<a class="el" href="_elementwise_function_8hpp_source.xhtml">ElementwiseFunction.hpp</a>&gt;</code></p>
107<table class="memberdecls">
108<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
109Public Types</h2></td></tr>
110<tr class="memitem:a8052a16ed0d9f7009e6fd20b8abc1e83"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_elementwise_binary_function.xhtml#a8052a16ed0d9f7009e6fd20b8abc1e83">OutType</a> = typename Functor::result_type</td></tr>
111<tr class="separator:a8052a16ed0d9f7009e6fd20b8abc1e83"><td class="memSeparator" colspan="2">&#160;</td></tr>
112<tr class="memitem:a4ec36b1d00042fa901f92924e2423500"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_elementwise_binary_function.xhtml#a4ec36b1d00042fa901f92924e2423500">InType</a> = typename Functor::first_argument_type</td></tr>
113<tr class="separator:a4ec36b1d00042fa901f92924e2423500"><td class="memSeparator" colspan="2">&#160;</td></tr>
114</table><table class="memberdecls">
115<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
116Public Member Functions</h2></td></tr>
117<tr class="memitem:a12cf00d4ad8e7a82d40b10878fd91507"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_elementwise_binary_function.xhtml#a12cf00d4ad8e7a82d40b10878fd91507">ElementwiseBinaryFunction</a> (const <a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a> &amp;inShape0, const <a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a> &amp;inShape1, const <a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a> &amp;outShape, <a class="el" href="classarmnn_1_1_decoder.xhtml">Decoder</a>&lt; <a class="el" href="structarmnn_1_1_elementwise_binary_function.xhtml#a4ec36b1d00042fa901f92924e2423500">InType</a> &gt; &amp;inData0, <a class="el" href="classarmnn_1_1_decoder.xhtml">Decoder</a>&lt; <a class="el" href="structarmnn_1_1_elementwise_binary_function.xhtml#a4ec36b1d00042fa901f92924e2423500">InType</a> &gt; &amp;inData1, <a class="el" href="classarmnn_1_1_encoder.xhtml">Encoder</a>&lt; <a class="el" href="structarmnn_1_1_elementwise_binary_function.xhtml#a8052a16ed0d9f7009e6fd20b8abc1e83">OutType</a> &gt; &amp;outData)</td></tr>
118<tr class="separator:a12cf00d4ad8e7a82d40b10878fd91507"><td class="memSeparator" colspan="2">&#160;</td></tr>
119</table>
120<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
121<div class="textblock"><h3>template&lt;typename Functor&gt;<br />
122struct armnn::ElementwiseBinaryFunction&lt; Functor &gt;</h3>
123
124
125<p class="definition">Definition at line <a class="el" href="_elementwise_function_8hpp_source.xhtml#l00015">15</a> of file <a class="el" href="_elementwise_function_8hpp_source.xhtml">ElementwiseFunction.hpp</a>.</p>
126</div><h2 class="groupheader">Member Typedef Documentation</h2>
127<a id="a4ec36b1d00042fa901f92924e2423500"></a>
128<h2 class="memtitle"><span class="permalink"><a href="#a4ec36b1d00042fa901f92924e2423500">&#9670;&nbsp;</a></span>InType</h2>
129
130<div class="memitem">
131<div class="memproto">
132 <table class="memname">
133 <tr>
134 <td class="memname">using <a class="el" href="structarmnn_1_1_elementwise_binary_function.xhtml#a4ec36b1d00042fa901f92924e2423500">InType</a> = typename Functor::first_argument_type</td>
135 </tr>
136 </table>
137</div><div class="memdoc">
138
139<p class="definition">Definition at line <a class="el" href="_elementwise_function_8hpp_source.xhtml#l00018">18</a> of file <a class="el" href="_elementwise_function_8hpp_source.xhtml">ElementwiseFunction.hpp</a>.</p>
140
141</div>
142</div>
143<a id="a8052a16ed0d9f7009e6fd20b8abc1e83"></a>
144<h2 class="memtitle"><span class="permalink"><a href="#a8052a16ed0d9f7009e6fd20b8abc1e83">&#9670;&nbsp;</a></span>OutType</h2>
145
146<div class="memitem">
147<div class="memproto">
148 <table class="memname">
149 <tr>
150 <td class="memname">using <a class="el" href="structarmnn_1_1_elementwise_binary_function.xhtml#a8052a16ed0d9f7009e6fd20b8abc1e83">OutType</a> = typename Functor::result_type</td>
151 </tr>
152 </table>
153</div><div class="memdoc">
154
155<p class="definition">Definition at line <a class="el" href="_elementwise_function_8hpp_source.xhtml#l00017">17</a> of file <a class="el" href="_elementwise_function_8hpp_source.xhtml">ElementwiseFunction.hpp</a>.</p>
156
157</div>
158</div>
159<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
160<a id="a12cf00d4ad8e7a82d40b10878fd91507"></a>
161<h2 class="memtitle"><span class="permalink"><a href="#a12cf00d4ad8e7a82d40b10878fd91507">&#9670;&nbsp;</a></span>ElementwiseBinaryFunction()</h2>
162
163<div class="memitem">
164<div class="memproto">
165 <table class="memname">
166 <tr>
167 <td class="memname"><a class="el" href="structarmnn_1_1_elementwise_binary_function.xhtml">ElementwiseBinaryFunction</a> </td>
168 <td>(</td>
169 <td class="paramtype">const <a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a> &amp;&#160;</td>
170 <td class="paramname"><em>inShape0</em>, </td>
171 </tr>
172 <tr>
173 <td class="paramkey"></td>
174 <td></td>
175 <td class="paramtype">const <a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a> &amp;&#160;</td>
176 <td class="paramname"><em>inShape1</em>, </td>
177 </tr>
178 <tr>
179 <td class="paramkey"></td>
180 <td></td>
181 <td class="paramtype">const <a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a> &amp;&#160;</td>
182 <td class="paramname"><em>outShape</em>, </td>
183 </tr>
184 <tr>
185 <td class="paramkey"></td>
186 <td></td>
187 <td class="paramtype"><a class="el" href="classarmnn_1_1_decoder.xhtml">Decoder</a>&lt; <a class="el" href="structarmnn_1_1_elementwise_binary_function.xhtml#a4ec36b1d00042fa901f92924e2423500">InType</a> &gt; &amp;&#160;</td>
188 <td class="paramname"><em>inData0</em>, </td>
189 </tr>
190 <tr>
191 <td class="paramkey"></td>
192 <td></td>
193 <td class="paramtype"><a class="el" href="classarmnn_1_1_decoder.xhtml">Decoder</a>&lt; <a class="el" href="structarmnn_1_1_elementwise_binary_function.xhtml#a4ec36b1d00042fa901f92924e2423500">InType</a> &gt; &amp;&#160;</td>
194 <td class="paramname"><em>inData1</em>, </td>
195 </tr>
196 <tr>
197 <td class="paramkey"></td>
198 <td></td>
199 <td class="paramtype"><a class="el" href="classarmnn_1_1_encoder.xhtml">Encoder</a>&lt; <a class="el" href="structarmnn_1_1_elementwise_binary_function.xhtml#a8052a16ed0d9f7009e6fd20b8abc1e83">OutType</a> &gt; &amp;&#160;</td>
200 <td class="paramname"><em>outData</em>&#160;</td>
201 </tr>
202 <tr>
203 <td></td>
204 <td>)</td>
205 <td></td><td></td>
206 </tr>
207 </table>
208</div><div class="memdoc">
209
210<p class="definition">Definition at line <a class="el" href="_elementwise_function_8cpp_source.xhtml#l00021">21</a> of file <a class="el" href="_elementwise_function_8cpp_source.xhtml">ElementwiseFunction.cpp</a>.</p>
211
212<p class="reference">References <a class="el" href="_broadcast_8hpp_source.xhtml#l00026">BroadcastLoop::Unroll()</a>.</p>
213<div class="fragment"><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;{</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; BroadcastLoop(inShape0, inShape1, outShape).Unroll(Functor(), 0, inData0, inData1, outData);</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;}</div></div><!-- fragment -->
214</div>
215</div>
216<hr/>The documentation for this struct was generated from the following files:<ul>
217<li>src/backends/reference/workloads/<a class="el" href="_elementwise_function_8hpp_source.xhtml">ElementwiseFunction.hpp</a></li>
218<li>src/backends/reference/workloads/<a class="el" href="_elementwise_function_8cpp_source.xhtml">ElementwiseFunction.cpp</a></li>
219</ul>
220</div><!-- contents -->
221</div><!-- doc-content -->
222<!-- start footer part -->
223<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
224 <ul>
225 <li class="navelem"><a class="el" href="namespacearmnn.xhtml">armnn</a></li><li class="navelem"><a class="el" href="structarmnn_1_1_elementwise_binary_function.xhtml">ElementwiseBinaryFunction</a></li>
226 <li class="footer">Generated on Fri Mar 13 2020 16:09:17 for ArmNN by
227 <a href="http://www.doxygen.org/index.html">
228 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
229 </ul>
230</div>
231</body>
232</html>