Ryan OShea | de36e4a | 2020-03-13 16:26:19 +0000 | [diff] [blame^] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 3 | <head> |
| 4 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| 6 | <meta name="generator" content="Doxygen 1.8.13"/> |
| 7 | <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| 8 | <title>ArmNN: LstmDescriptor Struct Reference</title> |
| 9 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 10 | <script type="text/javascript" src="jquery.js"></script> |
| 11 | <script type="text/javascript" src="dynsections.js"></script> |
| 12 | <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| 13 | <script type="text/javascript" src="resize.js"></script> |
| 14 | <script type="text/javascript" src="navtreedata.js"></script> |
| 15 | <script type="text/javascript" src="navtree.js"></script> |
| 16 | <script type="text/javascript"> |
| 17 | $(document).ready(initResizable); |
| 18 | </script> |
| 19 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 20 | <script type="text/javascript" src="search/searchdata.js"></script> |
| 21 | <script type="text/javascript" src="search/search.js"></script> |
| 22 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 23 | </head> |
| 24 | <body> |
| 25 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 26 | <div id="titlearea"> |
| 27 | <table cellspacing="0" cellpadding="0"> |
| 28 | <tbody> |
| 29 | <tr style="height: 56px;"> |
| 30 | <td id="projectalign" style="padding-left: 0.5em;"> |
| 31 | <div id="projectname">ArmNN |
| 32 |  <span id="projectnumber">NotReleased</span> |
| 33 | </div> |
| 34 | </td> |
| 35 | </tr> |
| 36 | </tbody> |
| 37 | </table> |
| 38 | </div> |
| 39 | <!-- end header part --> |
| 40 | <!-- Generated by Doxygen 1.8.13 --> |
| 41 | <script type="text/javascript"> |
| 42 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 43 | </script> |
| 44 | <script type="text/javascript" src="menudata.js"></script> |
| 45 | <script type="text/javascript" src="menu.js"></script> |
| 46 | <script type="text/javascript"> |
| 47 | $(function() { |
| 48 | initMenu('',true,false,'search.php','Search'); |
| 49 | $(document).ready(function() { init_search(); }); |
| 50 | }); |
| 51 | </script> |
| 52 | <div id="main-nav"></div> |
| 53 | </div><!-- top --> |
| 54 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 55 | <div id="nav-tree"> |
| 56 | <div id="nav-tree-contents"> |
| 57 | <div id="nav-sync" class="sync"></div> |
| 58 | </div> |
| 59 | </div> |
| 60 | <div id="splitbar" style="-moz-user-select:none;" |
| 61 | class="ui-resizable-handle"> |
| 62 | </div> |
| 63 | </div> |
| 64 | <script type="text/javascript"> |
| 65 | $(document).ready(function(){initNavTree('structarmnn_1_1_lstm_descriptor.html','');}); |
| 66 | </script> |
| 67 | <div id="doc-content"> |
| 68 | <!-- window showing the filter options --> |
| 69 | <div id="MSearchSelectWindow" |
| 70 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 71 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 72 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| 73 | </div> |
| 74 | |
| 75 | <!-- iframe showing the search results (closed by default) --> |
| 76 | <div id="MSearchResultsWindow"> |
| 77 | <iframe src="javascript:void(0)" frameborder="0" |
| 78 | name="MSearchResults" id="MSearchResults"> |
| 79 | </iframe> |
| 80 | </div> |
| 81 | |
| 82 | <div class="header"> |
| 83 | <div class="summary"> |
| 84 | <a href="#pub-methods">Public Member Functions</a> | |
| 85 | <a href="#pub-attribs">Public Attributes</a> | |
| 86 | <a href="structarmnn_1_1_lstm_descriptor-members.html">List of all members</a> </div> |
| 87 | <div class="headertitle"> |
| 88 | <div class="title">LstmDescriptor Struct Reference</div> </div> |
| 89 | </div><!--header--> |
| 90 | <div class="contents"> |
| 91 | |
| 92 | <p>An <a class="el" href="structarmnn_1_1_lstm_descriptor.html" title="An LstmDescriptor for the LstmLayer. ">LstmDescriptor</a> for the <a class="el" href="classarmnn_1_1_lstm_layer.html" title="This layer represents a LSTM operation. ">LstmLayer</a>. |
| 93 | <a href="structarmnn_1_1_lstm_descriptor.html#details">More...</a></p> |
| 94 | |
| 95 | <p><code>#include <<a class="el" href="_descriptors_8hpp_source.html">Descriptors.hpp</a>></code></p> |
| 96 | <table class="memberdecls"> |
| 97 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| 98 | Public Member Functions</h2></td></tr> |
| 99 | <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.html#a4a6bc0b32c1db8d15971cae0ed4483a1">LstmDescriptor</a> ()</td></tr> |
| 100 | <tr class="separator:a4a6bc0b32c1db8d15971cae0ed4483a1"><td class="memSeparator" colspan="2"> </td></tr> |
| 101 | <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.html#a3f7f9ecbcc21de1bf2090474c6360014">operator==</a> (const <a class="el" href="structarmnn_1_1_lstm_descriptor.html">LstmDescriptor</a> &rhs) const</td></tr> |
| 102 | <tr class="separator:a3f7f9ecbcc21de1bf2090474c6360014"><td class="memSeparator" colspan="2"> </td></tr> |
| 103 | </table><table class="memberdecls"> |
| 104 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a> |
| 105 | Public Attributes</h2></td></tr> |
| 106 | <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.html#ae1b07ed928036004bd257169e5aeeef4">m_ActivationFunc</a></td></tr> |
| 107 | <tr class="memdesc:ae1b07ed928036004bd257169e5aeeef4"><td class="mdescLeft"> </td><td class="mdescRight">The activation function to use. 0: None, 1: Relu, 3: Relu6, 4: Tanh, 6: Sigmoid. <a href="#ae1b07ed928036004bd257169e5aeeef4">More...</a><br /></td></tr> |
| 108 | <tr class="separator:ae1b07ed928036004bd257169e5aeeef4"><td class="memSeparator" colspan="2"> </td></tr> |
| 109 | <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.html#a531a3907ec13d3772370da88030191a5">m_ClippingThresCell</a></td></tr> |
| 110 | <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> |
| 111 | <tr class="separator:a531a3907ec13d3772370da88030191a5"><td class="memSeparator" colspan="2"> </td></tr> |
| 112 | <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.html#a86e88bef0df4df96df752b4b8955a3af">m_ClippingThresProj</a></td></tr> |
| 113 | <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> |
| 114 | <tr class="separator:a86e88bef0df4df96df752b4b8955a3af"><td class="memSeparator" colspan="2"> </td></tr> |
| 115 | <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.html#ad474e5c51a0b194ef32e812b86c0cbdb">m_CifgEnabled</a></td></tr> |
| 116 | <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> |
| 117 | <tr class="separator:ad474e5c51a0b194ef32e812b86c0cbdb"><td class="memSeparator" colspan="2"> </td></tr> |
| 118 | <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.html#a2837b4396f20c956952d1a7286cab5f8">m_PeepholeEnabled</a></td></tr> |
| 119 | <tr class="memdesc:a2837b4396f20c956952d1a7286cab5f8"><td class="mdescLeft"> </td><td class="mdescRight">Enable/disable peephole. <a href="#a2837b4396f20c956952d1a7286cab5f8">More...</a><br /></td></tr> |
| 120 | <tr class="separator:a2837b4396f20c956952d1a7286cab5f8"><td class="memSeparator" colspan="2"> </td></tr> |
| 121 | <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.html#a6c9de81fc65b3c4924cab11907075a17">m_ProjectionEnabled</a></td></tr> |
| 122 | <tr class="memdesc:a6c9de81fc65b3c4924cab11907075a17"><td class="mdescLeft"> </td><td class="mdescRight">Enable/disable the projection layer. <a href="#a6c9de81fc65b3c4924cab11907075a17">More...</a><br /></td></tr> |
| 123 | <tr class="separator:a6c9de81fc65b3c4924cab11907075a17"><td class="memSeparator" colspan="2"> </td></tr> |
| 124 | <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.html#a4a8ec49f130084445d44297549254780">m_LayerNormEnabled</a></td></tr> |
| 125 | <tr class="memdesc:a4a8ec49f130084445d44297549254780"><td class="mdescLeft"> </td><td class="mdescRight">Enable/disable layer normalization. <a href="#a4a8ec49f130084445d44297549254780">More...</a><br /></td></tr> |
| 126 | <tr class="separator:a4a8ec49f130084445d44297549254780"><td class="memSeparator" colspan="2"> </td></tr> |
| 127 | </table> |
| 128 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 129 | <div class="textblock"><p>An <a class="el" href="structarmnn_1_1_lstm_descriptor.html" title="An LstmDescriptor for the LstmLayer. ">LstmDescriptor</a> for the <a class="el" href="classarmnn_1_1_lstm_layer.html" title="This layer represents a LSTM operation. ">LstmLayer</a>. </p> |
| 130 | |
| 131 | <p class="definition">Definition at line <a class="el" href="_descriptors_8hpp_source.html#l00837">837</a> of file <a class="el" href="_descriptors_8hpp_source.html">Descriptors.hpp</a>.</p> |
| 132 | </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| 133 | <a id="a4a6bc0b32c1db8d15971cae0ed4483a1"></a> |
| 134 | <h2 class="memtitle"><span class="permalink"><a href="#a4a6bc0b32c1db8d15971cae0ed4483a1">◆ </a></span>LstmDescriptor()</h2> |
| 135 | |
| 136 | <div class="memitem"> |
| 137 | <div class="memproto"> |
| 138 | <table class="mlabels"> |
| 139 | <tr> |
| 140 | <td class="mlabels-left"> |
| 141 | <table class="memname"> |
| 142 | <tr> |
| 143 | <td class="memname"><a class="el" href="structarmnn_1_1_lstm_descriptor.html">LstmDescriptor</a> </td> |
| 144 | <td>(</td> |
| 145 | <td class="paramname"></td><td>)</td> |
| 146 | <td></td> |
| 147 | </tr> |
| 148 | </table> |
| 149 | </td> |
| 150 | <td class="mlabels-right"> |
| 151 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 152 | </tr> |
| 153 | </table> |
| 154 | </div><div class="memdoc"> |
| 155 | |
| 156 | <p class="definition">Definition at line <a class="el" href="_descriptors_8hpp_source.html#l00839">839</a> of file <a class="el" href="_descriptors_8hpp_source.html">Descriptors.hpp</a>.</p> |
| 157 | <div class="fragment"><div class="line"><a name="l00840"></a><span class="lineno"> 840</span>  : <a class="code" href="structarmnn_1_1_lstm_descriptor.html#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.html#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.html#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.html#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.html#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.html#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.html#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_html_a6c9de81fc65b3c4924cab11907075a17"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.html#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.html#l00871">Descriptors.hpp:871</a></div></div> |
| 158 | <div class="ttc" id="structarmnn_1_1_lstm_descriptor_html_a531a3907ec13d3772370da88030191a5"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.html#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.html#l00863">Descriptors.hpp:863</a></div></div> |
| 159 | <div class="ttc" id="structarmnn_1_1_lstm_descriptor_html_ad474e5c51a0b194ef32e812b86c0cbdb"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.html#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.html#l00867">Descriptors.hpp:867</a></div></div> |
| 160 | <div class="ttc" id="structarmnn_1_1_lstm_descriptor_html_a2837b4396f20c956952d1a7286cab5f8"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.html#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.html#l00869">Descriptors.hpp:869</a></div></div> |
| 161 | <div class="ttc" id="structarmnn_1_1_lstm_descriptor_html_ae1b07ed928036004bd257169e5aeeef4"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.html#ae1b07ed928036004bd257169e5aeeef4">armnn::LstmDescriptor::m_ActivationFunc</a></div><div class="ttdeci">uint32_t m_ActivationFunc</div><div class="ttdoc">The activation function to use. 0: None, 1: Relu, 3: Relu6, 4: Tanh, 6: Sigmoid. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00861">Descriptors.hpp:861</a></div></div> |
| 162 | <div class="ttc" id="structarmnn_1_1_lstm_descriptor_html_a4a8ec49f130084445d44297549254780"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.html#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.html#l00873">Descriptors.hpp:873</a></div></div> |
| 163 | <div class="ttc" id="structarmnn_1_1_lstm_descriptor_html_a86e88bef0df4df96df752b4b8955a3af"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.html#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.html#l00865">Descriptors.hpp:865</a></div></div> |
| 164 | </div><!-- fragment --> |
| 165 | </div> |
| 166 | </div> |
| 167 | <h2 class="groupheader">Member Function Documentation</h2> |
| 168 | <a id="a3f7f9ecbcc21de1bf2090474c6360014"></a> |
| 169 | <h2 class="memtitle"><span class="permalink"><a href="#a3f7f9ecbcc21de1bf2090474c6360014">◆ </a></span>operator==()</h2> |
| 170 | |
| 171 | <div class="memitem"> |
| 172 | <div class="memproto"> |
| 173 | <table class="mlabels"> |
| 174 | <tr> |
| 175 | <td class="mlabels-left"> |
| 176 | <table class="memname"> |
| 177 | <tr> |
| 178 | <td class="memname">bool operator== </td> |
| 179 | <td>(</td> |
| 180 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_lstm_descriptor.html">LstmDescriptor</a> & </td> |
| 181 | <td class="paramname"><em>rhs</em></td><td>)</td> |
| 182 | <td> const</td> |
| 183 | </tr> |
| 184 | </table> |
| 185 | </td> |
| 186 | <td class="mlabels-right"> |
| 187 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 188 | </tr> |
| 189 | </table> |
| 190 | </div><div class="memdoc"> |
| 191 | |
| 192 | <p class="definition">Definition at line <a class="el" href="_descriptors_8hpp_source.html#l00849">849</a> of file <a class="el" href="_descriptors_8hpp_source.html">Descriptors.hpp</a>.</p> |
| 193 | |
| 194 | <p class="reference">References <a class="el" href="_descriptors_8hpp_source.html#l00861">LstmDescriptor::m_ActivationFunc</a>, <a class="el" href="_descriptors_8hpp_source.html#l00867">LstmDescriptor::m_CifgEnabled</a>, <a class="el" href="_descriptors_8hpp_source.html#l00863">LstmDescriptor::m_ClippingThresCell</a>, <a class="el" href="_descriptors_8hpp_source.html#l00865">LstmDescriptor::m_ClippingThresProj</a>, <a class="el" href="_descriptors_8hpp_source.html#l00873">LstmDescriptor::m_LayerNormEnabled</a>, and <a class="el" href="_descriptors_8hpp_source.html#l00869">LstmDescriptor::m_PeepholeEnabled</a>.</p> |
| 195 | <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.html#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.html#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.html#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.html#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.html#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.html#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_html_a531a3907ec13d3772370da88030191a5"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.html#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.html#l00863">Descriptors.hpp:863</a></div></div> |
| 196 | <div class="ttc" id="structarmnn_1_1_lstm_descriptor_html_ad474e5c51a0b194ef32e812b86c0cbdb"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.html#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.html#l00867">Descriptors.hpp:867</a></div></div> |
| 197 | <div class="ttc" id="structarmnn_1_1_lstm_descriptor_html_a2837b4396f20c956952d1a7286cab5f8"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.html#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.html#l00869">Descriptors.hpp:869</a></div></div> |
| 198 | <div class="ttc" id="structarmnn_1_1_lstm_descriptor_html_ae1b07ed928036004bd257169e5aeeef4"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.html#ae1b07ed928036004bd257169e5aeeef4">armnn::LstmDescriptor::m_ActivationFunc</a></div><div class="ttdeci">uint32_t m_ActivationFunc</div><div class="ttdoc">The activation function to use. 0: None, 1: Relu, 3: Relu6, 4: Tanh, 6: Sigmoid. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00861">Descriptors.hpp:861</a></div></div> |
| 199 | <div class="ttc" id="structarmnn_1_1_lstm_descriptor_html_a4a8ec49f130084445d44297549254780"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.html#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.html#l00873">Descriptors.hpp:873</a></div></div> |
| 200 | <div class="ttc" id="structarmnn_1_1_lstm_descriptor_html_a86e88bef0df4df96df752b4b8955a3af"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.html#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.html#l00865">Descriptors.hpp:865</a></div></div> |
| 201 | </div><!-- fragment --> |
| 202 | </div> |
| 203 | </div> |
| 204 | <h2 class="groupheader">Member Data Documentation</h2> |
| 205 | <a id="ae1b07ed928036004bd257169e5aeeef4"></a> |
| 206 | <h2 class="memtitle"><span class="permalink"><a href="#ae1b07ed928036004bd257169e5aeeef4">◆ </a></span>m_ActivationFunc</h2> |
| 207 | |
| 208 | <div class="memitem"> |
| 209 | <div class="memproto"> |
| 210 | <table class="memname"> |
| 211 | <tr> |
| 212 | <td class="memname">uint32_t m_ActivationFunc</td> |
| 213 | </tr> |
| 214 | </table> |
| 215 | </div><div class="memdoc"> |
| 216 | |
| 217 | <p>The activation function to use. 0: None, 1: Relu, 3: Relu6, 4: Tanh, 6: Sigmoid. </p> |
| 218 | |
| 219 | <p class="definition">Definition at line <a class="el" href="_descriptors_8hpp_source.html#l00861">861</a> of file <a class="el" href="_descriptors_8hpp_source.html">Descriptors.hpp</a>.</p> |
| 220 | |
| 221 | <p class="reference">Referenced by <a class="el" href="_const_tensor_layer_visitor_8cpp_source.html#l00558">armnn::BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_serializer_tests_8cpp_source.html#l02718">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_const_tensor_layer_visitor_8cpp_source.html#l00051">TestLstmLayerVisitor::CheckDescriptor()</a>, <a class="el" href="_ref_lstm_workload_8cpp_source.html#l00041">RefLstmWorkload::Execute()</a>, <a class="el" href="_deserializer_8cpp_source.html#l02454">Deserializer::GetLstmDescriptor()</a>, <a class="el" href="_descriptors_8hpp_source.html#l00849">LstmDescriptor::operator==()</a>, <a class="el" href="_serialize_layer_parameters_8cpp_source.html#l00350">StringifyLayerParameters< LstmDescriptor >::Serialize()</a>, and <a class="el" href="_serializer_8cpp_source.html#l00562">SerializerVisitor::VisitLstmLayer()</a>.</p> |
| 222 | |
| 223 | </div> |
| 224 | </div> |
| 225 | <a id="ad474e5c51a0b194ef32e812b86c0cbdb"></a> |
| 226 | <h2 class="memtitle"><span class="permalink"><a href="#ad474e5c51a0b194ef32e812b86c0cbdb">◆ </a></span>m_CifgEnabled</h2> |
| 227 | |
| 228 | <div class="memitem"> |
| 229 | <div class="memproto"> |
| 230 | <table class="memname"> |
| 231 | <tr> |
| 232 | <td class="memname">bool m_CifgEnabled</td> |
| 233 | </tr> |
| 234 | </table> |
| 235 | </div><div class="memdoc"> |
| 236 | |
| 237 | <p>Enable/disable cifg (coupled input & forget gate). </p> |
| 238 | |
| 239 | <p class="definition">Definition at line <a class="el" href="_descriptors_8hpp_source.html#l00867">867</a> of file <a class="el" href="_descriptors_8hpp_source.html">Descriptors.hpp</a>.</p> |
| 240 | |
| 241 | <p class="reference">Referenced by <a class="el" href="_const_tensor_layer_visitor_8cpp_source.html#l00558">armnn::BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_serializer_tests_8cpp_source.html#l02718">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_const_tensor_layer_visitor_8cpp_source.html#l00051">TestLstmLayerVisitor::CheckDescriptor()</a>, <a class="el" href="_lstm_layer_8cpp_source.html#l00022">LstmLayer::CreateWorkload()</a>, <a class="el" href="_ref_lstm_workload_8cpp_source.html#l00041">RefLstmWorkload::Execute()</a>, <a class="el" href="_deserializer_8cpp_source.html#l02454">Deserializer::GetLstmDescriptor()</a>, <a class="el" href="_lstm_layer_8cpp_source.html#l00142">LstmLayer::InferOutputShapes()</a>, <a class="el" href="_ref_layer_support_8cpp_source.html#l01002">RefLayerSupport::IsLstmSupported()</a>, <a class="el" href="_descriptors_8hpp_source.html#l00849">LstmDescriptor::operator==()</a>, <a class="el" href="_serialize_layer_parameters_8cpp_source.html#l00350">StringifyLayerParameters< LstmDescriptor >::Serialize()</a>, <a class="el" href="_lstm_layer_8cpp_source.html#l00160">LstmLayer::ValidateTensorShapesFromInputs()</a>, and <a class="el" href="_serializer_8cpp_source.html#l00562">SerializerVisitor::VisitLstmLayer()</a>.</p> |
| 242 | |
| 243 | </div> |
| 244 | </div> |
| 245 | <a id="a531a3907ec13d3772370da88030191a5"></a> |
| 246 | <h2 class="memtitle"><span class="permalink"><a href="#a531a3907ec13d3772370da88030191a5">◆ </a></span>m_ClippingThresCell</h2> |
| 247 | |
| 248 | <div class="memitem"> |
| 249 | <div class="memproto"> |
| 250 | <table class="memname"> |
| 251 | <tr> |
| 252 | <td class="memname">float m_ClippingThresCell</td> |
| 253 | </tr> |
| 254 | </table> |
| 255 | </div><div class="memdoc"> |
| 256 | |
| 257 | <p>Clipping threshold value for the cell state. </p> |
| 258 | |
| 259 | <p class="definition">Definition at line <a class="el" href="_descriptors_8hpp_source.html#l00863">863</a> of file <a class="el" href="_descriptors_8hpp_source.html">Descriptors.hpp</a>.</p> |
| 260 | |
| 261 | <p class="reference">Referenced by <a class="el" href="_const_tensor_layer_visitor_8cpp_source.html#l00558">armnn::BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_serializer_tests_8cpp_source.html#l02718">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_const_tensor_layer_visitor_8cpp_source.html#l00051">TestLstmLayerVisitor::CheckDescriptor()</a>, <a class="el" href="_ref_lstm_workload_8cpp_source.html#l00041">RefLstmWorkload::Execute()</a>, <a class="el" href="_deserializer_8cpp_source.html#l02454">Deserializer::GetLstmDescriptor()</a>, <a class="el" href="_descriptors_8hpp_source.html#l00849">LstmDescriptor::operator==()</a>, <a class="el" href="_serialize_layer_parameters_8cpp_source.html#l00350">StringifyLayerParameters< LstmDescriptor >::Serialize()</a>, and <a class="el" href="_serializer_8cpp_source.html#l00562">SerializerVisitor::VisitLstmLayer()</a>.</p> |
| 262 | |
| 263 | </div> |
| 264 | </div> |
| 265 | <a id="a86e88bef0df4df96df752b4b8955a3af"></a> |
| 266 | <h2 class="memtitle"><span class="permalink"><a href="#a86e88bef0df4df96df752b4b8955a3af">◆ </a></span>m_ClippingThresProj</h2> |
| 267 | |
| 268 | <div class="memitem"> |
| 269 | <div class="memproto"> |
| 270 | <table class="memname"> |
| 271 | <tr> |
| 272 | <td class="memname">float m_ClippingThresProj</td> |
| 273 | </tr> |
| 274 | </table> |
| 275 | </div><div class="memdoc"> |
| 276 | |
| 277 | <p>Clipping threshold value for the projection. </p> |
| 278 | |
| 279 | <p class="definition">Definition at line <a class="el" href="_descriptors_8hpp_source.html#l00865">865</a> of file <a class="el" href="_descriptors_8hpp_source.html">Descriptors.hpp</a>.</p> |
| 280 | |
| 281 | <p class="reference">Referenced by <a class="el" href="_const_tensor_layer_visitor_8cpp_source.html#l00558">armnn::BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_serializer_tests_8cpp_source.html#l02718">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_const_tensor_layer_visitor_8cpp_source.html#l00051">TestLstmLayerVisitor::CheckDescriptor()</a>, <a class="el" href="_ref_lstm_workload_8cpp_source.html#l00041">RefLstmWorkload::Execute()</a>, <a class="el" href="_deserializer_8cpp_source.html#l02454">Deserializer::GetLstmDescriptor()</a>, <a class="el" href="_descriptors_8hpp_source.html#l00849">LstmDescriptor::operator==()</a>, <a class="el" href="_serialize_layer_parameters_8cpp_source.html#l00350">StringifyLayerParameters< LstmDescriptor >::Serialize()</a>, and <a class="el" href="_serializer_8cpp_source.html#l00562">SerializerVisitor::VisitLstmLayer()</a>.</p> |
| 282 | |
| 283 | </div> |
| 284 | </div> |
| 285 | <a id="a4a8ec49f130084445d44297549254780"></a> |
| 286 | <h2 class="memtitle"><span class="permalink"><a href="#a4a8ec49f130084445d44297549254780">◆ </a></span>m_LayerNormEnabled</h2> |
| 287 | |
| 288 | <div class="memitem"> |
| 289 | <div class="memproto"> |
| 290 | <table class="memname"> |
| 291 | <tr> |
| 292 | <td class="memname">bool m_LayerNormEnabled</td> |
| 293 | </tr> |
| 294 | </table> |
| 295 | </div><div class="memdoc"> |
| 296 | |
| 297 | <p>Enable/disable layer normalization. </p> |
| 298 | |
| 299 | <p class="definition">Definition at line <a class="el" href="_descriptors_8hpp_source.html#l00873">873</a> of file <a class="el" href="_descriptors_8hpp_source.html">Descriptors.hpp</a>.</p> |
| 300 | |
| 301 | <p class="reference">Referenced by <a class="el" href="_serializer_tests_8cpp_source.html#l02978">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_lstm_layer_8cpp_source.html#l00022">LstmLayer::CreateWorkload()</a>, <a class="el" href="_ref_lstm_workload_8cpp_source.html#l00041">RefLstmWorkload::Execute()</a>, <a class="el" href="_deserializer_8cpp_source.html#l02454">Deserializer::GetLstmDescriptor()</a>, <a class="el" href="_ref_layer_support_8cpp_source.html#l01002">RefLayerSupport::IsLstmSupported()</a>, <a class="el" href="_descriptors_8hpp_source.html#l00849">LstmDescriptor::operator==()</a>, <a class="el" href="_serialize_layer_parameters_8cpp_source.html#l00350">StringifyLayerParameters< LstmDescriptor >::Serialize()</a>, <a class="el" href="_lstm_layer_8cpp_source.html#l00160">LstmLayer::ValidateTensorShapesFromInputs()</a>, and <a class="el" href="_serializer_8cpp_source.html#l00562">SerializerVisitor::VisitLstmLayer()</a>.</p> |
| 302 | |
| 303 | </div> |
| 304 | </div> |
| 305 | <a id="a2837b4396f20c956952d1a7286cab5f8"></a> |
| 306 | <h2 class="memtitle"><span class="permalink"><a href="#a2837b4396f20c956952d1a7286cab5f8">◆ </a></span>m_PeepholeEnabled</h2> |
| 307 | |
| 308 | <div class="memitem"> |
| 309 | <div class="memproto"> |
| 310 | <table class="memname"> |
| 311 | <tr> |
| 312 | <td class="memname">bool m_PeepholeEnabled</td> |
| 313 | </tr> |
| 314 | </table> |
| 315 | </div><div class="memdoc"> |
| 316 | |
| 317 | <p>Enable/disable peephole. </p> |
| 318 | |
| 319 | <p class="definition">Definition at line <a class="el" href="_descriptors_8hpp_source.html#l00869">869</a> of file <a class="el" href="_descriptors_8hpp_source.html">Descriptors.hpp</a>.</p> |
| 320 | |
| 321 | <p class="reference">Referenced by <a class="el" href="_const_tensor_layer_visitor_8cpp_source.html#l00899">armnn::BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_serializer_tests_8cpp_source.html#l02718">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_const_tensor_layer_visitor_8cpp_source.html#l00051">TestLstmLayerVisitor::CheckDescriptor()</a>, <a class="el" href="_lstm_layer_8cpp_source.html#l00022">LstmLayer::CreateWorkload()</a>, <a class="el" href="_ref_lstm_workload_8cpp_source.html#l00041">RefLstmWorkload::Execute()</a>, <a class="el" href="_deserializer_8cpp_source.html#l02454">Deserializer::GetLstmDescriptor()</a>, <a class="el" href="_ref_layer_support_8cpp_source.html#l01002">RefLayerSupport::IsLstmSupported()</a>, <a class="el" href="_descriptors_8hpp_source.html#l00849">LstmDescriptor::operator==()</a>, <a class="el" href="_serialize_layer_parameters_8cpp_source.html#l00350">StringifyLayerParameters< LstmDescriptor >::Serialize()</a>, <a class="el" href="_lstm_layer_8cpp_source.html#l00160">LstmLayer::ValidateTensorShapesFromInputs()</a>, and <a class="el" href="_serializer_8cpp_source.html#l00562">SerializerVisitor::VisitLstmLayer()</a>.</p> |
| 322 | |
| 323 | </div> |
| 324 | </div> |
| 325 | <a id="a6c9de81fc65b3c4924cab11907075a17"></a> |
| 326 | <h2 class="memtitle"><span class="permalink"><a href="#a6c9de81fc65b3c4924cab11907075a17">◆ </a></span>m_ProjectionEnabled</h2> |
| 327 | |
| 328 | <div class="memitem"> |
| 329 | <div class="memproto"> |
| 330 | <table class="memname"> |
| 331 | <tr> |
| 332 | <td class="memname">bool m_ProjectionEnabled</td> |
| 333 | </tr> |
| 334 | </table> |
| 335 | </div><div class="memdoc"> |
| 336 | |
| 337 | <p>Enable/disable the projection layer. </p> |
| 338 | |
| 339 | <p class="definition">Definition at line <a class="el" href="_descriptors_8hpp_source.html#l00871">871</a> of file <a class="el" href="_descriptors_8hpp_source.html">Descriptors.hpp</a>.</p> |
| 340 | |
| 341 | <p class="reference">Referenced by <a class="el" href="_const_tensor_layer_visitor_8cpp_source.html#l01073">armnn::BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_serializer_tests_8cpp_source.html#l02718">BOOST_AUTO_TEST_CASE()</a>, <a class="el" href="_const_tensor_layer_visitor_8cpp_source.html#l00051">TestLstmLayerVisitor::CheckDescriptor()</a>, <a class="el" href="_lstm_layer_8cpp_source.html#l00022">LstmLayer::CreateWorkload()</a>, <a class="el" href="_ref_lstm_workload_8cpp_source.html#l00041">RefLstmWorkload::Execute()</a>, <a class="el" href="_deserializer_8cpp_source.html#l02454">Deserializer::GetLstmDescriptor()</a>, <a class="el" href="_ref_layer_support_8cpp_source.html#l01002">RefLayerSupport::IsLstmSupported()</a>, <a class="el" href="_serialize_layer_parameters_8cpp_source.html#l00350">StringifyLayerParameters< LstmDescriptor >::Serialize()</a>, <a class="el" href="_lstm_layer_8cpp_source.html#l00160">LstmLayer::ValidateTensorShapesFromInputs()</a>, and <a class="el" href="_serializer_8cpp_source.html#l00562">SerializerVisitor::VisitLstmLayer()</a>.</p> |
| 342 | |
| 343 | </div> |
| 344 | </div> |
| 345 | <hr/>The documentation for this struct was generated from the following file:<ul> |
| 346 | <li>include/armnn/<a class="el" href="_descriptors_8hpp_source.html">Descriptors.hpp</a></li> |
| 347 | </ul> |
| 348 | </div><!-- contents --> |
| 349 | </div><!-- doc-content --> |
| 350 | <!-- start footer part --> |
| 351 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 352 | <ul> |
| 353 | <li class="navelem"><a class="el" href="namespacearmnn.html">armnn</a></li><li class="navelem"><a class="el" href="structarmnn_1_1_lstm_descriptor.html">LstmDescriptor</a></li> |
| 354 | <li class="footer">Generated on Fri Mar 13 2020 16:07:03 for ArmNN by |
| 355 | <a href="http://www.doxygen.org/index.html"> |
| 356 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 357 | </ul> |
| 358 | </div> |
| 359 | </body> |
| 360 | </html> |