Ryan OShea | de36e4a | 2020-03-13 16:26:19 +0000 | [diff] [blame] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 3 | <head> |
| 4 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| 6 | <meta name="generator" content="Doxygen 1.8.13"/> |
| 7 | <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| 8 | <title>ArmNN: ElementwiseBinaryFunction< Functor > Struct Template Reference</title> |
| 9 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 10 | <script type="text/javascript" src="jquery.js"></script> |
| 11 | <script type="text/javascript" src="dynsections.js"></script> |
| 12 | <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| 13 | <script type="text/javascript" src="resize.js"></script> |
| 14 | <script type="text/javascript" src="navtreedata.js"></script> |
| 15 | <script type="text/javascript" src="navtree.js"></script> |
| 16 | <script type="text/javascript"> |
| 17 | $(document).ready(initResizable); |
| 18 | </script> |
| 19 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 20 | <script type="text/javascript" src="search/searchdata.js"></script> |
| 21 | <script type="text/javascript" src="search/search.js"></script> |
| 22 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 23 | </head> |
| 24 | <body> |
| 25 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 26 | <div id="titlearea"> |
| 27 | <table cellspacing="0" cellpadding="0"> |
| 28 | <tbody> |
| 29 | <tr style="height: 56px;"> |
| 30 | <td id="projectalign" style="padding-left: 0.5em;"> |
| 31 | <div id="projectname">ArmNN |
| 32 |  <span id="projectnumber">NotReleased</span> |
| 33 | </div> |
| 34 | </td> |
| 35 | </tr> |
| 36 | </tbody> |
| 37 | </table> |
| 38 | </div> |
| 39 | <!-- end header part --> |
| 40 | <!-- Generated by Doxygen 1.8.13 --> |
| 41 | <script type="text/javascript"> |
| 42 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 43 | </script> |
| 44 | <script type="text/javascript" src="menudata.js"></script> |
| 45 | <script type="text/javascript" src="menu.js"></script> |
| 46 | <script type="text/javascript"> |
| 47 | $(function() { |
| 48 | initMenu('',true,false,'search.php','Search'); |
| 49 | $(document).ready(function() { init_search(); }); |
| 50 | }); |
| 51 | </script> |
| 52 | <div id="main-nav"></div> |
| 53 | </div><!-- top --> |
| 54 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 55 | <div id="nav-tree"> |
| 56 | <div id="nav-tree-contents"> |
| 57 | <div id="nav-sync" class="sync"></div> |
| 58 | </div> |
| 59 | </div> |
| 60 | <div id="splitbar" style="-moz-user-select:none;" |
| 61 | class="ui-resizable-handle"> |
| 62 | </div> |
| 63 | </div> |
| 64 | <script type="text/javascript"> |
| 65 | $(document).ready(function(){initNavTree('structarmnn_1_1_elementwise_binary_function.html','');}); |
| 66 | </script> |
| 67 | <div id="doc-content"> |
| 68 | <!-- window showing the filter options --> |
| 69 | <div id="MSearchSelectWindow" |
| 70 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 71 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 72 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| 73 | </div> |
| 74 | |
| 75 | <!-- iframe showing the search results (closed by default) --> |
| 76 | <div id="MSearchResultsWindow"> |
| 77 | <iframe src="javascript:void(0)" frameborder="0" |
| 78 | name="MSearchResults" id="MSearchResults"> |
| 79 | </iframe> |
| 80 | </div> |
| 81 | |
| 82 | <div class="header"> |
| 83 | <div class="summary"> |
| 84 | <a href="#pub-types">Public Types</a> | |
| 85 | <a href="#pub-methods">Public Member Functions</a> | |
| 86 | <a href="structarmnn_1_1_elementwise_binary_function-members.html">List of all members</a> </div> |
| 87 | <div class="headertitle"> |
| 88 | <div class="title">ElementwiseBinaryFunction< Functor > Struct Template Reference</div> </div> |
| 89 | </div><!--header--> |
| 90 | <div class="contents"> |
| 91 | |
| 92 | <p><code>#include <<a class="el" href="_elementwise_function_8hpp_source.html">ElementwiseFunction.hpp</a>></code></p> |
| 93 | <table class="memberdecls"> |
| 94 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a> |
| 95 | Public Types</h2></td></tr> |
| 96 | <tr class="memitem:a8052a16ed0d9f7009e6fd20b8abc1e83"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_elementwise_binary_function.html#a8052a16ed0d9f7009e6fd20b8abc1e83">OutType</a> = typename Functor::result_type</td></tr> |
| 97 | <tr class="separator:a8052a16ed0d9f7009e6fd20b8abc1e83"><td class="memSeparator" colspan="2"> </td></tr> |
| 98 | <tr class="memitem:a4ec36b1d00042fa901f92924e2423500"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_elementwise_binary_function.html#a4ec36b1d00042fa901f92924e2423500">InType</a> = typename Functor::first_argument_type</td></tr> |
| 99 | <tr class="separator:a4ec36b1d00042fa901f92924e2423500"><td class="memSeparator" colspan="2"> </td></tr> |
| 100 | </table><table class="memberdecls"> |
| 101 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| 102 | Public Member Functions</h2></td></tr> |
| 103 | <tr class="memitem:a12cf00d4ad8e7a82d40b10878fd91507"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_elementwise_binary_function.html#a12cf00d4ad8e7a82d40b10878fd91507">ElementwiseBinaryFunction</a> (const <a class="el" href="classarmnn_1_1_tensor_shape.html">TensorShape</a> &inShape0, const <a class="el" href="classarmnn_1_1_tensor_shape.html">TensorShape</a> &inShape1, const <a class="el" href="classarmnn_1_1_tensor_shape.html">TensorShape</a> &outShape, <a class="el" href="classarmnn_1_1_decoder.html">Decoder</a>< <a class="el" href="structarmnn_1_1_elementwise_binary_function.html#a4ec36b1d00042fa901f92924e2423500">InType</a> > &inData0, <a class="el" href="classarmnn_1_1_decoder.html">Decoder</a>< <a class="el" href="structarmnn_1_1_elementwise_binary_function.html#a4ec36b1d00042fa901f92924e2423500">InType</a> > &inData1, <a class="el" href="classarmnn_1_1_encoder.html">Encoder</a>< <a class="el" href="structarmnn_1_1_elementwise_binary_function.html#a8052a16ed0d9f7009e6fd20b8abc1e83">OutType</a> > &outData)</td></tr> |
| 104 | <tr class="separator:a12cf00d4ad8e7a82d40b10878fd91507"><td class="memSeparator" colspan="2"> </td></tr> |
| 105 | </table> |
| 106 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 107 | <div class="textblock"><h3>template<typename Functor><br /> |
| 108 | struct armnn::ElementwiseBinaryFunction< Functor ></h3> |
| 109 | |
| 110 | |
| 111 | <p class="definition">Definition at line <a class="el" href="_elementwise_function_8hpp_source.html#l00015">15</a> of file <a class="el" href="_elementwise_function_8hpp_source.html">ElementwiseFunction.hpp</a>.</p> |
| 112 | </div><h2 class="groupheader">Member Typedef Documentation</h2> |
| 113 | <a id="a4ec36b1d00042fa901f92924e2423500"></a> |
| 114 | <h2 class="memtitle"><span class="permalink"><a href="#a4ec36b1d00042fa901f92924e2423500">◆ </a></span>InType</h2> |
| 115 | |
| 116 | <div class="memitem"> |
| 117 | <div class="memproto"> |
| 118 | <table class="memname"> |
| 119 | <tr> |
| 120 | <td class="memname">using <a class="el" href="structarmnn_1_1_elementwise_binary_function.html#a4ec36b1d00042fa901f92924e2423500">InType</a> = typename Functor::first_argument_type</td> |
| 121 | </tr> |
| 122 | </table> |
| 123 | </div><div class="memdoc"> |
| 124 | |
| 125 | <p class="definition">Definition at line <a class="el" href="_elementwise_function_8hpp_source.html#l00018">18</a> of file <a class="el" href="_elementwise_function_8hpp_source.html">ElementwiseFunction.hpp</a>.</p> |
| 126 | |
| 127 | </div> |
| 128 | </div> |
| 129 | <a id="a8052a16ed0d9f7009e6fd20b8abc1e83"></a> |
| 130 | <h2 class="memtitle"><span class="permalink"><a href="#a8052a16ed0d9f7009e6fd20b8abc1e83">◆ </a></span>OutType</h2> |
| 131 | |
| 132 | <div class="memitem"> |
| 133 | <div class="memproto"> |
| 134 | <table class="memname"> |
| 135 | <tr> |
| 136 | <td class="memname">using <a class="el" href="structarmnn_1_1_elementwise_binary_function.html#a8052a16ed0d9f7009e6fd20b8abc1e83">OutType</a> = typename Functor::result_type</td> |
| 137 | </tr> |
| 138 | </table> |
| 139 | </div><div class="memdoc"> |
| 140 | |
| 141 | <p class="definition">Definition at line <a class="el" href="_elementwise_function_8hpp_source.html#l00017">17</a> of file <a class="el" href="_elementwise_function_8hpp_source.html">ElementwiseFunction.hpp</a>.</p> |
| 142 | |
| 143 | </div> |
| 144 | </div> |
| 145 | <h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| 146 | <a id="a12cf00d4ad8e7a82d40b10878fd91507"></a> |
| 147 | <h2 class="memtitle"><span class="permalink"><a href="#a12cf00d4ad8e7a82d40b10878fd91507">◆ </a></span>ElementwiseBinaryFunction()</h2> |
| 148 | |
| 149 | <div class="memitem"> |
| 150 | <div class="memproto"> |
| 151 | <table class="memname"> |
| 152 | <tr> |
| 153 | <td class="memname"><a class="el" href="structarmnn_1_1_elementwise_binary_function.html">ElementwiseBinaryFunction</a> </td> |
| 154 | <td>(</td> |
| 155 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_tensor_shape.html">TensorShape</a> & </td> |
| 156 | <td class="paramname"><em>inShape0</em>, </td> |
| 157 | </tr> |
| 158 | <tr> |
| 159 | <td class="paramkey"></td> |
| 160 | <td></td> |
| 161 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_tensor_shape.html">TensorShape</a> & </td> |
| 162 | <td class="paramname"><em>inShape1</em>, </td> |
| 163 | </tr> |
| 164 | <tr> |
| 165 | <td class="paramkey"></td> |
| 166 | <td></td> |
| 167 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_tensor_shape.html">TensorShape</a> & </td> |
| 168 | <td class="paramname"><em>outShape</em>, </td> |
| 169 | </tr> |
| 170 | <tr> |
| 171 | <td class="paramkey"></td> |
| 172 | <td></td> |
| 173 | <td class="paramtype"><a class="el" href="classarmnn_1_1_decoder.html">Decoder</a>< <a class="el" href="structarmnn_1_1_elementwise_binary_function.html#a4ec36b1d00042fa901f92924e2423500">InType</a> > & </td> |
| 174 | <td class="paramname"><em>inData0</em>, </td> |
| 175 | </tr> |
| 176 | <tr> |
| 177 | <td class="paramkey"></td> |
| 178 | <td></td> |
| 179 | <td class="paramtype"><a class="el" href="classarmnn_1_1_decoder.html">Decoder</a>< <a class="el" href="structarmnn_1_1_elementwise_binary_function.html#a4ec36b1d00042fa901f92924e2423500">InType</a> > & </td> |
| 180 | <td class="paramname"><em>inData1</em>, </td> |
| 181 | </tr> |
| 182 | <tr> |
| 183 | <td class="paramkey"></td> |
| 184 | <td></td> |
| 185 | <td class="paramtype"><a class="el" href="classarmnn_1_1_encoder.html">Encoder</a>< <a class="el" href="structarmnn_1_1_elementwise_binary_function.html#a8052a16ed0d9f7009e6fd20b8abc1e83">OutType</a> > & </td> |
| 186 | <td class="paramname"><em>outData</em> </td> |
| 187 | </tr> |
| 188 | <tr> |
| 189 | <td></td> |
| 190 | <td>)</td> |
| 191 | <td></td><td></td> |
| 192 | </tr> |
| 193 | </table> |
| 194 | </div><div class="memdoc"> |
| 195 | |
| 196 | <p class="definition">Definition at line <a class="el" href="_elementwise_function_8cpp_source.html#l00021">21</a> of file <a class="el" href="_elementwise_function_8cpp_source.html">ElementwiseFunction.cpp</a>.</p> |
| 197 | |
| 198 | <p class="reference">References <a class="el" href="_broadcast_8hpp_source.html#l00026">BroadcastLoop::Unroll()</a>.</p> |
| 199 | <div class="fragment"><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> {</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  BroadcastLoop(inShape0, inShape1, outShape).Unroll(Functor(), 0, inData0, inData1, outData);</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> }</div></div><!-- fragment --> |
| 200 | </div> |
| 201 | </div> |
| 202 | <hr/>The documentation for this struct was generated from the following files:<ul> |
| 203 | <li>src/backends/reference/workloads/<a class="el" href="_elementwise_function_8hpp_source.html">ElementwiseFunction.hpp</a></li> |
| 204 | <li>src/backends/reference/workloads/<a class="el" href="_elementwise_function_8cpp_source.html">ElementwiseFunction.cpp</a></li> |
| 205 | </ul> |
| 206 | </div><!-- contents --> |
| 207 | </div><!-- doc-content --> |
| 208 | <!-- start footer part --> |
| 209 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 210 | <ul> |
| 211 | <li class="navelem"><a class="el" href="namespacearmnn.html">armnn</a></li><li class="navelem"><a class="el" href="structarmnn_1_1_elementwise_binary_function.html">ElementwiseBinaryFunction</a></li> |
| 212 | <li class="footer">Generated on Fri Mar 13 2020 16:07:03 for ArmNN by |
| 213 | <a href="http://www.doxygen.org/index.html"> |
| 214 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 215 | </ul> |
| 216 | </div> |
| 217 | </body> |
| 218 | </html> |