| <!-- HTML header for doxygen 1.8.17--> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| <meta name="generator" content="Doxygen 1.8.17"/> |
| <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| <title>Arm NN: src/armnn/layers/QLstmLayer.cpp Source File</title> |
| <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="jquery.js"></script> |
| <script type="text/javascript" src="dynsections.js"></script> |
| <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="resize.js"></script> |
| <script type="text/javascript" src="navtreedata.js"></script> |
| <script type="text/javascript" src="navtree.js"></script> |
| <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="search/searchdata.js"></script> |
| <script type="text/javascript" src="search/search.js"></script> |
| <script type="text/x-mathjax-config"> |
| MathJax.Hub.Config({ |
| extensions: ["tex2jax.js"], |
| jax: ["input/TeX","output/HTML-CSS"], |
| }); |
| </script> |
| <script type="text/javascript" async="async" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script> |
| <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| <link href="customdoxygen.css" rel="stylesheet" type="text/css"/> |
| </head> |
| <body> |
| <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| <div id="titlearea"> |
| <table cellspacing="0" cellpadding="0"> |
| <tbody> |
| <tr style="height: 56px;"> |
| <img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 15rem; margin-top: .5rem; margin-left 13px"/> |
| <td id="projectalign" style="padding-left: 0.9em;"> |
| <div id="projectname"> |
|  <span id="projectnumber">24.02</span> |
| </div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <!-- end header part --> |
| <!-- Generated by Doxygen 1.8.17 --> |
| <script type="text/javascript"> |
| /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ |
| var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| /* @license-end */ |
| </script> |
| <script type="text/javascript" src="menudata.js"></script> |
| <script type="text/javascript" src="menu.js"></script> |
| <script type="text/javascript"> |
| /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ |
| $(function() { |
| initMenu('',true,false,'search.php','Search'); |
| $(document).ready(function() { init_search(); }); |
| }); |
| /* @license-end */</script> |
| <div id="main-nav"></div> |
| </div><!-- top --> |
| <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| <div id="nav-tree"> |
| <div id="nav-tree-contents"> |
| <div id="nav-sync" class="sync"></div> |
| </div> |
| </div> |
| <div id="splitbar" style="-moz-user-select:none;" |
| class="ui-resizable-handle"> |
| </div> |
| </div> |
| <script type="text/javascript"> |
| /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ |
| $(document).ready(function(){initNavTree('_q_lstm_layer_8cpp_source.html',''); initResizable(); }); |
| /* @license-end */ |
| </script> |
| <div id="doc-content"> |
| <!-- window showing the filter options --> |
| <div id="MSearchSelectWindow" |
| onmouseover="return searchBox.OnSearchSelectShow()" |
| onmouseout="return searchBox.OnSearchSelectHide()" |
| onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| </div> |
| |
| <!-- iframe showing the search results (closed by default) --> |
| <div id="MSearchResultsWindow"> |
| <iframe src="javascript:void(0)" frameborder="0" |
| name="MSearchResults" id="MSearchResults"> |
| </iframe> |
| </div> |
| |
| <div class="header"> |
| <div class="headertitle"> |
| <div class="title">QLstmLayer.cpp</div> </div> |
| </div><!--header--> |
| <div class="contents"> |
| <a href="_q_lstm_layer_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">//</span></div> |
| <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// Copyright © 2020-2023 Arm Ltd and Contributors. All rights reserved.</span></div> |
| <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// SPDX-License-Identifier: MIT</span></div> |
| <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">//</span></div> |
| <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#include "<a class="code" href="_q_lstm_layer_8hpp.html">QLstmLayer.hpp</a>"</span></div> |
| <div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  </div> |
| <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor">#include "<a class="code" href="_layer_clone_base_8hpp.html">LayerCloneBase.hpp</a>"</span></div> |
| <div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  </div> |
| <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#include <<a class="code" href="_lstm_params_8hpp.html">armnn/LstmParams.hpp</a>></span></div> |
| <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#include <<a class="code" href="_types_utils_8hpp.html">armnn/TypesUtils.hpp</a>></span></div> |
| <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#include <<a class="code" href="_tensor_handle_8hpp.html">armnn/backends/TensorHandle.hpp</a>></span></div> |
| <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <<a class="code" href="_workload_factory_8hpp.html">armnn/backends/WorkloadFactory.hpp</a>></span></div> |
| <div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  </div> |
| <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="keyword">namespace </span><a class="code" href="namespacearmnn.html">armnn</a></div> |
| <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> {</div> |
| <div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  </div> |
| <div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="classarmnn_1_1_q_lstm_layer.html#a3b6119b6dde56939098f0d36e4e6b633"> 17</a></span> <a class="code" href="classarmnn_1_1_q_lstm_layer.html#a3b6119b6dde56939098f0d36e4e6b633">QLstmLayer::QLstmLayer</a>(<span class="keyword">const</span> <a class="code" href="structarmnn_1_1_q_lstm_descriptor.html">QLstmDescriptor</a>& param, <span class="keyword">const</span> <span class="keywordtype">char</span>* name)</div> |
| <div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  : <a class="code" href="classarmnn_1_1_layer_with_parameters.html">LayerWithParameters</a>(3, 3, <a class="code" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4">LayerType</a>::<a class="code" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4a91880b71ea6d007439b7bc7c320b5c25">QLstm</a>, param, name)</div> |
| <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> {</div> |
| <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> }</div> |
| <div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  </div> |
| <div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="classarmnn_1_1_q_lstm_layer.html#adfa912d0c4c6c00f1af2cbfa799572b7"> 22</a></span> std::unique_ptr<IWorkload> <a class="code" href="classarmnn_1_1_q_lstm_layer.html#adfa912d0c4c6c00f1af2cbfa799572b7">QLstmLayer::CreateWorkload</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_workload_factory.html">IWorkloadFactory</a>& factory)<span class="keyword"> const</span></div> |
| <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="keyword"></span>{</div> |
| <div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <a class="code" href="structarmnn_1_1_q_lstm_queue_descriptor.html">QLstmQueueDescriptor</a> descriptor;</div> |
| <div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  </div> |
| <div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="comment">// Basic parameters</span></div> |
| <div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  descriptor.<a class="code" href="structarmnn_1_1_q_lstm_queue_descriptor.html#aab77f54a037658ca9b2bf9cc8a1fadf1">m_InputToForgetWeights</a> = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#aafad117fb253359c1d472c9faefe49ef">m_InputToForgetWeights</a>.get();</div> |
| <div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  descriptor.<a class="code" href="structarmnn_1_1_q_lstm_queue_descriptor.html#a841439e3b8dc157a7368b19c9ecb7d03">m_InputToCellWeights</a> = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#ad3f42762262330534a4be0dde29a1318">m_InputToCellWeights</a>.get();</div> |
| <div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  descriptor.<a class="code" href="structarmnn_1_1_q_lstm_queue_descriptor.html#a17ba1c8bcc71a55a95b2a3913f8cb203">m_InputToOutputWeights</a> = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#a3d4f6f42e10ba6f808a5244bb7853e7e">m_InputToOutputWeights</a>.get();</div> |
| <div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  descriptor.<a class="code" href="structarmnn_1_1_q_lstm_queue_descriptor.html#adf8571dd1867ee91082bd005f94f2610">m_RecurrentToForgetWeights</a> = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#a1dd41cd674924907643cb088070a65d3">m_RecurrentToForgetWeights</a>.get();</div> |
| <div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  descriptor.<a class="code" href="structarmnn_1_1_q_lstm_queue_descriptor.html#ac18c8b8b2039267d8282e91b4162d8aa">m_RecurrentToCellWeights</a> = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#a608ed1a3d4135921ce33a286a87a072b">m_RecurrentToCellWeights</a>.get();</div> |
| <div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  descriptor.<a class="code" href="structarmnn_1_1_q_lstm_queue_descriptor.html#a4c27716f61bb68e8ea0bd4e8389ba01a">m_RecurrentToOutputWeights</a> = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#addad136e04521a1d31cbebf7280c312e">m_RecurrentToOutputWeights</a>.get();</div> |
| <div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  descriptor.<a class="code" href="structarmnn_1_1_q_lstm_queue_descriptor.html#a29fa293fffbf9c6f00cd75db1dc0a52a">m_ForgetGateBias</a> = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#af7f44bcc5b6cf669268a9ac0ff1446be">m_ForgetGateBias</a>.get();</div> |
| <div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  descriptor.<a class="code" href="structarmnn_1_1_q_lstm_queue_descriptor.html#a6e9593869b82984de198fed27f72cdcf">m_CellBias</a> = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#a21a90800797f1e122bc44d7022001558">m_CellBias</a>.get();</div> |
| <div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  descriptor.<a class="code" href="structarmnn_1_1_q_lstm_queue_descriptor.html#a5ff4158b1b363b898d0da04c42d37ce0">m_OutputGateBias</a> = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#a950c538e326db48f4c26a354c2b982e3">m_OutputGateBias</a>.get();</div> |
| <div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  </div> |
| <div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="comment">// CIFG parameters</span></div> |
| <div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="keywordflow">if</span> (!<a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_q_lstm_descriptor.html#ad474e5c51a0b194ef32e812b86c0cbdb">m_CifgEnabled</a>)</div> |
| <div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  {</div> |
| <div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  descriptor.<a class="code" href="structarmnn_1_1_q_lstm_queue_descriptor.html#ab160eba2493d5fe52185c0986dcb190c">m_InputToInputWeights</a> = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#af53c478cc73821d29a83100b69de84c3">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_cifg_parameters.html#a281954ff495d27f7a29e42a98768c670">m_InputToInputWeights</a>.get();</div> |
| <div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  descriptor.<a class="code" href="structarmnn_1_1_q_lstm_queue_descriptor.html#a299587d4f3fca029492700f3e2585bd8">m_RecurrentToInputWeights</a> = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#af53c478cc73821d29a83100b69de84c3">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_cifg_parameters.html#addfb6b081817510deb924c8fb5ce216c">m_RecurrentToInputWeights</a>.get();</div> |
| <div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  descriptor.<a class="code" href="structarmnn_1_1_q_lstm_queue_descriptor.html#a44eb7524badcca9b2073359e3814c98b">m_InputGateBias</a> = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#af53c478cc73821d29a83100b69de84c3">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_cifg_parameters.html#a85684ffb2d12d0d04fbd188591488a2c">m_InputGateBias</a>.get();</div> |
| <div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  }</div> |
| <div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  </div> |
| <div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="comment">// Projection parameters</span></div> |
| <div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_q_lstm_descriptor.html#a6c9de81fc65b3c4924cab11907075a17">m_ProjectionEnabled</a>)</div> |
| <div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  {</div> |
| <div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  descriptor.<a class="code" href="structarmnn_1_1_q_lstm_queue_descriptor.html#a3ead2ef8da00b2709d561d85996fc513">m_ProjectionWeights</a> = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#a3cbbd914f0d16664e785e30ffbe0dbf3">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_projection_parameters.html#aa8f5cf5d5130fefb77d2327dca341591">m_ProjectionWeights</a>.get();</div> |
| <div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  descriptor.<a class="code" href="structarmnn_1_1_q_lstm_queue_descriptor.html#ac668b31de6fb0f19d4c793d5ed3c3316">m_ProjectionBias</a> = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#a3cbbd914f0d16664e785e30ffbe0dbf3">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_projection_parameters.html#aa840abfe1cb869bce3d6daaebd2e86a7">m_ProjectionBias</a>.get();</div> |
| <div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  }</div> |
| <div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  </div> |
| <div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="comment">// Peephole parameters</span></div> |
| <div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_q_lstm_descriptor.html#a2837b4396f20c956952d1a7286cab5f8">m_PeepholeEnabled</a>)</div> |
| <div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  {</div> |
| <div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keywordflow">if</span> (!<a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_q_lstm_descriptor.html#ad474e5c51a0b194ef32e812b86c0cbdb">m_CifgEnabled</a>)</div> |
| <div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  {</div> |
| <div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  descriptor.<a class="code" href="structarmnn_1_1_q_lstm_queue_descriptor.html#a951b7c90b862138071a298065f16be61">m_CellToInputWeights</a> = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#a4855b2b34766d4972a999e324ab88ee5">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_peephole_parameters.html#a9eb0e6bb91acbf59117a1460ce1dfd29">m_CellToInputWeights</a>.get();</div> |
| <div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  }</div> |
| <div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  </div> |
| <div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  descriptor.<a class="code" href="structarmnn_1_1_q_lstm_queue_descriptor.html#a20c10fcb26657477377d07b7b1e13120">m_CellToForgetWeights</a> = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#a4855b2b34766d4972a999e324ab88ee5">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_peephole_parameters.html#a0ccce0cf0ae71e89b20dfa48645494c8">m_CellToForgetWeights</a>.get();</div> |
| <div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  descriptor.<a class="code" href="structarmnn_1_1_q_lstm_queue_descriptor.html#aa09f7bdb9fd0d06b6386e412a4e72dd6">m_CellToOutputWeights</a> = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#a4855b2b34766d4972a999e324ab88ee5">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_peephole_parameters.html#aeff3e3b8715c568fdff74a25ec40facb">m_CellToOutputWeights</a>.get();</div> |
| <div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  }</div> |
| <div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  </div> |
| <div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="comment">// Layer normalisation parameters</span></div> |
| <div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keywordflow">if</span>(<a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_q_lstm_descriptor.html#a4a8ec49f130084445d44297549254780">m_LayerNormEnabled</a>)</div> |
| <div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  {</div> |
| <div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keywordflow">if</span> (!<a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_q_lstm_descriptor.html#ad474e5c51a0b194ef32e812b86c0cbdb">m_CifgEnabled</a>)</div> |
| <div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  {</div> |
| <div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  descriptor.<a class="code" href="structarmnn_1_1_q_lstm_queue_descriptor.html#a1dbad32cad5c0437e1272f59fedf52ea">m_InputLayerNormWeights</a> = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#ab43a687e3d705b3b0414d6fedb869e9d">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_layer_norm_parameters.html#a47786528c742271a3937535426934219">m_InputLayerNormWeights</a>.get();</div> |
| <div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  }</div> |
| <div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  descriptor.<a class="code" href="structarmnn_1_1_q_lstm_queue_descriptor.html#ad9442e26aa79f896da5f404ab825a9c8">m_ForgetLayerNormWeights</a> = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#ab43a687e3d705b3b0414d6fedb869e9d">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_layer_norm_parameters.html#af03d5f9789e673011a9fa19a699530db">m_ForgetLayerNormWeights</a>.get();</div> |
| <div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  descriptor.<a class="code" href="structarmnn_1_1_q_lstm_queue_descriptor.html#aeef6f1ac3efad8ec8b0a7118652b64c9">m_CellLayerNormWeights</a> = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#ab43a687e3d705b3b0414d6fedb869e9d">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_layer_norm_parameters.html#a1f9668b1a4c275966aadeec9a4c11347">m_CellLayerNormWeights</a>.get();</div> |
| <div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  descriptor.<a class="code" href="structarmnn_1_1_q_lstm_queue_descriptor.html#a0e0f66bd03c88f3d2dc666f581d3cf12">m_OutputLayerNormWeights</a> = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#ab43a687e3d705b3b0414d6fedb869e9d">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_layer_norm_parameters.html#a9c441c2706cbd0e925c02cdcb8916669">m_OutputLayerNormWeights</a>.get();</div> |
| <div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  }</div> |
| <div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  </div> |
| <div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <a class="code" href="classarmnn_1_1_layer.html#af7f0460d32511de0da525f1817d13e8c">SetAdditionalInfo</a>(descriptor);</div> |
| <div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  </div> |
| <div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keywordflow">return</span> factory.<a class="code" href="classarmnn_1_1_i_workload_factory.html#a694a8411c8c799da95306034d274930b">CreateWorkload</a>(<a class="code" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4a91880b71ea6d007439b7bc7c320b5c25">LayerType::QLstm</a>, descriptor, <a class="code" href="classarmnn_1_1_layer_with_parameters.html#a30a858b2b26d651a066537e499fbf40d">PrepInfoAndDesc</a>(descriptor));</div> |
| <div class="line"><a name="l00079"></a><span class="lineno"> 79</span> }</div> |
| <div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  </div> |
| <div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="classarmnn_1_1_q_lstm_layer.html#ac1c16df49489aead2241b460f103f454"> 81</a></span> <a class="code" href="classarmnn_1_1_q_lstm_layer.html">QLstmLayer</a>* <a class="code" href="classarmnn_1_1_q_lstm_layer.html#ac1c16df49489aead2241b460f103f454">QLstmLayer::Clone</a>(<a class="code" href="classarmnn_1_1_graph.html">Graph</a>& graph)<span class="keyword"> const</span></div> |
| <div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="keyword"></span>{</div> |
| <div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keyword">auto</span> layer = CloneBase<QLstmLayer>(graph, <a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>, <a class="code" href="classarmnn_1_1_layer.html#a7ddf0cf6f620d59c10e63495ace795d0">GetName</a>());</div> |
| <div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  </div> |
| <div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  layer->m_BasicParameters.m_InputToForgetWeights = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#aafad117fb253359c1d472c9faefe49ef">m_InputToForgetWeights</a> ?</div> |
| <div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#aafad117fb253359c1d472c9faefe49ef">m_InputToForgetWeights</a> : <span class="keyword">nullptr</span>;</div> |
| <div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  layer->m_BasicParameters.m_InputToCellWeights = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#ad3f42762262330534a4be0dde29a1318">m_InputToCellWeights</a> ?</div> |
| <div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#ad3f42762262330534a4be0dde29a1318">m_InputToCellWeights</a> : <span class="keyword">nullptr</span>;</div> |
| <div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  layer->m_BasicParameters.m_InputToOutputWeights = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#a3d4f6f42e10ba6f808a5244bb7853e7e">m_InputToOutputWeights</a> ?</div> |
| <div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#a3d4f6f42e10ba6f808a5244bb7853e7e">m_InputToOutputWeights</a> : <span class="keyword">nullptr</span>;</div> |
| <div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  layer->m_BasicParameters.m_RecurrentToForgetWeights = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#a1dd41cd674924907643cb088070a65d3">m_RecurrentToForgetWeights</a> ?</div> |
| <div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#a1dd41cd674924907643cb088070a65d3">m_RecurrentToForgetWeights</a> : <span class="keyword">nullptr</span>;</div> |
| <div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  layer->m_BasicParameters.m_RecurrentToCellWeights = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#a608ed1a3d4135921ce33a286a87a072b">m_RecurrentToCellWeights</a> ?</div> |
| <div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#a608ed1a3d4135921ce33a286a87a072b">m_RecurrentToCellWeights</a> : <span class="keyword">nullptr</span>;</div> |
| <div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  layer->m_BasicParameters.m_RecurrentToOutputWeights = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#addad136e04521a1d31cbebf7280c312e">m_RecurrentToOutputWeights</a> ?</div> |
| <div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#addad136e04521a1d31cbebf7280c312e">m_RecurrentToOutputWeights</a> : <span class="keyword">nullptr</span>;</div> |
| <div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  layer->m_BasicParameters.m_ForgetGateBias = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#af7f44bcc5b6cf669268a9ac0ff1446be">m_ForgetGateBias</a> ?</div> |
| <div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#af7f44bcc5b6cf669268a9ac0ff1446be">m_ForgetGateBias</a> : <span class="keyword">nullptr</span>;</div> |
| <div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  layer->m_BasicParameters.m_CellBias = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#a21a90800797f1e122bc44d7022001558">m_CellBias</a> ?</div> |
| <div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#a21a90800797f1e122bc44d7022001558">m_CellBias</a> : <span class="keyword">nullptr</span>;</div> |
| <div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  layer->m_BasicParameters.m_OutputGateBias = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#a950c538e326db48f4c26a354c2b982e3">m_OutputGateBias</a> ?</div> |
| <div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#a950c538e326db48f4c26a354c2b982e3">m_OutputGateBias</a> : <span class="keyword">nullptr</span>;</div> |
| <div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  </div> |
| <div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keywordflow">if</span> (!<a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_q_lstm_descriptor.html#ad474e5c51a0b194ef32e812b86c0cbdb">m_CifgEnabled</a>)</div> |
| <div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  {</div> |
| <div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  layer->m_CifgParameters.m_InputToInputWeights = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#af53c478cc73821d29a83100b69de84c3">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_cifg_parameters.html#a281954ff495d27f7a29e42a98768c670">m_InputToInputWeights</a> ?</div> |
| <div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#af53c478cc73821d29a83100b69de84c3">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_cifg_parameters.html#a281954ff495d27f7a29e42a98768c670">m_InputToInputWeights</a> : <span class="keyword">nullptr</span>;</div> |
| <div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  layer->m_CifgParameters.m_RecurrentToInputWeights = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#af53c478cc73821d29a83100b69de84c3">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_cifg_parameters.html#addfb6b081817510deb924c8fb5ce216c">m_RecurrentToInputWeights</a> ?</div> |
| <div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#af53c478cc73821d29a83100b69de84c3">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_cifg_parameters.html#addfb6b081817510deb924c8fb5ce216c">m_RecurrentToInputWeights</a> : <span class="keyword">nullptr</span>;</div> |
| <div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  layer->m_CifgParameters.m_InputGateBias = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#af53c478cc73821d29a83100b69de84c3">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_cifg_parameters.html#a85684ffb2d12d0d04fbd188591488a2c">m_InputGateBias</a> ?</div> |
| <div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#af53c478cc73821d29a83100b69de84c3">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_cifg_parameters.html#a85684ffb2d12d0d04fbd188591488a2c">m_InputGateBias</a> : <span class="keyword">nullptr</span>;</div> |
| <div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  }</div> |
| <div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  </div> |
| <div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_q_lstm_descriptor.html#a6c9de81fc65b3c4924cab11907075a17">m_ProjectionEnabled</a>)</div> |
| <div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  {</div> |
| <div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  layer->m_ProjectionParameters.m_ProjectionWeights = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#a3cbbd914f0d16664e785e30ffbe0dbf3">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_projection_parameters.html#aa8f5cf5d5130fefb77d2327dca341591">m_ProjectionWeights</a> ?</div> |
| <div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#a3cbbd914f0d16664e785e30ffbe0dbf3">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_projection_parameters.html#aa8f5cf5d5130fefb77d2327dca341591">m_ProjectionWeights</a> : <span class="keyword">nullptr</span>;</div> |
| <div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  layer->m_ProjectionParameters.m_ProjectionBias = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#a3cbbd914f0d16664e785e30ffbe0dbf3">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_projection_parameters.html#aa840abfe1cb869bce3d6daaebd2e86a7">m_ProjectionBias</a> ?</div> |
| <div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#a3cbbd914f0d16664e785e30ffbe0dbf3">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_projection_parameters.html#aa840abfe1cb869bce3d6daaebd2e86a7">m_ProjectionBias</a> : <span class="keyword">nullptr</span>;</div> |
| <div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  }</div> |
| <div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  </div> |
| <div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_q_lstm_descriptor.html#a2837b4396f20c956952d1a7286cab5f8">m_PeepholeEnabled</a>)</div> |
| <div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  {</div> |
| <div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keywordflow">if</span> (!<a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_q_lstm_descriptor.html#ad474e5c51a0b194ef32e812b86c0cbdb">m_CifgEnabled</a>) {</div> |
| <div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  layer->m_PeepholeParameters.m_CellToInputWeights = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#a4855b2b34766d4972a999e324ab88ee5">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_peephole_parameters.html#a9eb0e6bb91acbf59117a1460ce1dfd29">m_CellToInputWeights</a> ?</div> |
| <div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#a4855b2b34766d4972a999e324ab88ee5">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_peephole_parameters.html#a9eb0e6bb91acbf59117a1460ce1dfd29">m_CellToInputWeights</a> : <span class="keyword">nullptr</span>;</div> |
| <div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  }</div> |
| <div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  </div> |
| <div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  layer->m_PeepholeParameters.m_CellToForgetWeights = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#a4855b2b34766d4972a999e324ab88ee5">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_peephole_parameters.html#a0ccce0cf0ae71e89b20dfa48645494c8">m_CellToForgetWeights</a> ?</div> |
| <div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#a4855b2b34766d4972a999e324ab88ee5">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_peephole_parameters.html#a0ccce0cf0ae71e89b20dfa48645494c8">m_CellToForgetWeights</a> : <span class="keyword">nullptr</span>;</div> |
| <div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  layer->m_PeepholeParameters.m_CellToOutputWeights = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#a4855b2b34766d4972a999e324ab88ee5">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_peephole_parameters.html#aeff3e3b8715c568fdff74a25ec40facb">m_CellToOutputWeights</a> ?</div> |
| <div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#a4855b2b34766d4972a999e324ab88ee5">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_peephole_parameters.html#aeff3e3b8715c568fdff74a25ec40facb">m_CellToOutputWeights</a> : <span class="keyword">nullptr</span>;</div> |
| <div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  }</div> |
| <div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  </div> |
| <div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_q_lstm_descriptor.html#a4a8ec49f130084445d44297549254780">m_LayerNormEnabled</a>)</div> |
| <div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  {</div> |
| <div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="keywordflow">if</span> (!<a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_q_lstm_descriptor.html#ad474e5c51a0b194ef32e812b86c0cbdb">m_CifgEnabled</a>) {</div> |
| <div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  layer->m_LayerNormParameters.m_InputLayerNormWeights = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#ab43a687e3d705b3b0414d6fedb869e9d">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_layer_norm_parameters.html#a47786528c742271a3937535426934219">m_InputLayerNormWeights</a> ?</div> |
| <div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#ab43a687e3d705b3b0414d6fedb869e9d">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_layer_norm_parameters.html#a47786528c742271a3937535426934219">m_InputLayerNormWeights</a> : <span class="keyword">nullptr</span>;</div> |
| <div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  }</div> |
| <div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  </div> |
| <div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  layer->m_LayerNormParameters.m_ForgetLayerNormWeights = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#ab43a687e3d705b3b0414d6fedb869e9d">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_layer_norm_parameters.html#af03d5f9789e673011a9fa19a699530db">m_ForgetLayerNormWeights</a> ?</div> |
| <div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#ab43a687e3d705b3b0414d6fedb869e9d">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_layer_norm_parameters.html#af03d5f9789e673011a9fa19a699530db">m_ForgetLayerNormWeights</a> : <span class="keyword">nullptr</span>;</div> |
| <div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  layer->m_LayerNormParameters.m_CellLayerNormWeights = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#ab43a687e3d705b3b0414d6fedb869e9d">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_layer_norm_parameters.html#a1f9668b1a4c275966aadeec9a4c11347">m_CellLayerNormWeights</a> ?</div> |
| <div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#ab43a687e3d705b3b0414d6fedb869e9d">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_layer_norm_parameters.html#a1f9668b1a4c275966aadeec9a4c11347">m_CellLayerNormWeights</a> : <span class="keyword">nullptr</span>;</div> |
| <div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  layer->m_LayerNormParameters.m_OutputLayerNormWeights = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#ab43a687e3d705b3b0414d6fedb869e9d">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_layer_norm_parameters.html#a9c441c2706cbd0e925c02cdcb8916669">m_OutputLayerNormWeights</a> ?</div> |
| <div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#ab43a687e3d705b3b0414d6fedb869e9d">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_layer_norm_parameters.html#a9c441c2706cbd0e925c02cdcb8916669">m_OutputLayerNormWeights</a> : <span class="keyword">nullptr</span>;</div> |
| <div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  }</div> |
| <div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  </div> |
| <div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="keywordflow">return</span> std::move(layer);</div> |
| <div class="line"><a name="l00151"></a><span class="lineno"> 151</span> }</div> |
| <div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  </div> |
| <div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="classarmnn_1_1_q_lstm_layer.html#a65ca562c882ad619684445a1402f415a"> 153</a></span> std::vector<TensorShape> <a class="code" href="classarmnn_1_1_q_lstm_layer.html#a65ca562c882ad619684445a1402f415a">QLstmLayer::InferOutputShapes</a>(<span class="keyword">const</span> std::vector<TensorShape>& inputShapes)<span class="keyword"> const</span></div> |
| <div class="line"><a name="l00154"></a><span class="lineno"> 154</span> <span class="keyword"></span>{</div> |
| <div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <a class="code" href="_assert_8hpp.html#a5698be69cbd5dfe6c28fcd9867e8cbed">ARMNN_ASSERT</a>(inputShapes.size() == 3);</div> |
| <div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  </div> |
| <div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="comment">// Get input values for validation</span></div> |
| <div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> batchSize = inputShapes[0][0];</div> |
| <div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> outputSize = inputShapes[1][1];</div> |
| <div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> numUnits = inputShapes[2][1];</div> |
| <div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  </div> |
| <div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  std::vector<TensorShape> outShapes;</div> |
| <div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  outShapes.push_back(<a class="code" href="classarmnn_1_1_tensor_shape.html">TensorShape</a>({ batchSize, outputSize })); <span class="comment">// outputStateOut</span></div> |
| <div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  outShapes.push_back(<a class="code" href="classarmnn_1_1_tensor_shape.html">TensorShape</a>({ batchSize, numUnits })); <span class="comment">// cellStateOut</span></div> |
| <div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  outShapes.push_back(<a class="code" href="classarmnn_1_1_tensor_shape.html">TensorShape</a>({ batchSize, outputSize })); <span class="comment">// output</span></div> |
| <div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  </div> |
| <div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keywordflow">return</span> outShapes;</div> |
| <div class="line"><a name="l00168"></a><span class="lineno"> 168</span> }</div> |
| <div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  </div> |
| <div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="classarmnn_1_1_q_lstm_layer.html#a8c8f543d7e9729362c266d12ec169966"> 170</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_q_lstm_layer.html#a8c8f543d7e9729362c266d12ec169966">QLstmLayer::ValidateTensorShapesFromInputs</a>()</div> |
| <div class="line"><a name="l00171"></a><span class="lineno"> 171</span> {</div> |
| <div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <a class="code" href="classarmnn_1_1_layer.html#a0607e36e88f38c34c71c663164b76776">VerifyLayerConnections</a>(3, <a class="code" href="_exceptions_8hpp.html#aa3be76aec4ce713822a5ea1ecbb7bc61">CHECK_LOCATION</a>());</div> |
| <div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  </div> |
| <div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_tensor_shape.html">TensorShape</a>& outputShape = <a class="code" href="classarmnn_1_1_layer.html#a0e36688a43c35668d8db5257274c68fe">GetOutputSlot</a>(0).<a class="code" href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.html#a8b5d0f8a24e9d9238f412260a552acf8">GetShape</a>();</div> |
| <div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  </div> |
| <div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <a class="code" href="classarmnn_1_1_layer.html#a448afc716fda85394df1e8e5b7d530e8">VerifyShapeInferenceType</a>(outputShape, <a class="code" href="classarmnn_1_1_layer.html#afe508761cc8318b15329ba4acf7fbfec">m_ShapeInferenceMethod</a>);</div> |
| <div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  </div> |
| <div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="keyword">auto</span> inferredShapes = <a class="code" href="classarmnn_1_1_q_lstm_layer.html#a65ca562c882ad619684445a1402f415a">InferOutputShapes</a>(</div> |
| <div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  {</div> |
| <div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(0).<a class="code" href="classarmnn_1_1_input_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.html#a8b5d0f8a24e9d9238f412260a552acf8">GetShape</a>(), <span class="comment">// input</span></div> |
| <div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(1).<a class="code" href="classarmnn_1_1_input_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.html#a8b5d0f8a24e9d9238f412260a552acf8">GetShape</a>(), <span class="comment">// previousOutputIn</span></div> |
| <div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(2).<a class="code" href="classarmnn_1_1_input_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.html#a8b5d0f8a24e9d9238f412260a552acf8">GetShape</a>() <span class="comment">// previousCellStateIn</span></div> |
| <div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  });</div> |
| <div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  </div> |
| <div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <a class="code" href="_assert_8hpp.html#a5698be69cbd5dfe6c28fcd9867e8cbed">ARMNN_ASSERT</a>(inferredShapes.size() == 3);</div> |
| <div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  </div> |
| <div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <span class="comment">// Check if the weights are nullptr for basic params</span></div> |
| <div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <a class="code" href="_assert_8hpp.html#a91c4dfde57907d7698c7531785690a7f">ARMNN_ASSERT_MSG</a>(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#aafad117fb253359c1d472c9faefe49ef">m_InputToForgetWeights</a> != <span class="keyword">nullptr</span>,</div> |
| <div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  <span class="stringliteral">"QLstmLayer: m_BasicParameters.m_InputToForgetWeights should not be null."</span>);</div> |
| <div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <a class="code" href="_assert_8hpp.html#a91c4dfde57907d7698c7531785690a7f">ARMNN_ASSERT_MSG</a>(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#ad3f42762262330534a4be0dde29a1318">m_InputToCellWeights</a> != <span class="keyword">nullptr</span>,</div> |
| <div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  <span class="stringliteral">"QLstmLayer: m_BasicParameters.m_InputToCellWeights should not be null."</span>);</div> |
| <div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <a class="code" href="_assert_8hpp.html#a91c4dfde57907d7698c7531785690a7f">ARMNN_ASSERT_MSG</a>(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#a3d4f6f42e10ba6f808a5244bb7853e7e">m_InputToOutputWeights</a> != <span class="keyword">nullptr</span>,</div> |
| <div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <span class="stringliteral">"QLstmLayer: m_BasicParameters.m_InputToOutputWeights should not be null."</span>);</div> |
| <div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  <a class="code" href="_assert_8hpp.html#a91c4dfde57907d7698c7531785690a7f">ARMNN_ASSERT_MSG</a>(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#a1dd41cd674924907643cb088070a65d3">m_RecurrentToForgetWeights</a> != <span class="keyword">nullptr</span>,</div> |
| <div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <span class="stringliteral">"QLstmLayer: m_BasicParameters.m_RecurrentToForgetWeights should not be null."</span>);</div> |
| <div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  <a class="code" href="_assert_8hpp.html#a91c4dfde57907d7698c7531785690a7f">ARMNN_ASSERT_MSG</a>(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#a608ed1a3d4135921ce33a286a87a072b">m_RecurrentToCellWeights</a> != <span class="keyword">nullptr</span>,</div> |
| <div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="stringliteral">"QLstmLayer: m_BasicParameters.m_RecurrentToCellWeights should not be null."</span>);</div> |
| <div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  <a class="code" href="_assert_8hpp.html#a91c4dfde57907d7698c7531785690a7f">ARMNN_ASSERT_MSG</a>(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#addad136e04521a1d31cbebf7280c312e">m_RecurrentToOutputWeights</a> != <span class="keyword">nullptr</span>,</div> |
| <div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <span class="stringliteral">"QLstmLayer: m_BasicParameters.m_RecurrentToOutputWeights should not be null."</span>);</div> |
| <div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  <a class="code" href="_assert_8hpp.html#a91c4dfde57907d7698c7531785690a7f">ARMNN_ASSERT_MSG</a>(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#af7f44bcc5b6cf669268a9ac0ff1446be">m_ForgetGateBias</a> != <span class="keyword">nullptr</span>,</div> |
| <div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  <span class="stringliteral">"QLstmLayer: m_BasicParameters.m_ForgetGateBias should not be null."</span>);</div> |
| <div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <a class="code" href="_assert_8hpp.html#a91c4dfde57907d7698c7531785690a7f">ARMNN_ASSERT_MSG</a>(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#a21a90800797f1e122bc44d7022001558">m_CellBias</a> != <span class="keyword">nullptr</span>,</div> |
| <div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <span class="stringliteral">"QLstmLayer: m_BasicParameters.m_CellBias should not be null."</span>);</div> |
| <div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  <a class="code" href="_assert_8hpp.html#a91c4dfde57907d7698c7531785690a7f">ARMNN_ASSERT_MSG</a>(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#a950c538e326db48f4c26a354c2b982e3">m_OutputGateBias</a> != <span class="keyword">nullptr</span>,</div> |
| <div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="stringliteral">"QLstmLayer: m_BasicParameters.m_OutputGateBias should not be null."</span>);</div> |
| <div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  </div> |
| <div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <span class="keywordflow">if</span> (!<a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_q_lstm_descriptor.html#ad474e5c51a0b194ef32e812b86c0cbdb">m_CifgEnabled</a>)</div> |
| <div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  {</div> |
| <div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  <a class="code" href="_assert_8hpp.html#a91c4dfde57907d7698c7531785690a7f">ARMNN_ASSERT_MSG</a>(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#af53c478cc73821d29a83100b69de84c3">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_cifg_parameters.html#a281954ff495d27f7a29e42a98768c670">m_InputToInputWeights</a> != <span class="keyword">nullptr</span>,</div> |
| <div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  <span class="stringliteral">"QLstmLayer: m_CifgParameters.m_InputToInputWeights should not be null."</span>);</div> |
| <div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <a class="code" href="_assert_8hpp.html#a91c4dfde57907d7698c7531785690a7f">ARMNN_ASSERT_MSG</a>(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#af53c478cc73821d29a83100b69de84c3">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_cifg_parameters.html#addfb6b081817510deb924c8fb5ce216c">m_RecurrentToInputWeights</a> != <span class="keyword">nullptr</span>,</div> |
| <div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  <span class="stringliteral">"QLstmLayer: m_CifgParameters.m_RecurrentToInputWeights should not be null."</span>);</div> |
| <div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <a class="code" href="_assert_8hpp.html#a91c4dfde57907d7698c7531785690a7f">ARMNN_ASSERT_MSG</a>(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#af53c478cc73821d29a83100b69de84c3">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_cifg_parameters.html#a85684ffb2d12d0d04fbd188591488a2c">m_InputGateBias</a> != <span class="keyword">nullptr</span>,</div> |
| <div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  <span class="stringliteral">"QLstmLayer: m_CifgParameters.m_InputGateBias should not be null."</span>);</div> |
| <div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  </div> |
| <div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  <a class="code" href="classarmnn_1_1_layer.html#aeb2d638cc0e02c10075e015100996f2d">ValidateAndCopyShape</a>(outputShape, inferredShapes[0], <a class="code" href="classarmnn_1_1_layer.html#afe508761cc8318b15329ba4acf7fbfec">m_ShapeInferenceMethod</a>, <span class="stringliteral">"QLstmLayer"</span>);</div> |
| <div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  }</div> |
| <div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  <span class="keywordflow">else</span></div> |
| <div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  {</div> |
| <div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  <a class="code" href="_assert_8hpp.html#a91c4dfde57907d7698c7531785690a7f">ARMNN_ASSERT_MSG</a>(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#af53c478cc73821d29a83100b69de84c3">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_cifg_parameters.html#a281954ff495d27f7a29e42a98768c670">m_InputToInputWeights</a> == <span class="keyword">nullptr</span>,</div> |
| <div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  <span class="stringliteral">"QLstmLayer: m_CifgParameters.m_InputToInputWeights should not have a value when CIFG is enabled."</span>);</div> |
| <div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <a class="code" href="_assert_8hpp.html#a91c4dfde57907d7698c7531785690a7f">ARMNN_ASSERT_MSG</a>(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#af53c478cc73821d29a83100b69de84c3">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_cifg_parameters.html#addfb6b081817510deb924c8fb5ce216c">m_RecurrentToInputWeights</a> == <span class="keyword">nullptr</span>,</div> |
| <div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  <span class="stringliteral">"QLstmLayer: m_CifgParameters.m_RecurrentToInputWeights should "</span></div> |
| <div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  <span class="stringliteral">"not have a value when CIFG is enabled."</span>);</div> |
| <div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <a class="code" href="_assert_8hpp.html#a91c4dfde57907d7698c7531785690a7f">ARMNN_ASSERT_MSG</a>(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#af53c478cc73821d29a83100b69de84c3">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_cifg_parameters.html#a85684ffb2d12d0d04fbd188591488a2c">m_InputGateBias</a> == <span class="keyword">nullptr</span>,</div> |
| <div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  <span class="stringliteral">"QLstmLayer: m_CifgParameters.m_InputGateBias should not have a value when CIFG is enabled."</span>);</div> |
| <div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  </div> |
| <div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  <a class="code" href="classarmnn_1_1_layer.html#aeb2d638cc0e02c10075e015100996f2d">ValidateAndCopyShape</a>(outputShape, inferredShapes[0], <a class="code" href="classarmnn_1_1_layer.html#afe508761cc8318b15329ba4acf7fbfec">m_ShapeInferenceMethod</a>, <span class="stringliteral">"QLstmLayer"</span>);</div> |
| <div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  }</div> |
| <div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  </div> |
| <div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_q_lstm_descriptor.html#a6c9de81fc65b3c4924cab11907075a17">m_ProjectionEnabled</a>)</div> |
| <div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  {</div> |
| <div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  <a class="code" href="_assert_8hpp.html#a91c4dfde57907d7698c7531785690a7f">ARMNN_ASSERT_MSG</a>(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#a3cbbd914f0d16664e785e30ffbe0dbf3">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_projection_parameters.html#aa8f5cf5d5130fefb77d2327dca341591">m_ProjectionWeights</a> != <span class="keyword">nullptr</span>,</div> |
| <div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  <span class="stringliteral">"QLstmLayer: m_ProjectionParameters.m_ProjectionWeights should not be null."</span>);</div> |
| <div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  }</div> |
| <div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  </div> |
| <div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_q_lstm_descriptor.html#a2837b4396f20c956952d1a7286cab5f8">m_PeepholeEnabled</a>)</div> |
| <div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  {</div> |
| <div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  <span class="keywordflow">if</span> (!<a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_q_lstm_descriptor.html#ad474e5c51a0b194ef32e812b86c0cbdb">m_CifgEnabled</a>) {</div> |
| <div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  <a class="code" href="_assert_8hpp.html#a91c4dfde57907d7698c7531785690a7f">ARMNN_ASSERT_MSG</a>(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#a4855b2b34766d4972a999e324ab88ee5">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_peephole_parameters.html#a9eb0e6bb91acbf59117a1460ce1dfd29">m_CellToInputWeights</a> != <span class="keyword">nullptr</span>,</div> |
| <div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  <span class="stringliteral">"QLstmLayer: m_PeepholeParameters.m_CellToInputWeights should not be null "</span></div> |
| <div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  <span class="stringliteral">"when Peephole is enabled and CIFG is disabled."</span>);</div> |
| <div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  }</div> |
| <div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  </div> |
| <div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  <a class="code" href="_assert_8hpp.html#a91c4dfde57907d7698c7531785690a7f">ARMNN_ASSERT_MSG</a>(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#a4855b2b34766d4972a999e324ab88ee5">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_peephole_parameters.html#a0ccce0cf0ae71e89b20dfa48645494c8">m_CellToForgetWeights</a> != <span class="keyword">nullptr</span>,</div> |
| <div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  <span class="stringliteral">"QLstmLayer: m_PeepholeParameters.m_CellToForgetWeights should not be null."</span>);</div> |
| <div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  <a class="code" href="_assert_8hpp.html#a91c4dfde57907d7698c7531785690a7f">ARMNN_ASSERT_MSG</a>(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#a4855b2b34766d4972a999e324ab88ee5">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_peephole_parameters.html#aeff3e3b8715c568fdff74a25ec40facb">m_CellToOutputWeights</a> != <span class="keyword">nullptr</span>,</div> |
| <div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  <span class="stringliteral">"QLstmLayer: m_PeepholeParameters.m_CellToOutputWeights should not be null."</span>);</div> |
| <div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  }</div> |
| <div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  </div> |
| <div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  <a class="code" href="classarmnn_1_1_layer.html#aeb2d638cc0e02c10075e015100996f2d">ValidateAndCopyShape</a>(</div> |
| <div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  <a class="code" href="classarmnn_1_1_layer.html#a0e36688a43c35668d8db5257274c68fe">GetOutputSlot</a>(1).<a class="code" href="namespacearmnn.html#aa815fde54f6d8e8aa5b4f0301cf4178b">GetTensorInfo</a>().GetShape(), inferredShapes[1], <a class="code" href="classarmnn_1_1_layer.html#afe508761cc8318b15329ba4acf7fbfec">m_ShapeInferenceMethod</a>, <span class="stringliteral">"QLstmLayer"</span>, 1);</div> |
| <div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  <a class="code" href="classarmnn_1_1_layer.html#aeb2d638cc0e02c10075e015100996f2d">ValidateAndCopyShape</a>(</div> |
| <div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  <a class="code" href="classarmnn_1_1_layer.html#a0e36688a43c35668d8db5257274c68fe">GetOutputSlot</a>(2).<a class="code" href="namespacearmnn.html#aa815fde54f6d8e8aa5b4f0301cf4178b">GetTensorInfo</a>().GetShape(), inferredShapes[2], <a class="code" href="classarmnn_1_1_layer.html#afe508761cc8318b15329ba4acf7fbfec">m_ShapeInferenceMethod</a>, <span class="stringliteral">"QLstmLayer"</span>, 2);</div> |
| <div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  </div> |
| <div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_q_lstm_descriptor.html#a4a8ec49f130084445d44297549254780">m_LayerNormEnabled</a>)</div> |
| <div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  {</div> |
| <div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  <span class="keywordflow">if</span>(!<a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_q_lstm_descriptor.html#ad474e5c51a0b194ef32e812b86c0cbdb">m_CifgEnabled</a>)</div> |
| <div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  {</div> |
| <div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  <a class="code" href="_assert_8hpp.html#a91c4dfde57907d7698c7531785690a7f">ARMNN_ASSERT_MSG</a>(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#ab43a687e3d705b3b0414d6fedb869e9d">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_layer_norm_parameters.html#a47786528c742271a3937535426934219">m_InputLayerNormWeights</a> != <span class="keyword">nullptr</span>,</div> |
| <div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  <span class="stringliteral">"QLstmLayer: m_LayerNormParameters.m_InputLayerNormWeights should not be null."</span>);</div> |
| <div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  }</div> |
| <div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  <a class="code" href="_assert_8hpp.html#a91c4dfde57907d7698c7531785690a7f">ARMNN_ASSERT_MSG</a>(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#ab43a687e3d705b3b0414d6fedb869e9d">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_layer_norm_parameters.html#af03d5f9789e673011a9fa19a699530db">m_ForgetLayerNormWeights</a> != <span class="keyword">nullptr</span>,</div> |
| <div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  <span class="stringliteral">"QLstmLayer: m_LayerNormParameters.m_ForgetLayerNormWeights should not be null."</span>);</div> |
| <div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  <a class="code" href="_assert_8hpp.html#a91c4dfde57907d7698c7531785690a7f">ARMNN_ASSERT_MSG</a>(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#ab43a687e3d705b3b0414d6fedb869e9d">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_layer_norm_parameters.html#a1f9668b1a4c275966aadeec9a4c11347">m_CellLayerNormWeights</a> != <span class="keyword">nullptr</span>,</div> |
| <div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  <span class="stringliteral">"QLstmLayer: m_LayerNormParameters.m_CellLayerNormWeights should not be null."</span>);</div> |
| <div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  <a class="code" href="_assert_8hpp.html#a91c4dfde57907d7698c7531785690a7f">ARMNN_ASSERT_MSG</a>(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#ab43a687e3d705b3b0414d6fedb869e9d">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_layer_norm_parameters.html#a9c441c2706cbd0e925c02cdcb8916669">m_OutputLayerNormWeights</a> != <span class="keyword">nullptr</span>,</div> |
| <div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  <span class="stringliteral">"QLstmLayer: m_LayerNormParameters.m_UutputLayerNormWeights should not be null."</span>);</div> |
| <div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  }</div> |
| <div class="line"><a name="l00270"></a><span class="lineno"> 270</span> }</div> |
| <div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  </div> |
| <div class="line"><a name="l00272"></a><span class="lineno"><a class="line" href="classarmnn_1_1_q_lstm_layer.html#a29cc31172f6ab16ac931f90c667c092d"> 272</a></span> <a class="code" href="classarmnn_1_1_i_connectable_layer.html#aba5c20cadbebd2e7ba67e20a47e31472">Layer::ImmutableConstantTensors</a> <a class="code" href="classarmnn_1_1_q_lstm_layer.html#a29cc31172f6ab16ac931f90c667c092d">QLstmLayer::GetConstantTensorsByRef</a>()<span class="keyword"> const</span></div> |
| <div class="line"><a name="l00273"></a><span class="lineno"> 273</span> <span class="keyword"></span>{</div> |
| <div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  <span class="comment">// For API stability DO NOT ALTER order and add new members to the end of vector</span></div> |
| <div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  <span class="keywordflow">return</span> {<a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#aafad117fb253359c1d472c9faefe49ef">m_InputToForgetWeights</a>,</div> |
| <div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#ad3f42762262330534a4be0dde29a1318">m_InputToCellWeights</a>,</div> |
| <div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#a3d4f6f42e10ba6f808a5244bb7853e7e">m_InputToOutputWeights</a>,</div> |
| <div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#a1dd41cd674924907643cb088070a65d3">m_RecurrentToForgetWeights</a>,</div> |
| <div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#a608ed1a3d4135921ce33a286a87a072b">m_RecurrentToCellWeights</a>,</div> |
| <div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#addad136e04521a1d31cbebf7280c312e">m_RecurrentToOutputWeights</a>,</div> |
| <div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#af7f44bcc5b6cf669268a9ac0ff1446be">m_ForgetGateBias</a>,</div> |
| <div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#a21a90800797f1e122bc44d7022001558">m_CellBias</a>,</div> |
| <div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#a950c538e326db48f4c26a354c2b982e3">m_OutputGateBias</a>,</div> |
| <div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  </div> |
| <div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  <span class="comment">// Cifg parameters</span></div> |
| <div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#af53c478cc73821d29a83100b69de84c3">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_cifg_parameters.html#a281954ff495d27f7a29e42a98768c670">m_InputToInputWeights</a>,</div> |
| <div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#af53c478cc73821d29a83100b69de84c3">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_cifg_parameters.html#addfb6b081817510deb924c8fb5ce216c">m_RecurrentToInputWeights</a>,</div> |
| <div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#af53c478cc73821d29a83100b69de84c3">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_cifg_parameters.html#a85684ffb2d12d0d04fbd188591488a2c">m_InputGateBias</a>,</div> |
| <div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  </div> |
| <div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  <span class="comment">// Projection parameters</span></div> |
| <div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#a3cbbd914f0d16664e785e30ffbe0dbf3">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_projection_parameters.html#aa8f5cf5d5130fefb77d2327dca341591">m_ProjectionWeights</a>,</div> |
| <div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#a3cbbd914f0d16664e785e30ffbe0dbf3">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_projection_parameters.html#aa840abfe1cb869bce3d6daaebd2e86a7">m_ProjectionBias</a>,</div> |
| <div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  </div> |
| <div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  <span class="comment">// Peephole parameters</span></div> |
| <div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#a4855b2b34766d4972a999e324ab88ee5">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_peephole_parameters.html#a9eb0e6bb91acbf59117a1460ce1dfd29">m_CellToInputWeights</a>,</div> |
| <div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#a4855b2b34766d4972a999e324ab88ee5">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_peephole_parameters.html#a0ccce0cf0ae71e89b20dfa48645494c8">m_CellToForgetWeights</a>,</div> |
| <div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#a4855b2b34766d4972a999e324ab88ee5">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_peephole_parameters.html#aeff3e3b8715c568fdff74a25ec40facb">m_CellToOutputWeights</a>,</div> |
| <div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  </div> |
| <div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  <span class="comment">// Layer normalisation parameters</span></div> |
| <div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#ab43a687e3d705b3b0414d6fedb869e9d">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_layer_norm_parameters.html#a47786528c742271a3937535426934219">m_InputLayerNormWeights</a>,</div> |
| <div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#ab43a687e3d705b3b0414d6fedb869e9d">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_layer_norm_parameters.html#af03d5f9789e673011a9fa19a699530db">m_ForgetLayerNormWeights</a>,</div> |
| <div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#ab43a687e3d705b3b0414d6fedb869e9d">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_layer_norm_parameters.html#a1f9668b1a4c275966aadeec9a4c11347">m_CellLayerNormWeights</a>,</div> |
| <div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  <a class="code" href="classarmnn_1_1_q_lstm_layer.html#ab43a687e3d705b3b0414d6fedb869e9d">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_layer_norm_parameters.html#a9c441c2706cbd0e925c02cdcb8916669">m_OutputLayerNormWeights</a>};</div> |
| <div class="line"><a name="l00304"></a><span class="lineno"> 304</span> }</div> |
| <div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  </div> |
| <div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  </div> |
| <div class="line"><a name="l00307"></a><span class="lineno"><a class="line" href="classarmnn_1_1_q_lstm_layer.html#a46fc3fdd4b2a5dd6d184e57983cf20bc"> 307</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_q_lstm_layer.html#a46fc3fdd4b2a5dd6d184e57983cf20bc">QLstmLayer::ExecuteStrategy</a>(<a class="code" href="classarmnn_1_1_i_strategy.html">IStrategy</a>& strategy)<span class="keyword"> const</span></div> |
| <div class="line"><a name="l00308"></a><span class="lineno"> 308</span> <span class="keyword"></span>{</div> |
| <div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  std::vector<ConstTensor> constTensors;</div> |
| <div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  <a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html">ManagedConstTensorHandle</a> managedInputToForgetWeights(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#aafad117fb253359c1d472c9faefe49ef">m_InputToForgetWeights</a>);</div> |
| <div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  <a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html">ManagedConstTensorHandle</a> managedInputToCellWeights(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#ad3f42762262330534a4be0dde29a1318">m_InputToCellWeights</a>);</div> |
| <div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  <a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html">ManagedConstTensorHandle</a> managedInputToOutputWeights(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#a3d4f6f42e10ba6f808a5244bb7853e7e">m_InputToOutputWeights</a>);</div> |
| <div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  <a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html">ManagedConstTensorHandle</a> managedRecurrentToForgetWeights(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#a1dd41cd674924907643cb088070a65d3">m_RecurrentToForgetWeights</a>);</div> |
| <div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  <a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html">ManagedConstTensorHandle</a> managedRecurrentToCellWeights(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#a608ed1a3d4135921ce33a286a87a072b">m_RecurrentToCellWeights</a>);</div> |
| <div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  <a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html">ManagedConstTensorHandle</a> managedRecurrentToOutputWeights(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#addad136e04521a1d31cbebf7280c312e">m_RecurrentToOutputWeights</a>);</div> |
| <div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  <a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html">ManagedConstTensorHandle</a> managedForgetGateBias(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#af7f44bcc5b6cf669268a9ac0ff1446be">m_ForgetGateBias</a>);</div> |
| <div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  <a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html">ManagedConstTensorHandle</a> managedCellBias(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#a21a90800797f1e122bc44d7022001558">m_CellBias</a>);</div> |
| <div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  <a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html">ManagedConstTensorHandle</a> managedOutputGateBias(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#a950c538e326db48f4c26a354c2b982e3">m_OutputGateBias</a>);</div> |
| <div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  </div> |
| <div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  <span class="comment">// Cifg parameters</span></div> |
| <div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  <a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html">ManagedConstTensorHandle</a> managedInputToInputWeights(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#af53c478cc73821d29a83100b69de84c3">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_cifg_parameters.html#a281954ff495d27f7a29e42a98768c670">m_InputToInputWeights</a>);</div> |
| <div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  <a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html">ManagedConstTensorHandle</a> managedRecurrentToInputWeights(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#af53c478cc73821d29a83100b69de84c3">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_cifg_parameters.html#addfb6b081817510deb924c8fb5ce216c">m_RecurrentToInputWeights</a>);</div> |
| <div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  <a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html">ManagedConstTensorHandle</a> managedInputGateBias(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#af53c478cc73821d29a83100b69de84c3">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_cifg_parameters.html#a85684ffb2d12d0d04fbd188591488a2c">m_InputGateBias</a>);</div> |
| <div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  </div> |
| <div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  <span class="comment">// Projection parameters</span></div> |
| <div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  <a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html">ManagedConstTensorHandle</a> managedProjectionWeights(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#a3cbbd914f0d16664e785e30ffbe0dbf3">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_projection_parameters.html#aa8f5cf5d5130fefb77d2327dca341591">m_ProjectionWeights</a>);</div> |
| <div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  <a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html">ManagedConstTensorHandle</a> managedProjectionBias(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#a3cbbd914f0d16664e785e30ffbe0dbf3">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_projection_parameters.html#aa840abfe1cb869bce3d6daaebd2e86a7">m_ProjectionBias</a>);</div> |
| <div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  </div> |
| <div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  <span class="comment">// Peephole parameters</span></div> |
| <div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  <a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html">ManagedConstTensorHandle</a> managedCellToInputWeights(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#a4855b2b34766d4972a999e324ab88ee5">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_peephole_parameters.html#a9eb0e6bb91acbf59117a1460ce1dfd29">m_CellToInputWeights</a>);</div> |
| <div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  <a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html">ManagedConstTensorHandle</a> managedCellToForgetWeights(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#a4855b2b34766d4972a999e324ab88ee5">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_peephole_parameters.html#a0ccce0cf0ae71e89b20dfa48645494c8">m_CellToForgetWeights</a>);</div> |
| <div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  <a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html">ManagedConstTensorHandle</a> managedCellToOutputWeights(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#a4855b2b34766d4972a999e324ab88ee5">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_peephole_parameters.html#aeff3e3b8715c568fdff74a25ec40facb">m_CellToOutputWeights</a>);</div> |
| <div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  </div> |
| <div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  <span class="comment">// Layer normalisation parameters</span></div> |
| <div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  <a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html">ManagedConstTensorHandle</a> managedInputLayerNormWeights(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#ab43a687e3d705b3b0414d6fedb869e9d">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_layer_norm_parameters.html#a47786528c742271a3937535426934219">m_InputLayerNormWeights</a>);</div> |
| <div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  <a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html">ManagedConstTensorHandle</a> managedForgetLayerNormWeights(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#ab43a687e3d705b3b0414d6fedb869e9d">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_layer_norm_parameters.html#af03d5f9789e673011a9fa19a699530db">m_ForgetLayerNormWeights</a>);</div> |
| <div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  <a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html">ManagedConstTensorHandle</a> managedCellLayerNormWeights(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#ab43a687e3d705b3b0414d6fedb869e9d">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_layer_norm_parameters.html#a1f9668b1a4c275966aadeec9a4c11347">m_CellLayerNormWeights</a>);</div> |
| <div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  <a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html">ManagedConstTensorHandle</a> managedOutputLayerNormWeights(<a class="code" href="classarmnn_1_1_q_lstm_layer.html#ab43a687e3d705b3b0414d6fedb869e9d">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_layer_norm_parameters.html#a9c441c2706cbd0e925c02cdcb8916669">m_OutputLayerNormWeights</a>);</div> |
| <div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  </div> |
| <div class="line"><a name="l00340"></a><span class="lineno"> 340</span>  <span class="comment">// First add mandatory/basic parameters</span></div> |
| <div class="line"><a name="l00341"></a><span class="lineno"> 341</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#aafad117fb253359c1d472c9faefe49ef">m_InputToForgetWeights</a> != <span class="keyword">nullptr</span>)</div> |
| <div class="line"><a name="l00342"></a><span class="lineno"> 342</span>  {</div> |
| <div class="line"><a name="l00343"></a><span class="lineno"> 343</span>  constTensors.emplace_back(<a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a>(managedInputToForgetWeights.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a66e8f43a5b42b500871ed96e15419567">GetTensorInfo</a>(),</div> |
| <div class="line"><a name="l00344"></a><span class="lineno"> 344</span>  managedInputToForgetWeights.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a85e02725184184331cc2e3b00642be47">Map</a>()));</div> |
| <div class="line"><a name="l00345"></a><span class="lineno"> 345</span>  }</div> |
| <div class="line"><a name="l00346"></a><span class="lineno"> 346</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#ad3f42762262330534a4be0dde29a1318">m_InputToCellWeights</a> != <span class="keyword">nullptr</span>)</div> |
| <div class="line"><a name="l00347"></a><span class="lineno"> 347</span>  {</div> |
| <div class="line"><a name="l00348"></a><span class="lineno"> 348</span>  constTensors.emplace_back(<a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a>(managedInputToCellWeights.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a66e8f43a5b42b500871ed96e15419567">GetTensorInfo</a>(),</div> |
| <div class="line"><a name="l00349"></a><span class="lineno"> 349</span>  managedInputToCellWeights.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a85e02725184184331cc2e3b00642be47">Map</a>()));</div> |
| <div class="line"><a name="l00350"></a><span class="lineno"> 350</span>  }</div> |
| <div class="line"><a name="l00351"></a><span class="lineno"> 351</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#a3d4f6f42e10ba6f808a5244bb7853e7e">m_InputToOutputWeights</a> != <span class="keyword">nullptr</span>)</div> |
| <div class="line"><a name="l00352"></a><span class="lineno"> 352</span>  {</div> |
| <div class="line"><a name="l00353"></a><span class="lineno"> 353</span>  constTensors.emplace_back(<a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a>(managedInputToOutputWeights.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a66e8f43a5b42b500871ed96e15419567">GetTensorInfo</a>(),</div> |
| <div class="line"><a name="l00354"></a><span class="lineno"> 354</span>  managedInputToOutputWeights.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a85e02725184184331cc2e3b00642be47">Map</a>()));</div> |
| <div class="line"><a name="l00355"></a><span class="lineno"> 355</span>  }</div> |
| <div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#a1dd41cd674924907643cb088070a65d3">m_RecurrentToForgetWeights</a> != <span class="keyword">nullptr</span>)</div> |
| <div class="line"><a name="l00357"></a><span class="lineno"> 357</span>  {</div> |
| <div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  constTensors.emplace_back(<a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a>(</div> |
| <div class="line"><a name="l00359"></a><span class="lineno"> 359</span>  managedRecurrentToForgetWeights.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a66e8f43a5b42b500871ed96e15419567">GetTensorInfo</a>(),</div> |
| <div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  managedRecurrentToForgetWeights.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a85e02725184184331cc2e3b00642be47">Map</a>()));</div> |
| <div class="line"><a name="l00361"></a><span class="lineno"> 361</span>  }</div> |
| <div class="line"><a name="l00362"></a><span class="lineno"> 362</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#a608ed1a3d4135921ce33a286a87a072b">m_RecurrentToCellWeights</a> != <span class="keyword">nullptr</span>)</div> |
| <div class="line"><a name="l00363"></a><span class="lineno"> 363</span>  {</div> |
| <div class="line"><a name="l00364"></a><span class="lineno"> 364</span>  constTensors.emplace_back(<a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a>(</div> |
| <div class="line"><a name="l00365"></a><span class="lineno"> 365</span>  managedRecurrentToCellWeights.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a66e8f43a5b42b500871ed96e15419567">GetTensorInfo</a>(),</div> |
| <div class="line"><a name="l00366"></a><span class="lineno"> 366</span>  managedRecurrentToCellWeights.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a85e02725184184331cc2e3b00642be47">Map</a>()));</div> |
| <div class="line"><a name="l00367"></a><span class="lineno"> 367</span>  }</div> |
| <div class="line"><a name="l00368"></a><span class="lineno"> 368</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#addad136e04521a1d31cbebf7280c312e">m_RecurrentToOutputWeights</a> != <span class="keyword">nullptr</span>)</div> |
| <div class="line"><a name="l00369"></a><span class="lineno"> 369</span>  {</div> |
| <div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  constTensors.emplace_back(<a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a>(</div> |
| <div class="line"><a name="l00371"></a><span class="lineno"> 371</span>  managedRecurrentToOutputWeights.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a66e8f43a5b42b500871ed96e15419567">GetTensorInfo</a>(),</div> |
| <div class="line"><a name="l00372"></a><span class="lineno"> 372</span>  managedRecurrentToOutputWeights.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a85e02725184184331cc2e3b00642be47">Map</a>()));</div> |
| <div class="line"><a name="l00373"></a><span class="lineno"> 373</span>  }</div> |
| <div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#af7f44bcc5b6cf669268a9ac0ff1446be">m_ForgetGateBias</a> != <span class="keyword">nullptr</span>)</div> |
| <div class="line"><a name="l00375"></a><span class="lineno"> 375</span>  {</div> |
| <div class="line"><a name="l00376"></a><span class="lineno"> 376</span>  constTensors.emplace_back(<a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a>(managedForgetGateBias.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a66e8f43a5b42b500871ed96e15419567">GetTensorInfo</a>(),</div> |
| <div class="line"><a name="l00377"></a><span class="lineno"> 377</span>  managedForgetGateBias.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a85e02725184184331cc2e3b00642be47">Map</a>()));</div> |
| <div class="line"><a name="l00378"></a><span class="lineno"> 378</span>  }</div> |
| <div class="line"><a name="l00379"></a><span class="lineno"> 379</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#a21a90800797f1e122bc44d7022001558">m_CellBias</a> != <span class="keyword">nullptr</span>)</div> |
| <div class="line"><a name="l00380"></a><span class="lineno"> 380</span>  {</div> |
| <div class="line"><a name="l00381"></a><span class="lineno"> 381</span>  constTensors.emplace_back(<a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a>(managedCellBias.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a66e8f43a5b42b500871ed96e15419567">GetTensorInfo</a>(),</div> |
| <div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  managedCellBias.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a85e02725184184331cc2e3b00642be47">Map</a>()));</div> |
| <div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  }</div> |
| <div class="line"><a name="l00384"></a><span class="lineno"> 384</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_basic_parameters.html#a950c538e326db48f4c26a354c2b982e3">m_OutputGateBias</a> != <span class="keyword">nullptr</span>)</div> |
| <div class="line"><a name="l00385"></a><span class="lineno"> 385</span>  {</div> |
| <div class="line"><a name="l00386"></a><span class="lineno"> 386</span>  constTensors.emplace_back(<a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a>(managedOutputGateBias.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a66e8f43a5b42b500871ed96e15419567">GetTensorInfo</a>(),</div> |
| <div class="line"><a name="l00387"></a><span class="lineno"> 387</span>  managedOutputGateBias.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a85e02725184184331cc2e3b00642be47">Map</a>()));</div> |
| <div class="line"><a name="l00388"></a><span class="lineno"> 388</span>  }</div> |
| <div class="line"><a name="l00389"></a><span class="lineno"> 389</span>  </div> |
| <div class="line"><a name="l00390"></a><span class="lineno"> 390</span>  <span class="comment">// Add cifig parameters</span></div> |
| <div class="line"><a name="l00391"></a><span class="lineno"> 391</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_q_lstm_layer.html#af53c478cc73821d29a83100b69de84c3">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_cifg_parameters.html#a281954ff495d27f7a29e42a98768c670">m_InputToInputWeights</a> != <span class="keyword">nullptr</span>)</div> |
| <div class="line"><a name="l00392"></a><span class="lineno"> 392</span>  {</div> |
| <div class="line"><a name="l00393"></a><span class="lineno"> 393</span>  constTensors.emplace_back(<a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a>(managedInputToInputWeights.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a66e8f43a5b42b500871ed96e15419567">GetTensorInfo</a>(),</div> |
| <div class="line"><a name="l00394"></a><span class="lineno"> 394</span>  managedInputToInputWeights.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a85e02725184184331cc2e3b00642be47">Map</a>()));</div> |
| <div class="line"><a name="l00395"></a><span class="lineno"> 395</span>  }</div> |
| <div class="line"><a name="l00396"></a><span class="lineno"> 396</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_q_lstm_layer.html#af53c478cc73821d29a83100b69de84c3">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_cifg_parameters.html#addfb6b081817510deb924c8fb5ce216c">m_RecurrentToInputWeights</a> != <span class="keyword">nullptr</span>)</div> |
| <div class="line"><a name="l00397"></a><span class="lineno"> 397</span>  {</div> |
| <div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  constTensors.emplace_back(<a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a>(</div> |
| <div class="line"><a name="l00399"></a><span class="lineno"> 399</span>  managedRecurrentToInputWeights.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a66e8f43a5b42b500871ed96e15419567">GetTensorInfo</a>(),</div> |
| <div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  managedRecurrentToInputWeights.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a85e02725184184331cc2e3b00642be47">Map</a>()));</div> |
| <div class="line"><a name="l00401"></a><span class="lineno"> 401</span>  }</div> |
| <div class="line"><a name="l00402"></a><span class="lineno"> 402</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_q_lstm_layer.html#af53c478cc73821d29a83100b69de84c3">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_cifg_parameters.html#a85684ffb2d12d0d04fbd188591488a2c">m_InputGateBias</a> != <span class="keyword">nullptr</span>)</div> |
| <div class="line"><a name="l00403"></a><span class="lineno"> 403</span>  {</div> |
| <div class="line"><a name="l00404"></a><span class="lineno"> 404</span>  constTensors.emplace_back(<a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a>(managedInputGateBias.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a66e8f43a5b42b500871ed96e15419567">GetTensorInfo</a>(),</div> |
| <div class="line"><a name="l00405"></a><span class="lineno"> 405</span>  managedInputGateBias.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a85e02725184184331cc2e3b00642be47">Map</a>()));</div> |
| <div class="line"><a name="l00406"></a><span class="lineno"> 406</span>  }</div> |
| <div class="line"><a name="l00407"></a><span class="lineno"> 407</span>  </div> |
| <div class="line"><a name="l00408"></a><span class="lineno"> 408</span>  <span class="comment">// Add peephole parameters</span></div> |
| <div class="line"><a name="l00409"></a><span class="lineno"> 409</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_q_lstm_layer.html#a4855b2b34766d4972a999e324ab88ee5">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_peephole_parameters.html#a9eb0e6bb91acbf59117a1460ce1dfd29">m_CellToInputWeights</a> != <span class="keyword">nullptr</span>)</div> |
| <div class="line"><a name="l00410"></a><span class="lineno"> 410</span>  {</div> |
| <div class="line"><a name="l00411"></a><span class="lineno"> 411</span>  constTensors.emplace_back(<a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a>(managedCellToInputWeights.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a66e8f43a5b42b500871ed96e15419567">GetTensorInfo</a>(),</div> |
| <div class="line"><a name="l00412"></a><span class="lineno"> 412</span>  managedCellToInputWeights.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a85e02725184184331cc2e3b00642be47">Map</a>()));</div> |
| <div class="line"><a name="l00413"></a><span class="lineno"> 413</span>  }</div> |
| <div class="line"><a name="l00414"></a><span class="lineno"> 414</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_q_lstm_layer.html#a4855b2b34766d4972a999e324ab88ee5">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_peephole_parameters.html#a0ccce0cf0ae71e89b20dfa48645494c8">m_CellToForgetWeights</a> != <span class="keyword">nullptr</span>)</div> |
| <div class="line"><a name="l00415"></a><span class="lineno"> 415</span>  {</div> |
| <div class="line"><a name="l00416"></a><span class="lineno"> 416</span>  constTensors.emplace_back(<a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a>(managedCellToForgetWeights.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a66e8f43a5b42b500871ed96e15419567">GetTensorInfo</a>(),</div> |
| <div class="line"><a name="l00417"></a><span class="lineno"> 417</span>  managedCellToForgetWeights.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a85e02725184184331cc2e3b00642be47">Map</a>()));</div> |
| <div class="line"><a name="l00418"></a><span class="lineno"> 418</span>  }</div> |
| <div class="line"><a name="l00419"></a><span class="lineno"> 419</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_q_lstm_layer.html#a4855b2b34766d4972a999e324ab88ee5">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_peephole_parameters.html#aeff3e3b8715c568fdff74a25ec40facb">m_CellToOutputWeights</a> != <span class="keyword">nullptr</span>)</div> |
| <div class="line"><a name="l00420"></a><span class="lineno"> 420</span>  {</div> |
| <div class="line"><a name="l00421"></a><span class="lineno"> 421</span>  constTensors.emplace_back(<a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a>(managedCellToOutputWeights.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a66e8f43a5b42b500871ed96e15419567">GetTensorInfo</a>(),</div> |
| <div class="line"><a name="l00422"></a><span class="lineno"> 422</span>  managedCellToOutputWeights.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a85e02725184184331cc2e3b00642be47">Map</a>()));</div> |
| <div class="line"><a name="l00423"></a><span class="lineno"> 423</span>  }</div> |
| <div class="line"><a name="l00424"></a><span class="lineno"> 424</span>  </div> |
| <div class="line"><a name="l00425"></a><span class="lineno"> 425</span>  <span class="comment">// Add projection parameters</span></div> |
| <div class="line"><a name="l00426"></a><span class="lineno"> 426</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_q_lstm_layer.html#a3cbbd914f0d16664e785e30ffbe0dbf3">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_projection_parameters.html#aa8f5cf5d5130fefb77d2327dca341591">m_ProjectionWeights</a> != <span class="keyword">nullptr</span>)</div> |
| <div class="line"><a name="l00427"></a><span class="lineno"> 427</span>  {</div> |
| <div class="line"><a name="l00428"></a><span class="lineno"> 428</span>  constTensors.emplace_back(<a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a>(managedProjectionWeights.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a66e8f43a5b42b500871ed96e15419567">GetTensorInfo</a>(),</div> |
| <div class="line"><a name="l00429"></a><span class="lineno"> 429</span>  managedProjectionWeights.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a85e02725184184331cc2e3b00642be47">Map</a>()));</div> |
| <div class="line"><a name="l00430"></a><span class="lineno"> 430</span>  }</div> |
| <div class="line"><a name="l00431"></a><span class="lineno"> 431</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_q_lstm_layer.html#a3cbbd914f0d16664e785e30ffbe0dbf3">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_projection_parameters.html#aa840abfe1cb869bce3d6daaebd2e86a7">m_ProjectionBias</a> != <span class="keyword">nullptr</span>)</div> |
| <div class="line"><a name="l00432"></a><span class="lineno"> 432</span>  {</div> |
| <div class="line"><a name="l00433"></a><span class="lineno"> 433</span>  constTensors.emplace_back(<a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a>(managedProjectionBias.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a66e8f43a5b42b500871ed96e15419567">GetTensorInfo</a>(),</div> |
| <div class="line"><a name="l00434"></a><span class="lineno"> 434</span>  managedProjectionBias.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a85e02725184184331cc2e3b00642be47">Map</a>()));</div> |
| <div class="line"><a name="l00435"></a><span class="lineno"> 435</span>  }</div> |
| <div class="line"><a name="l00436"></a><span class="lineno"> 436</span>  </div> |
| <div class="line"><a name="l00437"></a><span class="lineno"> 437</span>  <span class="comment">// Add norm parameters</span></div> |
| <div class="line"><a name="l00438"></a><span class="lineno"> 438</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_q_lstm_layer.html#ab43a687e3d705b3b0414d6fedb869e9d">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_layer_norm_parameters.html#a47786528c742271a3937535426934219">m_InputLayerNormWeights</a> != <span class="keyword">nullptr</span>)</div> |
| <div class="line"><a name="l00439"></a><span class="lineno"> 439</span>  {</div> |
| <div class="line"><a name="l00440"></a><span class="lineno"> 440</span>  constTensors.emplace_back(<a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a>(managedInputLayerNormWeights.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a66e8f43a5b42b500871ed96e15419567">GetTensorInfo</a>(),</div> |
| <div class="line"><a name="l00441"></a><span class="lineno"> 441</span>  managedInputLayerNormWeights.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a85e02725184184331cc2e3b00642be47">Map</a>()));</div> |
| <div class="line"><a name="l00442"></a><span class="lineno"> 442</span>  }</div> |
| <div class="line"><a name="l00443"></a><span class="lineno"> 443</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_q_lstm_layer.html#ab43a687e3d705b3b0414d6fedb869e9d">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_layer_norm_parameters.html#af03d5f9789e673011a9fa19a699530db">m_ForgetLayerNormWeights</a> != <span class="keyword">nullptr</span>)</div> |
| <div class="line"><a name="l00444"></a><span class="lineno"> 444</span>  {</div> |
| <div class="line"><a name="l00445"></a><span class="lineno"> 445</span>  constTensors.emplace_back(<a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a>(managedForgetLayerNormWeights.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a66e8f43a5b42b500871ed96e15419567">GetTensorInfo</a>(),</div> |
| <div class="line"><a name="l00446"></a><span class="lineno"> 446</span>  managedForgetLayerNormWeights.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a85e02725184184331cc2e3b00642be47">Map</a>()));</div> |
| <div class="line"><a name="l00447"></a><span class="lineno"> 447</span>  }</div> |
| <div class="line"><a name="l00448"></a><span class="lineno"> 448</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_q_lstm_layer.html#ab43a687e3d705b3b0414d6fedb869e9d">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_layer_norm_parameters.html#a1f9668b1a4c275966aadeec9a4c11347">m_CellLayerNormWeights</a> != <span class="keyword">nullptr</span>)</div> |
| <div class="line"><a name="l00449"></a><span class="lineno"> 449</span>  {</div> |
| <div class="line"><a name="l00450"></a><span class="lineno"> 450</span>  constTensors.emplace_back(<a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a>(managedCellLayerNormWeights.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a66e8f43a5b42b500871ed96e15419567">GetTensorInfo</a>(),</div> |
| <div class="line"><a name="l00451"></a><span class="lineno"> 451</span>  managedCellLayerNormWeights.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a85e02725184184331cc2e3b00642be47">Map</a>()));</div> |
| <div class="line"><a name="l00452"></a><span class="lineno"> 452</span>  }</div> |
| <div class="line"><a name="l00453"></a><span class="lineno"> 453</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_q_lstm_layer.html#ab43a687e3d705b3b0414d6fedb869e9d">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_q_lstm_opt_layer_norm_parameters.html#a9c441c2706cbd0e925c02cdcb8916669">m_OutputLayerNormWeights</a> != <span class="keyword">nullptr</span>)</div> |
| <div class="line"><a name="l00454"></a><span class="lineno"> 454</span>  {</div> |
| <div class="line"><a name="l00455"></a><span class="lineno"> 455</span>  constTensors.emplace_back(<a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a>(managedOutputLayerNormWeights.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a66e8f43a5b42b500871ed96e15419567">GetTensorInfo</a>(),</div> |
| <div class="line"><a name="l00456"></a><span class="lineno"> 456</span>  managedOutputLayerNormWeights.<a class="code" href="classarmnn_1_1_managed_const_tensor_handle.html#a85e02725184184331cc2e3b00642be47">Map</a>()));</div> |
| <div class="line"><a name="l00457"></a><span class="lineno"> 457</span>  }</div> |
| <div class="line"><a name="l00458"></a><span class="lineno"> 458</span>  strategy.<a class="code" href="classarmnn_1_1_i_strategy.html#ad4f8c9ff973cf6a603d26b56c5b34967">ExecuteStrategy</a>(<span class="keyword">this</span>, <a class="code" href="classarmnn_1_1_layer_with_parameters.html#afa3e8a8f23589b1eaddbe203825bbdcf">GetParameters</a>(), constTensors, <a class="code" href="classarmnn_1_1_layer.html#a7ddf0cf6f620d59c10e63495ace795d0">GetName</a>());</div> |
| <div class="line"><a name="l00459"></a><span class="lineno"> 459</span> }</div> |
| <div class="line"><a name="l00460"></a><span class="lineno"> 460</span>  </div> |
| <div class="line"><a name="l00461"></a><span class="lineno"> 461</span> } <span class="comment">// namespace armnn</span></div> |
| </div><!-- fragment --></div><!-- contents --> |
| </div><!-- doc-content --> |
| <div class="ttc" id="a_assert_8hpp_html_a5698be69cbd5dfe6c28fcd9867e8cbed"><div class="ttname"><a href="_assert_8hpp.html#a5698be69cbd5dfe6c28fcd9867e8cbed">ARMNN_ASSERT</a></div><div class="ttdeci">#define ARMNN_ASSERT(COND)</div><div class="ttdef"><b>Definition:</b> <a href="_assert_8hpp_source.html#l00014">Assert.hpp:14</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_q_lstm_layer_html_af53c478cc73821d29a83100b69de84c3"><div class="ttname"><a href="classarmnn_1_1_q_lstm_layer.html#af53c478cc73821d29a83100b69de84c3">armnn::QLstmLayer::m_CifgParameters</a></div><div class="ttdeci">QLstmOptCifgParameters m_CifgParameters</div><div class="ttdef"><b>Definition:</b> <a href="_q_lstm_layer_8hpp_source.html#l00084">QLstmLayer.hpp:84</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_opt_peephole_parameters_html_a0ccce0cf0ae71e89b20dfa48645494c8"><div class="ttname"><a href="structarmnn_1_1_q_lstm_opt_peephole_parameters.html#a0ccce0cf0ae71e89b20dfa48645494c8">armnn::QLstmOptPeepholeParameters::m_CellToForgetWeights</a></div><div class="ttdeci">std::shared_ptr< ConstTensorHandle > m_CellToForgetWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units] (QSymmS16).</div><div class="ttdef"><b>Definition:</b> <a href="_q_lstm_layer_8hpp_source.html#l00051">QLstmLayer.hpp:51</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_q_lstm_descriptor.html">armnn::QLstmDescriptor</a></div><div class="ttdoc">A QLstmDescriptor for the QLstmLayer.</div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l01380">Descriptors.hpp:1380</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_basic_parameters_html_af7f44bcc5b6cf669268a9ac0ff1446be"><div class="ttname"><a href="structarmnn_1_1_q_lstm_basic_parameters.html#af7f44bcc5b6cf669268a9ac0ff1446be">armnn::QLstmBasicParameters::m_ForgetGateBias</a></div><div class="ttdeci">std::shared_ptr< ConstTensorHandle > m_ForgetGateBias</div><div class="ttdoc">A unique pointer to represent 1D bias tensor with dimensions [num_units] (int32).</div><div class="ttdef"><b>Definition:</b> <a href="_q_lstm_layer_8hpp_source.html#l00031">QLstmLayer.hpp:31</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_descriptor_html_a6c9de81fc65b3c4924cab11907075a17"><div class="ttname"><a href="structarmnn_1_1_q_lstm_descriptor.html#a6c9de81fc65b3c4924cab11907075a17">armnn::QLstmDescriptor::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#l01422">Descriptors.hpp:1422</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_q_lstm_layer_html"><div class="ttname"><a href="classarmnn_1_1_q_lstm_layer.html">armnn::QLstmLayer</a></div><div class="ttdoc">This layer represents a QLstm operation.</div><div class="ttdef"><b>Definition:</b> <a href="_q_lstm_layer_8hpp_source.html#l00079">QLstmLayer.hpp:79</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_output_slot_html_ada2ad7d1caeeb4ef6195c8925fad6a65"><div class="ttname"><a href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">armnn::OutputSlot::GetTensorInfo</a></div><div class="ttdeci">const TensorInfo & GetTensorInfo() const override</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8cpp_source.html#l00092">Layer.cpp:92</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_queue_descriptor_html_aab77f54a037658ca9b2bf9cc8a1fadf1"><div class="ttname"><a href="structarmnn_1_1_q_lstm_queue_descriptor.html#aab77f54a037658ca9b2bf9cc8a1fadf1">armnn::QLstmQueueDescriptor::m_InputToForgetWeights</a></div><div class="ttdeci">const ConstTensorHandle * m_InputToForgetWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00590">WorkloadData.hpp:590</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_opt_layer_norm_parameters_html_af03d5f9789e673011a9fa19a699530db"><div class="ttname"><a href="structarmnn_1_1_q_lstm_opt_layer_norm_parameters.html#af03d5f9789e673011a9fa19a699530db">armnn::QLstmOptLayerNormParameters::m_ForgetLayerNormWeights</a></div><div class="ttdeci">std::shared_ptr< ConstTensorHandle > m_ForgetLayerNormWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units] (QSymmS16).</div><div class="ttdef"><b>Definition:</b> <a href="_q_lstm_layer_8hpp_source.html#l00071">QLstmLayer.hpp:71</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_queue_descriptor_html_a1dbad32cad5c0437e1272f59fedf52ea"><div class="ttname"><a href="structarmnn_1_1_q_lstm_queue_descriptor.html#a1dbad32cad5c0437e1272f59fedf52ea">armnn::QLstmQueueDescriptor::m_InputLayerNormWeights</a></div><div class="ttdeci">const ConstTensorHandle * m_InputLayerNormWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00606">WorkloadData.hpp:606</a></div></div> |
| <div class="ttc" id="a_types_utils_8hpp_html"><div class="ttname"><a href="_types_utils_8hpp.html">TypesUtils.hpp</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_q_lstm_layer_html_a3b6119b6dde56939098f0d36e4e6b633"><div class="ttname"><a href="classarmnn_1_1_q_lstm_layer.html#a3b6119b6dde56939098f0d36e4e6b633">armnn::QLstmLayer::QLstmLayer</a></div><div class="ttdeci">QLstmLayer(const QLstmDescriptor &param, const char *name)</div><div class="ttdoc">Constructor to create a QLstmLayer.</div><div class="ttdef"><b>Definition:</b> <a href="_q_lstm_layer_8cpp_source.html#l00017">QLstmLayer.cpp:17</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_q_lstm_layer_html_ac1c16df49489aead2241b460f103f454"><div class="ttname"><a href="classarmnn_1_1_q_lstm_layer.html#ac1c16df49489aead2241b460f103f454">armnn::QLstmLayer::Clone</a></div><div class="ttdeci">QLstmLayer * Clone(Graph &graph) const override</div><div class="ttdoc">Creates a dynamically-allocated copy of this layer.</div><div class="ttdef"><b>Definition:</b> <a href="_q_lstm_layer_8cpp_source.html#l00081">QLstmLayer.cpp:81</a></div></div> |
| <div class="ttc" id="a_exceptions_8hpp_html_aa3be76aec4ce713822a5ea1ecbb7bc61"><div class="ttname"><a href="_exceptions_8hpp.html#aa3be76aec4ce713822a5ea1ecbb7bc61">CHECK_LOCATION</a></div><div class="ttdeci">#define CHECK_LOCATION()</div><div class="ttdef"><b>Definition:</b> <a href="_exceptions_8hpp_source.html#l00203">Exceptions.hpp:203</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_opt_peephole_parameters_html_aeff3e3b8715c568fdff74a25ec40facb"><div class="ttname"><a href="structarmnn_1_1_q_lstm_opt_peephole_parameters.html#aeff3e3b8715c568fdff74a25ec40facb">armnn::QLstmOptPeepholeParameters::m_CellToOutputWeights</a></div><div class="ttdeci">std::shared_ptr< ConstTensorHandle > m_CellToOutputWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units] (QSymmS16).</div><div class="ttdef"><b>Definition:</b> <a href="_q_lstm_layer_8hpp_source.html#l00053">QLstmLayer.hpp:53</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_layer_html_aeb2d638cc0e02c10075e015100996f2d"><div class="ttname"><a href="classarmnn_1_1_layer.html#aeb2d638cc0e02c10075e015100996f2d">armnn::Layer::ValidateAndCopyShape</a></div><div class="ttdeci">void ValidateAndCopyShape(const TensorShape &outputShape, const TensorShape &inferredShape, const ShapeInferenceMethod shapeInferenceMethod, const std::string &layerName, const unsigned int outputSlotIndex=0)</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8cpp_source.html#l00435">Layer.cpp:435</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_opt_layer_norm_parameters_html_a9c441c2706cbd0e925c02cdcb8916669"><div class="ttname"><a href="structarmnn_1_1_q_lstm_opt_layer_norm_parameters.html#a9c441c2706cbd0e925c02cdcb8916669">armnn::QLstmOptLayerNormParameters::m_OutputLayerNormWeights</a></div><div class="ttdeci">std::shared_ptr< ConstTensorHandle > m_OutputLayerNormWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units] (QSymmS16).</div><div class="ttdef"><b>Definition:</b> <a href="_q_lstm_layer_8hpp_source.html#l00075">QLstmLayer.hpp:75</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_layer_html_a0e36688a43c35668d8db5257274c68fe"><div class="ttname"><a href="classarmnn_1_1_layer.html#a0e36688a43c35668d8db5257274c68fe">armnn::Layer::GetOutputSlot</a></div><div class="ttdeci">const OutputSlot & GetOutputSlot(unsigned int index=0) const override</div><div class="ttdoc">Get the const output slot handle by slot index.</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00339">Layer.hpp:339</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_queue_descriptor_html_ab160eba2493d5fe52185c0986dcb190c"><div class="ttname"><a href="structarmnn_1_1_q_lstm_queue_descriptor.html#ab160eba2493d5fe52185c0986dcb190c">armnn::QLstmQueueDescriptor::m_InputToInputWeights</a></div><div class="ttdeci">const ConstTensorHandle * m_InputToInputWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00589">WorkloadData.hpp:589</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_i_strategy_html"><div class="ttname"><a href="classarmnn_1_1_i_strategy.html">armnn::IStrategy</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_strategy_8hpp_source.html#l00016">IStrategy.hpp:16</a></div></div> |
| <div class="ttc" id="a_assert_8hpp_html_a91c4dfde57907d7698c7531785690a7f"><div class="ttname"><a href="_assert_8hpp.html#a91c4dfde57907d7698c7531785690a7f">ARMNN_ASSERT_MSG</a></div><div class="ttdeci">#define ARMNN_ASSERT_MSG(COND, MSG)</div><div class="ttdef"><b>Definition:</b> <a href="_assert_8hpp_source.html#l00015">Assert.hpp:15</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_managed_const_tensor_handle_html"><div class="ttname"><a href="classarmnn_1_1_managed_const_tensor_handle.html">armnn::ManagedConstTensorHandle</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_handle_8hpp_source.html#l00187">TensorHandle.hpp:187</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_layer_html_acf8b8e23bf647836592982f97088d375"><div class="ttname"><a href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">armnn::Layer::GetInputSlot</a></div><div class="ttdeci">const InputSlot & GetInputSlot(unsigned int index) const override</div><div class="ttdoc">Get a const input slot handle by slot index.</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00337">Layer.hpp:337</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_layer_with_parameters_html_afa3e8a8f23589b1eaddbe203825bbdcf"><div class="ttname"><a href="classarmnn_1_1_layer_with_parameters.html#afa3e8a8f23589b1eaddbe203825bbdcf">armnn::LayerWithParameters< QLstmDescriptor >::GetParameters</a></div><div class="ttdeci">const QLstmDescriptor & GetParameters() const override</div><div class="ttdef"><b>Definition:</b> <a href="_layer_with_parameters_8hpp_source.html#l00019">LayerWithParameters.hpp:19</a></div></div> |
| <div class="ttc" id="a_workload_factory_8hpp_html"><div class="ttname"><a href="_workload_factory_8hpp.html">WorkloadFactory.hpp</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_layer_with_parameters_html"><div class="ttname"><a href="classarmnn_1_1_layer_with_parameters.html">armnn::LayerWithParameters</a></div><div class="ttdef"><b>Definition:</b> <a href="_layer_with_parameters_8hpp_source.html#l00014">LayerWithParameters.hpp:14</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_queue_descriptor_html_a3ead2ef8da00b2709d561d85996fc513"><div class="ttname"><a href="structarmnn_1_1_q_lstm_queue_descriptor.html#a3ead2ef8da00b2709d561d85996fc513">armnn::QLstmQueueDescriptor::m_ProjectionWeights</a></div><div class="ttdeci">const ConstTensorHandle * m_ProjectionWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00604">WorkloadData.hpp:604</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_opt_projection_parameters_html_aa8f5cf5d5130fefb77d2327dca341591"><div class="ttname"><a href="structarmnn_1_1_q_lstm_opt_projection_parameters.html#aa8f5cf5d5130fefb77d2327dca341591">armnn::QLstmOptProjectionParameters::m_ProjectionWeights</a></div><div class="ttdeci">std::shared_ptr< ConstTensorHandle > m_ProjectionWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [output_size, num_units] (QSymmS8).</div><div class="ttdef"><b>Definition:</b> <a href="_q_lstm_layer_8hpp_source.html#l00041">QLstmLayer.hpp:41</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_queue_descriptor_html_ad9442e26aa79f896da5f404ab825a9c8"><div class="ttname"><a href="structarmnn_1_1_q_lstm_queue_descriptor.html#ad9442e26aa79f896da5f404ab825a9c8">armnn::QLstmQueueDescriptor::m_ForgetLayerNormWeights</a></div><div class="ttdeci">const ConstTensorHandle * m_ForgetLayerNormWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00607">WorkloadData.hpp:607</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_layer_html_a7ddf0cf6f620d59c10e63495ace795d0"><div class="ttname"><a href="classarmnn_1_1_layer.html#a7ddf0cf6f620d59c10e63495ace795d0">armnn::Layer::GetName</a></div><div class="ttdeci">const char * GetName() const override</div><div class="ttdoc">Returns the name of the layer.</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00332">Layer.hpp:332</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_queue_descriptor_html_a4c27716f61bb68e8ea0bd4e8389ba01a"><div class="ttname"><a href="structarmnn_1_1_q_lstm_queue_descriptor.html#a4c27716f61bb68e8ea0bd4e8389ba01a">armnn::QLstmQueueDescriptor::m_RecurrentToOutputWeights</a></div><div class="ttdeci">const ConstTensorHandle * m_RecurrentToOutputWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00596">WorkloadData.hpp:596</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_opt_layer_norm_parameters_html_a1f9668b1a4c275966aadeec9a4c11347"><div class="ttname"><a href="structarmnn_1_1_q_lstm_opt_layer_norm_parameters.html#a1f9668b1a4c275966aadeec9a4c11347">armnn::QLstmOptLayerNormParameters::m_CellLayerNormWeights</a></div><div class="ttdeci">std::shared_ptr< ConstTensorHandle > m_CellLayerNormWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units] (QSymmS16).</div><div class="ttdef"><b>Definition:</b> <a href="_q_lstm_layer_8hpp_source.html#l00073">QLstmLayer.hpp:73</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_i_connectable_layer_html_aba5c20cadbebd2e7ba67e20a47e31472"><div class="ttname"><a href="classarmnn_1_1_i_connectable_layer.html#aba5c20cadbebd2e7ba67e20a47e31472">armnn::IConnectableLayer::ImmutableConstantTensors</a></div><div class="ttdeci">std::vector< std::reference_wrapper< const std::shared_ptr< ConstTensorHandle > >> ImmutableConstantTensors</div><div class="ttdef"><b>Definition:</b> <a href="_i_network_8hpp_source.html#l00141">INetwork.hpp:141</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_input_slot_html_ada2ad7d1caeeb4ef6195c8925fad6a65"><div class="ttname"><a href="classarmnn_1_1_input_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">armnn::InputSlot::GetTensorInfo</a></div><div class="ttdeci">const TensorInfo & GetTensorInfo() const override</div><div class="ttdoc">Gets the TensorInfo for this InputSlot.</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8cpp_source.html#l00592">Layer.cpp:592</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_tensor_shape_html"><div class="ttname"><a href="classarmnn_1_1_tensor_shape.html">armnn::TensorShape</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00020">Tensor.hpp:20</a></div></div> |
| <div class="ttc" id="a_lstm_params_8hpp_html"><div class="ttname"><a href="_lstm_params_8hpp.html">LstmParams.hpp</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_queue_descriptor_html_aa09f7bdb9fd0d06b6386e412a4e72dd6"><div class="ttname"><a href="structarmnn_1_1_q_lstm_queue_descriptor.html#aa09f7bdb9fd0d06b6386e412a4e72dd6">armnn::QLstmQueueDescriptor::m_CellToOutputWeights</a></div><div class="ttdeci">const ConstTensorHandle * m_CellToOutputWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00599">WorkloadData.hpp:599</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_layer_with_parameters_html_ad32ac22bc72e28dfd6b466d143c8e262"><div class="ttname"><a href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">armnn::LayerWithParameters< QLstmDescriptor >::m_Param</a></div><div class="ttdeci">QLstmDescriptor m_Param</div><div class="ttdoc">The parameters for the layer (not including tensor-valued weights etc.).</div><div class="ttdef"><b>Definition:</b> <a href="_layer_with_parameters_8hpp_source.html#l00052">LayerWithParameters.hpp:52</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_queue_descriptor_html_a20c10fcb26657477377d07b7b1e13120"><div class="ttname"><a href="structarmnn_1_1_q_lstm_queue_descriptor.html#a20c10fcb26657477377d07b7b1e13120">armnn::QLstmQueueDescriptor::m_CellToForgetWeights</a></div><div class="ttdeci">const ConstTensorHandle * m_CellToForgetWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00598">WorkloadData.hpp:598</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_opt_peephole_parameters_html_a9eb0e6bb91acbf59117a1460ce1dfd29"><div class="ttname"><a href="structarmnn_1_1_q_lstm_opt_peephole_parameters.html#a9eb0e6bb91acbf59117a1460ce1dfd29">armnn::QLstmOptPeepholeParameters::m_CellToInputWeights</a></div><div class="ttdeci">std::shared_ptr< ConstTensorHandle > m_CellToInputWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units] (QSymmS16).</div><div class="ttdef"><b>Definition:</b> <a href="_q_lstm_layer_8hpp_source.html#l00049">QLstmLayer.hpp:49</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_layer_with_parameters_html_a30a858b2b26d651a066537e499fbf40d"><div class="ttname"><a href="classarmnn_1_1_layer_with_parameters.html#a30a858b2b26d651a066537e499fbf40d">armnn::LayerWithParameters< QLstmDescriptor >::PrepInfoAndDesc</a></div><div class="ttdeci">WorkloadInfo PrepInfoAndDesc(QueueDescriptor &descriptor) const</div><div class="ttdoc">Helper function to reduce duplication in *Layer::CreateWorkload.</div><div class="ttdef"><b>Definition:</b> <a href="_layer_with_parameters_8hpp_source.html#l00044">LayerWithParameters.hpp:44</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_q_lstm_layer_html_adfa912d0c4c6c00f1af2cbfa799572b7"><div class="ttname"><a href="classarmnn_1_1_q_lstm_layer.html#adfa912d0c4c6c00f1af2cbfa799572b7">armnn::QLstmLayer::CreateWorkload</a></div><div class="ttdeci">virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override</div><div class="ttdoc">Makes a workload for the QLstm type.</div><div class="ttdef"><b>Definition:</b> <a href="_q_lstm_layer_8cpp_source.html#l00022">QLstmLayer.cpp:22</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_i_workload_factory_html"><div class="ttname"><a href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_workload_factory_8hpp_source.html#l00022">WorkloadFactory.hpp:22</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_queue_descriptor_html_a0e0f66bd03c88f3d2dc666f581d3cf12"><div class="ttname"><a href="structarmnn_1_1_q_lstm_queue_descriptor.html#a0e0f66bd03c88f3d2dc666f581d3cf12">armnn::QLstmQueueDescriptor::m_OutputLayerNormWeights</a></div><div class="ttdeci">const ConstTensorHandle * m_OutputLayerNormWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00609">WorkloadData.hpp:609</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_queue_descriptor_html_a44eb7524badcca9b2073359e3814c98b"><div class="ttname"><a href="structarmnn_1_1_q_lstm_queue_descriptor.html#a44eb7524badcca9b2073359e3814c98b">armnn::QLstmQueueDescriptor::m_InputGateBias</a></div><div class="ttdeci">const ConstTensorHandle * m_InputGateBias</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00600">WorkloadData.hpp:600</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_queue_descriptor_html_a5ff4158b1b363b898d0da04c42d37ce0"><div class="ttname"><a href="structarmnn_1_1_q_lstm_queue_descriptor.html#a5ff4158b1b363b898d0da04c42d37ce0">armnn::QLstmQueueDescriptor::m_OutputGateBias</a></div><div class="ttdeci">const ConstTensorHandle * m_OutputGateBias</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00603">WorkloadData.hpp:603</a></div></div> |
| <div class="ttc" id="a_q_lstm_layer_8hpp_html"><div class="ttname"><a href="_q_lstm_layer_8hpp.html">QLstmLayer.hpp</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_opt_cifg_parameters_html_addfb6b081817510deb924c8fb5ce216c"><div class="ttname"><a href="structarmnn_1_1_q_lstm_opt_cifg_parameters.html#addfb6b081817510deb924c8fb5ce216c">armnn::QLstmOptCifgParameters::m_RecurrentToInputWeights</a></div><div class="ttdeci">std::shared_ptr< ConstTensorHandle > m_RecurrentToInputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [input_size, num_units] (QSymmS8).</div><div class="ttdef"><b>Definition:</b> <a href="_q_lstm_layer_8hpp_source.html#l00061">QLstmLayer.hpp:61</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_layer_html_a448afc716fda85394df1e8e5b7d530e8"><div class="ttname"><a href="classarmnn_1_1_layer.html#a448afc716fda85394df1e8e5b7d530e8">armnn::Layer::VerifyShapeInferenceType</a></div><div class="ttdeci">void VerifyShapeInferenceType(const TensorShape &outputShape, ShapeInferenceMethod shapeInferenceMethod)</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8cpp_source.html#l00504">Layer.cpp:504</a></div></div> |
| <div class="ttc" id="anamespacearmnn_html_aa815fde54f6d8e8aa5b4f0301cf4178b"><div class="ttname"><a href="namespacearmnn.html#aa815fde54f6d8e8aa5b4f0301cf4178b">armnn::GetTensorInfo</a></div><div class="ttdeci">const TensorInfo & GetTensorInfo(const ITensorHandle *tensorHandle)</div><div class="ttdoc">float32 helpers</div><div class="ttdef"><b>Definition:</b> <a href="_ref_workload_utils_8hpp_source.html#l00033">RefWorkloadUtils.hpp:33</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_managed_const_tensor_handle_html_a85e02725184184331cc2e3b00642be47"><div class="ttname"><a href="classarmnn_1_1_managed_const_tensor_handle.html#a85e02725184184331cc2e3b00642be47">armnn::ManagedConstTensorHandle::Map</a></div><div class="ttdeci">const void * Map(bool blocking=true)</div><div class="ttdoc">RAII Managed resource Unmaps MemoryArea once out of scope.</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_handle_8hpp_source.html#l00196">TensorHandle.hpp:196</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_queue_descriptor_html_a29fa293fffbf9c6f00cd75db1dc0a52a"><div class="ttname"><a href="structarmnn_1_1_q_lstm_queue_descriptor.html#a29fa293fffbf9c6f00cd75db1dc0a52a">armnn::QLstmQueueDescriptor::m_ForgetGateBias</a></div><div class="ttdeci">const ConstTensorHandle * m_ForgetGateBias</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00601">WorkloadData.hpp:601</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_layer_html_af7f0460d32511de0da525f1817d13e8c"><div class="ttname"><a href="classarmnn_1_1_layer.html#af7f0460d32511de0da525f1817d13e8c">armnn::Layer::SetAdditionalInfo</a></div><div class="ttdeci">void SetAdditionalInfo(QueueDescriptor &descriptor) const</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8cpp_source.html#l00287">Layer.cpp:287</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_queue_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_q_lstm_queue_descriptor.html">armnn::QLstmQueueDescriptor</a></div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00562">WorkloadData.hpp:562</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_queue_descriptor_html_a299587d4f3fca029492700f3e2585bd8"><div class="ttname"><a href="structarmnn_1_1_q_lstm_queue_descriptor.html#a299587d4f3fca029492700f3e2585bd8">armnn::QLstmQueueDescriptor::m_RecurrentToInputWeights</a></div><div class="ttdeci">const ConstTensorHandle * m_RecurrentToInputWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00593">WorkloadData.hpp:593</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_opt_cifg_parameters_html_a85684ffb2d12d0d04fbd188591488a2c"><div class="ttname"><a href="structarmnn_1_1_q_lstm_opt_cifg_parameters.html#a85684ffb2d12d0d04fbd188591488a2c">armnn::QLstmOptCifgParameters::m_InputGateBias</a></div><div class="ttdeci">std::shared_ptr< ConstTensorHandle > m_InputGateBias</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units] (int32).</div><div class="ttdef"><b>Definition:</b> <a href="_q_lstm_layer_8hpp_source.html#l00063">QLstmLayer.hpp:63</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_opt_layer_norm_parameters_html_a47786528c742271a3937535426934219"><div class="ttname"><a href="structarmnn_1_1_q_lstm_opt_layer_norm_parameters.html#a47786528c742271a3937535426934219">armnn::QLstmOptLayerNormParameters::m_InputLayerNormWeights</a></div><div class="ttdeci">std::shared_ptr< ConstTensorHandle > m_InputLayerNormWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units] (QSymmS16).</div><div class="ttdef"><b>Definition:</b> <a href="_q_lstm_layer_8hpp_source.html#l00069">QLstmLayer.hpp:69</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_q_lstm_layer_html_a46fc3fdd4b2a5dd6d184e57983cf20bc"><div class="ttname"><a href="classarmnn_1_1_q_lstm_layer.html#a46fc3fdd4b2a5dd6d184e57983cf20bc">armnn::QLstmLayer::ExecuteStrategy</a></div><div class="ttdeci">void ExecuteStrategy(IStrategy &strategy) const override</div><div class="ttdoc">Apply a visitor to this layer.</div><div class="ttdef"><b>Definition:</b> <a href="_q_lstm_layer_8cpp_source.html#l00307">QLstmLayer.cpp:307</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_queue_descriptor_html_adf8571dd1867ee91082bd005f94f2610"><div class="ttname"><a href="structarmnn_1_1_q_lstm_queue_descriptor.html#adf8571dd1867ee91082bd005f94f2610">armnn::QLstmQueueDescriptor::m_RecurrentToForgetWeights</a></div><div class="ttdeci">const ConstTensorHandle * m_RecurrentToForgetWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00594">WorkloadData.hpp:594</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_q_lstm_layer_html_a29cc31172f6ab16ac931f90c667c092d"><div class="ttname"><a href="classarmnn_1_1_q_lstm_layer.html#a29cc31172f6ab16ac931f90c667c092d">armnn::QLstmLayer::GetConstantTensorsByRef</a></div><div class="ttdeci">Layer::ImmutableConstantTensors GetConstantTensorsByRef() const override</div><div class="ttdoc">Retrieve the handles to the constant values stored by the layer.</div><div class="ttdef"><b>Definition:</b> <a href="_q_lstm_layer_8cpp_source.html#l00272">QLstmLayer.cpp:272</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_q_lstm_layer_html_ab43a687e3d705b3b0414d6fedb869e9d"><div class="ttname"><a href="classarmnn_1_1_q_lstm_layer.html#ab43a687e3d705b3b0414d6fedb869e9d">armnn::QLstmLayer::m_LayerNormParameters</a></div><div class="ttdeci">QLstmOptLayerNormParameters m_LayerNormParameters</div><div class="ttdef"><b>Definition:</b> <a href="_q_lstm_layer_8hpp_source.html#l00087">QLstmLayer.hpp:87</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_basic_parameters_html_addad136e04521a1d31cbebf7280c312e"><div class="ttname"><a href="structarmnn_1_1_q_lstm_basic_parameters.html#addad136e04521a1d31cbebf7280c312e">armnn::QLstmBasicParameters::m_RecurrentToOutputWeights</a></div><div class="ttdeci">std::shared_ptr< ConstTensorHandle > m_RecurrentToOutputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [num_units, outputSize] (QSymmS8).</div><div class="ttdef"><b>Definition:</b> <a href="_q_lstm_layer_8hpp_source.html#l00028">QLstmLayer.hpp:28</a></div></div> |
| <div class="ttc" id="a_tensor_handle_8hpp_html"><div class="ttname"><a href="_tensor_handle_8hpp.html">TensorHandle.hpp</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_queue_descriptor_html_a17ba1c8bcc71a55a95b2a3913f8cb203"><div class="ttname"><a href="structarmnn_1_1_q_lstm_queue_descriptor.html#a17ba1c8bcc71a55a95b2a3913f8cb203">armnn::QLstmQueueDescriptor::m_InputToOutputWeights</a></div><div class="ttdeci">const ConstTensorHandle * m_InputToOutputWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00592">WorkloadData.hpp:592</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_q_lstm_layer_html_a4855b2b34766d4972a999e324ab88ee5"><div class="ttname"><a href="classarmnn_1_1_q_lstm_layer.html#a4855b2b34766d4972a999e324ab88ee5">armnn::QLstmLayer::m_PeepholeParameters</a></div><div class="ttdeci">QLstmOptPeepholeParameters m_PeepholeParameters</div><div class="ttdef"><b>Definition:</b> <a href="_q_lstm_layer_8hpp_source.html#l00086">QLstmLayer.hpp:86</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_tensor_info_html_a8b5d0f8a24e9d9238f412260a552acf8"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html#a8b5d0f8a24e9d9238f412260a552acf8">armnn::TensorInfo::GetShape</a></div><div class="ttdeci">const TensorShape & GetShape() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00193">Tensor.hpp:193</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_basic_parameters_html_a21a90800797f1e122bc44d7022001558"><div class="ttname"><a href="structarmnn_1_1_q_lstm_basic_parameters.html#a21a90800797f1e122bc44d7022001558">armnn::QLstmBasicParameters::m_CellBias</a></div><div class="ttdeci">std::shared_ptr< ConstTensorHandle > m_CellBias</div><div class="ttdoc">A unique pointer to represent 1D bias tensor with dimensions [num_units] (int32).</div><div class="ttdef"><b>Definition:</b> <a href="_q_lstm_layer_8hpp_source.html#l00033">QLstmLayer.hpp:33</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_basic_parameters_html_a950c538e326db48f4c26a354c2b982e3"><div class="ttname"><a href="structarmnn_1_1_q_lstm_basic_parameters.html#a950c538e326db48f4c26a354c2b982e3">armnn::QLstmBasicParameters::m_OutputGateBias</a></div><div class="ttdeci">std::shared_ptr< ConstTensorHandle > m_OutputGateBias</div><div class="ttdoc">A unique pointer to represent 1D bias tensor with dimensions [num_units] (int32).</div><div class="ttdef"><b>Definition:</b> <a href="_q_lstm_layer_8hpp_source.html#l00035">QLstmLayer.hpp:35</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_basic_parameters_html_a608ed1a3d4135921ce33a286a87a072b"><div class="ttname"><a href="structarmnn_1_1_q_lstm_basic_parameters.html#a608ed1a3d4135921ce33a286a87a072b">armnn::QLstmBasicParameters::m_RecurrentToCellWeights</a></div><div class="ttdeci">std::shared_ptr< ConstTensorHandle > m_RecurrentToCellWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [num_units, outputSize] (QSymmS8).</div><div class="ttdef"><b>Definition:</b> <a href="_q_lstm_layer_8hpp_source.html#l00026">QLstmLayer.hpp:26</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_descriptor_html_ad474e5c51a0b194ef32e812b86c0cbdb"><div class="ttname"><a href="structarmnn_1_1_q_lstm_descriptor.html#ad474e5c51a0b194ef32e812b86c0cbdb">armnn::QLstmDescriptor::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#l01418">Descriptors.hpp:1418</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_opt_cifg_parameters_html_a281954ff495d27f7a29e42a98768c670"><div class="ttname"><a href="structarmnn_1_1_q_lstm_opt_cifg_parameters.html#a281954ff495d27f7a29e42a98768c670">armnn::QLstmOptCifgParameters::m_InputToInputWeights</a></div><div class="ttdeci">std::shared_ptr< ConstTensorHandle > m_InputToInputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [input_size, num_units] (QSymmS8).</div><div class="ttdef"><b>Definition:</b> <a href="_q_lstm_layer_8hpp_source.html#l00059">QLstmLayer.hpp:59</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_q_lstm_layer_html_a8c8f543d7e9729362c266d12ec169966"><div class="ttname"><a href="classarmnn_1_1_q_lstm_layer.html#a8c8f543d7e9729362c266d12ec169966">armnn::QLstmLayer::ValidateTensorShapesFromInputs</a></div><div class="ttdeci">void ValidateTensorShapesFromInputs() override</div><div class="ttdoc">Check if the input tensor shape(s) will lead to a valid configuration of QLstmLayer.</div><div class="ttdef"><b>Definition:</b> <a href="_q_lstm_layer_8cpp_source.html#l00170">QLstmLayer.cpp:170</a></div></div> |
| <div class="ttc" id="anamespacearmnn_html"><div class="ttname"><a href="namespacearmnn.html">armnn</a></div><div class="ttdoc">Copyright (c) 2021 ARM Limited and Contributors.</div><div class="ttdef"><b>Definition:</b> <a href="01__00__quick__start_8dox_source.html#l00006">01_00_quick_start.dox:6</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_q_lstm_layer_html_a3cbbd914f0d16664e785e30ffbe0dbf3"><div class="ttname"><a href="classarmnn_1_1_q_lstm_layer.html#a3cbbd914f0d16664e785e30ffbe0dbf3">armnn::QLstmLayer::m_ProjectionParameters</a></div><div class="ttdeci">QLstmOptProjectionParameters m_ProjectionParameters</div><div class="ttdef"><b>Definition:</b> <a href="_q_lstm_layer_8hpp_source.html#l00085">QLstmLayer.hpp:85</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_q_lstm_layer_html_a65ca562c882ad619684445a1402f415a"><div class="ttname"><a href="classarmnn_1_1_q_lstm_layer.html#a65ca562c882ad619684445a1402f415a">armnn::QLstmLayer::InferOutputShapes</a></div><div class="ttdeci">std::vector< TensorShape > InferOutputShapes(const std::vector< TensorShape > &inputShapes) const override</div><div class="ttdoc">By default returns inputShapes if the number of inputs are equal to number of outputs,...</div><div class="ttdef"><b>Definition:</b> <a href="_q_lstm_layer_8cpp_source.html#l00153">QLstmLayer.cpp:153</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_const_tensor_html"><div class="ttname"><a href="classarmnn_1_1_const_tensor.html">armnn::ConstTensor</a></div><div class="ttdoc">A tensor defined by a TensorInfo (shape and data type) and an immutable backing store.</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00329">Tensor.hpp:329</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_layer_html_a0607e36e88f38c34c71c663164b76776"><div class="ttname"><a href="classarmnn_1_1_layer.html#a0607e36e88f38c34c71c663164b76776">armnn::Layer::VerifyLayerConnections</a></div><div class="ttdeci">void VerifyLayerConnections(unsigned int expectedConnections, const CheckLocation &location) const</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8cpp_source.html#l00391">Layer.cpp:391</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_basic_parameters_html_a1dd41cd674924907643cb088070a65d3"><div class="ttname"><a href="structarmnn_1_1_q_lstm_basic_parameters.html#a1dd41cd674924907643cb088070a65d3">armnn::QLstmBasicParameters::m_RecurrentToForgetWeights</a></div><div class="ttdeci">std::shared_ptr< ConstTensorHandle > m_RecurrentToForgetWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [num_units, outputSize] (QSymmS8).</div><div class="ttdef"><b>Definition:</b> <a href="_q_lstm_layer_8hpp_source.html#l00024">QLstmLayer.hpp:24</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_queue_descriptor_html_ac668b31de6fb0f19d4c793d5ed3c3316"><div class="ttname"><a href="structarmnn_1_1_q_lstm_queue_descriptor.html#ac668b31de6fb0f19d4c793d5ed3c3316">armnn::QLstmQueueDescriptor::m_ProjectionBias</a></div><div class="ttdeci">const ConstTensorHandle * m_ProjectionBias</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00605">WorkloadData.hpp:605</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_queue_descriptor_html_a951b7c90b862138071a298065f16be61"><div class="ttname"><a href="structarmnn_1_1_q_lstm_queue_descriptor.html#a951b7c90b862138071a298065f16be61">armnn::QLstmQueueDescriptor::m_CellToInputWeights</a></div><div class="ttdeci">const ConstTensorHandle * m_CellToInputWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00597">WorkloadData.hpp:597</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_descriptor_html_a4a8ec49f130084445d44297549254780"><div class="ttname"><a href="structarmnn_1_1_q_lstm_descriptor.html#a4a8ec49f130084445d44297549254780">armnn::QLstmDescriptor::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#l01424">Descriptors.hpp:1424</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_opt_projection_parameters_html_aa840abfe1cb869bce3d6daaebd2e86a7"><div class="ttname"><a href="structarmnn_1_1_q_lstm_opt_projection_parameters.html#aa840abfe1cb869bce3d6daaebd2e86a7">armnn::QLstmOptProjectionParameters::m_ProjectionBias</a></div><div class="ttdeci">std::shared_ptr< ConstTensorHandle > m_ProjectionBias</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [output_size] (int32).</div><div class="ttdef"><b>Definition:</b> <a href="_q_lstm_layer_8hpp_source.html#l00043">QLstmLayer.hpp:43</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_queue_descriptor_html_a6e9593869b82984de198fed27f72cdcf"><div class="ttname"><a href="structarmnn_1_1_q_lstm_queue_descriptor.html#a6e9593869b82984de198fed27f72cdcf">armnn::QLstmQueueDescriptor::m_CellBias</a></div><div class="ttdeci">const ConstTensorHandle * m_CellBias</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00602">WorkloadData.hpp:602</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_q_lstm_layer_html_aada2b9060461ecf785d483eee0dc071a"><div class="ttname"><a href="classarmnn_1_1_q_lstm_layer.html#aada2b9060461ecf785d483eee0dc071a">armnn::QLstmLayer::m_BasicParameters</a></div><div class="ttdeci">QLstmBasicParameters m_BasicParameters</div><div class="ttdef"><b>Definition:</b> <a href="_q_lstm_layer_8hpp_source.html#l00083">QLstmLayer.hpp:83</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_queue_descriptor_html_a841439e3b8dc157a7368b19c9ecb7d03"><div class="ttname"><a href="structarmnn_1_1_q_lstm_queue_descriptor.html#a841439e3b8dc157a7368b19c9ecb7d03">armnn::QLstmQueueDescriptor::m_InputToCellWeights</a></div><div class="ttdeci">const ConstTensorHandle * m_InputToCellWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00591">WorkloadData.hpp:591</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_layer_html_afe508761cc8318b15329ba4acf7fbfec"><div class="ttname"><a href="classarmnn_1_1_layer.html#afe508761cc8318b15329ba4acf7fbfec">armnn::Layer::m_ShapeInferenceMethod</a></div><div class="ttdeci">ShapeInferenceMethod m_ShapeInferenceMethod</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00441">Layer.hpp:441</a></div></div> |
| <div class="ttc" id="anamespacearmnn_html_a56943a0946e5f15e5e58054b8e7a04a4"><div class="ttname"><a href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4">armnn::LayerType</a></div><div class="ttdeci">LayerType</div><div class="ttdoc">When adding a new layer, adapt also the LastLayer enum value in the enum class LayerType below.</div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.html#l00491">Types.hpp:491</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_basic_parameters_html_a3d4f6f42e10ba6f808a5244bb7853e7e"><div class="ttname"><a href="structarmnn_1_1_q_lstm_basic_parameters.html#a3d4f6f42e10ba6f808a5244bb7853e7e">armnn::QLstmBasicParameters::m_InputToOutputWeights</a></div><div class="ttdeci">std::shared_ptr< ConstTensorHandle > m_InputToOutputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [num_units, inputSize] (QSymmS8).</div><div class="ttdef"><b>Definition:</b> <a href="_q_lstm_layer_8hpp_source.html#l00021">QLstmLayer.hpp:21</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_descriptor_html_a2837b4396f20c956952d1a7286cab5f8"><div class="ttname"><a href="structarmnn_1_1_q_lstm_descriptor.html#a2837b4396f20c956952d1a7286cab5f8">armnn::QLstmDescriptor::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#l01420">Descriptors.hpp:1420</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_graph_html"><div class="ttname"><a href="classarmnn_1_1_graph.html">armnn::Graph</a></div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00030">Graph.hpp:30</a></div></div> |
| <div class="ttc" id="anamespacearmnn_html_a56943a0946e5f15e5e58054b8e7a04a4a91880b71ea6d007439b7bc7c320b5c25"><div class="ttname"><a href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4a91880b71ea6d007439b7bc7c320b5c25">armnn::LayerType::QLstm</a></div><div class="ttdeci">@ QLstm</div></div> |
| <div class="ttc" id="aclassarmnn_1_1_i_workload_factory_html_a694a8411c8c799da95306034d274930b"><div class="ttname"><a href="classarmnn_1_1_i_workload_factory.html#a694a8411c8c799da95306034d274930b">armnn::IWorkloadFactory::CreateWorkload</a></div><div class="ttdeci">virtual std::unique_ptr< IWorkload > CreateWorkload(LayerType type, const QueueDescriptor &descriptor, const WorkloadInfo &info) const =0</div><div class="ttdoc">Backends should implement their own CreateWorkload function with a switch statement.</div></div> |
| <div class="ttc" id="aclassarmnn_1_1_i_strategy_html_ad4f8c9ff973cf6a603d26b56c5b34967"><div class="ttname"><a href="classarmnn_1_1_i_strategy.html#ad4f8c9ff973cf6a603d26b56c5b34967">armnn::IStrategy::ExecuteStrategy</a></div><div class="ttdeci">virtual void ExecuteStrategy(const IConnectableLayer *layer, const armnn::BaseDescriptor &descriptor, const std::vector< armnn::ConstTensor > &constants, const char *name, const armnn::LayerBindingId id=0)=0</div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_queue_descriptor_html_aeef6f1ac3efad8ec8b0a7118652b64c9"><div class="ttname"><a href="structarmnn_1_1_q_lstm_queue_descriptor.html#aeef6f1ac3efad8ec8b0a7118652b64c9">armnn::QLstmQueueDescriptor::m_CellLayerNormWeights</a></div><div class="ttdeci">const ConstTensorHandle * m_CellLayerNormWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00608">WorkloadData.hpp:608</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_basic_parameters_html_aafad117fb253359c1d472c9faefe49ef"><div class="ttname"><a href="structarmnn_1_1_q_lstm_basic_parameters.html#aafad117fb253359c1d472c9faefe49ef">armnn::QLstmBasicParameters::m_InputToForgetWeights</a></div><div class="ttdeci">std::shared_ptr< ConstTensorHandle > m_InputToForgetWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [num_units, inputSize] (QSymmS8).</div><div class="ttdef"><b>Definition:</b> <a href="_q_lstm_layer_8hpp_source.html#l00017">QLstmLayer.hpp:17</a></div></div> |
| <div class="ttc" id="a_layer_clone_base_8hpp_html"><div class="ttname"><a href="_layer_clone_base_8hpp.html">LayerCloneBase.hpp</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_queue_descriptor_html_ac18c8b8b2039267d8282e91b4162d8aa"><div class="ttname"><a href="structarmnn_1_1_q_lstm_queue_descriptor.html#ac18c8b8b2039267d8282e91b4162d8aa">armnn::QLstmQueueDescriptor::m_RecurrentToCellWeights</a></div><div class="ttdeci">const ConstTensorHandle * m_RecurrentToCellWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00595">WorkloadData.hpp:595</a></div></div> |
| <div class="ttc" id="aclassarmnn_1_1_managed_const_tensor_handle_html_a66e8f43a5b42b500871ed96e15419567"><div class="ttname"><a href="classarmnn_1_1_managed_const_tensor_handle.html#a66e8f43a5b42b500871ed96e15419567">armnn::ManagedConstTensorHandle::GetTensorInfo</a></div><div class="ttdeci">const TensorInfo & GetTensorInfo() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_handle_8hpp_source.html#l00239">TensorHandle.hpp:239</a></div></div> |
| <div class="ttc" id="astructarmnn_1_1_q_lstm_basic_parameters_html_ad3f42762262330534a4be0dde29a1318"><div class="ttname"><a href="structarmnn_1_1_q_lstm_basic_parameters.html#ad3f42762262330534a4be0dde29a1318">armnn::QLstmBasicParameters::m_InputToCellWeights</a></div><div class="ttdeci">std::shared_ptr< ConstTensorHandle > m_InputToCellWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [num_units, inputSize] (QSymmS8).</div><div class="ttdef"><b>Definition:</b> <a href="_q_lstm_layer_8hpp_source.html#l00019">QLstmLayer.hpp:19</a></div></div> |
| <!-- start footer part --> |
| <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| <ul> |
| <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_e0a84d05c80a2ef4231141dcbbeac5c8.html">armnn</a></li><li class="navelem"><a class="el" href="dir_9da6642ce0fd5a8c83524f1b621275be.html">layers</a></li><li class="navelem"><a class="el" href="_q_lstm_layer_8cpp.html">QLstmLayer.cpp</a></li> |
| <li class="footer">Generated on Wed Feb 14 2024 16:36:14 for Arm NN by |
| <a href="http://www.doxygen.org/index.html"> |
| <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li> |
| </ul> |
| </div> |
| </body> |
| </html> |