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: LstmDescriptor Struct 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_lstm_descriptor.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-methods">Public Member Functions</a> | |
| 99 | <a href="#pub-attribs">Public Attributes</a> | |
| 100 | <a href="structarmnn_1_1_lstm_descriptor-members.xhtml">List of all members</a> </div> |
| 101 | <div class="headertitle"> |
| 102 | <div class="title">LstmDescriptor Struct Reference</div> </div> |
| 103 | </div><!--header--> |
| 104 | <div class="contents"> |
| 105 | |
| 106 | <p>An <a class="el" href="structarmnn_1_1_lstm_descriptor.xhtml" title="An LstmDescriptor for the LstmLayer. ">LstmDescriptor</a> for the <a class="el" href="classarmnn_1_1_lstm_layer.xhtml" title="This layer represents a LSTM operation. ">LstmLayer</a>. |
| 107 | <a href="structarmnn_1_1_lstm_descriptor.xhtml#details">More...</a></p> |
| 108 | |
| 109 | <p><code>#include <<a class="el" href="_descriptors_8hpp_source.xhtml">Descriptors.hpp</a>></code></p> |
| 110 | <table class="memberdecls"> |
| 111 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| 112 | Public Member Functions</h2></td></tr> |
| 113 | <tr class="memitem:a4a6bc0b32c1db8d15971cae0ed4483a1"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_lstm_descriptor.xhtml#a4a6bc0b32c1db8d15971cae0ed4483a1">LstmDescriptor</a> ()</td></tr> |
| 114 | <tr class="separator:a4a6bc0b32c1db8d15971cae0ed4483a1"><td class="memSeparator" colspan="2"> </td></tr> |
| 115 | <tr class="memitem:a3f7f9ecbcc21de1bf2090474c6360014"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_lstm_descriptor.xhtml#a3f7f9ecbcc21de1bf2090474c6360014">operator==</a> (const <a class="el" href="structarmnn_1_1_lstm_descriptor.xhtml">LstmDescriptor</a> &rhs) const</td></tr> |
| 116 | <tr class="separator:a3f7f9ecbcc21de1bf2090474c6360014"><td class="memSeparator" colspan="2"> </td></tr> |
| 117 | </table><table class="memberdecls"> |
| 118 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a> |
| 119 | Public Attributes</h2></td></tr> |
| 120 | <tr class="memitem:ae1b07ed928036004bd257169e5aeeef4"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_lstm_descriptor.xhtml#ae1b07ed928036004bd257169e5aeeef4">m_ActivationFunc</a></td></tr> |
| 121 | <tr class="memdesc:ae1b07ed928036004bd257169e5aeeef4"><td class="mdescLeft"> </td><td class="mdescRight">The activation function to use. <a href="#ae1b07ed928036004bd257169e5aeeef4">More...</a><br /></td></tr> |
| 122 | <tr class="separator:ae1b07ed928036004bd257169e5aeeef4"><td class="memSeparator" colspan="2"> </td></tr> |
| 123 | <tr class="memitem:a531a3907ec13d3772370da88030191a5"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_lstm_descriptor.xhtml#a531a3907ec13d3772370da88030191a5">m_ClippingThresCell</a></td></tr> |
| 124 | <tr class="memdesc:a531a3907ec13d3772370da88030191a5"><td class="mdescLeft"> </td><td class="mdescRight">Clipping threshold value for the cell state. <a href="#a531a3907ec13d3772370da88030191a5">More...</a><br /></td></tr> |
| 125 | <tr class="separator:a531a3907ec13d3772370da88030191a5"><td class="memSeparator" colspan="2"> </td></tr> |
| 126 | <tr class="memitem:a86e88bef0df4df96df752b4b8955a3af"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_lstm_descriptor.xhtml#a86e88bef0df4df96df752b4b8955a3af">m_ClippingThresProj</a></td></tr> |
| 127 | <tr class="memdesc:a86e88bef0df4df96df752b4b8955a3af"><td class="mdescLeft"> </td><td class="mdescRight">Clipping threshold value for the projection. <a href="#a86e88bef0df4df96df752b4b8955a3af">More...</a><br /></td></tr> |
| 128 | <tr class="separator:a86e88bef0df4df96df752b4b8955a3af"><td class="memSeparator" colspan="2"> </td></tr> |
| 129 | <tr class="memitem:ad474e5c51a0b194ef32e812b86c0cbdb"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_lstm_descriptor.xhtml#ad474e5c51a0b194ef32e812b86c0cbdb">m_CifgEnabled</a></td></tr> |
| 130 | <tr class="memdesc:ad474e5c51a0b194ef32e812b86c0cbdb"><td class="mdescLeft"> </td><td class="mdescRight">Enable/disable cifg (coupled input & forget gate). <a href="#ad474e5c51a0b194ef32e812b86c0cbdb">More...</a><br /></td></tr> |
| 131 | <tr class="separator:ad474e5c51a0b194ef32e812b86c0cbdb"><td class="memSeparator" colspan="2"> </td></tr> |
| 132 | <tr class="memitem:a2837b4396f20c956952d1a7286cab5f8"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_lstm_descriptor.xhtml#a2837b4396f20c956952d1a7286cab5f8">m_PeepholeEnabled</a></td></tr> |
| 133 | <tr class="memdesc:a2837b4396f20c956952d1a7286cab5f8"><td class="mdescLeft"> </td><td class="mdescRight">Enable/disable peephole. <a href="#a2837b4396f20c956952d1a7286cab5f8">More...</a><br /></td></tr> |
| 134 | <tr class="separator:a2837b4396f20c956952d1a7286cab5f8"><td class="memSeparator" colspan="2"> </td></tr> |
| 135 | <tr class="memitem:a6c9de81fc65b3c4924cab11907075a17"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_lstm_descriptor.xhtml#a6c9de81fc65b3c4924cab11907075a17">m_ProjectionEnabled</a></td></tr> |
| 136 | <tr class="memdesc:a6c9de81fc65b3c4924cab11907075a17"><td class="mdescLeft"> </td><td class="mdescRight">Enable/disable the projection layer. <a href="#a6c9de81fc65b3c4924cab11907075a17">More...</a><br /></td></tr> |
| 137 | <tr class="separator:a6c9de81fc65b3c4924cab11907075a17"><td class="memSeparator" colspan="2"> </td></tr> |
| 138 | <tr class="memitem:a4a8ec49f130084445d44297549254780"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structarmnn_1_1_lstm_descriptor.xhtml#a4a8ec49f130084445d44297549254780">m_LayerNormEnabled</a></td></tr> |
| 139 | <tr class="memdesc:a4a8ec49f130084445d44297549254780"><td class="mdescLeft"> </td><td class="mdescRight">Enable/disable layer normalization. <a href="#a4a8ec49f130084445d44297549254780">More...</a><br /></td></tr> |
| 140 | <tr class="separator:a4a8ec49f130084445d44297549254780"><td class="memSeparator" colspan="2"> </td></tr> |
| 141 | </table> |
| 142 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 143 | <div class="textblock"><p>An <a class="el" href="structarmnn_1_1_lstm_descriptor.xhtml" title="An LstmDescriptor for the LstmLayer. ">LstmDescriptor</a> for the <a class="el" href="classarmnn_1_1_lstm_layer.xhtml" title="This layer represents a LSTM operation. ">LstmLayer</a>. </p> |
| 144 | |
| 145 | <p class="definition">Definition at line <a class="el" href="_descriptors_8hpp_source.xhtml#l00837">837</a> of file <a class="el" href="_descriptors_8hpp_source.xhtml">Descriptors.hpp</a>.</p> |
| 146 | </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| 147 | <a id="a4a6bc0b32c1db8d15971cae0ed4483a1"></a> |
| 148 | <h2 class="memtitle"><span class="permalink"><a href="#a4a6bc0b32c1db8d15971cae0ed4483a1">◆ </a></span>LstmDescriptor()</h2> |
| 149 | |
| 150 | <div class="memitem"> |
| 151 | <div class="memproto"> |
| 152 | <table class="mlabels"> |
| 153 | <tr> |
| 154 | <td class="mlabels-left"> |
| 155 | <table class="memname"> |
| 156 | <tr> |
| 157 | <td class="memname"><a class="el" href="structarmnn_1_1_lstm_descriptor.xhtml">LstmDescriptor</a> </td> |
| 158 | <td>(</td> |
| 159 | <td class="paramname"></td><td>)</td> |
| 160 | <td></td> |
| 161 | </tr> |
| 162 | </table> |
| 163 | </td> |
| 164 | <td class="mlabels-right"> |
| 165 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 166 | </tr> |
| 167 | </table> |
| 168 | </div><div class="memdoc"> |
| 169 | |
| 170 | <p class="definition">Definition at line <a class="el" href="_descriptors_8hpp_source.xhtml#l00839">839</a> of file <a class="el" href="_descriptors_8hpp_source.xhtml">Descriptors.hpp</a>.</p> |
| 171 | <div class="fragment"><div class="line"><a name="l00840"></a><span class="lineno"> 840</span>  : <a class="code" href="structarmnn_1_1_lstm_descriptor.xhtml#ae1b07ed928036004bd257169e5aeeef4">m_ActivationFunc</a>(1) <span class="comment">// 0: None, 1: Relu, 3: Relu6, 4: Tanh, 6: Sigmoid</span></div><div class="line"><a name="l00841"></a><span class="lineno"> 841</span>  , <a class="code" href="structarmnn_1_1_lstm_descriptor.xhtml#a531a3907ec13d3772370da88030191a5">m_ClippingThresCell</a>(0.0)</div><div class="line"><a name="l00842"></a><span class="lineno"> 842</span>  , <a class="code" href="structarmnn_1_1_lstm_descriptor.xhtml#a86e88bef0df4df96df752b4b8955a3af">m_ClippingThresProj</a>(0.0)</div><div class="line"><a name="l00843"></a><span class="lineno"> 843</span>  , <a class="code" href="structarmnn_1_1_lstm_descriptor.xhtml#ad474e5c51a0b194ef32e812b86c0cbdb">m_CifgEnabled</a>(<span class="keyword">true</span>)</div><div class="line"><a name="l00844"></a><span class="lineno"> 844</span>  , <a class="code" href="structarmnn_1_1_lstm_descriptor.xhtml#a2837b4396f20c956952d1a7286cab5f8">m_PeepholeEnabled</a>(<span class="keyword">false</span>)</div><div class="line"><a name="l00845"></a><span class="lineno"> 845</span>  , <a class="code" href="structarmnn_1_1_lstm_descriptor.xhtml#a6c9de81fc65b3c4924cab11907075a17">m_ProjectionEnabled</a>(<span class="keyword">false</span>)</div><div class="line"><a name="l00846"></a><span class="lineno"> 846</span>  , <a class="code" href="structarmnn_1_1_lstm_descriptor.xhtml#a4a8ec49f130084445d44297549254780">m_LayerNormEnabled</a>(<span class="keyword">false</span>)</div><div class="line"><a name="l00847"></a><span class="lineno"> 847</span>  {}</div><div class="ttc" id="structarmnn_1_1_lstm_descriptor_xhtml_a6c9de81fc65b3c4924cab11907075a17"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.xhtml#a6c9de81fc65b3c4924cab11907075a17">armnn::LstmDescriptor::m_ProjectionEnabled</a></div><div class="ttdeci">bool m_ProjectionEnabled</div><div class="ttdoc">Enable/disable the projection layer. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.xhtml#l00871">Descriptors.hpp:871</a></div></div> |
| 172 | <div class="ttc" id="structarmnn_1_1_lstm_descriptor_xhtml_a86e88bef0df4df96df752b4b8955a3af"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.xhtml#a86e88bef0df4df96df752b4b8955a3af">armnn::LstmDescriptor::m_ClippingThresProj</a></div><div class="ttdeci">float m_ClippingThresProj</div><div class="ttdoc">Clipping threshold value for the projection. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.xhtml#l00865">Descriptors.hpp:865</a></div></div> |
| 173 | <div class="ttc" id="structarmnn_1_1_lstm_descriptor_xhtml_a2837b4396f20c956952d1a7286cab5f8"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.xhtml#a2837b4396f20c956952d1a7286cab5f8">armnn::LstmDescriptor::m_PeepholeEnabled</a></div><div class="ttdeci">bool m_PeepholeEnabled</div><div class="ttdoc">Enable/disable peephole. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.xhtml#l00869">Descriptors.hpp:869</a></div></div> |
| 174 | <div class="ttc" id="structarmnn_1_1_lstm_descriptor_xhtml_ae1b07ed928036004bd257169e5aeeef4"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.xhtml#ae1b07ed928036004bd257169e5aeeef4">armnn::LstmDescriptor::m_ActivationFunc</a></div><div class="ttdeci">uint32_t m_ActivationFunc</div><div class="ttdoc">The activation function to use. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.xhtml#l00861">Descriptors.hpp:861</a></div></div> |
| 175 | <div class="ttc" id="structarmnn_1_1_lstm_descriptor_xhtml_a531a3907ec13d3772370da88030191a5"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.xhtml#a531a3907ec13d3772370da88030191a5">armnn::LstmDescriptor::m_ClippingThresCell</a></div><div class="ttdeci">float m_ClippingThresCell</div><div class="ttdoc">Clipping threshold value for the cell state. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.xhtml#l00863">Descriptors.hpp:863</a></div></div> |
| 176 | <div class="ttc" id="structarmnn_1_1_lstm_descriptor_xhtml_ad474e5c51a0b194ef32e812b86c0cbdb"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.xhtml#ad474e5c51a0b194ef32e812b86c0cbdb">armnn::LstmDescriptor::m_CifgEnabled</a></div><div class="ttdeci">bool m_CifgEnabled</div><div class="ttdoc">Enable/disable cifg (coupled input & forget gate). </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.xhtml#l00867">Descriptors.hpp:867</a></div></div> |
| 177 | <div class="ttc" id="structarmnn_1_1_lstm_descriptor_xhtml_a4a8ec49f130084445d44297549254780"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.xhtml#a4a8ec49f130084445d44297549254780">armnn::LstmDescriptor::m_LayerNormEnabled</a></div><div class="ttdeci">bool m_LayerNormEnabled</div><div class="ttdoc">Enable/disable layer normalization. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.xhtml#l00873">Descriptors.hpp:873</a></div></div> |
| 178 | </div><!-- fragment --> |
| 179 | </div> |
| 180 | </div> |
| 181 | <h2 class="groupheader">Member Function Documentation</h2> |
| 182 | <a id="a3f7f9ecbcc21de1bf2090474c6360014"></a> |
| 183 | <h2 class="memtitle"><span class="permalink"><a href="#a3f7f9ecbcc21de1bf2090474c6360014">◆ </a></span>operator==()</h2> |
| 184 | |
| 185 | <div class="memitem"> |
| 186 | <div class="memproto"> |
| 187 | <table class="mlabels"> |
| 188 | <tr> |
| 189 | <td class="mlabels-left"> |
| 190 | <table class="memname"> |
| 191 | <tr> |
| 192 | <td class="memname">bool operator== </td> |
| 193 | <td>(</td> |
| 194 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_lstm_descriptor.xhtml">LstmDescriptor</a> & </td> |
| 195 | <td class="paramname"><em>rhs</em></td><td>)</td> |
| 196 | <td> const</td> |
| 197 | </tr> |
| 198 | </table> |
| 199 | </td> |
| 200 | <td class="mlabels-right"> |
| 201 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 202 | </tr> |
| 203 | </table> |
| 204 | </div><div class="memdoc"> |
| 205 | |
| 206 | <p class="definition">Definition at line <a class="el" href="_descriptors_8hpp_source.xhtml#l00849">849</a> of file <a class="el" href="_descriptors_8hpp_source.xhtml">Descriptors.hpp</a>.</p> |
| 207 | |
| 208 | <p class="reference">References <a class="el" href="_descriptors_8hpp_source.xhtml#l00861">LstmDescriptor::m_ActivationFunc</a>, <a class="el" href="_descriptors_8hpp_source.xhtml#l00867">LstmDescriptor::m_CifgEnabled</a>, <a class="el" href="_descriptors_8hpp_source.xhtml#l00863">LstmDescriptor::m_ClippingThresCell</a>, <a class="el" href="_descriptors_8hpp_source.xhtml#l00865">LstmDescriptor::m_ClippingThresProj</a>, <a class="el" href="_descriptors_8hpp_source.xhtml#l00873">LstmDescriptor::m_LayerNormEnabled</a>, and <a class="el" href="_descriptors_8hpp_source.xhtml#l00869">LstmDescriptor::m_PeepholeEnabled</a>.</p> |
| 209 | <div class="fragment"><div class="line"><a name="l00850"></a><span class="lineno"> 850</span>  {</div><div class="line"><a name="l00851"></a><span class="lineno"> 851</span>  <span class="keywordflow">return</span> <a class="code" href="structarmnn_1_1_lstm_descriptor.xhtml#ae1b07ed928036004bd257169e5aeeef4">m_ActivationFunc</a> == rhs.m_ActivationFunc &&</div><div class="line"><a name="l00852"></a><span class="lineno"> 852</span>  <a class="code" href="structarmnn_1_1_lstm_descriptor.xhtml#a531a3907ec13d3772370da88030191a5">m_ClippingThresCell</a> == rhs.m_ClippingThresCell &&</div><div class="line"><a name="l00853"></a><span class="lineno"> 853</span>  <a class="code" href="structarmnn_1_1_lstm_descriptor.xhtml#a86e88bef0df4df96df752b4b8955a3af">m_ClippingThresProj</a> == rhs.m_ClippingThresProj &&</div><div class="line"><a name="l00854"></a><span class="lineno"> 854</span>  <a class="code" href="structarmnn_1_1_lstm_descriptor.xhtml#ad474e5c51a0b194ef32e812b86c0cbdb">m_CifgEnabled</a> == rhs.m_CifgEnabled &&</div><div class="line"><a name="l00855"></a><span class="lineno"> 855</span>  <a class="code" href="structarmnn_1_1_lstm_descriptor.xhtml#a2837b4396f20c956952d1a7286cab5f8">m_PeepholeEnabled</a> == rhs.m_PeepholeEnabled &&</div><div class="line"><a name="l00856"></a><span class="lineno"> 856</span>  <a class="code" href="structarmnn_1_1_lstm_descriptor.xhtml#a4a8ec49f130084445d44297549254780">m_LayerNormEnabled</a> == rhs.m_LayerNormEnabled;</div><div class="line"><a name="l00857"></a><span class="lineno"> 857</span>  }</div><div class="ttc" id="structarmnn_1_1_lstm_descriptor_xhtml_a86e88bef0df4df96df752b4b8955a3af"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.xhtml#a86e88bef0df4df96df752b4b8955a3af">armnn::LstmDescriptor::m_ClippingThresProj</a></div><div class="ttdeci">float m_ClippingThresProj</div><div class="ttdoc">Clipping threshold value for the projection. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.xhtml#l00865">Descriptors.hpp:865</a></div></div> |
| 210 | <div class="ttc" id="structarmnn_1_1_lstm_descriptor_xhtml_a2837b4396f20c956952d1a7286cab5f8"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.xhtml#a2837b4396f20c956952d1a7286cab5f8">armnn::LstmDescriptor::m_PeepholeEnabled</a></div><div class="ttdeci">bool m_PeepholeEnabled</div><div class="ttdoc">Enable/disable peephole. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.xhtml#l00869">Descriptors.hpp:869</a></div></div> |
| 211 | <div class="ttc" id="structarmnn_1_1_lstm_descriptor_xhtml_ae1b07ed928036004bd257169e5aeeef4"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.xhtml#ae1b07ed928036004bd257169e5aeeef4">armnn::LstmDescriptor::m_ActivationFunc</a></div><div class="ttdeci">uint32_t m_ActivationFunc</div><div class="ttdoc">The activation function to use. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.xhtml#l00861">Descriptors.hpp:861</a></div></div> |
| 212 | <div class="ttc" id="structarmnn_1_1_lstm_descriptor_xhtml_a531a3907ec13d3772370da88030191a5"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.xhtml#a531a3907ec13d3772370da88030191a5">armnn::LstmDescriptor::m_ClippingThresCell</a></div><div class="ttdeci">float m_ClippingThresCell</div><div class="ttdoc">Clipping threshold value for the cell state. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.xhtml#l00863">Descriptors.hpp:863</a></div></div> |
| 213 | <div class="ttc" id="structarmnn_1_1_lstm_descriptor_xhtml_ad474e5c51a0b194ef32e812b86c0cbdb"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.xhtml#ad474e5c51a0b194ef32e812b86c0cbdb">armnn::LstmDescriptor::m_CifgEnabled</a></div><div class="ttdeci">bool m_CifgEnabled</div><div class="ttdoc">Enable/disable cifg (coupled input & forget gate). </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.xhtml#l00867">Descriptors.hpp:867</a></div></div> |
| 214 | <div class="ttc" id="structarmnn_1_1_lstm_descriptor_xhtml_a4a8ec49f130084445d44297549254780"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.xhtml#a4a8ec49f130084445d44297549254780">armnn::LstmDescriptor::m_LayerNormEnabled</a></div><div class="ttdeci">bool m_LayerNormEnabled</div><div class="ttdoc">Enable/disable layer normalization. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.xhtml#l00873">Descriptors.hpp:873</a></div></div> |
| 215 | </div><!-- fragment --> |
| 216 | </div> |
| 217 | </div> |
| 218 | <h2 class="groupheader">Member Data Documentation</h2> |
| 219 | <a id="ae1b07ed928036004bd257169e5aeeef4"></a> |
| 220 | <h2 class="memtitle"><span class="permalink"><a href="#ae1b07ed928036004bd257169e5aeeef4">◆ </a></span>m_ActivationFunc</h2> |
| 221 | |
| 222 | <div class="memitem"> |
| 223 | <div class="memproto"> |
| 224 | <table class="memname"> |
| 225 | <tr> |
| 226 | <td class="memname">uint32_t m_ActivationFunc</td> |
| 227 | </tr> |
| 228 | </table> |
| 229 | </div><div class="memdoc"> |
| 230 | |
| 231 | <p>The activation function to use. </p> |
| 232 | <p>0: None, 1: Relu, 3: Relu6, 4: Tanh, 6: Sigmoid. </p> |
| 233 | |
| 234 | <p class="definition">Definition at line <a class="el" href="_descriptors_8hpp_source.xhtml#l00861">861</a> of file <a class="el" href="_descriptors_8hpp_source.xhtml">Descriptors.hpp</a>.</p> |
| 235 | |
| 236 | <p class="reference">Referenced by <a class="el" href="_const_tensor_layer_visitor_8cpp_source.xhtml#l00558">armnn::BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_serializer_tests_8cpp_source.xhtml#l02746">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_const_tensor_layer_visitor_8cpp_source.xhtml#l00051">TestLstmLayerVisitor::CheckDescriptor()</a>, <a class="el" href="_ref_lstm_workload_8cpp_source.xhtml#l00041">RefLstmWorkload::Execute()</a>, <a class="el" href="_deserializer_8cpp_source.xhtml#l02465">Deserializer::GetLstmDescriptor()</a>, <a class="el" href="_descriptors_8hpp_source.xhtml#l00849">LstmDescriptor::operator==()</a>, <a class="el" href="_serialize_layer_parameters_8cpp_source.xhtml#l00350">StringifyLayerParameters< LstmDescriptor >::Serialize()</a>, and <a class="el" href="_serializer_8cpp_source.xhtml#l00566">SerializerVisitor::VisitLstmLayer()</a>.</p> |
| 237 | |
| 238 | </div> |
| 239 | </div> |
| 240 | <a id="ad474e5c51a0b194ef32e812b86c0cbdb"></a> |
| 241 | <h2 class="memtitle"><span class="permalink"><a href="#ad474e5c51a0b194ef32e812b86c0cbdb">◆ </a></span>m_CifgEnabled</h2> |
| 242 | |
| 243 | <div class="memitem"> |
| 244 | <div class="memproto"> |
| 245 | <table class="memname"> |
| 246 | <tr> |
| 247 | <td class="memname">bool m_CifgEnabled</td> |
| 248 | </tr> |
| 249 | </table> |
| 250 | </div><div class="memdoc"> |
| 251 | |
| 252 | <p>Enable/disable cifg (coupled input & forget gate). </p> |
| 253 | |
| 254 | <p class="definition">Definition at line <a class="el" href="_descriptors_8hpp_source.xhtml#l00867">867</a> of file <a class="el" href="_descriptors_8hpp_source.xhtml">Descriptors.hpp</a>.</p> |
| 255 | |
| 256 | <p class="reference">Referenced by <a class="el" href="_const_tensor_layer_visitor_8cpp_source.xhtml#l00558">armnn::BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_serializer_tests_8cpp_source.xhtml#l02746">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_const_tensor_layer_visitor_8cpp_source.xhtml#l00051">TestLstmLayerVisitor::CheckDescriptor()</a>, <a class="el" href="_lstm_layer_8cpp_source.xhtml#l00022">LstmLayer::CreateWorkload()</a>, <a class="el" href="_ref_lstm_workload_8cpp_source.xhtml#l00041">RefLstmWorkload::Execute()</a>, <a class="el" href="_deserializer_8cpp_source.xhtml#l02465">Deserializer::GetLstmDescriptor()</a>, <a class="el" href="_lstm_layer_8cpp_source.xhtml#l00142">LstmLayer::InferOutputShapes()</a>, <a class="el" href="_ref_layer_support_8cpp_source.xhtml#l01050">RefLayerSupport::IsLstmSupported()</a>, <a class="el" href="_descriptors_8hpp_source.xhtml#l00849">LstmDescriptor::operator==()</a>, <a class="el" href="_serialize_layer_parameters_8cpp_source.xhtml#l00350">StringifyLayerParameters< LstmDescriptor >::Serialize()</a>, <a class="el" href="_lstm_layer_8cpp_source.xhtml#l00160">LstmLayer::ValidateTensorShapesFromInputs()</a>, and <a class="el" href="_serializer_8cpp_source.xhtml#l00566">SerializerVisitor::VisitLstmLayer()</a>.</p> |
| 257 | |
| 258 | </div> |
| 259 | </div> |
| 260 | <a id="a531a3907ec13d3772370da88030191a5"></a> |
| 261 | <h2 class="memtitle"><span class="permalink"><a href="#a531a3907ec13d3772370da88030191a5">◆ </a></span>m_ClippingThresCell</h2> |
| 262 | |
| 263 | <div class="memitem"> |
| 264 | <div class="memproto"> |
| 265 | <table class="memname"> |
| 266 | <tr> |
| 267 | <td class="memname">float m_ClippingThresCell</td> |
| 268 | </tr> |
| 269 | </table> |
| 270 | </div><div class="memdoc"> |
| 271 | |
| 272 | <p>Clipping threshold value for the cell state. </p> |
| 273 | |
| 274 | <p class="definition">Definition at line <a class="el" href="_descriptors_8hpp_source.xhtml#l00863">863</a> of file <a class="el" href="_descriptors_8hpp_source.xhtml">Descriptors.hpp</a>.</p> |
| 275 | |
| 276 | <p class="reference">Referenced by <a class="el" href="_const_tensor_layer_visitor_8cpp_source.xhtml#l00558">armnn::BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_serializer_tests_8cpp_source.xhtml#l02746">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_const_tensor_layer_visitor_8cpp_source.xhtml#l00051">TestLstmLayerVisitor::CheckDescriptor()</a>, <a class="el" href="_ref_lstm_workload_8cpp_source.xhtml#l00041">RefLstmWorkload::Execute()</a>, <a class="el" href="_deserializer_8cpp_source.xhtml#l02465">Deserializer::GetLstmDescriptor()</a>, <a class="el" href="_descriptors_8hpp_source.xhtml#l00849">LstmDescriptor::operator==()</a>, <a class="el" href="_serialize_layer_parameters_8cpp_source.xhtml#l00350">StringifyLayerParameters< LstmDescriptor >::Serialize()</a>, and <a class="el" href="_serializer_8cpp_source.xhtml#l00566">SerializerVisitor::VisitLstmLayer()</a>.</p> |
| 277 | |
| 278 | </div> |
| 279 | </div> |
| 280 | <a id="a86e88bef0df4df96df752b4b8955a3af"></a> |
| 281 | <h2 class="memtitle"><span class="permalink"><a href="#a86e88bef0df4df96df752b4b8955a3af">◆ </a></span>m_ClippingThresProj</h2> |
| 282 | |
| 283 | <div class="memitem"> |
| 284 | <div class="memproto"> |
| 285 | <table class="memname"> |
| 286 | <tr> |
| 287 | <td class="memname">float m_ClippingThresProj</td> |
| 288 | </tr> |
| 289 | </table> |
| 290 | </div><div class="memdoc"> |
| 291 | |
| 292 | <p>Clipping threshold value for the projection. </p> |
| 293 | |
| 294 | <p class="definition">Definition at line <a class="el" href="_descriptors_8hpp_source.xhtml#l00865">865</a> of file <a class="el" href="_descriptors_8hpp_source.xhtml">Descriptors.hpp</a>.</p> |
| 295 | |
| 296 | <p class="reference">Referenced by <a class="el" href="_const_tensor_layer_visitor_8cpp_source.xhtml#l00558">armnn::BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_serializer_tests_8cpp_source.xhtml#l02746">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_const_tensor_layer_visitor_8cpp_source.xhtml#l00051">TestLstmLayerVisitor::CheckDescriptor()</a>, <a class="el" href="_ref_lstm_workload_8cpp_source.xhtml#l00041">RefLstmWorkload::Execute()</a>, <a class="el" href="_deserializer_8cpp_source.xhtml#l02465">Deserializer::GetLstmDescriptor()</a>, <a class="el" href="_descriptors_8hpp_source.xhtml#l00849">LstmDescriptor::operator==()</a>, <a class="el" href="_serialize_layer_parameters_8cpp_source.xhtml#l00350">StringifyLayerParameters< LstmDescriptor >::Serialize()</a>, and <a class="el" href="_serializer_8cpp_source.xhtml#l00566">SerializerVisitor::VisitLstmLayer()</a>.</p> |
| 297 | |
| 298 | </div> |
| 299 | </div> |
| 300 | <a id="a4a8ec49f130084445d44297549254780"></a> |
| 301 | <h2 class="memtitle"><span class="permalink"><a href="#a4a8ec49f130084445d44297549254780">◆ </a></span>m_LayerNormEnabled</h2> |
| 302 | |
| 303 | <div class="memitem"> |
| 304 | <div class="memproto"> |
| 305 | <table class="memname"> |
| 306 | <tr> |
| 307 | <td class="memname">bool m_LayerNormEnabled</td> |
| 308 | </tr> |
| 309 | </table> |
| 310 | </div><div class="memdoc"> |
| 311 | |
| 312 | <p>Enable/disable layer normalization. </p> |
| 313 | |
| 314 | <p class="definition">Definition at line <a class="el" href="_descriptors_8hpp_source.xhtml#l00873">873</a> of file <a class="el" href="_descriptors_8hpp_source.xhtml">Descriptors.hpp</a>.</p> |
| 315 | |
| 316 | <p class="reference">Referenced by <a class="el" href="_serializer_tests_8cpp_source.xhtml#l03006">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_lstm_layer_8cpp_source.xhtml#l00022">LstmLayer::CreateWorkload()</a>, <a class="el" href="_ref_lstm_workload_8cpp_source.xhtml#l00041">RefLstmWorkload::Execute()</a>, <a class="el" href="_deserializer_8cpp_source.xhtml#l02465">Deserializer::GetLstmDescriptor()</a>, <a class="el" href="_ref_layer_support_8cpp_source.xhtml#l01050">RefLayerSupport::IsLstmSupported()</a>, <a class="el" href="_descriptors_8hpp_source.xhtml#l00849">LstmDescriptor::operator==()</a>, <a class="el" href="_serialize_layer_parameters_8cpp_source.xhtml#l00350">StringifyLayerParameters< LstmDescriptor >::Serialize()</a>, <a class="el" href="_lstm_layer_8cpp_source.xhtml#l00160">LstmLayer::ValidateTensorShapesFromInputs()</a>, and <a class="el" href="_serializer_8cpp_source.xhtml#l00566">SerializerVisitor::VisitLstmLayer()</a>.</p> |
| 317 | |
| 318 | </div> |
| 319 | </div> |
| 320 | <a id="a2837b4396f20c956952d1a7286cab5f8"></a> |
| 321 | <h2 class="memtitle"><span class="permalink"><a href="#a2837b4396f20c956952d1a7286cab5f8">◆ </a></span>m_PeepholeEnabled</h2> |
| 322 | |
| 323 | <div class="memitem"> |
| 324 | <div class="memproto"> |
| 325 | <table class="memname"> |
| 326 | <tr> |
| 327 | <td class="memname">bool m_PeepholeEnabled</td> |
| 328 | </tr> |
| 329 | </table> |
| 330 | </div><div class="memdoc"> |
| 331 | |
| 332 | <p>Enable/disable peephole. </p> |
| 333 | |
| 334 | <p class="definition">Definition at line <a class="el" href="_descriptors_8hpp_source.xhtml#l00869">869</a> of file <a class="el" href="_descriptors_8hpp_source.xhtml">Descriptors.hpp</a>.</p> |
| 335 | |
| 336 | <p class="reference">Referenced by <a class="el" href="_const_tensor_layer_visitor_8cpp_source.xhtml#l00899">armnn::BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_serializer_tests_8cpp_source.xhtml#l02746">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_const_tensor_layer_visitor_8cpp_source.xhtml#l00051">TestLstmLayerVisitor::CheckDescriptor()</a>, <a class="el" href="_lstm_layer_8cpp_source.xhtml#l00022">LstmLayer::CreateWorkload()</a>, <a class="el" href="_ref_lstm_workload_8cpp_source.xhtml#l00041">RefLstmWorkload::Execute()</a>, <a class="el" href="_deserializer_8cpp_source.xhtml#l02465">Deserializer::GetLstmDescriptor()</a>, <a class="el" href="_ref_layer_support_8cpp_source.xhtml#l01050">RefLayerSupport::IsLstmSupported()</a>, <a class="el" href="_descriptors_8hpp_source.xhtml#l00849">LstmDescriptor::operator==()</a>, <a class="el" href="_serialize_layer_parameters_8cpp_source.xhtml#l00350">StringifyLayerParameters< LstmDescriptor >::Serialize()</a>, <a class="el" href="_lstm_layer_8cpp_source.xhtml#l00160">LstmLayer::ValidateTensorShapesFromInputs()</a>, and <a class="el" href="_serializer_8cpp_source.xhtml#l00566">SerializerVisitor::VisitLstmLayer()</a>.</p> |
| 337 | |
| 338 | </div> |
| 339 | </div> |
| 340 | <a id="a6c9de81fc65b3c4924cab11907075a17"></a> |
| 341 | <h2 class="memtitle"><span class="permalink"><a href="#a6c9de81fc65b3c4924cab11907075a17">◆ </a></span>m_ProjectionEnabled</h2> |
| 342 | |
| 343 | <div class="memitem"> |
| 344 | <div class="memproto"> |
| 345 | <table class="memname"> |
| 346 | <tr> |
| 347 | <td class="memname">bool m_ProjectionEnabled</td> |
| 348 | </tr> |
| 349 | </table> |
| 350 | </div><div class="memdoc"> |
| 351 | |
| 352 | <p>Enable/disable the projection layer. </p> |
| 353 | |
| 354 | <p class="definition">Definition at line <a class="el" href="_descriptors_8hpp_source.xhtml#l00871">871</a> of file <a class="el" href="_descriptors_8hpp_source.xhtml">Descriptors.hpp</a>.</p> |
| 355 | |
| 356 | <p class="reference">Referenced by <a class="el" href="_const_tensor_layer_visitor_8cpp_source.xhtml#l01073">armnn::BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_serializer_tests_8cpp_source.xhtml#l02746">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_const_tensor_layer_visitor_8cpp_source.xhtml#l00051">TestLstmLayerVisitor::CheckDescriptor()</a>, <a class="el" href="_lstm_layer_8cpp_source.xhtml#l00022">LstmLayer::CreateWorkload()</a>, <a class="el" href="_ref_lstm_workload_8cpp_source.xhtml#l00041">RefLstmWorkload::Execute()</a>, <a class="el" href="_deserializer_8cpp_source.xhtml#l02465">Deserializer::GetLstmDescriptor()</a>, <a class="el" href="_ref_layer_support_8cpp_source.xhtml#l01050">RefLayerSupport::IsLstmSupported()</a>, <a class="el" href="_serialize_layer_parameters_8cpp_source.xhtml#l00350">StringifyLayerParameters< LstmDescriptor >::Serialize()</a>, <a class="el" href="_lstm_layer_8cpp_source.xhtml#l00160">LstmLayer::ValidateTensorShapesFromInputs()</a>, and <a class="el" href="_serializer_8cpp_source.xhtml#l00566">SerializerVisitor::VisitLstmLayer()</a>.</p> |
| 357 | |
| 358 | </div> |
| 359 | </div> |
| 360 | <hr/>The documentation for this struct was generated from the following file:<ul> |
| 361 | <li>include/armnn/<a class="el" href="_descriptors_8hpp_source.xhtml">Descriptors.hpp</a></li> |
| 362 | </ul> |
| 363 | </div><!-- contents --> |
| 364 | </div><!-- doc-content --> |
| 365 | <!-- start footer part --> |
| 366 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 367 | <ul> |
| 368 | <li class="navelem"><a class="el" href="namespacearmnn.xhtml">armnn</a></li><li class="navelem"><a class="el" href="structarmnn_1_1_lstm_descriptor.xhtml">LstmDescriptor</a></li> |
| 369 | <li class="footer">Generated on Fri Mar 13 2020 16:09:18 for ArmNN by |
| 370 | <a href="http://www.doxygen.org/index.html"> |
| 371 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 372 | </ul> |
| 373 | </div> |
| 374 | </body> |
| 375 | </html> |