Ryan OShea | de36e4a | 2020-03-13 16:26:19 +0000 | [diff] [blame] | 1 | <!-- 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: ElementwiseUnaryFunction< Functor > 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 |  <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"> |
| 56 | var 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_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> | |
| 99 | <a href="#pub-methods">Public Member Functions</a> | |
| 100 | <a href="structarmnn_1_1_elementwise_unary_function-members.xhtml">List of all members</a> </div> |
| 101 | <div class="headertitle"> |
| 102 | <div class="title">ElementwiseUnaryFunction< Functor > Struct Template Reference</div> </div> |
| 103 | </div><!--header--> |
| 104 | <div class="contents"> |
| 105 | |
| 106 | <p><code>#include <<a class="el" href="_elementwise_function_8hpp_source.xhtml">ElementwiseFunction.hpp</a>></code></p> |
| 107 | <table class="memberdecls"> |
| 108 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a> |
| 109 | Public Types</h2></td></tr> |
| 110 | <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_unary_function.xhtml#a8052a16ed0d9f7009e6fd20b8abc1e83">OutType</a> = typename Functor::result_type</td></tr> |
| 111 | <tr class="separator:a8052a16ed0d9f7009e6fd20b8abc1e83"><td class="memSeparator" colspan="2"> </td></tr> |
| 112 | <tr class="memitem:a1a362bdd574b01a56e3510002155c29d"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_elementwise_unary_function.xhtml#a1a362bdd574b01a56e3510002155c29d">InType</a> = typename Functor::argument_type</td></tr> |
| 113 | <tr class="separator:a1a362bdd574b01a56e3510002155c29d"><td class="memSeparator" colspan="2"> </td></tr> |
| 114 | </table><table class="memberdecls"> |
| 115 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| 116 | Public Member Functions</h2></td></tr> |
| 117 | <tr class="memitem:a6cada5f35c3f1c582a2c8587ddf2b6c6"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_elementwise_unary_function.xhtml#a6cada5f35c3f1c582a2c8587ddf2b6c6">ElementwiseUnaryFunction</a> (const <a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a> &inShape, const <a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a> &outShape, <a class="el" href="classarmnn_1_1_decoder.xhtml">Decoder</a>< <a class="el" href="structarmnn_1_1_elementwise_unary_function.xhtml#a1a362bdd574b01a56e3510002155c29d">InType</a> > &inData, <a class="el" href="classarmnn_1_1_encoder.xhtml">Encoder</a>< <a class="el" href="structarmnn_1_1_elementwise_unary_function.xhtml#a8052a16ed0d9f7009e6fd20b8abc1e83">OutType</a> > &outData)</td></tr> |
| 118 | <tr class="separator:a6cada5f35c3f1c582a2c8587ddf2b6c6"><td class="memSeparator" colspan="2"> </td></tr> |
| 119 | </table> |
| 120 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 121 | <div class="textblock"><h3>template<typename Functor><br /> |
| 122 | struct armnn::ElementwiseUnaryFunction< Functor ></h3> |
| 123 | |
| 124 | |
| 125 | <p class="definition">Definition at line <a class="el" href="_elementwise_function_8hpp_source.xhtml#l00029">29</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="a1a362bdd574b01a56e3510002155c29d"></a> |
| 128 | <h2 class="memtitle"><span class="permalink"><a href="#a1a362bdd574b01a56e3510002155c29d">◆ </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_unary_function.xhtml#a1a362bdd574b01a56e3510002155c29d">InType</a> = typename Functor::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#l00032">32</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">◆ </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_unary_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#l00031">31</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 & Destructor Documentation</h2> |
| 160 | <a id="a6cada5f35c3f1c582a2c8587ddf2b6c6"></a> |
| 161 | <h2 class="memtitle"><span class="permalink"><a href="#a6cada5f35c3f1c582a2c8587ddf2b6c6">◆ </a></span>ElementwiseUnaryFunction()</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_unary_function.xhtml">ElementwiseUnaryFunction</a> </td> |
| 168 | <td>(</td> |
| 169 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a> & </td> |
| 170 | <td class="paramname"><em>inShape</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> & </td> |
| 176 | <td class="paramname"><em>outShape</em>, </td> |
| 177 | </tr> |
| 178 | <tr> |
| 179 | <td class="paramkey"></td> |
| 180 | <td></td> |
| 181 | <td class="paramtype"><a class="el" href="classarmnn_1_1_decoder.xhtml">Decoder</a>< <a class="el" href="structarmnn_1_1_elementwise_unary_function.xhtml#a1a362bdd574b01a56e3510002155c29d">InType</a> > & </td> |
| 182 | <td class="paramname"><em>inData</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_encoder.xhtml">Encoder</a>< <a class="el" href="structarmnn_1_1_elementwise_unary_function.xhtml#a8052a16ed0d9f7009e6fd20b8abc1e83">OutType</a> > & </td> |
| 188 | <td class="paramname"><em>outData</em> </td> |
| 189 | </tr> |
| 190 | <tr> |
| 191 | <td></td> |
| 192 | <td>)</td> |
| 193 | <td></td><td></td> |
| 194 | </tr> |
| 195 | </table> |
| 196 | </div><div class="memdoc"> |
| 197 | |
| 198 | <p class="definition">Definition at line <a class="el" href="_elementwise_function_8cpp_source.xhtml#l00032">32</a> of file <a class="el" href="_elementwise_function_8cpp_source.xhtml">ElementwiseFunction.cpp</a>.</p> |
| 199 | |
| 200 | <p class="reference">References <a class="el" href="_broadcast_8hpp_source.xhtml#l00026">BroadcastLoop::Unroll()</a>.</p> |
| 201 | <div class="fragment"><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> {</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  BroadcastLoop(inShape, outShape).Unroll(Functor(), 0, inData, outData);</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> }</div></div><!-- fragment --> |
| 202 | </div> |
| 203 | </div> |
| 204 | <hr/>The documentation for this struct was generated from the following files:<ul> |
| 205 | <li>src/backends/reference/workloads/<a class="el" href="_elementwise_function_8hpp_source.xhtml">ElementwiseFunction.hpp</a></li> |
| 206 | <li>src/backends/reference/workloads/<a class="el" href="_elementwise_function_8cpp_source.xhtml">ElementwiseFunction.cpp</a></li> |
| 207 | </ul> |
| 208 | </div><!-- contents --> |
| 209 | </div><!-- doc-content --> |
| 210 | <!-- start footer part --> |
| 211 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 212 | <ul> |
| 213 | <li class="navelem"><a class="el" href="namespacearmnn.xhtml">armnn</a></li><li class="navelem"><a class="el" href="structarmnn_1_1_elementwise_unary_function.xhtml">ElementwiseUnaryFunction</a></li> |
| 214 | <li class="footer">Generated on Fri Mar 13 2020 16:09:17 for ArmNN by |
| 215 | <a href="http://www.doxygen.org/index.html"> |
| 216 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 217 | </ul> |
| 218 | </div> |
| 219 | </body> |
| 220 | </html> |