Nikhil Raj | 1dc83fe | 2024-05-16 09:47:51 +0100 | [diff] [blame^] | 1 | <!-- HTML header for doxygen 1.8.17--> |
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 3 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 4 | <head> |
| 5 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| 6 | <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| 7 | <meta name="generator" content="Doxygen 1.8.17"/> |
| 8 | <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| 9 | <title>Arm NN: src/backends/reference/workloads/ElementwiseFunction.cpp Source File</title> |
| 10 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 11 | <script type="text/javascript" src="jquery.js"></script> |
| 12 | <script type="text/javascript" src="dynsections.js"></script> |
| 13 | <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| 14 | <script type="text/javascript" src="resize.js"></script> |
| 15 | <script type="text/javascript" src="navtreedata.js"></script> |
| 16 | <script type="text/javascript" src="navtree.js"></script> |
| 17 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 18 | <script type="text/javascript" src="search/searchdata.js"></script> |
| 19 | <script type="text/javascript" src="search/search.js"></script> |
| 20 | <script type="text/x-mathjax-config"> |
| 21 | MathJax.Hub.Config({ |
| 22 | extensions: ["tex2jax.js"], |
| 23 | jax: ["input/TeX","output/HTML-CSS"], |
| 24 | }); |
| 25 | </script> |
| 26 | <script type="text/javascript" async="async" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script> |
| 27 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 28 | <link href="customdoxygen.css" rel="stylesheet" type="text/css"/> |
| 29 | </head> |
| 30 | <body> |
| 31 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 32 | <div id="titlearea"> |
| 33 | <table cellspacing="0" cellpadding="0"> |
| 34 | <tbody> |
| 35 | <tr style="height: 56px;"> |
| 36 | <img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 15rem; margin-top: .5rem; margin-left 13px"/> |
| 37 | <td id="projectalign" style="padding-left: 0.9em;"> |
| 38 | <div id="projectname"> |
| 39 |  <span id="projectnumber">24.05</span> |
| 40 | </div> |
| 41 | </td> |
| 42 | </tr> |
| 43 | </tbody> |
| 44 | </table> |
| 45 | </div> |
| 46 | <!-- end header part --> |
| 47 | <!-- Generated by Doxygen 1.8.17 --> |
| 48 | <script type="text/javascript"> |
| 49 | /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ |
| 50 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 51 | /* @license-end */ |
| 52 | </script> |
| 53 | <script type="text/javascript" src="menudata.js"></script> |
| 54 | <script type="text/javascript" src="menu.js"></script> |
| 55 | <script type="text/javascript"> |
| 56 | /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ |
| 57 | $(function() { |
| 58 | initMenu('',true,false,'search.php','Search'); |
| 59 | $(document).ready(function() { init_search(); }); |
| 60 | }); |
| 61 | /* @license-end */</script> |
| 62 | <div id="main-nav"></div> |
| 63 | </div><!-- top --> |
| 64 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 65 | <div id="nav-tree"> |
| 66 | <div id="nav-tree-contents"> |
| 67 | <div id="nav-sync" class="sync"></div> |
| 68 | </div> |
| 69 | </div> |
| 70 | <div id="splitbar" style="-moz-user-select:none;" |
| 71 | class="ui-resizable-handle"> |
| 72 | </div> |
| 73 | </div> |
| 74 | <script type="text/javascript"> |
| 75 | /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ |
| 76 | $(document).ready(function(){initNavTree('_elementwise_function_8cpp_source.html',''); initResizable(); }); |
| 77 | /* @license-end */ |
| 78 | </script> |
| 79 | <div id="doc-content"> |
| 80 | <!-- window showing the filter options --> |
| 81 | <div id="MSearchSelectWindow" |
| 82 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 83 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 84 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| 85 | </div> |
| 86 | |
| 87 | <!-- iframe showing the search results (closed by default) --> |
| 88 | <div id="MSearchResultsWindow"> |
| 89 | <iframe src="javascript:void(0)" frameborder="0" |
| 90 | name="MSearchResults" id="MSearchResults"> |
| 91 | </iframe> |
| 92 | </div> |
| 93 | |
| 94 | <div class="header"> |
| 95 | <div class="headertitle"> |
| 96 | <div class="title">ElementwiseFunction.cpp</div> </div> |
| 97 | </div><!--header--> |
| 98 | <div class="contents"> |
| 99 | <a href="_elementwise_function_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">//</span></div> |
| 100 | <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// Copyright © 2017-2021,2023 Arm Ltd and Contributors. All rights reserved.</span></div> |
| 101 | <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// SPDX-License-Identifier: MIT</span></div> |
| 102 | <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">//</span></div> |
| 103 | <div class="line"><a name="l00005"></a><span class="lineno"> 5</span>  </div> |
| 104 | <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#include "<a class="code" href="_elementwise_function_8hpp.html">ElementwiseFunction.hpp</a>"</span></div> |
| 105 | <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor">#include "<a class="code" href="_broadcast_8hpp.html">Broadcast.hpp</a>"</span></div> |
| 106 | <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#include "<a class="code" href="_minimum_8hpp.html">Minimum.hpp</a>"</span></div> |
| 107 | <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#include "<a class="code" href="_maximum_8hpp.html">Maximum.hpp</a>"</span></div> |
| 108 | <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#include "<a class="code" href="_abs_8hpp.html">Abs.hpp</a>"</span></div> |
| 109 | <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#include "<a class="code" href="_ceil_8hpp.html">Ceil.hpp</a>"</span></div> |
| 110 | <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include "<a class="code" href="_exp_8hpp.html">Exp.hpp</a>"</span></div> |
| 111 | <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#include "<a class="code" href="_log_8hpp.html">Log.hpp</a>"</span></div> |
| 112 | <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include "<a class="code" href="_rsqrt_8hpp.html">Rsqrt.hpp</a>"</span></div> |
| 113 | <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include "<a class="code" href="_sin_8hpp.html">Sin.hpp</a>"</span></div> |
| 114 | <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include "<a class="code" href="_sqrt_8hpp.html">Sqrt.hpp</a>"</span></div> |
| 115 | <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include "<a class="code" href="_power_8hpp.html">Power.hpp</a>"</span></div> |
| 116 | <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include "<a class="code" href="_squared_difference_8hpp.html">SquaredDifference.hpp</a>"</span></div> |
| 117 | <div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  </div> |
| 118 | <div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  </div> |
| 119 | <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="keyword">namespace </span><a class="code" href="namespacearmnn.html">armnn</a></div> |
| 120 | <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> {</div> |
| 121 | <div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  </div> |
| 122 | <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="keyword">template</span> <<span class="keyword">typename</span> Functor></div> |
| 123 | <div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="structarmnn_1_1_elementwise_binary_function.html#a12cf00d4ad8e7a82d40b10878fd91507"> 25</a></span> <a class="code" href="structarmnn_1_1_elementwise_binary_function.html#a12cf00d4ad8e7a82d40b10878fd91507">ElementwiseBinaryFunction<Functor>::ElementwiseBinaryFunction</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_tensor_shape.html">TensorShape</a>& inShape0,</div> |
| 124 | <div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_tensor_shape.html">TensorShape</a>& inShape1,</div> |
| 125 | <div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_tensor_shape.html">TensorShape</a>& outShape,</div> |
| 126 | <div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <a class="code" href="classarmnn_1_1_decoder.html">Decoder<InType></a>& inData0,</div> |
| 127 | <div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <a class="code" href="classarmnn_1_1_decoder.html">Decoder<InType></a>& inData1,</div> |
| 128 | <div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <a class="code" href="classarmnn_1_1_encoder.html">Encoder<OutType></a>& outData)</div> |
| 129 | <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> {</div> |
| 130 | <div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <a class="code" href="structarmnn_1_1_broadcast_loop.html">BroadcastLoop</a>(inShape0, inShape1, outShape).<a class="code" href="structarmnn_1_1_broadcast_loop.html#ae9f47e12d6c2265d33fed54e88cf179f">Unroll</a>(Functor(), 0, inData0, inData1, outData);</div> |
| 131 | <div class="line"><a name="l00033"></a><span class="lineno"> 33</span> }</div> |
| 132 | <div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  </div> |
| 133 | <div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">template</span> <<span class="keyword">typename</span> Functor></div> |
| 134 | <div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="structarmnn_1_1_elementwise_unary_function.html#a6cada5f35c3f1c582a2c8587ddf2b6c6"> 36</a></span> <a class="code" href="structarmnn_1_1_elementwise_unary_function.html#a6cada5f35c3f1c582a2c8587ddf2b6c6">ElementwiseUnaryFunction<Functor>::ElementwiseUnaryFunction</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_tensor_shape.html">TensorShape</a>& inShape,</div> |
| 135 | <div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_tensor_shape.html">TensorShape</a>& outShape,</div> |
| 136 | <div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <a class="code" href="classarmnn_1_1_decoder.html">Decoder<InType></a>& inData,</div> |
| 137 | <div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <a class="code" href="classarmnn_1_1_encoder.html">Encoder<OutType></a>& outData)</div> |
| 138 | <div class="line"><a name="l00040"></a><span class="lineno"> 40</span> {</div> |
| 139 | <div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <a class="code" href="structarmnn_1_1_broadcast_loop.html">BroadcastLoop</a>(inShape, outShape).<a class="code" href="structarmnn_1_1_broadcast_loop.html#ae9f47e12d6c2265d33fed54e88cf179f">Unroll</a>(Functor(), 0, inData, outData);</div> |
| 140 | <div class="line"><a name="l00042"></a><span class="lineno"> 42</span> }</div> |
| 141 | <div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  </div> |
| 142 | <div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="keyword">template</span> <<span class="keyword">typename</span> Functor></div> |
| 143 | <div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="structarmnn_1_1_logical_binary_function.html#a1fe1e5953d737b0d996687eacebc2614"> 45</a></span> <a class="code" href="structarmnn_1_1_logical_binary_function.html#a1fe1e5953d737b0d996687eacebc2614">LogicalBinaryFunction<Functor>::LogicalBinaryFunction</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_tensor_shape.html">TensorShape</a>& inShape0,</div> |
| 144 | <div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_tensor_shape.html">TensorShape</a>& inShape1,</div> |
| 145 | <div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_tensor_shape.html">TensorShape</a>& outShape,</div> |
| 146 | <div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <a class="code" href="classarmnn_1_1_decoder.html">Decoder<InType></a>& inData0,</div> |
| 147 | <div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <a class="code" href="classarmnn_1_1_decoder.html">Decoder<InType></a>& inData1,</div> |
| 148 | <div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <a class="code" href="classarmnn_1_1_encoder.html">Encoder<OutType></a>& outData)</div> |
| 149 | <div class="line"><a name="l00051"></a><span class="lineno"> 51</span> {</div> |
| 150 | <div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <a class="code" href="structarmnn_1_1_broadcast_loop.html">BroadcastLoop</a>(inShape0, inShape1, outShape).<a class="code" href="structarmnn_1_1_broadcast_loop.html#ae9f47e12d6c2265d33fed54e88cf179f">Unroll</a>(Functor(), 0, inData0, inData1, outData);</div> |
| 151 | <div class="line"><a name="l00053"></a><span class="lineno"> 53</span> }</div> |
| 152 | <div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  </div> |
| 153 | <div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="keyword">template</span> <<span class="keyword">typename</span> Functor></div> |
| 154 | <div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="structarmnn_1_1_logical_unary_function.html#aa159c0aa6d1b9a6aedc8d9b30944898c"> 56</a></span> <a class="code" href="structarmnn_1_1_logical_unary_function.html#aa159c0aa6d1b9a6aedc8d9b30944898c">LogicalUnaryFunction<Functor>::LogicalUnaryFunction</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_tensor_shape.html">TensorShape</a>& inShape,</div> |
| 155 | <div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_tensor_shape.html">TensorShape</a>& outShape,</div> |
| 156 | <div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <a class="code" href="classarmnn_1_1_decoder.html">Decoder<InType></a>& inData,</div> |
| 157 | <div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <a class="code" href="classarmnn_1_1_encoder.html">Encoder<OutType></a>& outData)</div> |
| 158 | <div class="line"><a name="l00060"></a><span class="lineno"> 60</span> {</div> |
| 159 | <div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <a class="code" href="structarmnn_1_1_broadcast_loop.html">BroadcastLoop</a>(inShape, outShape).<a class="code" href="structarmnn_1_1_broadcast_loop.html#ae9f47e12d6c2265d33fed54e88cf179f">Unroll</a>(Functor(), 0, inData, outData);</div> |
| 160 | <div class="line"><a name="l00062"></a><span class="lineno"> 62</span> }</div> |
| 161 | <div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  </div> |
| 162 | <div class="line"><a name="l00064"></a><span class="lineno"> 64</span> } <span class="comment">//namespace armnn</span></div> |
| 163 | <div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  </div> |
| 164 | <div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="keyword">template</span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_elementwise_binary_function.html">armnn::ElementwiseBinaryFunction<std::plus<float></a>>;</div> |
| 165 | <div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="keyword">template</span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_elementwise_binary_function.html">armnn::ElementwiseBinaryFunction<std::minus<float></a>>;</div> |
| 166 | <div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="keyword">template</span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_elementwise_binary_function.html">armnn::ElementwiseBinaryFunction<std::multiplies<float></a>>;</div> |
| 167 | <div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="keyword">template</span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_elementwise_binary_function.html">armnn::ElementwiseBinaryFunction<std::divides<float></a>>;</div> |
| 168 | <div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="keyword">template</span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_elementwise_binary_function.html">armnn::ElementwiseBinaryFunction<armnn::maximum<float></a>>;</div> |
| 169 | <div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="keyword">template</span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_elementwise_binary_function.html">armnn::ElementwiseBinaryFunction<armnn::minimum<float></a>>;</div> |
| 170 | <div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="keyword">template</span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_elementwise_binary_function.html">armnn::ElementwiseBinaryFunction<armnn::power<float></a>>;</div> |
| 171 | <div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="keyword">template</span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_elementwise_binary_function.html">armnn::ElementwiseBinaryFunction<armnn::squaredDifference<float></a>>;</div> |
| 172 | <div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  </div> |
| 173 | <div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <span class="keyword">template</span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_elementwise_binary_function.html">armnn::ElementwiseBinaryFunction<std::plus<int32_t></a>>;</div> |
| 174 | <div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="keyword">template</span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_elementwise_binary_function.html">armnn::ElementwiseBinaryFunction<std::minus<int32_t></a>>;</div> |
| 175 | <div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="keyword">template</span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_elementwise_binary_function.html">armnn::ElementwiseBinaryFunction<std::multiplies<int32_t></a>>;</div> |
| 176 | <div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="keyword">template</span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_elementwise_binary_function.html">armnn::ElementwiseBinaryFunction<std::divides<int32_t></a>>;</div> |
| 177 | <div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="keyword">template</span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_elementwise_binary_function.html">armnn::ElementwiseBinaryFunction<armnn::maximum<int32_t></a>>;</div> |
| 178 | <div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="keyword">template</span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_elementwise_binary_function.html">armnn::ElementwiseBinaryFunction<armnn::minimum<int32_t></a>>;</div> |
| 179 | <div class="line"><a name="l00081"></a><span class="lineno"> 81</span> <span class="keyword">template</span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_elementwise_binary_function.html">armnn::ElementwiseBinaryFunction<armnn::power<int32_t></a>>;</div> |
| 180 | <div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="keyword">template</span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_elementwise_binary_function.html">armnn::ElementwiseBinaryFunction<armnn::squaredDifference<int32_t></a>>;</div> |
| 181 | <div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  </div> |
| 182 | <div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="comment">// Comparison</span></div> |
| 183 | <div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="keyword">template</span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_elementwise_binary_function.html">armnn::ElementwiseBinaryFunction<std::equal_to<float></a>>;</div> |
| 184 | <div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <span class="keyword">template</span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_elementwise_binary_function.html">armnn::ElementwiseBinaryFunction<std::greater<float></a>>;</div> |
| 185 | <div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="keyword">template</span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_elementwise_binary_function.html">armnn::ElementwiseBinaryFunction<std::greater_equal<float></a>>;</div> |
| 186 | <div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="keyword">template</span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_elementwise_binary_function.html">armnn::ElementwiseBinaryFunction<std::less<float></a>>;</div> |
| 187 | <div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <span class="keyword">template</span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_elementwise_binary_function.html">armnn::ElementwiseBinaryFunction<std::less_equal<float></a>>;</div> |
| 188 | <div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="keyword">template</span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_elementwise_binary_function.html">armnn::ElementwiseBinaryFunction<std::not_equal_to<float></a>>;</div> |
| 189 | <div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  </div> |
| 190 | <div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="comment">// Unary</span></div> |
| 191 | <div class="line"><a name="l00093"></a><span class="lineno"> 93</span> <span class="keyword">template</span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_elementwise_unary_function.html">armnn::ElementwiseUnaryFunction<armnn::abs<float></a>>;</div> |
| 192 | <div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <span class="keyword">template</span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_elementwise_unary_function.html">armnn::ElementwiseUnaryFunction<armnn::ceil<float></a>>;</div> |
| 193 | <div class="line"><a name="l00095"></a><span class="lineno"> 95</span> <span class="keyword">template</span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_elementwise_unary_function.html">armnn::ElementwiseUnaryFunction<armnn::exp<float></a>>;</div> |
| 194 | <div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="keyword">template</span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_elementwise_unary_function.html">armnn::ElementwiseUnaryFunction<armnn::log<float></a>>;</div> |
| 195 | <div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="keyword">template</span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_elementwise_unary_function.html">armnn::ElementwiseUnaryFunction<std::negate<float></a>>;</div> |
| 196 | <div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="keyword">template</span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_elementwise_unary_function.html">armnn::ElementwiseUnaryFunction<armnn::rsqrt<float></a>>;</div> |
| 197 | <div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="keyword">template</span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_elementwise_unary_function.html">armnn::ElementwiseUnaryFunction<armnn::sin<float></a>>;</div> |
| 198 | <div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="keyword">template</span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_elementwise_unary_function.html">armnn::ElementwiseUnaryFunction<armnn::sqrt<float></a>>;</div> |
| 199 | <div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  </div> |
| 200 | <div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <span class="comment">// Logical Unary</span></div> |
| 201 | <div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="keyword">template</span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_logical_unary_function.html">armnn::LogicalUnaryFunction<std::logical_not<bool></a>>;</div> |
| 202 | <div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="keyword">template</span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_logical_binary_function.html">armnn::LogicalBinaryFunction<std::logical_and<bool></a>>;</div> |
| 203 | <div class="line"><a name="l00105"></a><span class="lineno"> 105</span> <span class="keyword">template</span> <span class="keyword">struct </span><a class="code" href="structarmnn_1_1_logical_binary_function.html">armnn::LogicalBinaryFunction<std::logical_or<bool></a>>;</div> |
| 204 | </div><!-- fragment --></div><!-- contents --> |
| 205 | </div><!-- doc-content --> |
| 206 | <div class="ttc" id="a_sin_8hpp_html"><div class="ttname"><a href="_sin_8hpp.html">Sin.hpp</a></div></div> |
| 207 | <div class="ttc" id="aclassarmnn_1_1_decoder_html"><div class="ttname"><a href="classarmnn_1_1_decoder.html">armnn::Decoder</a></div><div class="ttdef"><b>Definition:</b> <a href="_base_iterator_8hpp_source.html#l00035">BaseIterator.hpp:35</a></div></div> |
| 208 | <div class="ttc" id="a_ceil_8hpp_html"><div class="ttname"><a href="_ceil_8hpp.html">Ceil.hpp</a></div></div> |
| 209 | <div class="ttc" id="astructarmnn_1_1_logical_unary_function_html_aa159c0aa6d1b9a6aedc8d9b30944898c"><div class="ttname"><a href="structarmnn_1_1_logical_unary_function.html#aa159c0aa6d1b9a6aedc8d9b30944898c">armnn::LogicalUnaryFunction::LogicalUnaryFunction</a></div><div class="ttdeci">LogicalUnaryFunction(const TensorShape &inShape, const TensorShape &outShape, Decoder< InType > &inData, Encoder< OutType > &outData)</div><div class="ttdef"><b>Definition:</b> <a href="_elementwise_function_8cpp_source.html#l00056">ElementwiseFunction.cpp:56</a></div></div> |
| 210 | <div class="ttc" id="astructarmnn_1_1_logical_binary_function_html"><div class="ttname"><a href="structarmnn_1_1_logical_binary_function.html">armnn::LogicalBinaryFunction</a></div><div class="ttdef"><b>Definition:</b> <a href="_elementwise_function_8hpp_source.html#l00041">ElementwiseFunction.hpp:41</a></div></div> |
| 211 | <div class="ttc" id="astructarmnn_1_1_broadcast_loop_html"><div class="ttname"><a href="structarmnn_1_1_broadcast_loop.html">armnn::BroadcastLoop</a></div><div class="ttdef"><b>Definition:</b> <a href="_broadcast_8hpp_source.html#l00014">Broadcast.hpp:14</a></div></div> |
| 212 | <div class="ttc" id="a_minimum_8hpp_html"><div class="ttname"><a href="_minimum_8hpp.html">Minimum.hpp</a></div></div> |
| 213 | <div class="ttc" id="astructarmnn_1_1_elementwise_unary_function_html_a6cada5f35c3f1c582a2c8587ddf2b6c6"><div class="ttname"><a href="structarmnn_1_1_elementwise_unary_function.html#a6cada5f35c3f1c582a2c8587ddf2b6c6">armnn::ElementwiseUnaryFunction::ElementwiseUnaryFunction</a></div><div class="ttdeci">ElementwiseUnaryFunction(const TensorShape &inShape, const TensorShape &outShape, Decoder< InType > &inData, Encoder< OutType > &outData)</div><div class="ttdef"><b>Definition:</b> <a href="_elementwise_function_8cpp_source.html#l00036">ElementwiseFunction.cpp:36</a></div></div> |
| 214 | <div class="ttc" id="a_rsqrt_8hpp_html"><div class="ttname"><a href="_rsqrt_8hpp.html">Rsqrt.hpp</a></div></div> |
| 215 | <div class="ttc" id="astructarmnn_1_1_elementwise_binary_function_html_a12cf00d4ad8e7a82d40b10878fd91507"><div class="ttname"><a href="structarmnn_1_1_elementwise_binary_function.html#a12cf00d4ad8e7a82d40b10878fd91507">armnn::ElementwiseBinaryFunction::ElementwiseBinaryFunction</a></div><div class="ttdeci">ElementwiseBinaryFunction(const TensorShape &inShape0, const TensorShape &inShape1, const TensorShape &outShape, Decoder< InType > &inData0, Decoder< InType > &inData1, Encoder< OutType > &outData)</div><div class="ttdef"><b>Definition:</b> <a href="_elementwise_function_8cpp_source.html#l00025">ElementwiseFunction.cpp:25</a></div></div> |
| 216 | <div class="ttc" id="a_broadcast_8hpp_html"><div class="ttname"><a href="_broadcast_8hpp.html">Broadcast.hpp</a></div></div> |
| 217 | <div class="ttc" id="astructarmnn_1_1_elementwise_binary_function_html"><div class="ttname"><a href="structarmnn_1_1_elementwise_binary_function.html">armnn::ElementwiseBinaryFunction</a></div><div class="ttdef"><b>Definition:</b> <a href="_elementwise_function_8hpp_source.html#l00015">ElementwiseFunction.hpp:15</a></div></div> |
| 218 | <div class="ttc" id="aclassarmnn_1_1_tensor_shape_html"><div class="ttname"><a href="classarmnn_1_1_tensor_shape.html">armnn::TensorShape</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00020">Tensor.hpp:20</a></div></div> |
| 219 | <div class="ttc" id="aclassarmnn_1_1_encoder_html"><div class="ttname"><a href="classarmnn_1_1_encoder.html">armnn::Encoder</a></div><div class="ttdef"><b>Definition:</b> <a href="_base_iterator_8hpp_source.html#l00050">BaseIterator.hpp:50</a></div></div> |
| 220 | <div class="ttc" id="a_abs_8hpp_html"><div class="ttname"><a href="_abs_8hpp.html">Abs.hpp</a></div></div> |
| 221 | <div class="ttc" id="astructarmnn_1_1_broadcast_loop_html_ae9f47e12d6c2265d33fed54e88cf179f"><div class="ttname"><a href="structarmnn_1_1_broadcast_loop.html#ae9f47e12d6c2265d33fed54e88cf179f">armnn::BroadcastLoop::Unroll</a></div><div class="ttdeci">void Unroll(Func operationFunc, unsigned int dimension, DecoderOp &inData0, DecoderOp &inData1, EncoderOp &outData)</div><div class="ttdef"><b>Definition:</b> <a href="_broadcast_8hpp_source.html#l00026">Broadcast.hpp:26</a></div></div> |
| 222 | <div class="ttc" id="astructarmnn_1_1_logical_binary_function_html_a1fe1e5953d737b0d996687eacebc2614"><div class="ttname"><a href="structarmnn_1_1_logical_binary_function.html#a1fe1e5953d737b0d996687eacebc2614">armnn::LogicalBinaryFunction::LogicalBinaryFunction</a></div><div class="ttdeci">LogicalBinaryFunction(const TensorShape &inShape0, const TensorShape &inShape1, const TensorShape &outShape, Decoder< InType > &inData0, Decoder< InType > &inData1, Encoder< OutType > &outData)</div><div class="ttdef"><b>Definition:</b> <a href="_elementwise_function_8cpp_source.html#l00045">ElementwiseFunction.cpp:45</a></div></div> |
| 223 | <div class="ttc" id="astructarmnn_1_1_elementwise_unary_function_html"><div class="ttname"><a href="structarmnn_1_1_elementwise_unary_function.html">armnn::ElementwiseUnaryFunction</a></div><div class="ttdef"><b>Definition:</b> <a href="_elementwise_function_8hpp_source.html#l00029">ElementwiseFunction.hpp:29</a></div></div> |
| 224 | <div class="ttc" id="astructarmnn_1_1_logical_unary_function_html"><div class="ttname"><a href="structarmnn_1_1_logical_unary_function.html">armnn::LogicalUnaryFunction</a></div><div class="ttdef"><b>Definition:</b> <a href="_elementwise_function_8hpp_source.html#l00055">ElementwiseFunction.hpp:55</a></div></div> |
| 225 | <div class="ttc" id="a_squared_difference_8hpp_html"><div class="ttname"><a href="_squared_difference_8hpp.html">SquaredDifference.hpp</a></div></div> |
| 226 | <div class="ttc" id="a_elementwise_function_8hpp_html"><div class="ttname"><a href="_elementwise_function_8hpp.html">ElementwiseFunction.hpp</a></div></div> |
| 227 | <div class="ttc" id="a_maximum_8hpp_html"><div class="ttname"><a href="_maximum_8hpp.html">Maximum.hpp</a></div></div> |
| 228 | <div class="ttc" id="anamespacearmnn_html"><div class="ttname"><a href="namespacearmnn.html">armnn</a></div><div class="ttdoc">Copyright (c) 2021 ARM Limited and Contributors.</div><div class="ttdef"><b>Definition:</b> <a href="01__00__quick__start_8dox_source.html#l00006">01_00_quick_start.dox:6</a></div></div> |
| 229 | <div class="ttc" id="a_power_8hpp_html"><div class="ttname"><a href="_power_8hpp.html">Power.hpp</a></div></div> |
| 230 | <div class="ttc" id="a_exp_8hpp_html"><div class="ttname"><a href="_exp_8hpp.html">Exp.hpp</a></div></div> |
| 231 | <div class="ttc" id="a_sqrt_8hpp_html"><div class="ttname"><a href="_sqrt_8hpp.html">Sqrt.hpp</a></div></div> |
| 232 | <div class="ttc" id="a_log_8hpp_html"><div class="ttname"><a href="_log_8hpp.html">Log.hpp</a></div></div> |
| 233 | <!-- start footer part --> |
| 234 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 235 | <ul> |
| 236 | <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_0f3cdec46afbc61a1ded8e1687c9c9a0.html">backends</a></li><li class="navelem"><a class="el" href="dir_efae4012d0e357ebeaba7d02491d70e5.html">reference</a></li><li class="navelem"><a class="el" href="dir_d2f3b8e2e64df3181ebe92efcc0a3012.html">workloads</a></li><li class="navelem"><a class="el" href="_elementwise_function_8cpp.html">ElementwiseFunction.cpp</a></li> |
| 237 | <li class="footer">Generated on Thu May 16 2024 09:31:49 for Arm NN by |
| 238 | <a href="http://www.doxygen.org/index.html"> |
| 239 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li> |
| 240 | </ul> |
| 241 | </div> |
| 242 | </body> |
| 243 | </html> |