Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 1 | <!-- HTML header for doxygen 1.8.15--> |
| 2 | <!-- Remember to use version doxygen 1.8.15 +--> |
| 3 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 4 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 5 | <head> |
| 6 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| 7 | <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| 8 | <meta name="generator" content="Doxygen 1.8.15"/> |
| 9 | <meta name="robots" content="NOINDEX, NOFOLLOW" /> <!-- Prevent indexing by search engines --> |
| 10 | <title>Compute Library: src/core/CL/cl_kernels/activation_float_helpers.h File Reference</title> |
| 11 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 12 | <script type="text/javascript" src="jquery.js"></script> |
| 13 | <script type="text/javascript" src="dynsections.js"></script> |
| 14 | <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| 15 | <script type="text/javascript" src="resize.js"></script> |
| 16 | <script type="text/javascript" src="navtreedata.js"></script> |
| 17 | <script type="text/javascript" src="navtree.js"></script> |
| 18 | <script type="text/javascript"> |
| 19 | /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ |
| 20 | $(document).ready(initResizable); |
| 21 | /* @license-end */</script> |
| 22 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 23 | <script type="text/javascript" src="search/searchdata.js"></script> |
| 24 | <script type="text/javascript" src="search/search.js"></script> |
| 25 | <script type="text/x-mathjax-config"> |
| 26 | MathJax.Hub.Config({ |
| 27 | extensions: ["tex2jax.js"], |
| 28 | jax: ["input/TeX","output/HTML-CSS"], |
| 29 | }); |
| 30 | </script><script type="text/javascript" async="async" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script> |
| 31 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 32 | <link href="stylesheet.css" rel="stylesheet" type="text/css"/> |
| 33 | </head> |
| 34 | <body> |
| 35 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 36 | <div id="titlearea"> |
| 37 | <table cellspacing="0" cellpadding="0"> |
| 38 | <tbody> |
| 39 | <tr style="height: 56px;"> |
| 40 | <img alt="Compute Library" src="https://raw.githubusercontent.com/ARM-software/ComputeLibrary/gh-pages/ACL_logo.png" style="max-width: 100%;margin-top: 15px;margin-left: 10px"/> |
| 41 | <td style="padding-left: 0.5em;"> |
| 42 | <div id="projectname"> |
Jenkins | 575c81f | 2020-03-05 16:07:35 +0000 | [diff] [blame^] | 43 |  <span id="projectnumber">20.02.1</span> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 44 | </div> |
| 45 | </td> |
| 46 | </tr> |
| 47 | </tbody> |
| 48 | </table> |
| 49 | </div> |
| 50 | <!-- end header part --> |
| 51 | <!-- Generated by Doxygen 1.8.15 --> |
| 52 | <script type="text/javascript"> |
| 53 | /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ |
| 54 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 55 | /* @license-end */ |
| 56 | </script> |
| 57 | <script type="text/javascript" src="menudata.js"></script> |
| 58 | <script type="text/javascript" src="menu.js"></script> |
| 59 | <script type="text/javascript"> |
| 60 | /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ |
| 61 | $(function() { |
| 62 | initMenu('',true,false,'search.php','Search'); |
| 63 | $(document).ready(function() { init_search(); }); |
| 64 | }); |
| 65 | /* @license-end */</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 | /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ |
| 80 | $(document).ready(function(){initNavTree('activation__float__helpers_8h.xhtml','');}); |
| 81 | /* @license-end */ |
| 82 | </script> |
| 83 | <div id="doc-content"> |
| 84 | <!-- window showing the filter options --> |
| 85 | <div id="MSearchSelectWindow" |
| 86 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 87 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 88 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| 89 | </div> |
| 90 | |
| 91 | <!-- iframe showing the search results (closed by default) --> |
| 92 | <div id="MSearchResultsWindow"> |
| 93 | <iframe src="javascript:void(0)" frameborder="0" |
| 94 | name="MSearchResults" id="MSearchResults"> |
| 95 | </iframe> |
| 96 | </div> |
| 97 | |
| 98 | <div class="header"> |
| 99 | <div class="summary"> |
| 100 | <a href="#define-members">Macros</a> </div> |
| 101 | <div class="headertitle"> |
| 102 | <div class="title">activation_float_helpers.h File Reference</div> </div> |
| 103 | </div><!--header--> |
| 104 | <div class="contents"> |
| 105 | <div class="textblock"><code>#include "<a class="el" href="src_2core_2_c_l_2cl__kernels_2_helpers_8h_source.xhtml">helpers.h</a>"</code><br /> |
| 106 | </div> |
| 107 | <p><a href="activation__float__helpers_8h_source.xhtml">Go to the source code of this file.</a></p> |
| 108 | <table class="memberdecls"> |
| 109 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a> |
| 110 | Macros</h2></td></tr> |
| 111 | <tr class="memitem:a8df78bbafb6073319466ffe69a01931f"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="activation__float__helpers_8h.xhtml#a8df78bbafb6073319466ffe69a01931f">MLA</a>(a, b, c)   ((b) * (c) + (a))</td></tr> |
| 112 | <tr class="separator:a8df78bbafb6073319466ffe69a01931f"><td class="memSeparator" colspan="2"> </td></tr> |
| 113 | <tr class="memitem:aa8b474faaa6062c728201ed39edd2446"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="activation__float__helpers_8h.xhtml#aa8b474faaa6062c728201ed39edd2446">logistic_op</a>(<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, x, A_VAL, B_VAL)   ((<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>)1.0 / ((<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>)1.0 + exp(-x)))</td></tr> |
| 114 | <tr class="separator:aa8b474faaa6062c728201ed39edd2446"><td class="memSeparator" colspan="2"> </td></tr> |
| 115 | <tr class="memitem:a0bd249f46d4fb9dc5cfcb062761c55bb"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="activation__float__helpers_8h.xhtml#a0bd249f46d4fb9dc5cfcb062761c55bb">tanh_op</a>(<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, x, A_VAL, B_VAL)   ((<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>)A_VAL * tanh((<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>)B_VAL * x))</td></tr> |
| 116 | <tr class="separator:a0bd249f46d4fb9dc5cfcb062761c55bb"><td class="memSeparator" colspan="2"> </td></tr> |
| 117 | <tr class="memitem:a5885769bd59707cdfdfaa82677ea4483"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="activation__float__helpers_8h.xhtml#a5885769bd59707cdfdfaa82677ea4483">relu_op</a>(<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, x, A_VAL, B_VAL)   (max((<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>)0.0, x))</td></tr> |
| 118 | <tr class="separator:a5885769bd59707cdfdfaa82677ea4483"><td class="memSeparator" colspan="2"> </td></tr> |
| 119 | <tr class="memitem:aeb0c28c03d603cec5c2cffb551bbf6a9"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="activation__float__helpers_8h.xhtml#aeb0c28c03d603cec5c2cffb551bbf6a9">brelu_op</a>(<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, x, A_VAL, B_VAL)   (min((<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>)A_VAL, max((<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>)0.0, x)))</td></tr> |
| 120 | <tr class="separator:aeb0c28c03d603cec5c2cffb551bbf6a9"><td class="memSeparator" colspan="2"> </td></tr> |
| 121 | <tr class="memitem:aaaa0358ab1c5e91587a81bd4e8415d8b"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="activation__float__helpers_8h.xhtml#aaaa0358ab1c5e91587a81bd4e8415d8b">lu_brelu_op</a>(<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, x, A_VAL, B_VAL)   (min(max(x, (<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>)B_VAL), (<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>)A_VAL))</td></tr> |
| 122 | <tr class="separator:aaaa0358ab1c5e91587a81bd4e8415d8b"><td class="memSeparator" colspan="2"> </td></tr> |
| 123 | <tr class="memitem:a6d28176cdf4fe5f1b39245907d5ca7b8"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="activation__float__helpers_8h.xhtml#a6d28176cdf4fe5f1b39245907d5ca7b8">lrelu_op</a>(<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, x, A_VAL, B_VAL)   ((min(x, (<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>)0.0) * (<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>)A_VAL) + max(x, (<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>)0.0))</td></tr> |
| 124 | <tr class="separator:a6d28176cdf4fe5f1b39245907d5ca7b8"><td class="memSeparator" colspan="2"> </td></tr> |
| 125 | <tr class="memitem:a7ac4f206b54438676f70075b6d9e4a1a"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="activation__float__helpers_8h.xhtml#a7ac4f206b54438676f70075b6d9e4a1a">srelu_op</a>(<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, x, A_VAL, B_VAL)   (log((<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>)1.0 + exp(x)))</td></tr> |
| 126 | <tr class="separator:a7ac4f206b54438676f70075b6d9e4a1a"><td class="memSeparator" colspan="2"> </td></tr> |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 127 | <tr class="memitem:a3d828b57d03a6109bdc4719408927179"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="activation__float__helpers_8h.xhtml#a3d828b57d03a6109bdc4719408927179">elu_op</a>(<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, x, A_VAL, B_VAL)   (select(((<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>)A_VAL * (exp(x) - (<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>)1.0)), x, isgreaterequal(x, (<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>)0.0)))</td></tr> |
| 128 | <tr class="separator:a3d828b57d03a6109bdc4719408927179"><td class="memSeparator" colspan="2"> </td></tr> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 129 | <tr class="memitem:ad241c192445437657f18094735135acf"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="activation__float__helpers_8h.xhtml#ad241c192445437657f18094735135acf">abs_op</a>(<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, x, A_VAL, B_VAL)   (fabs(x))</td></tr> |
| 130 | <tr class="separator:ad241c192445437657f18094735135acf"><td class="memSeparator" colspan="2"> </td></tr> |
| 131 | <tr class="memitem:a3fbe1c283cc8c5e8bd79623c760b498d"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="activation__float__helpers_8h.xhtml#a3fbe1c283cc8c5e8bd79623c760b498d">square_op</a>(<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, x, A_VAL, B_VAL)   (x * x)</td></tr> |
| 132 | <tr class="separator:a3fbe1c283cc8c5e8bd79623c760b498d"><td class="memSeparator" colspan="2"> </td></tr> |
| 133 | <tr class="memitem:a43bf6bb78e61889b6a1f3f60b36d52a8"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="activation__float__helpers_8h.xhtml#a43bf6bb78e61889b6a1f3f60b36d52a8">sqrt_op</a>(<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, x, A_VAL, B_VAL)   (sqrt(x))</td></tr> |
| 134 | <tr class="separator:a43bf6bb78e61889b6a1f3f60b36d52a8"><td class="memSeparator" colspan="2"> </td></tr> |
| 135 | <tr class="memitem:a91058d13f14608c2063a412c0af025c4"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="activation__float__helpers_8h.xhtml#a91058d13f14608c2063a412c0af025c4">linear_op</a>(<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, x, A_VAL, B_VAL)   (<a class="el" href="activation__float__helpers_8h.xhtml#a8df78bbafb6073319466ffe69a01931f">MLA</a>((<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>)B_VAL, (<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>)A_VAL, x))</td></tr> |
| 136 | <tr class="separator:a91058d13f14608c2063a412c0af025c4"><td class="memSeparator" colspan="2"> </td></tr> |
| 137 | <tr class="memitem:a8853785c268f7591f3905d46c3fe4c58"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="activation__float__helpers_8h.xhtml#a8853785c268f7591f3905d46c3fe4c58">identity_op</a>(<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, x, A_VAL, B_VAL)   (x)</td></tr> |
| 138 | <tr class="separator:a8853785c268f7591f3905d46c3fe4c58"><td class="memSeparator" colspan="2"> </td></tr> |
| 139 | <tr class="memitem:a3e07fff4ac8593d886877dd6ac323e41"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="activation__float__helpers_8h.xhtml#a3e07fff4ac8593d886877dd6ac323e41">OP</a>(op, <a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, x, A_VAL, B_VAL)   op##_op(<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, x, A_VAL, B_VAL)</td></tr> |
| 140 | <tr class="separator:a3e07fff4ac8593d886877dd6ac323e41"><td class="memSeparator" colspan="2"> </td></tr> |
| 141 | <tr class="memitem:abbc420da5dec17216bb014c05ad65304"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="activation__float__helpers_8h.xhtml#abbc420da5dec17216bb014c05ad65304">ACTIVATION</a>(op, <a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, x, A_VAL, B_VAL)   <a class="el" href="activation__float__helpers_8h.xhtml#a3e07fff4ac8593d886877dd6ac323e41">OP</a>(op, <a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, x, A_VAL, B_VAL)</td></tr> |
| 142 | <tr class="separator:abbc420da5dec17216bb014c05ad65304"><td class="memSeparator" colspan="2"> </td></tr> |
| 143 | </table> |
| 144 | <h2 class="groupheader">Macro Definition Documentation</h2> |
| 145 | <a id="ad241c192445437657f18094735135acf"></a> |
| 146 | <h2 class="memtitle"><span class="permalink"><a href="#ad241c192445437657f18094735135acf">◆ </a></span>abs_op</h2> |
| 147 | |
| 148 | <div class="memitem"> |
| 149 | <div class="memproto"> |
| 150 | <table class="memname"> |
| 151 | <tr> |
| 152 | <td class="memname">#define abs_op</td> |
| 153 | <td>(</td> |
| 154 | <td class="paramtype"> </td> |
| 155 | <td class="paramname"><a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, </td> |
| 156 | </tr> |
| 157 | <tr> |
| 158 | <td class="paramkey"></td> |
| 159 | <td></td> |
| 160 | <td class="paramtype"> </td> |
| 161 | <td class="paramname">x, </td> |
| 162 | </tr> |
| 163 | <tr> |
| 164 | <td class="paramkey"></td> |
| 165 | <td></td> |
| 166 | <td class="paramtype"> </td> |
| 167 | <td class="paramname">A_VAL, </td> |
| 168 | </tr> |
| 169 | <tr> |
| 170 | <td class="paramkey"></td> |
| 171 | <td></td> |
| 172 | <td class="paramtype"> </td> |
| 173 | <td class="paramname">B_VAL </td> |
| 174 | </tr> |
| 175 | <tr> |
| 176 | <td></td> |
| 177 | <td>)</td> |
| 178 | <td></td><td>   (fabs(x))</td> |
| 179 | </tr> |
| 180 | </table> |
| 181 | </div><div class="memdoc"> |
| 182 | |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 183 | <p class="definition">Definition at line <a class="el" href="activation__float__helpers_8h_source.xhtml#l00057">57</a> of file <a class="el" href="activation__float__helpers_8h_source.xhtml">activation_float_helpers.h</a>.</p> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 184 | |
| 185 | </div> |
| 186 | </div> |
| 187 | <a id="abbc420da5dec17216bb014c05ad65304"></a> |
| 188 | <h2 class="memtitle"><span class="permalink"><a href="#abbc420da5dec17216bb014c05ad65304">◆ </a></span>ACTIVATION</h2> |
| 189 | |
| 190 | <div class="memitem"> |
| 191 | <div class="memproto"> |
| 192 | <table class="memname"> |
| 193 | <tr> |
| 194 | <td class="memname">#define ACTIVATION</td> |
| 195 | <td>(</td> |
| 196 | <td class="paramtype"> </td> |
| 197 | <td class="paramname">op, </td> |
| 198 | </tr> |
| 199 | <tr> |
| 200 | <td class="paramkey"></td> |
| 201 | <td></td> |
| 202 | <td class="paramtype"> </td> |
| 203 | <td class="paramname"><a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, </td> |
| 204 | </tr> |
| 205 | <tr> |
| 206 | <td class="paramkey"></td> |
| 207 | <td></td> |
| 208 | <td class="paramtype"> </td> |
| 209 | <td class="paramname">x, </td> |
| 210 | </tr> |
| 211 | <tr> |
| 212 | <td class="paramkey"></td> |
| 213 | <td></td> |
| 214 | <td class="paramtype"> </td> |
| 215 | <td class="paramname">A_VAL, </td> |
| 216 | </tr> |
| 217 | <tr> |
| 218 | <td class="paramkey"></td> |
| 219 | <td></td> |
| 220 | <td class="paramtype"> </td> |
| 221 | <td class="paramname">B_VAL </td> |
| 222 | </tr> |
| 223 | <tr> |
| 224 | <td></td> |
| 225 | <td>)</td> |
| 226 | <td></td><td>   <a class="el" href="activation__float__helpers_8h.xhtml#a3e07fff4ac8593d886877dd6ac323e41">OP</a>(op, <a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, x, A_VAL, B_VAL)</td> |
| 227 | </tr> |
| 228 | </table> |
| 229 | </div><div class="memdoc"> |
| 230 | |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 231 | <p class="definition">Definition at line <a class="el" href="activation__float__helpers_8h_source.xhtml#l00073">73</a> of file <a class="el" href="activation__float__helpers_8h_source.xhtml">activation_float_helpers.h</a>.</p> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 232 | |
| 233 | </div> |
| 234 | </div> |
| 235 | <a id="aeb0c28c03d603cec5c2cffb551bbf6a9"></a> |
| 236 | <h2 class="memtitle"><span class="permalink"><a href="#aeb0c28c03d603cec5c2cffb551bbf6a9">◆ </a></span>brelu_op</h2> |
| 237 | |
| 238 | <div class="memitem"> |
| 239 | <div class="memproto"> |
| 240 | <table class="memname"> |
| 241 | <tr> |
| 242 | <td class="memname">#define brelu_op</td> |
| 243 | <td>(</td> |
| 244 | <td class="paramtype"> </td> |
| 245 | <td class="paramname"><a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, </td> |
| 246 | </tr> |
| 247 | <tr> |
| 248 | <td class="paramkey"></td> |
| 249 | <td></td> |
| 250 | <td class="paramtype"> </td> |
| 251 | <td class="paramname">x, </td> |
| 252 | </tr> |
| 253 | <tr> |
| 254 | <td class="paramkey"></td> |
| 255 | <td></td> |
| 256 | <td class="paramtype"> </td> |
| 257 | <td class="paramname">A_VAL, </td> |
| 258 | </tr> |
| 259 | <tr> |
| 260 | <td class="paramkey"></td> |
| 261 | <td></td> |
| 262 | <td class="paramtype"> </td> |
| 263 | <td class="paramname">B_VAL </td> |
| 264 | </tr> |
| 265 | <tr> |
| 266 | <td></td> |
| 267 | <td>)</td> |
| 268 | <td></td><td>   (min((<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>)A_VAL, max((<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>)0.0, x)))</td> |
| 269 | </tr> |
| 270 | </table> |
| 271 | </div><div class="memdoc"> |
| 272 | |
| 273 | <p class="definition">Definition at line <a class="el" href="activation__float__helpers_8h_source.xhtml#l00042">42</a> of file <a class="el" href="activation__float__helpers_8h_source.xhtml">activation_float_helpers.h</a>.</p> |
| 274 | |
| 275 | </div> |
| 276 | </div> |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 277 | <a id="a3d828b57d03a6109bdc4719408927179"></a> |
| 278 | <h2 class="memtitle"><span class="permalink"><a href="#a3d828b57d03a6109bdc4719408927179">◆ </a></span>elu_op</h2> |
| 279 | |
| 280 | <div class="memitem"> |
| 281 | <div class="memproto"> |
| 282 | <table class="memname"> |
| 283 | <tr> |
| 284 | <td class="memname">#define elu_op</td> |
| 285 | <td>(</td> |
| 286 | <td class="paramtype"> </td> |
| 287 | <td class="paramname"><a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, </td> |
| 288 | </tr> |
| 289 | <tr> |
| 290 | <td class="paramkey"></td> |
| 291 | <td></td> |
| 292 | <td class="paramtype"> </td> |
| 293 | <td class="paramname">x, </td> |
| 294 | </tr> |
| 295 | <tr> |
| 296 | <td class="paramkey"></td> |
| 297 | <td></td> |
| 298 | <td class="paramtype"> </td> |
| 299 | <td class="paramname">A_VAL, </td> |
| 300 | </tr> |
| 301 | <tr> |
| 302 | <td class="paramkey"></td> |
| 303 | <td></td> |
| 304 | <td class="paramtype"> </td> |
| 305 | <td class="paramname">B_VAL </td> |
| 306 | </tr> |
| 307 | <tr> |
| 308 | <td></td> |
| 309 | <td>)</td> |
| 310 | <td></td><td>   (select(((<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>)A_VAL * (exp(x) - (<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>)1.0)), x, isgreaterequal(x, (<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>)0.0)))</td> |
| 311 | </tr> |
| 312 | </table> |
| 313 | </div><div class="memdoc"> |
| 314 | |
| 315 | <p class="definition">Definition at line <a class="el" href="activation__float__helpers_8h_source.xhtml#l00054">54</a> of file <a class="el" href="activation__float__helpers_8h_source.xhtml">activation_float_helpers.h</a>.</p> |
| 316 | |
| 317 | </div> |
| 318 | </div> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 319 | <a id="a8853785c268f7591f3905d46c3fe4c58"></a> |
| 320 | <h2 class="memtitle"><span class="permalink"><a href="#a8853785c268f7591f3905d46c3fe4c58">◆ </a></span>identity_op</h2> |
| 321 | |
| 322 | <div class="memitem"> |
| 323 | <div class="memproto"> |
| 324 | <table class="memname"> |
| 325 | <tr> |
| 326 | <td class="memname">#define identity_op</td> |
| 327 | <td>(</td> |
| 328 | <td class="paramtype"> </td> |
| 329 | <td class="paramname"><a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, </td> |
| 330 | </tr> |
| 331 | <tr> |
| 332 | <td class="paramkey"></td> |
| 333 | <td></td> |
| 334 | <td class="paramtype"> </td> |
| 335 | <td class="paramname">x, </td> |
| 336 | </tr> |
| 337 | <tr> |
| 338 | <td class="paramkey"></td> |
| 339 | <td></td> |
| 340 | <td class="paramtype"> </td> |
| 341 | <td class="paramname">A_VAL, </td> |
| 342 | </tr> |
| 343 | <tr> |
| 344 | <td class="paramkey"></td> |
| 345 | <td></td> |
| 346 | <td class="paramtype"> </td> |
| 347 | <td class="paramname">B_VAL </td> |
| 348 | </tr> |
| 349 | <tr> |
| 350 | <td></td> |
| 351 | <td>)</td> |
| 352 | <td></td><td>   (x)</td> |
| 353 | </tr> |
| 354 | </table> |
| 355 | </div><div class="memdoc"> |
| 356 | |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 357 | <p class="definition">Definition at line <a class="el" href="activation__float__helpers_8h_source.xhtml#l00069">69</a> of file <a class="el" href="activation__float__helpers_8h_source.xhtml">activation_float_helpers.h</a>.</p> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 358 | |
| 359 | </div> |
| 360 | </div> |
| 361 | <a id="a91058d13f14608c2063a412c0af025c4"></a> |
| 362 | <h2 class="memtitle"><span class="permalink"><a href="#a91058d13f14608c2063a412c0af025c4">◆ </a></span>linear_op</h2> |
| 363 | |
| 364 | <div class="memitem"> |
| 365 | <div class="memproto"> |
| 366 | <table class="memname"> |
| 367 | <tr> |
| 368 | <td class="memname">#define linear_op</td> |
| 369 | <td>(</td> |
| 370 | <td class="paramtype"> </td> |
| 371 | <td class="paramname"><a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, </td> |
| 372 | </tr> |
| 373 | <tr> |
| 374 | <td class="paramkey"></td> |
| 375 | <td></td> |
| 376 | <td class="paramtype"> </td> |
| 377 | <td class="paramname">x, </td> |
| 378 | </tr> |
| 379 | <tr> |
| 380 | <td class="paramkey"></td> |
| 381 | <td></td> |
| 382 | <td class="paramtype"> </td> |
| 383 | <td class="paramname">A_VAL, </td> |
| 384 | </tr> |
| 385 | <tr> |
| 386 | <td class="paramkey"></td> |
| 387 | <td></td> |
| 388 | <td class="paramtype"> </td> |
| 389 | <td class="paramname">B_VAL </td> |
| 390 | </tr> |
| 391 | <tr> |
| 392 | <td></td> |
| 393 | <td>)</td> |
| 394 | <td></td><td>   (<a class="el" href="activation__float__helpers_8h.xhtml#a8df78bbafb6073319466ffe69a01931f">MLA</a>((<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>)B_VAL, (<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>)A_VAL, x))</td> |
| 395 | </tr> |
| 396 | </table> |
| 397 | </div><div class="memdoc"> |
| 398 | |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 399 | <p class="definition">Definition at line <a class="el" href="activation__float__helpers_8h_source.xhtml#l00066">66</a> of file <a class="el" href="activation__float__helpers_8h_source.xhtml">activation_float_helpers.h</a>.</p> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 400 | |
| 401 | </div> |
| 402 | </div> |
| 403 | <a id="aa8b474faaa6062c728201ed39edd2446"></a> |
| 404 | <h2 class="memtitle"><span class="permalink"><a href="#aa8b474faaa6062c728201ed39edd2446">◆ </a></span>logistic_op</h2> |
| 405 | |
| 406 | <div class="memitem"> |
| 407 | <div class="memproto"> |
| 408 | <table class="memname"> |
| 409 | <tr> |
| 410 | <td class="memname">#define logistic_op</td> |
| 411 | <td>(</td> |
| 412 | <td class="paramtype"> </td> |
| 413 | <td class="paramname"><a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, </td> |
| 414 | </tr> |
| 415 | <tr> |
| 416 | <td class="paramkey"></td> |
| 417 | <td></td> |
| 418 | <td class="paramtype"> </td> |
| 419 | <td class="paramname">x, </td> |
| 420 | </tr> |
| 421 | <tr> |
| 422 | <td class="paramkey"></td> |
| 423 | <td></td> |
| 424 | <td class="paramtype"> </td> |
| 425 | <td class="paramname">A_VAL, </td> |
| 426 | </tr> |
| 427 | <tr> |
| 428 | <td class="paramkey"></td> |
| 429 | <td></td> |
| 430 | <td class="paramtype"> </td> |
| 431 | <td class="paramname">B_VAL </td> |
| 432 | </tr> |
| 433 | <tr> |
| 434 | <td></td> |
| 435 | <td>)</td> |
| 436 | <td></td><td>   ((<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>)1.0 / ((<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>)1.0 + exp(-x)))</td> |
| 437 | </tr> |
| 438 | </table> |
| 439 | </div><div class="memdoc"> |
| 440 | |
| 441 | <p class="definition">Definition at line <a class="el" href="activation__float__helpers_8h_source.xhtml#l00033">33</a> of file <a class="el" href="activation__float__helpers_8h_source.xhtml">activation_float_helpers.h</a>.</p> |
| 442 | |
| 443 | </div> |
| 444 | </div> |
| 445 | <a id="a6d28176cdf4fe5f1b39245907d5ca7b8"></a> |
| 446 | <h2 class="memtitle"><span class="permalink"><a href="#a6d28176cdf4fe5f1b39245907d5ca7b8">◆ </a></span>lrelu_op</h2> |
| 447 | |
| 448 | <div class="memitem"> |
| 449 | <div class="memproto"> |
| 450 | <table class="memname"> |
| 451 | <tr> |
| 452 | <td class="memname">#define lrelu_op</td> |
| 453 | <td>(</td> |
| 454 | <td class="paramtype"> </td> |
| 455 | <td class="paramname"><a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, </td> |
| 456 | </tr> |
| 457 | <tr> |
| 458 | <td class="paramkey"></td> |
| 459 | <td></td> |
| 460 | <td class="paramtype"> </td> |
| 461 | <td class="paramname">x, </td> |
| 462 | </tr> |
| 463 | <tr> |
| 464 | <td class="paramkey"></td> |
| 465 | <td></td> |
| 466 | <td class="paramtype"> </td> |
| 467 | <td class="paramname">A_VAL, </td> |
| 468 | </tr> |
| 469 | <tr> |
| 470 | <td class="paramkey"></td> |
| 471 | <td></td> |
| 472 | <td class="paramtype"> </td> |
| 473 | <td class="paramname">B_VAL </td> |
| 474 | </tr> |
| 475 | <tr> |
| 476 | <td></td> |
| 477 | <td>)</td> |
| 478 | <td></td><td>   ((min(x, (<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>)0.0) * (<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>)A_VAL) + max(x, (<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>)0.0))</td> |
| 479 | </tr> |
| 480 | </table> |
| 481 | </div><div class="memdoc"> |
| 482 | |
| 483 | <p class="definition">Definition at line <a class="el" href="activation__float__helpers_8h_source.xhtml#l00048">48</a> of file <a class="el" href="activation__float__helpers_8h_source.xhtml">activation_float_helpers.h</a>.</p> |
| 484 | |
| 485 | </div> |
| 486 | </div> |
| 487 | <a id="aaaa0358ab1c5e91587a81bd4e8415d8b"></a> |
| 488 | <h2 class="memtitle"><span class="permalink"><a href="#aaaa0358ab1c5e91587a81bd4e8415d8b">◆ </a></span>lu_brelu_op</h2> |
| 489 | |
| 490 | <div class="memitem"> |
| 491 | <div class="memproto"> |
| 492 | <table class="memname"> |
| 493 | <tr> |
| 494 | <td class="memname">#define lu_brelu_op</td> |
| 495 | <td>(</td> |
| 496 | <td class="paramtype"> </td> |
| 497 | <td class="paramname"><a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, </td> |
| 498 | </tr> |
| 499 | <tr> |
| 500 | <td class="paramkey"></td> |
| 501 | <td></td> |
| 502 | <td class="paramtype"> </td> |
| 503 | <td class="paramname">x, </td> |
| 504 | </tr> |
| 505 | <tr> |
| 506 | <td class="paramkey"></td> |
| 507 | <td></td> |
| 508 | <td class="paramtype"> </td> |
| 509 | <td class="paramname">A_VAL, </td> |
| 510 | </tr> |
| 511 | <tr> |
| 512 | <td class="paramkey"></td> |
| 513 | <td></td> |
| 514 | <td class="paramtype"> </td> |
| 515 | <td class="paramname">B_VAL </td> |
| 516 | </tr> |
| 517 | <tr> |
| 518 | <td></td> |
| 519 | <td>)</td> |
| 520 | <td></td><td>   (min(max(x, (<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>)B_VAL), (<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>)A_VAL))</td> |
| 521 | </tr> |
| 522 | </table> |
| 523 | </div><div class="memdoc"> |
| 524 | |
| 525 | <p class="definition">Definition at line <a class="el" href="activation__float__helpers_8h_source.xhtml#l00045">45</a> of file <a class="el" href="activation__float__helpers_8h_source.xhtml">activation_float_helpers.h</a>.</p> |
| 526 | |
| 527 | </div> |
| 528 | </div> |
| 529 | <a id="a8df78bbafb6073319466ffe69a01931f"></a> |
| 530 | <h2 class="memtitle"><span class="permalink"><a href="#a8df78bbafb6073319466ffe69a01931f">◆ </a></span>MLA</h2> |
| 531 | |
| 532 | <div class="memitem"> |
| 533 | <div class="memproto"> |
| 534 | <table class="memname"> |
| 535 | <tr> |
| 536 | <td class="memname">#define MLA</td> |
| 537 | <td>(</td> |
| 538 | <td class="paramtype"> </td> |
| 539 | <td class="paramname">a, </td> |
| 540 | </tr> |
| 541 | <tr> |
| 542 | <td class="paramkey"></td> |
| 543 | <td></td> |
| 544 | <td class="paramtype"> </td> |
| 545 | <td class="paramname">b, </td> |
| 546 | </tr> |
| 547 | <tr> |
| 548 | <td class="paramkey"></td> |
| 549 | <td></td> |
| 550 | <td class="paramtype"> </td> |
| 551 | <td class="paramname">c </td> |
| 552 | </tr> |
| 553 | <tr> |
| 554 | <td></td> |
| 555 | <td>)</td> |
| 556 | <td></td><td>   ((b) * (c) + (a))</td> |
| 557 | </tr> |
| 558 | </table> |
| 559 | </div><div class="memdoc"> |
| 560 | |
| 561 | <p class="definition">Definition at line <a class="el" href="activation__float__helpers_8h_source.xhtml#l00030">30</a> of file <a class="el" href="activation__float__helpers_8h_source.xhtml">activation_float_helpers.h</a>.</p> |
| 562 | |
| 563 | </div> |
| 564 | </div> |
| 565 | <a id="a3e07fff4ac8593d886877dd6ac323e41"></a> |
| 566 | <h2 class="memtitle"><span class="permalink"><a href="#a3e07fff4ac8593d886877dd6ac323e41">◆ </a></span>OP</h2> |
| 567 | |
| 568 | <div class="memitem"> |
| 569 | <div class="memproto"> |
| 570 | <table class="memname"> |
| 571 | <tr> |
| 572 | <td class="memname">#define OP</td> |
| 573 | <td>(</td> |
| 574 | <td class="paramtype"> </td> |
| 575 | <td class="paramname">op, </td> |
| 576 | </tr> |
| 577 | <tr> |
| 578 | <td class="paramkey"></td> |
| 579 | <td></td> |
| 580 | <td class="paramtype"> </td> |
| 581 | <td class="paramname"><a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, </td> |
| 582 | </tr> |
| 583 | <tr> |
| 584 | <td class="paramkey"></td> |
| 585 | <td></td> |
| 586 | <td class="paramtype"> </td> |
| 587 | <td class="paramname">x, </td> |
| 588 | </tr> |
| 589 | <tr> |
| 590 | <td class="paramkey"></td> |
| 591 | <td></td> |
| 592 | <td class="paramtype"> </td> |
| 593 | <td class="paramname">A_VAL, </td> |
| 594 | </tr> |
| 595 | <tr> |
| 596 | <td class="paramkey"></td> |
| 597 | <td></td> |
| 598 | <td class="paramtype"> </td> |
| 599 | <td class="paramname">B_VAL </td> |
| 600 | </tr> |
| 601 | <tr> |
| 602 | <td></td> |
| 603 | <td>)</td> |
| 604 | <td></td><td>   op##_op(<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, x, A_VAL, B_VAL)</td> |
| 605 | </tr> |
| 606 | </table> |
| 607 | </div><div class="memdoc"> |
| 608 | |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 609 | <p class="definition">Definition at line <a class="el" href="activation__float__helpers_8h_source.xhtml#l00071">71</a> of file <a class="el" href="activation__float__helpers_8h_source.xhtml">activation_float_helpers.h</a>.</p> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 610 | |
| 611 | </div> |
| 612 | </div> |
| 613 | <a id="a5885769bd59707cdfdfaa82677ea4483"></a> |
| 614 | <h2 class="memtitle"><span class="permalink"><a href="#a5885769bd59707cdfdfaa82677ea4483">◆ </a></span>relu_op</h2> |
| 615 | |
| 616 | <div class="memitem"> |
| 617 | <div class="memproto"> |
| 618 | <table class="memname"> |
| 619 | <tr> |
| 620 | <td class="memname">#define relu_op</td> |
| 621 | <td>(</td> |
| 622 | <td class="paramtype"> </td> |
| 623 | <td class="paramname"><a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, </td> |
| 624 | </tr> |
| 625 | <tr> |
| 626 | <td class="paramkey"></td> |
| 627 | <td></td> |
| 628 | <td class="paramtype"> </td> |
| 629 | <td class="paramname">x, </td> |
| 630 | </tr> |
| 631 | <tr> |
| 632 | <td class="paramkey"></td> |
| 633 | <td></td> |
| 634 | <td class="paramtype"> </td> |
| 635 | <td class="paramname">A_VAL, </td> |
| 636 | </tr> |
| 637 | <tr> |
| 638 | <td class="paramkey"></td> |
| 639 | <td></td> |
| 640 | <td class="paramtype"> </td> |
| 641 | <td class="paramname">B_VAL </td> |
| 642 | </tr> |
| 643 | <tr> |
| 644 | <td></td> |
| 645 | <td>)</td> |
| 646 | <td></td><td>   (max((<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>)0.0, x))</td> |
| 647 | </tr> |
| 648 | </table> |
| 649 | </div><div class="memdoc"> |
| 650 | |
| 651 | <p class="definition">Definition at line <a class="el" href="activation__float__helpers_8h_source.xhtml#l00039">39</a> of file <a class="el" href="activation__float__helpers_8h_source.xhtml">activation_float_helpers.h</a>.</p> |
| 652 | |
| 653 | </div> |
| 654 | </div> |
| 655 | <a id="a43bf6bb78e61889b6a1f3f60b36d52a8"></a> |
| 656 | <h2 class="memtitle"><span class="permalink"><a href="#a43bf6bb78e61889b6a1f3f60b36d52a8">◆ </a></span>sqrt_op</h2> |
| 657 | |
| 658 | <div class="memitem"> |
| 659 | <div class="memproto"> |
| 660 | <table class="memname"> |
| 661 | <tr> |
| 662 | <td class="memname">#define sqrt_op</td> |
| 663 | <td>(</td> |
| 664 | <td class="paramtype"> </td> |
| 665 | <td class="paramname"><a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, </td> |
| 666 | </tr> |
| 667 | <tr> |
| 668 | <td class="paramkey"></td> |
| 669 | <td></td> |
| 670 | <td class="paramtype"> </td> |
| 671 | <td class="paramname">x, </td> |
| 672 | </tr> |
| 673 | <tr> |
| 674 | <td class="paramkey"></td> |
| 675 | <td></td> |
| 676 | <td class="paramtype"> </td> |
| 677 | <td class="paramname">A_VAL, </td> |
| 678 | </tr> |
| 679 | <tr> |
| 680 | <td class="paramkey"></td> |
| 681 | <td></td> |
| 682 | <td class="paramtype"> </td> |
| 683 | <td class="paramname">B_VAL </td> |
| 684 | </tr> |
| 685 | <tr> |
| 686 | <td></td> |
| 687 | <td>)</td> |
| 688 | <td></td><td>   (sqrt(x))</td> |
| 689 | </tr> |
| 690 | </table> |
| 691 | </div><div class="memdoc"> |
| 692 | |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 693 | <p class="definition">Definition at line <a class="el" href="activation__float__helpers_8h_source.xhtml#l00063">63</a> of file <a class="el" href="activation__float__helpers_8h_source.xhtml">activation_float_helpers.h</a>.</p> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 694 | |
| 695 | </div> |
| 696 | </div> |
| 697 | <a id="a3fbe1c283cc8c5e8bd79623c760b498d"></a> |
| 698 | <h2 class="memtitle"><span class="permalink"><a href="#a3fbe1c283cc8c5e8bd79623c760b498d">◆ </a></span>square_op</h2> |
| 699 | |
| 700 | <div class="memitem"> |
| 701 | <div class="memproto"> |
| 702 | <table class="memname"> |
| 703 | <tr> |
| 704 | <td class="memname">#define square_op</td> |
| 705 | <td>(</td> |
| 706 | <td class="paramtype"> </td> |
| 707 | <td class="paramname"><a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, </td> |
| 708 | </tr> |
| 709 | <tr> |
| 710 | <td class="paramkey"></td> |
| 711 | <td></td> |
| 712 | <td class="paramtype"> </td> |
| 713 | <td class="paramname">x, </td> |
| 714 | </tr> |
| 715 | <tr> |
| 716 | <td class="paramkey"></td> |
| 717 | <td></td> |
| 718 | <td class="paramtype"> </td> |
| 719 | <td class="paramname">A_VAL, </td> |
| 720 | </tr> |
| 721 | <tr> |
| 722 | <td class="paramkey"></td> |
| 723 | <td></td> |
| 724 | <td class="paramtype"> </td> |
| 725 | <td class="paramname">B_VAL </td> |
| 726 | </tr> |
| 727 | <tr> |
| 728 | <td></td> |
| 729 | <td>)</td> |
| 730 | <td></td><td>   (x * x)</td> |
| 731 | </tr> |
| 732 | </table> |
| 733 | </div><div class="memdoc"> |
| 734 | |
Jenkins | 0e205f7 | 2019-11-28 16:53:35 +0000 | [diff] [blame] | 735 | <p class="definition">Definition at line <a class="el" href="activation__float__helpers_8h_source.xhtml#l00060">60</a> of file <a class="el" href="activation__float__helpers_8h_source.xhtml">activation_float_helpers.h</a>.</p> |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 736 | |
| 737 | </div> |
| 738 | </div> |
| 739 | <a id="a7ac4f206b54438676f70075b6d9e4a1a"></a> |
| 740 | <h2 class="memtitle"><span class="permalink"><a href="#a7ac4f206b54438676f70075b6d9e4a1a">◆ </a></span>srelu_op</h2> |
| 741 | |
| 742 | <div class="memitem"> |
| 743 | <div class="memproto"> |
| 744 | <table class="memname"> |
| 745 | <tr> |
| 746 | <td class="memname">#define srelu_op</td> |
| 747 | <td>(</td> |
| 748 | <td class="paramtype"> </td> |
| 749 | <td class="paramname"><a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, </td> |
| 750 | </tr> |
| 751 | <tr> |
| 752 | <td class="paramkey"></td> |
| 753 | <td></td> |
| 754 | <td class="paramtype"> </td> |
| 755 | <td class="paramname">x, </td> |
| 756 | </tr> |
| 757 | <tr> |
| 758 | <td class="paramkey"></td> |
| 759 | <td></td> |
| 760 | <td class="paramtype"> </td> |
| 761 | <td class="paramname">A_VAL, </td> |
| 762 | </tr> |
| 763 | <tr> |
| 764 | <td class="paramkey"></td> |
| 765 | <td></td> |
| 766 | <td class="paramtype"> </td> |
| 767 | <td class="paramname">B_VAL </td> |
| 768 | </tr> |
| 769 | <tr> |
| 770 | <td></td> |
| 771 | <td>)</td> |
| 772 | <td></td><td>   (log((<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>)1.0 + exp(x)))</td> |
| 773 | </tr> |
| 774 | </table> |
| 775 | </div><div class="memdoc"> |
| 776 | |
| 777 | <p class="definition">Definition at line <a class="el" href="activation__float__helpers_8h_source.xhtml#l00051">51</a> of file <a class="el" href="activation__float__helpers_8h_source.xhtml">activation_float_helpers.h</a>.</p> |
| 778 | |
| 779 | </div> |
| 780 | </div> |
| 781 | <a id="a0bd249f46d4fb9dc5cfcb062761c55bb"></a> |
| 782 | <h2 class="memtitle"><span class="permalink"><a href="#a0bd249f46d4fb9dc5cfcb062761c55bb">◆ </a></span>tanh_op</h2> |
| 783 | |
| 784 | <div class="memitem"> |
| 785 | <div class="memproto"> |
| 786 | <table class="memname"> |
| 787 | <tr> |
| 788 | <td class="memname">#define tanh_op</td> |
| 789 | <td>(</td> |
| 790 | <td class="paramtype"> </td> |
| 791 | <td class="paramname"><a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>, </td> |
| 792 | </tr> |
| 793 | <tr> |
| 794 | <td class="paramkey"></td> |
| 795 | <td></td> |
| 796 | <td class="paramtype"> </td> |
| 797 | <td class="paramname">x, </td> |
| 798 | </tr> |
| 799 | <tr> |
| 800 | <td class="paramkey"></td> |
| 801 | <td></td> |
| 802 | <td class="paramtype"> </td> |
| 803 | <td class="paramname">A_VAL, </td> |
| 804 | </tr> |
| 805 | <tr> |
| 806 | <td class="paramkey"></td> |
| 807 | <td></td> |
| 808 | <td class="paramtype"> </td> |
| 809 | <td class="paramname">B_VAL </td> |
| 810 | </tr> |
| 811 | <tr> |
| 812 | <td></td> |
| 813 | <td>)</td> |
| 814 | <td></td><td>   ((<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>)A_VAL * tanh((<a class="el" href="convolution9x9_8cl.xhtml#afb8c72ce35c4a1f4a2588d6573e54aa1">DATA_TYPE</a>)B_VAL * x))</td> |
| 815 | </tr> |
| 816 | </table> |
| 817 | </div><div class="memdoc"> |
| 818 | |
| 819 | <p class="definition">Definition at line <a class="el" href="activation__float__helpers_8h_source.xhtml#l00036">36</a> of file <a class="el" href="activation__float__helpers_8h_source.xhtml">activation_float_helpers.h</a>.</p> |
| 820 | |
| 821 | </div> |
| 822 | </div> |
| 823 | </div><!-- contents --> |
| 824 | </div><!-- doc-content --> |
| 825 | <!-- start footer part --> |
| 826 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 827 | <ul> |
| 828 | <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.xhtml">src</a></li><li class="navelem"><a class="el" href="dir_aebb8dcc11953d78e620bbef0b9e2183.xhtml">core</a></li><li class="navelem"><a class="el" href="dir_8c278f79c760e5c5fbd911f9870614c1.xhtml">CL</a></li><li class="navelem"><a class="el" href="dir_25885286e9dad4fa105b7b25a8031bbf.xhtml">cl_kernels</a></li><li class="navelem"><a class="el" href="activation__float__helpers_8h.xhtml">activation_float_helpers.h</a></li> |
Jenkins | 575c81f | 2020-03-05 16:07:35 +0000 | [diff] [blame^] | 829 | <li class="footer">Generated on Thu Mar 5 2020 16:07:07 for Compute Library by |
Jenkins | 975dfe1 | 2019-09-02 11:47:54 +0100 | [diff] [blame] | 830 | <a href="http://www.doxygen.org/index.html"> |
| 831 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li> |
| 832 | </ul> |
| 833 | </div> |
| 834 | </body> |
| 835 | </html> |