Ryan OShea | de36e4a | 2020-03-13 16:26:19 +0000 | [diff] [blame] | 1 | <!-- Copyright (c) 2020 ARM Limited. --> |
| 2 | <!-- --> |
| 3 | <!-- SPDX-License-Identifier: MIT --> |
| 4 | <!-- --> |
| 5 | <!-- HTML header for doxygen 1.8.13--> |
| 6 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 7 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 8 | <head> |
| 9 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| 10 | <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| 11 | <meta name="generator" content="Doxygen 1.8.13"/> |
| 12 | <meta name="robots" content="NOINDEX, NOFOLLOW" /> |
| 13 | <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| 14 | <title>ArmNN: src/armnn/layers/LstmLayer.cpp Source File</title> |
| 15 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 16 | <script type="text/javascript" src="jquery.js"></script> |
| 17 | <script type="text/javascript" src="dynsections.js"></script> |
| 18 | <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| 19 | <script type="text/javascript" src="resize.js"></script> |
| 20 | <script type="text/javascript" src="navtreedata.js"></script> |
| 21 | <script type="text/javascript" src="navtree.js"></script> |
| 22 | <script type="text/javascript"> |
| 23 | $(document).ready(initResizable); |
| 24 | </script> |
| 25 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 26 | <script type="text/javascript" src="search/searchdata.js"></script> |
| 27 | <script type="text/javascript" src="search/search.js"></script> |
| 28 | <script type="text/x-mathjax-config"> |
| 29 | MathJax.Hub.Config({ |
| 30 | extensions: ["tex2jax.js"], |
| 31 | jax: ["input/TeX","output/HTML-CSS"], |
| 32 | }); |
| 33 | </script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script> |
| 34 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 35 | <link href="stylesheet.css" rel="stylesheet" type="text/css"/> |
| 36 | </head> |
| 37 | <body> |
| 38 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 39 | <div id="titlearea"> |
| 40 | <table cellspacing="0" cellpadding="0"> |
| 41 | <tbody> |
| 42 | <tr style="height: 56px;"> |
| 43 | <img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 10rem; margin-top: .5rem; margin-left 10px"/> |
| 44 | <td style="padding-left: 0.5em;"> |
| 45 | <div id="projectname"> |
| 46 |  <span id="projectnumber">20.02</span> |
| 47 | </div> |
| 48 | </td> |
| 49 | </tr> |
| 50 | </tbody> |
| 51 | </table> |
| 52 | </div> |
| 53 | <!-- end header part --> |
| 54 | <!-- Generated by Doxygen 1.8.13 --> |
| 55 | <script type="text/javascript"> |
| 56 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 57 | </script> |
| 58 | <script type="text/javascript" src="menudata.js"></script> |
| 59 | <script type="text/javascript" src="menu.js"></script> |
| 60 | <script type="text/javascript"> |
| 61 | $(function() { |
| 62 | initMenu('',true,false,'search.php','Search'); |
| 63 | $(document).ready(function() { init_search(); }); |
| 64 | }); |
| 65 | </script> |
| 66 | <div id="main-nav"></div> |
| 67 | </div><!-- top --> |
| 68 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 69 | <div id="nav-tree"> |
| 70 | <div id="nav-tree-contents"> |
| 71 | <div id="nav-sync" class="sync"></div> |
| 72 | </div> |
| 73 | </div> |
| 74 | <div id="splitbar" style="-moz-user-select:none;" |
| 75 | class="ui-resizable-handle"> |
| 76 | </div> |
| 77 | </div> |
| 78 | <script type="text/javascript"> |
| 79 | $(document).ready(function(){initNavTree('_lstm_layer_8cpp_source.xhtml','');}); |
| 80 | </script> |
| 81 | <div id="doc-content"> |
| 82 | <!-- window showing the filter options --> |
| 83 | <div id="MSearchSelectWindow" |
| 84 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 85 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 86 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| 87 | </div> |
| 88 | |
| 89 | <!-- iframe showing the search results (closed by default) --> |
| 90 | <div id="MSearchResultsWindow"> |
| 91 | <iframe src="javascript:void(0)" frameborder="0" |
| 92 | name="MSearchResults" id="MSearchResults"> |
| 93 | </iframe> |
| 94 | </div> |
| 95 | |
| 96 | <div class="header"> |
| 97 | <div class="headertitle"> |
| 98 | <div class="title">LstmLayer.cpp</div> </div> |
| 99 | </div><!--header--> |
| 100 | <div class="contents"> |
| 101 | <a href="_lstm_layer_8cpp.xhtml">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 © 2017 Arm Ltd. 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="_lstm_layer_8hpp.xhtml">LstmLayer.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.xhtml">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.xhtml">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.xhtml">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="_cpu_tensor_handle_8hpp.xhtml">backendsCommon/CpuTensorHandle.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.xhtml">backendsCommon/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.xhtml">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_lstm_layer.xhtml#adbb2663fc90c40c0845bb043c23eeae9"> 17</a></span> <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#adbb2663fc90c40c0845bb043c23eeae9">LstmLayer::LstmLayer</a>(<span class="keyword">const</span> <a class="code" href="structarmnn_1_1_lstm_descriptor.xhtml">LstmDescriptor</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.xhtml">LayerWithParameters</a>(3, 4, <a class="code" href="namespacearmnn.xhtml#a56943a0946e5f15e5e58054b8e7a04a4">LayerType</a>::<a class="code" href="namespacearmnn.xhtml#a56943a0946e5f15e5e58054b8e7a04a4a06b091bc9aea697ba473c71f0bb55925">Lstm</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_lstm_layer.xhtml#adfa912d0c4c6c00f1af2cbfa799572b7"> 22</a></span> std::unique_ptr<IWorkload> <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#adfa912d0c4c6c00f1af2cbfa799572b7">LstmLayer::CreateWorkload</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_workload_factory.xhtml">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_lstm_queue_descriptor.xhtml">LstmQueueDescriptor</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_lstm_queue_descriptor.xhtml#a3ea82566d98c5a657c76c3d851c47848">m_InputToForgetWeights</a> = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a5a0d8af26a6aad1e5be521ea7dc550eb">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_lstm_queue_descriptor.xhtml#a28ad98d17603fd8b12e046f8ece58970">m_InputToCellWeights</a> = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a14ab2bc78421c417c4f97a65b0bd78f9">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_lstm_queue_descriptor.xhtml#a83dc9086b2e4a4e4cadb66bd874df798">m_InputToOutputWeights</a> = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#ae8d897b8d282f25a6eb784c4aaa98df6">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_lstm_queue_descriptor.xhtml#a45d73e66cbb2b65049e4016c20657ccf">m_RecurrentToForgetWeights</a> = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a3d5f129421bbe6479a66d4ed1356bf68">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_lstm_queue_descriptor.xhtml#aea142bd50ffb93631c2e08324ec92a1e">m_RecurrentToCellWeights</a> = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a6e8c3db3c5474f0760553ff93fbc39e6">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_lstm_queue_descriptor.xhtml#adebc1771e5a1f4b113a7aa594ea74d2c">m_RecurrentToOutputWeights</a> = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a91dda74af4085ae43913746ad817795a">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_lstm_queue_descriptor.xhtml#aba3ffe91d818266b8785ce971548eb59">m_ForgetGateBias</a> = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a0e0e17d5b494993407cb75d614455ddd">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_lstm_queue_descriptor.xhtml#a75980b5795efd899a0c678a06a900c6d">m_CellBias</a> = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a51255889cbc063130a3d691c1781c5d3">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_lstm_queue_descriptor.xhtml#a332551528a4b3534c2d6c89ce816fcd9">m_OutputGateBias</a> = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#aacb55e0992b6781a7bd3225ab6e6bb2f">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.xhtml#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_lstm_descriptor.xhtml#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_lstm_queue_descriptor.xhtml#a08a1932be591c315a512a877d38b22df">m_InputToInputWeights</a> = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a4d731c5e73638c7cf7e63f65e9f8b550">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_lstm_queue_descriptor.xhtml#a98d377149071d8842d610cc0734d1cfe">m_RecurrentToInputWeights</a> = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a6e8971757790a032e5936da7847ba14b">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_lstm_queue_descriptor.xhtml#a5c1c0a7ead7273788976c9e97cffaab7">m_CellToInputWeights</a> = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a658f4245732f95c9fe756a934d370ca8">m_CellToInputWeights</a>.get();</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  descriptor.<a class="code" href="structarmnn_1_1_lstm_queue_descriptor.xhtml#acb3aade8fae984f7293e222dcbe66030">m_InputGateBias</a> = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a>.get();</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> </div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="comment">// Projection parameters</span></div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_layer_with_parameters.xhtml#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_lstm_descriptor.xhtml#a6c9de81fc65b3c4924cab11907075a17">m_ProjectionEnabled</a>)</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  {</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  descriptor.<a class="code" href="structarmnn_1_1_lstm_queue_descriptor.xhtml#af3c52626a6f05597d82ed095d0765962">m_ProjectionWeights</a> = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a3d3e6d0c3e6e570d9f831489c3bd14ce">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_projection_parameters.xhtml#a3ec2885c48ce888516e27c8b75a8cb83">m_ProjectionWeights</a>.get();</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  descriptor.<a class="code" href="structarmnn_1_1_lstm_queue_descriptor.xhtml#a2ba352eb1fdf6dc5ecf7f2e6b6b48f94">m_ProjectionBias</a> = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a3d3e6d0c3e6e570d9f831489c3bd14ce">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_projection_parameters.xhtml#aa9f2880e4e2a1eb731f61c1e0941c6a7">m_ProjectionBias</a>.get();</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> </div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="comment">// Peephole parameters</span></div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_layer_with_parameters.xhtml#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_lstm_descriptor.xhtml#a2837b4396f20c956952d1a7286cab5f8">m_PeepholeEnabled</a>)</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  {</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  descriptor.<a class="code" href="structarmnn_1_1_lstm_queue_descriptor.xhtml#acefa49d7faf26933e27e473e7bdb4175">m_CellToForgetWeights</a> = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a4efa0f4d46817ab94e36c8507c26f276">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_peephole_parameters.xhtml#a5d0ebbbb11b727a67877df40b59a628c">m_CellToForgetWeights</a>.get();</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  descriptor.<a class="code" href="structarmnn_1_1_lstm_queue_descriptor.xhtml#a6f74071b0e07bbe2cb20a8f78826e084">m_CellToOutputWeights</a> = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a4efa0f4d46817ab94e36c8507c26f276">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_peephole_parameters.xhtml#a310e133b0b51b93a74b83008893792e9">m_CellToOutputWeights</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>  <span class="comment">// Layer normalisation parameters</span></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keywordflow">if</span>(<a class="code" href="classarmnn_1_1_layer_with_parameters.xhtml#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_lstm_descriptor.xhtml#a4a8ec49f130084445d44297549254780">m_LayerNormEnabled</a>)</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>  <span class="keywordflow">if</span> (!<a class="code" href="classarmnn_1_1_layer_with_parameters.xhtml#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_lstm_descriptor.xhtml#ad474e5c51a0b194ef32e812b86c0cbdb">m_CifgEnabled</a>)</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  {</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  descriptor.<a class="code" href="structarmnn_1_1_lstm_queue_descriptor.xhtml#a9cc28aa4fff6ba9a8abdb340c1abdd57">m_InputLayerNormWeights</a> = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.xhtml#a706418b4d19614be07f2eca8230bfde0">m_InputLayerNormWeights</a>.get();</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>  descriptor.<a class="code" href="structarmnn_1_1_lstm_queue_descriptor.xhtml#a453a4af385d0c060c9aac990fceaa1ef">m_ForgetLayerNormWeights</a> = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.xhtml#a559113765ea5e2ddbd9e9e5e2869a103">m_ForgetLayerNormWeights</a>.get();</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  descriptor.<a class="code" href="structarmnn_1_1_lstm_queue_descriptor.xhtml#a518f0195d0278a892b49649b8860d17f">m_CellLayerNormWeights</a> = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.xhtml#a3cab71ebbe91e75be538e5670a40fec5">m_CellLayerNormWeights</a>.get();</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  descriptor.<a class="code" href="structarmnn_1_1_lstm_queue_descriptor.xhtml#aa3f07e27230d6d99adc2c82ba681df2b">m_OutputLayerNormWeights</a> = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.xhtml#a69fdb952b874669cbb2a281815a20be2">m_OutputLayerNormWeights</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> </div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keywordflow">return</span> factory.<a class="code" href="classarmnn_1_1_i_workload_factory.xhtml#ab6bd7aaf685d4e956d780f8655a6f174">CreateLstm</a>(descriptor, <a class="code" href="classarmnn_1_1_layer_with_parameters.xhtml#a30a858b2b26d651a066537e499fbf40d">PrepInfoAndDesc</a>(descriptor));</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> }</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> </div><div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="classarmnn_1_1_lstm_layer.xhtml#ac6b352652fb2f722e56f5fd62c57ae09"> 75</a></span> <a class="code" href="classarmnn_1_1_lstm_layer.xhtml">LstmLayer</a>* <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#ac6b352652fb2f722e56f5fd62c57ae09">LstmLayer::Clone</a>(<a class="code" href="classarmnn_1_1_graph.xhtml">Graph</a>& graph)<span class="keyword"> const</span></div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="keyword"></span>{</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keyword">auto</span> layer = CloneBase<LstmLayer>(graph, <a class="code" href="classarmnn_1_1_layer_with_parameters.xhtml#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>, <a class="code" href="classarmnn_1_1_layer.xhtml#a7ddf0cf6f620d59c10e63495ace795d0">GetName</a>());</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> </div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  layer-><a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a> = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a> ?</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a>)</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  layer->m_BasicParameters.m_InputToCellWeights = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a> ?</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  layer->m_BasicParameters.m_InputToOutputWeights = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a> ?</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  layer->m_BasicParameters.m_RecurrentToForgetWeights = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a> ?</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  layer->m_BasicParameters.m_RecurrentToCellWeights = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a> ?</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  layer->m_BasicParameters.m_RecurrentToOutputWeights = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a> ?</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  layer->m_BasicParameters.m_ForgetGateBias = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a> ?</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  layer->m_BasicParameters.m_CellBias = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a> ?</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  layer->m_BasicParameters.m_OutputGateBias = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a> ?</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span> </div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keywordflow">if</span> (!m_Param.m_CifgEnabled)</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  {</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  layer->m_CifgParameters.m_InputToInputWeights = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a> ?</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  layer->m_CifgParameters.m_RecurrentToInputWeights = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a> ?</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  layer->m_CifgParameters.m_CellToInputWeights = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a658f4245732f95c9fe756a934d370ca8">m_CellToInputWeights</a> ?</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a658f4245732f95c9fe756a934d370ca8">m_CellToInputWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  layer->m_CifgParameters.m_InputGateBias = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a> ?</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  }</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> </div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keywordflow">if</span> (m_Param.m_ProjectionEnabled)</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>  layer->m_ProjectionParameters.m_ProjectionWeights = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a3d3e6d0c3e6e570d9f831489c3bd14ce">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_projection_parameters.xhtml#a3ec2885c48ce888516e27c8b75a8cb83">m_ProjectionWeights</a> ?</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a3d3e6d0c3e6e570d9f831489c3bd14ce">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_projection_parameters.xhtml#a3ec2885c48ce888516e27c8b75a8cb83">m_ProjectionWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  layer->m_ProjectionParameters.m_ProjectionBias = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a3d3e6d0c3e6e570d9f831489c3bd14ce">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_projection_parameters.xhtml#aa9f2880e4e2a1eb731f61c1e0941c6a7">m_ProjectionBias</a> ?</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a3d3e6d0c3e6e570d9f831489c3bd14ce">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_projection_parameters.xhtml#aa9f2880e4e2a1eb731f61c1e0941c6a7">m_ProjectionBias</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  }</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span> </div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keywordflow">if</span> (m_Param.m_PeepholeEnabled)</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>  layer->m_PeepholeParameters.m_CellToForgetWeights = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a4efa0f4d46817ab94e36c8507c26f276">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_peephole_parameters.xhtml#a5d0ebbbb11b727a67877df40b59a628c">m_CellToForgetWeights</a> ?</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a4efa0f4d46817ab94e36c8507c26f276">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_peephole_parameters.xhtml#a5d0ebbbb11b727a67877df40b59a628c">m_CellToForgetWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  layer->m_PeepholeParameters.m_CellToOutputWeights = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a4efa0f4d46817ab94e36c8507c26f276">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_peephole_parameters.xhtml#a310e133b0b51b93a74b83008893792e9">m_CellToOutputWeights</a> ?</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a4efa0f4d46817ab94e36c8507c26f276">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_peephole_parameters.xhtml#a310e133b0b51b93a74b83008893792e9">m_CellToOutputWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  }</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span> </div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keywordflow">if</span> (m_Param.m_LayerNormEnabled)</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_LayerNormParameters.m_InputLayerNormWeights = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.xhtml#a706418b4d19614be07f2eca8230bfde0">m_InputLayerNormWeights</a> ?</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.xhtml#a706418b4d19614be07f2eca8230bfde0">m_InputLayerNormWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  layer->m_LayerNormParameters.m_ForgetLayerNormWeights = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.xhtml#a559113765ea5e2ddbd9e9e5e2869a103">m_ForgetLayerNormWeights</a> ?</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.xhtml#a559113765ea5e2ddbd9e9e5e2869a103">m_ForgetLayerNormWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  layer->m_LayerNormParameters.m_CellLayerNormWeights = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.xhtml#a3cab71ebbe91e75be538e5670a40fec5">m_CellLayerNormWeights</a> ?</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.xhtml#a3cab71ebbe91e75be538e5670a40fec5">m_CellLayerNormWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  layer->m_LayerNormParameters.m_OutputLayerNormWeights = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.xhtml#a69fdb952b874669cbb2a281815a20be2">m_OutputLayerNormWeights</a> ?</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.xhtml#a69fdb952b874669cbb2a281815a20be2">m_OutputLayerNormWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  }</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span> </div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="keywordflow">return</span> std::move(layer);</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"><a class="line" href="classarmnn_1_1_lstm_layer.xhtml#a65ca562c882ad619684445a1402f415a"> 142</a></span> std::vector<TensorShape> <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a65ca562c882ad619684445a1402f415a">LstmLayer::InferOutputShapes</a>(<span class="keyword">const</span> std::vector<TensorShape>& inputShapes)<span class="keyword"> const</span></div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span> <span class="keyword"></span>{</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  BOOST_ASSERT(inputShapes.size() == 3);</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span> </div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="comment">// Get input values for validation</span></div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> batchSize = inputShapes[0][0];</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> outputSize = inputShapes[1][1];</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> numUnits = inputShapes[2][1];</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span> </div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  std::vector<TensorShape> outShapes;</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  outShapes.push_back(<a class="code" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a>({batchSize, numUnits * (<a class="code" href="classarmnn_1_1_layer_with_parameters.xhtml#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_lstm_descriptor.xhtml#ad474e5c51a0b194ef32e812b86c0cbdb">m_CifgEnabled</a> ? 3 : 4)}));</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  outShapes.push_back(<a class="code" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a>({batchSize, outputSize}));</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  outShapes.push_back(<a class="code" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a>({batchSize, numUnits}));</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  outShapes.push_back(<a class="code" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a>({batchSize, outputSize}));</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="keywordflow">return</span> outShapes;</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span> }</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span> </div><div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="classarmnn_1_1_lstm_layer.xhtml#a8c8f543d7e9729362c266d12ec169966"> 160</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8c8f543d7e9729362c266d12ec169966">LstmLayer::ValidateTensorShapesFromInputs</a>()</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>  <a class="code" href="classarmnn_1_1_layer.xhtml#a0607e36e88f38c34c71c663164b76776">VerifyLayerConnections</a>(3, <a class="code" href="_exceptions_8hpp.xhtml#aa3be76aec4ce713822a5ea1ecbb7bc61">CHECK_LOCATION</a>());</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span> </div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <span class="keyword">auto</span> inferredShapes = <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a65ca562c882ad619684445a1402f415a">InferOutputShapes</a>( {</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <a class="code" href="classarmnn_1_1_layer.xhtml#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(0).<a class="code" href="classarmnn_1_1_input_slot.xhtml#a3153abb7c0c0a84629079b2fac7db54f">GetConnection</a>()-><a class="code" href="classarmnn_1_1_i_output_slot.xhtml#a9943775a364fc4ab53b85ac88f311886">GetTensorInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.xhtml#a8b5d0f8a24e9d9238f412260a552acf8">GetShape</a>(),</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <a class="code" href="classarmnn_1_1_layer.xhtml#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(1).<a class="code" href="classarmnn_1_1_input_slot.xhtml#a3153abb7c0c0a84629079b2fac7db54f">GetConnection</a>()-><a class="code" href="classarmnn_1_1_i_output_slot.xhtml#a9943775a364fc4ab53b85ac88f311886">GetTensorInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.xhtml#a8b5d0f8a24e9d9238f412260a552acf8">GetShape</a>(),</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <a class="code" href="classarmnn_1_1_layer.xhtml#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(2).<a class="code" href="classarmnn_1_1_input_slot.xhtml#a3153abb7c0c0a84629079b2fac7db54f">GetConnection</a>()-><a class="code" href="classarmnn_1_1_i_output_slot.xhtml#a9943775a364fc4ab53b85ac88f311886">GetTensorInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.xhtml#a8b5d0f8a24e9d9238f412260a552acf8">GetShape</a>()}</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"> 170</span>  BOOST_ASSERT(inferredShapes.size() == 4);</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>  <span class="comment">// Check if the weights are nullptr</span></div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="stringliteral">"LstmLayer: m_BasicParameters.m_InputToForgetWeights should not be null."</span>);</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <span class="stringliteral">"LstmLayer: m_BasicParameters.m_InputToCellWeights should not be null."</span>);</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="stringliteral">"LstmLayer: m_BasicParameters.m_InputToOutputWeights should not be null."</span>);</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <span class="stringliteral">"LstmLayer: m_BasicParameters.m_RecurrentToForgetWeights should not be null."</span>);</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="stringliteral">"LstmLayer: m_BasicParameters.m_RecurrentToCellWeights should not be null."</span>);</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <span class="stringliteral">"LstmLayer: m_BasicParameters.m_RecurrentToOutputWeights should not be null."</span>);</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <span class="stringliteral">"LstmLayer: m_BasicParameters.m_ForgetGateBias should not be null."</span>);</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <span class="stringliteral">"LstmLayer: m_BasicParameters.m_CellBias should not be null."</span>);</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <span class="stringliteral">"LstmLayer: m_BasicParameters.m_OutputGateBias should not be null."</span>);</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span> </div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="keywordflow">if</span> (!<a class="code" href="classarmnn_1_1_layer_with_parameters.xhtml#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_lstm_descriptor.xhtml#ad474e5c51a0b194ef32e812b86c0cbdb">m_CifgEnabled</a>)</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  {</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <span class="stringliteral">"LstmLayer: m_CifgParameters.m_InputToInputWeights should not be null."</span>);</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="stringliteral">"LstmLayer: m_CifgParameters.m_RecurrentToInputWeights should not be null."</span>);</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <span class="stringliteral">"LstmLayer: m_CifgParameters.m_InputGateBias should not be null."</span>);</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span> </div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  ConditionalThrowIfNotEqual<LayerValidationException>(</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <span class="stringliteral">"LstmLayer: TensorShape set on OutputSlot[0] does not match the inferred shape."</span>,</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <a class="code" href="classarmnn_1_1_layer.xhtml#a0e36688a43c35668d8db5257274c68fe">GetOutputSlot</a>(0).<a class="code" href="classarmnn_1_1_output_slot.xhtml#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.xhtml#a8b5d0f8a24e9d9238f412260a552acf8">GetShape</a>(),</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  inferredShapes[0]);</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  }</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  <span class="keywordflow">else</span></div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  {</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a> == <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  <span class="stringliteral">"LstmLayer: m_CifgParameters.m_InputToInputWeights should not have a value when CIFG is enabled."</span>);</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a> == <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <span class="stringliteral">"LstmLayer: m_CifgParameters.m_RecurrentToInputWeights should not have a value when CIFG is enabled."</span>);</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a658f4245732f95c9fe756a934d370ca8">m_CellToInputWeights</a> == <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <span class="stringliteral">"LstmLayer: m_CifgParameters.m_CellToInputWeights should not have a value when CIFG is enabled."</span>);</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a> == <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <span class="stringliteral">"LstmLayer: m_CifgParameters.m_InputGateBias should not have a value when CIFG is enabled."</span>);</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span> </div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  ConditionalThrowIfNotEqual<LayerValidationException>(</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  <span class="stringliteral">"LstmLayer: TensorShape set on OutputSlot[0] does not match the inferred shape."</span>,</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  <a class="code" href="classarmnn_1_1_layer.xhtml#a0e36688a43c35668d8db5257274c68fe">GetOutputSlot</a>(0).<a class="code" href="classarmnn_1_1_output_slot.xhtml#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.xhtml#a8b5d0f8a24e9d9238f412260a552acf8">GetShape</a>(),</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  inferredShapes[0]);</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  }</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span> </div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_layer_with_parameters.xhtml#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_lstm_descriptor.xhtml#a6c9de81fc65b3c4924cab11907075a17">m_ProjectionEnabled</a>)</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  {</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a3d3e6d0c3e6e570d9f831489c3bd14ce">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_projection_parameters.xhtml#a3ec2885c48ce888516e27c8b75a8cb83">m_ProjectionWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  <span class="stringliteral">"LstmLayer: m_ProjectionParameters.m_ProjectionWeights should not be null."</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> </div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_layer_with_parameters.xhtml#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_lstm_descriptor.xhtml#a2837b4396f20c956952d1a7286cab5f8">m_PeepholeEnabled</a>)</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>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a4efa0f4d46817ab94e36c8507c26f276">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_peephole_parameters.xhtml#a5d0ebbbb11b727a67877df40b59a628c">m_CellToForgetWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  <span class="stringliteral">"LstmLayer: m_PeepholeParameters.m_CellToForgetWeights should not be null."</span>);</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a4efa0f4d46817ab94e36c8507c26f276">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_peephole_parameters.xhtml#a310e133b0b51b93a74b83008893792e9">m_CellToOutputWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  <span class="stringliteral">"LstmLayer: m_PeepholeParameters.m_CellToOutputWeights 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>  ConditionalThrowIfNotEqual<LayerValidationException>(</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  <span class="stringliteral">"LstmLayer: TensorShape set on OutputSlot[1] does not match the inferred shape."</span>,</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  <a class="code" href="classarmnn_1_1_layer.xhtml#a0e36688a43c35668d8db5257274c68fe">GetOutputSlot</a>(1).<a class="code" href="classarmnn_1_1_output_slot.xhtml#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.xhtml#a8b5d0f8a24e9d9238f412260a552acf8">GetShape</a>(),</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  inferredShapes[1]);</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  ConditionalThrowIfNotEqual<LayerValidationException>(</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  <span class="stringliteral">"LstmLayer: TensorShape set on OutputSlot[2] does not match the inferred shape."</span>,</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  <a class="code" href="classarmnn_1_1_layer.xhtml#a0e36688a43c35668d8db5257274c68fe">GetOutputSlot</a>(2).<a class="code" href="classarmnn_1_1_output_slot.xhtml#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.xhtml#a8b5d0f8a24e9d9238f412260a552acf8">GetShape</a>(),</div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  inferredShapes[2]);</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  ConditionalThrowIfNotEqual<LayerValidationException>(</div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  <span class="stringliteral">"LstmLayer: TensorShape set on OutputSlot[3] does not match the inferred shape."</span>,</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  <a class="code" href="classarmnn_1_1_layer.xhtml#a0e36688a43c35668d8db5257274c68fe">GetOutputSlot</a>(3).<a class="code" href="classarmnn_1_1_output_slot.xhtml#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.xhtml#a8b5d0f8a24e9d9238f412260a552acf8">GetShape</a>(),</div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  inferredShapes[3]);</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>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_layer_with_parameters.xhtml#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_lstm_descriptor.xhtml#a4a8ec49f130084445d44297549254780">m_LayerNormEnabled</a>)</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  {</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  <span class="keywordflow">if</span>(!<a class="code" href="classarmnn_1_1_layer_with_parameters.xhtml#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_lstm_descriptor.xhtml#ad474e5c51a0b194ef32e812b86c0cbdb">m_CifgEnabled</a>)</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  {</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.xhtml#a706418b4d19614be07f2eca8230bfde0">m_InputLayerNormWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  <span class="stringliteral">"LstmLayer: m_LayerNormParameters.m_inputLayerNormWeights should not be null."</span>);</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  }</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.xhtml#a559113765ea5e2ddbd9e9e5e2869a103">m_ForgetLayerNormWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  <span class="stringliteral">"LstmLayer: m_LayerNormParameters.m_forgetLayerNormWeights should not be null."</span>);</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.xhtml#a3cab71ebbe91e75be538e5670a40fec5">m_CellLayerNormWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  <span class="stringliteral">"LstmLayer: m_LayerNormParameters.m_cellLayerNormWeights should not be null."</span>);</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.xhtml#a69fdb952b874669cbb2a281815a20be2">m_OutputLayerNormWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  <span class="stringliteral">"LstmLayer: m_LayerNormParameters.m_outputLayerNormWeights should not be null."</span>);</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  }</div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span> }</div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span> </div><div class="line"><a name="l00266"></a><span class="lineno"><a class="line" href="classarmnn_1_1_lstm_layer.xhtml#abe659a5afa7523f5dbc04bcba9b31f1a"> 266</a></span> <a class="code" href="classarmnn_1_1_layer.xhtml#a585d59ec610af46a76487fd6c1c55ac1">Layer::ConstantTensors</a> <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#abe659a5afa7523f5dbc04bcba9b31f1a">LstmLayer::GetConstantTensorsByRef</a>()</div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span> {</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  <span class="keywordflow">return</span> {<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a>,</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a>,</div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a>,</div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a>,</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a>,</div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a>,</div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a>,</div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a>,</div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a>,</div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span> </div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  <span class="comment">// Cifg parameters</span></div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a>,</div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a>,</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a658f4245732f95c9fe756a934d370ca8">m_CellToInputWeights</a>,</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a>,</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span> </div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  <span class="comment">// Projection parameters</span></div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a3d3e6d0c3e6e570d9f831489c3bd14ce">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_projection_parameters.xhtml#a3ec2885c48ce888516e27c8b75a8cb83">m_ProjectionWeights</a>,</div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a3d3e6d0c3e6e570d9f831489c3bd14ce">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_projection_parameters.xhtml#aa9f2880e4e2a1eb731f61c1e0941c6a7">m_ProjectionBias</a>,</div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span> </div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  <span class="comment">// Peephole parameters</span></div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a4efa0f4d46817ab94e36c8507c26f276">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_peephole_parameters.xhtml#a5d0ebbbb11b727a67877df40b59a628c">m_CellToForgetWeights</a>,</div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a4efa0f4d46817ab94e36c8507c26f276">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_peephole_parameters.xhtml#a310e133b0b51b93a74b83008893792e9">m_CellToOutputWeights</a>,</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span> </div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  <span class="comment">// Layer normalisation parameters</span></div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.xhtml#a706418b4d19614be07f2eca8230bfde0">m_InputLayerNormWeights</a>,</div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.xhtml#a559113765ea5e2ddbd9e9e5e2869a103">m_ForgetLayerNormWeights</a>,</div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.xhtml#a3cab71ebbe91e75be538e5670a40fec5">m_CellLayerNormWeights</a>,</div><div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.xhtml#a69fdb952b874669cbb2a281815a20be2">m_OutputLayerNormWeights</a>};</div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span> }</div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span> </div><div class="line"><a name="l00299"></a><span class="lineno"><a class="line" href="classarmnn_1_1_lstm_layer.xhtml#a75a50f464326fefa605ea84ae2c9be85"> 299</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a75a50f464326fefa605ea84ae2c9be85">LstmLayer::Accept</a>(<a class="code" href="classarmnn_1_1_i_layer_visitor.xhtml">ILayerVisitor</a>& visitor)<span class="keyword"> const</span></div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span> <span class="keyword"></span>{</div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  <a class="code" href="structarmnn_1_1_lstm_input_params.xhtml">LstmInputParams</a> inputParams;</div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> inputToInputWeightsTensor;</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a> != <span class="keyword">nullptr</span>)</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>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> inputToInputWeightsTensorCopy(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  inputToInputWeightsTensor = inputToInputWeightsTensorCopy;</div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  inputParams.<a class="code" href="structarmnn_1_1_lstm_input_params.xhtml#affcee5f4ab5994a21bee3b78b4e43de3">m_InputToInputWeights</a> = &inputToInputWeightsTensor;</div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  }</div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> inputToForgetWeightsTensor;</div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  {</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> inputToForgetWeightsTensorCopy(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  inputToForgetWeightsTensor = inputToForgetWeightsTensorCopy;</div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  inputParams.<a class="code" href="structarmnn_1_1_lstm_input_params.xhtml#a31da1ead6794dd64571afdd0b6efc771">m_InputToForgetWeights</a> = &inputToForgetWeightsTensor;</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  }</div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> inputToCellWeightsTensor;</div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  {</div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> inputToCellWeightsTensorCopy(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  inputToCellWeightsTensor = inputToCellWeightsTensorCopy;</div><div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  inputParams.<a class="code" href="structarmnn_1_1_lstm_input_params.xhtml#a49e11acda22742cbaf6f1b259ead0d84">m_InputToCellWeights</a> = &inputToCellWeightsTensor;</div><div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  }</div><div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> inputToOutputWeightsTensor;</div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a> != <span class="keyword">nullptr</span>)</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>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> inputToOutputWeightsTensorCopy(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  inputToOutputWeightsTensor = inputToOutputWeightsTensorCopy;</div><div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  inputParams.<a class="code" href="structarmnn_1_1_lstm_input_params.xhtml#a6e30c7b3451da3ea9cf4259fb602e6e6">m_InputToOutputWeights</a> = &inputToOutputWeightsTensor;</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>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> recurrentToInputWeightsTensor;</div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  {</div><div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> recurrentToInputWeightsTensorCopy(</div><div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span>  recurrentToInputWeightsTensor = recurrentToInputWeightsTensorCopy;</div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span>  inputParams.<a class="code" href="structarmnn_1_1_lstm_input_params.xhtml#a435d3651482bbfcc11263b4e4e0c900f">m_RecurrentToInputWeights</a> = &recurrentToInputWeightsTensor;</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>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> recurrentToForgetWeightsTensor;</div><div class="line"><a name="l00344"></a><span class="lineno"> 344</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a> != <span class="keyword">nullptr</span>)</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>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> recurrentToForgetWeightsTensorCopy(</div><div class="line"><a name="l00347"></a><span class="lineno"> 347</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00348"></a><span class="lineno"> 348</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00349"></a><span class="lineno"> 349</span>  recurrentToForgetWeightsTensor = recurrentToForgetWeightsTensorCopy;</div><div class="line"><a name="l00350"></a><span class="lineno"> 350</span>  inputParams.<a class="code" href="structarmnn_1_1_lstm_input_params.xhtml#ae83131e16df1cace69395a5f99bc5ecb">m_RecurrentToForgetWeights</a> = &recurrentToForgetWeightsTensor;</div><div class="line"><a name="l00351"></a><span class="lineno"> 351</span>  }</div><div class="line"><a name="l00352"></a><span class="lineno"> 352</span>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> recurrentToCellWeightsTensor;</div><div class="line"><a name="l00353"></a><span class="lineno"> 353</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00354"></a><span class="lineno"> 354</span>  {</div><div class="line"><a name="l00355"></a><span class="lineno"> 355</span>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> recurrentToCellWeightsTensorCopy(</div><div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00357"></a><span class="lineno"> 357</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  recurrentToCellWeightsTensor = recurrentToCellWeightsTensorCopy;</div><div class="line"><a name="l00359"></a><span class="lineno"> 359</span>  inputParams.<a class="code" href="structarmnn_1_1_lstm_input_params.xhtml#a1759754ccb88ecc9af44f3aae6e244ee">m_RecurrentToCellWeights</a> = &recurrentToCellWeightsTensor;</div><div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  }</div><div class="line"><a name="l00361"></a><span class="lineno"> 361</span>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> recurrentToOutputWeightsTensor;</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_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</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>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> recurrentToOutputWeightsTensorCopy(</div><div class="line"><a name="l00365"></a><span class="lineno"> 365</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00366"></a><span class="lineno"> 366</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00367"></a><span class="lineno"> 367</span>  recurrentToOutputWeightsTensor = recurrentToOutputWeightsTensorCopy;</div><div class="line"><a name="l00368"></a><span class="lineno"> 368</span>  inputParams.<a class="code" href="structarmnn_1_1_lstm_input_params.xhtml#a56b81ca8ba4b4937e0787e4951f043fc">m_RecurrentToOutputWeights</a> = &recurrentToOutputWeightsTensor;</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>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> cellToInputWeightsTensor;</div><div class="line"><a name="l00371"></a><span class="lineno"> 371</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a658f4245732f95c9fe756a934d370ca8">m_CellToInputWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00372"></a><span class="lineno"> 372</span>  {</div><div class="line"><a name="l00373"></a><span class="lineno"> 373</span>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> cellToInputWeightsTensorCopy(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a658f4245732f95c9fe756a934d370ca8">m_CellToInputWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a658f4245732f95c9fe756a934d370ca8">m_CellToInputWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00375"></a><span class="lineno"> 375</span>  cellToInputWeightsTensor = cellToInputWeightsTensorCopy;</div><div class="line"><a name="l00376"></a><span class="lineno"> 376</span>  inputParams.<a class="code" href="structarmnn_1_1_lstm_input_params.xhtml#a484bafa2f8453a7c5a4a00b92a61b006">m_CellToInputWeights</a> = &cellToInputWeightsTensor;</div><div class="line"><a name="l00377"></a><span class="lineno"> 377</span>  }</div><div class="line"><a name="l00378"></a><span class="lineno"> 378</span>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> cellToForgetWeightsTensor;</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_lstm_layer.xhtml#a4efa0f4d46817ab94e36c8507c26f276">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_peephole_parameters.xhtml#a5d0ebbbb11b727a67877df40b59a628c">m_CellToForgetWeights</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>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> cellToForgetWeightsTensorCopy(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a4efa0f4d46817ab94e36c8507c26f276">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_peephole_parameters.xhtml#a5d0ebbbb11b727a67877df40b59a628c">m_CellToForgetWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a4efa0f4d46817ab94e36c8507c26f276">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_peephole_parameters.xhtml#a5d0ebbbb11b727a67877df40b59a628c">m_CellToForgetWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  cellToForgetWeightsTensor = cellToForgetWeightsTensorCopy;</div><div class="line"><a name="l00384"></a><span class="lineno"> 384</span>  inputParams.<a class="code" href="structarmnn_1_1_lstm_input_params.xhtml#a35b112e30c3eb153806a2a8c16d178e3">m_CellToForgetWeights</a> = &cellToForgetWeightsTensor;</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>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> cellToOutputWeightsTensor;</div><div class="line"><a name="l00387"></a><span class="lineno"> 387</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a4efa0f4d46817ab94e36c8507c26f276">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_peephole_parameters.xhtml#a310e133b0b51b93a74b83008893792e9">m_CellToOutputWeights</a> != <span class="keyword">nullptr</span>)</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>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> cellToOutputWeightsTensorCopy(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a4efa0f4d46817ab94e36c8507c26f276">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_peephole_parameters.xhtml#a310e133b0b51b93a74b83008893792e9">m_CellToOutputWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00390"></a><span class="lineno"> 390</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a4efa0f4d46817ab94e36c8507c26f276">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_peephole_parameters.xhtml#a310e133b0b51b93a74b83008893792e9">m_CellToOutputWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00391"></a><span class="lineno"> 391</span>  cellToOutputWeightsTensor = cellToOutputWeightsTensorCopy;</div><div class="line"><a name="l00392"></a><span class="lineno"> 392</span>  inputParams.<a class="code" href="structarmnn_1_1_lstm_input_params.xhtml#afe204ca375b74e9a72640c9227918d0a">m_CellToOutputWeights</a> = &cellToOutputWeightsTensor;</div><div class="line"><a name="l00393"></a><span class="lineno"> 393</span>  }</div><div class="line"><a name="l00394"></a><span class="lineno"> 394</span>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> inputGateBiasTensor;</div><div class="line"><a name="l00395"></a><span class="lineno"> 395</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00396"></a><span class="lineno"> 396</span>  {</div><div class="line"><a name="l00397"></a><span class="lineno"> 397</span>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> inputGateBiasTensorCopy(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a>->GetTensorInfo(),</div><div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00399"></a><span class="lineno"> 399</span>  inputGateBiasTensor = inputGateBiasTensorCopy;</div><div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  inputParams.<a class="code" href="structarmnn_1_1_lstm_input_params.xhtml#a9e081a9b94defb30d1558dc912507e0e">m_InputGateBias</a> = &inputGateBiasTensor;</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>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> forgetGateBiasTensor;</div><div class="line"><a name="l00403"></a><span class="lineno"> 403</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00404"></a><span class="lineno"> 404</span>  {</div><div class="line"><a name="l00405"></a><span class="lineno"> 405</span>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> forgetGateBiasTensorCopy(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a>->GetTensorInfo(),</div><div class="line"><a name="l00406"></a><span class="lineno"> 406</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00407"></a><span class="lineno"> 407</span>  forgetGateBiasTensor = forgetGateBiasTensorCopy;</div><div class="line"><a name="l00408"></a><span class="lineno"> 408</span>  inputParams.<a class="code" href="structarmnn_1_1_lstm_input_params.xhtml#ace7a1f1f1041b412b7d8ef82b95ff352">m_ForgetGateBias</a> = &forgetGateBiasTensor;</div><div class="line"><a name="l00409"></a><span class="lineno"> 409</span>  }</div><div class="line"><a name="l00410"></a><span class="lineno"> 410</span>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> cellBiasTensor;</div><div class="line"><a name="l00411"></a><span class="lineno"> 411</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00412"></a><span class="lineno"> 412</span>  {</div><div class="line"><a name="l00413"></a><span class="lineno"> 413</span>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> cellBiasTensorCopy(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a>->GetTensorInfo(),</div><div class="line"><a name="l00414"></a><span class="lineno"> 414</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00415"></a><span class="lineno"> 415</span>  cellBiasTensor = cellBiasTensorCopy;</div><div class="line"><a name="l00416"></a><span class="lineno"> 416</span>  inputParams.<a class="code" href="structarmnn_1_1_lstm_input_params.xhtml#a4a9d678146f572808a361dbdc5489f38">m_CellBias</a> = &cellBiasTensor;</div><div class="line"><a name="l00417"></a><span class="lineno"> 417</span>  }</div><div class="line"><a name="l00418"></a><span class="lineno"> 418</span>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> outputGateBias;</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_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</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>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> outputGateBiasCopy(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a>->GetTensorInfo(),</div><div class="line"><a name="l00422"></a><span class="lineno"> 422</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.xhtml#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00423"></a><span class="lineno"> 423</span>  outputGateBias = outputGateBiasCopy;</div><div class="line"><a name="l00424"></a><span class="lineno"> 424</span>  inputParams.<a class="code" href="structarmnn_1_1_lstm_input_params.xhtml#a8c0f6d48705f40c5590dde09be262222">m_OutputGateBias</a> = &outputGateBias;</div><div class="line"><a name="l00425"></a><span class="lineno"> 425</span>  }</div><div class="line"><a name="l00426"></a><span class="lineno"> 426</span>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> projectionWeightsTensor;</div><div class="line"><a name="l00427"></a><span class="lineno"> 427</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a3d3e6d0c3e6e570d9f831489c3bd14ce">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_projection_parameters.xhtml#a3ec2885c48ce888516e27c8b75a8cb83">m_ProjectionWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00428"></a><span class="lineno"> 428</span>  {</div><div class="line"><a name="l00429"></a><span class="lineno"> 429</span>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> projectionWeightsTensorCopy(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a3d3e6d0c3e6e570d9f831489c3bd14ce">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_projection_parameters.xhtml#a3ec2885c48ce888516e27c8b75a8cb83">m_ProjectionWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00430"></a><span class="lineno"> 430</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a3d3e6d0c3e6e570d9f831489c3bd14ce">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_projection_parameters.xhtml#a3ec2885c48ce888516e27c8b75a8cb83">m_ProjectionWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00431"></a><span class="lineno"> 431</span>  projectionWeightsTensor = projectionWeightsTensorCopy;</div><div class="line"><a name="l00432"></a><span class="lineno"> 432</span>  inputParams.<a class="code" href="structarmnn_1_1_lstm_input_params.xhtml#ab03e6e1514f74427916c892f473fe04c">m_ProjectionWeights</a> = &projectionWeightsTensor;</div><div class="line"><a name="l00433"></a><span class="lineno"> 433</span>  }</div><div class="line"><a name="l00434"></a><span class="lineno"> 434</span>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> projectionBiasTensor;</div><div class="line"><a name="l00435"></a><span class="lineno"> 435</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a3d3e6d0c3e6e570d9f831489c3bd14ce">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_projection_parameters.xhtml#aa9f2880e4e2a1eb731f61c1e0941c6a7">m_ProjectionBias</a> != <span class="keyword">nullptr</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>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> projectionBiasTensorCopy(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a3d3e6d0c3e6e570d9f831489c3bd14ce">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_projection_parameters.xhtml#aa9f2880e4e2a1eb731f61c1e0941c6a7">m_ProjectionBias</a>->GetTensorInfo(),</div><div class="line"><a name="l00438"></a><span class="lineno"> 438</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a3d3e6d0c3e6e570d9f831489c3bd14ce">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_projection_parameters.xhtml#aa9f2880e4e2a1eb731f61c1e0941c6a7">m_ProjectionBias</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00439"></a><span class="lineno"> 439</span>  projectionBiasTensor = projectionBiasTensorCopy;</div><div class="line"><a name="l00440"></a><span class="lineno"> 440</span>  inputParams.<a class="code" href="structarmnn_1_1_lstm_input_params.xhtml#a44b0e6b16708df7f0d2bbab141688aaa">m_ProjectionBias</a> = &projectionBiasTensor;</div><div class="line"><a name="l00441"></a><span class="lineno"> 441</span>  }</div><div class="line"><a name="l00442"></a><span class="lineno"> 442</span>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> inputLayerNormTensor;</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_lstm_layer.xhtml#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.xhtml#a706418b4d19614be07f2eca8230bfde0">m_InputLayerNormWeights</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>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> inputLayerNormTensorCopy(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.xhtml#a706418b4d19614be07f2eca8230bfde0">m_InputLayerNormWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00446"></a><span class="lineno"> 446</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.xhtml#a706418b4d19614be07f2eca8230bfde0">m_InputLayerNormWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00447"></a><span class="lineno"> 447</span>  inputLayerNormTensor = inputLayerNormTensorCopy;</div><div class="line"><a name="l00448"></a><span class="lineno"> 448</span>  inputParams.<a class="code" href="structarmnn_1_1_lstm_input_params.xhtml#a0cd848f65ec31778d708852f0042fe37">m_InputLayerNormWeights</a> = &inputLayerNormTensor;</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>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> forgetLayerNormTensor;</div><div class="line"><a name="l00451"></a><span class="lineno"> 451</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.xhtml#a559113765ea5e2ddbd9e9e5e2869a103">m_ForgetLayerNormWeights</a> != <span class="keyword">nullptr</span>)</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>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> forgetLayerNormTensorCopy(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.xhtml#a559113765ea5e2ddbd9e9e5e2869a103">m_ForgetLayerNormWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00454"></a><span class="lineno"> 454</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.xhtml#a559113765ea5e2ddbd9e9e5e2869a103">m_ForgetLayerNormWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00455"></a><span class="lineno"> 455</span>  forgetLayerNormTensor = forgetLayerNormTensorCopy;</div><div class="line"><a name="l00456"></a><span class="lineno"> 456</span>  inputParams.<a class="code" href="structarmnn_1_1_lstm_input_params.xhtml#af0f796fba1a2be9c56b4c9ee534577ee">m_ForgetLayerNormWeights</a> = &forgetLayerNormTensor;</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>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> cellLayerNormTensor;</div><div class="line"><a name="l00459"></a><span class="lineno"> 459</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.xhtml#a3cab71ebbe91e75be538e5670a40fec5">m_CellLayerNormWeights</a> != <span class="keyword">nullptr</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>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> cellLayerNormTensorCopy(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.xhtml#a3cab71ebbe91e75be538e5670a40fec5">m_CellLayerNormWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00462"></a><span class="lineno"> 462</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.xhtml#a3cab71ebbe91e75be538e5670a40fec5">m_CellLayerNormWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00463"></a><span class="lineno"> 463</span>  cellLayerNormTensor = cellLayerNormTensorCopy;</div><div class="line"><a name="l00464"></a><span class="lineno"> 464</span>  inputParams.<a class="code" href="structarmnn_1_1_lstm_input_params.xhtml#ad0b8c32bb5381f4cc999093ba3b98b43">m_CellLayerNormWeights</a> = &cellLayerNormTensor;</div><div class="line"><a name="l00465"></a><span class="lineno"> 465</span>  }</div><div class="line"><a name="l00466"></a><span class="lineno"> 466</span>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> outputLayerNormTensor;</div><div class="line"><a name="l00467"></a><span class="lineno"> 467</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.xhtml#a69fdb952b874669cbb2a281815a20be2">m_OutputLayerNormWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00468"></a><span class="lineno"> 468</span>  {</div><div class="line"><a name="l00469"></a><span class="lineno"> 469</span>  <a class="code" href="classarmnn_1_1_const_tensor.xhtml">ConstTensor</a> outputLayerNormTensorCopy(<a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.xhtml#a69fdb952b874669cbb2a281815a20be2">m_OutputLayerNormWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00470"></a><span class="lineno"> 470</span>  <a class="code" href="classarmnn_1_1_lstm_layer.xhtml#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.xhtml#a69fdb952b874669cbb2a281815a20be2">m_OutputLayerNormWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00471"></a><span class="lineno"> 471</span>  outputLayerNormTensor = outputLayerNormTensorCopy;</div><div class="line"><a name="l00472"></a><span class="lineno"> 472</span>  inputParams.<a class="code" href="structarmnn_1_1_lstm_input_params.xhtml#a9b18daea2e9f42386055326fd016519a">m_OutputLayerNormWeights</a> = &outputLayerNormTensor;</div><div class="line"><a name="l00473"></a><span class="lineno"> 473</span>  }</div><div class="line"><a name="l00474"></a><span class="lineno"> 474</span> </div><div class="line"><a name="l00475"></a><span class="lineno"> 475</span> </div><div class="line"><a name="l00476"></a><span class="lineno"> 476</span>  visitor.<a class="code" href="classarmnn_1_1_i_layer_visitor.xhtml#aed730aaef50861ea8b7b6276ce880c9a">VisitLstmLayer</a>(<span class="keyword">this</span>, <a class="code" href="classarmnn_1_1_layer_with_parameters.xhtml#a502c06a1b13e6d90a6cbf47c081f1444">GetParameters</a>(), inputParams, <a class="code" href="classarmnn_1_1_layer.xhtml#a7ddf0cf6f620d59c10e63495ace795d0">GetName</a>());</div><div class="line"><a name="l00477"></a><span class="lineno"> 477</span> }</div><div class="line"><a name="l00478"></a><span class="lineno"> 478</span> </div><div class="line"><a name="l00479"></a><span class="lineno"> 479</span> } <span class="comment">// namespace armnn</span></div><div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_xhtml_a0e0e17d5b494993407cb75d614455ddd"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.xhtml#a0e0e17d5b494993407cb75d614455ddd">armnn::LstmBasicParameters::m_ForgetGateBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_ForgetGateBias</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.xhtml#l00069">LstmLayer.hpp:69</a></div></div> |
| 102 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_xhtml_ae8d897b8d282f25a6eb784c4aaa98df6"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.xhtml#ae8d897b8d282f25a6eb784c4aaa98df6">armnn::LstmBasicParameters::m_InputToOutputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToOutputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [input_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.xhtml#l00061">LstmLayer.hpp:61</a></div></div> |
| 103 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_xhtml_a6e8c3db3c5474f0760553ff93fbc39e6"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.xhtml#a6e8c3db3c5474f0760553ff93fbc39e6">armnn::LstmBasicParameters::m_RecurrentToCellWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToCellWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [output_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.xhtml#l00065">LstmLayer.hpp:65</a></div></div> |
| 104 | <div class="ttc" id="structarmnn_1_1_lstm_descriptor_xhtml_a6c9de81fc65b3c4924cab11907075a17"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.xhtml#a6c9de81fc65b3c4924cab11907075a17">armnn::LstmDescriptor::m_ProjectionEnabled</a></div><div class="ttdeci">bool m_ProjectionEnabled</div><div class="ttdoc">Enable/disable the projection layer. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.xhtml#l00871">Descriptors.hpp:871</a></div></div> |
| 105 | <div class="ttc" id="classarmnn_1_1_lstm_layer_xhtml_a8838b317568861294a9df608221f185e"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.xhtml#a8838b317568861294a9df608221f185e">armnn::LstmLayer::m_BasicParameters</a></div><div class="ttdeci">LstmBasicParameters m_BasicParameters</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.xhtml#l00081">LstmLayer.hpp:81</a></div></div> |
| 106 | <div class="ttc" id="structarmnn_1_1_lstm_input_params_xhtml_ab03e6e1514f74427916c892f473fe04c"><div class="ttname"><a href="structarmnn_1_1_lstm_input_params.xhtml#ab03e6e1514f74427916c892f473fe04c">armnn::LstmInputParams::m_ProjectionWeights</a></div><div class="ttdeci">const ConstTensor * m_ProjectionWeights</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_params_8hpp_source.xhtml#l00055">LstmParams.hpp:55</a></div></div> |
| 107 | <div class="ttc" id="structarmnn_1_1_lstm_input_params_xhtml_a4a9d678146f572808a361dbdc5489f38"><div class="ttname"><a href="structarmnn_1_1_lstm_input_params.xhtml#a4a9d678146f572808a361dbdc5489f38">armnn::LstmInputParams::m_CellBias</a></div><div class="ttdeci">const ConstTensor * m_CellBias</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_params_8hpp_source.xhtml#l00053">LstmParams.hpp:53</a></div></div> |
| 108 | <div class="ttc" id="classarmnn_1_1_layer_with_parameters_xhtml_ad32ac22bc72e28dfd6b466d143c8e262"><div class="ttname"><a href="classarmnn_1_1_layer_with_parameters.xhtml#ad32ac22bc72e28dfd6b466d143c8e262">armnn::LayerWithParameters< LstmDescriptor >::m_Param</a></div><div class="ttdeci">LstmDescriptor 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.xhtml#l00050">LayerWithParameters.hpp:50</a></div></div> |
| 109 | <div class="ttc" id="classarmnn_1_1_layer_with_parameters_xhtml_a502c06a1b13e6d90a6cbf47c081f1444"><div class="ttname"><a href="classarmnn_1_1_layer_with_parameters.xhtml#a502c06a1b13e6d90a6cbf47c081f1444">armnn::LayerWithParameters< LstmDescriptor >::GetParameters</a></div><div class="ttdeci">const LstmDescriptor & GetParameters() const</div><div class="ttdef"><b>Definition:</b> <a href="_layer_with_parameters_8hpp_source.xhtml#l00018">LayerWithParameters.hpp:18</a></div></div> |
| 110 | <div class="ttc" id="classarmnn_1_1_tensor_info_xhtml_a8b5d0f8a24e9d9238f412260a552acf8"><div class="ttname"><a href="classarmnn_1_1_tensor_info.xhtml#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.xhtml#l00088">Tensor.hpp:88</a></div></div> |
| 111 | <div class="ttc" id="structarmnn_1_1_lstm_opt_cifg_parameters_xhtml_a4d731c5e73638c7cf7e63f65e9f8b550"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a4d731c5e73638c7cf7e63f65e9f8b550">armnn::LstmOptCifgParameters::m_InputToInputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToInputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [input_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.xhtml#l00029">LstmLayer.hpp:29</a></div></div> |
| 112 | <div class="ttc" id="structarmnn_1_1_lstm_queue_descriptor_xhtml_a45d73e66cbb2b65049e4016c20657ccf"><div class="ttname"><a href="structarmnn_1_1_lstm_queue_descriptor.xhtml#a45d73e66cbb2b65049e4016c20657ccf">armnn::LstmQueueDescriptor::m_RecurrentToForgetWeights</a></div><div class="ttdeci">const ConstCpuTensorHandle * m_RecurrentToForgetWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.xhtml#l00390">WorkloadData.hpp:390</a></div></div> |
| 113 | <div class="ttc" id="structarmnn_1_1_lstm_opt_cifg_parameters_xhtml_a658f4245732f95c9fe756a934d370ca8"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a658f4245732f95c9fe756a934d370ca8">armnn::LstmOptCifgParameters::m_CellToInputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_CellToInputWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.xhtml#l00033">LstmLayer.hpp:33</a></div></div> |
| 114 | <div class="ttc" id="structarmnn_1_1_lstm_queue_descriptor_xhtml_a6f74071b0e07bbe2cb20a8f78826e084"><div class="ttname"><a href="structarmnn_1_1_lstm_queue_descriptor.xhtml#a6f74071b0e07bbe2cb20a8f78826e084">armnn::LstmQueueDescriptor::m_CellToOutputWeights</a></div><div class="ttdeci">const ConstCpuTensorHandle * m_CellToOutputWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.xhtml#l00395">WorkloadData.hpp:395</a></div></div> |
| 115 | <div class="ttc" id="structarmnn_1_1_lstm_input_params_xhtml_afe204ca375b74e9a72640c9227918d0a"><div class="ttname"><a href="structarmnn_1_1_lstm_input_params.xhtml#afe204ca375b74e9a72640c9227918d0a">armnn::LstmInputParams::m_CellToOutputWeights</a></div><div class="ttdeci">const ConstTensor * m_CellToOutputWeights</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_params_8hpp_source.xhtml#l00050">LstmParams.hpp:50</a></div></div> |
| 116 | <div class="ttc" id="structarmnn_1_1_lstm_queue_descriptor_xhtml_a28ad98d17603fd8b12e046f8ece58970"><div class="ttname"><a href="structarmnn_1_1_lstm_queue_descriptor.xhtml#a28ad98d17603fd8b12e046f8ece58970">armnn::LstmQueueDescriptor::m_InputToCellWeights</a></div><div class="ttdeci">const ConstCpuTensorHandle * m_InputToCellWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.xhtml#l00387">WorkloadData.hpp:387</a></div></div> |
| 117 | <div class="ttc" id="_workload_factory_8hpp_xhtml"><div class="ttname"><a href="_workload_factory_8hpp.xhtml">WorkloadFactory.hpp</a></div></div> |
| 118 | <div class="ttc" id="structarmnn_1_1_lstm_queue_descriptor_xhtml_a83dc9086b2e4a4e4cadb66bd874df798"><div class="ttname"><a href="structarmnn_1_1_lstm_queue_descriptor.xhtml#a83dc9086b2e4a4e4cadb66bd874df798">armnn::LstmQueueDescriptor::m_InputToOutputWeights</a></div><div class="ttdeci">const ConstCpuTensorHandle * m_InputToOutputWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.xhtml#l00388">WorkloadData.hpp:388</a></div></div> |
| 119 | <div class="ttc" id="classarmnn_1_1_i_workload_factory_xhtml"><div class="ttname"><a href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_workload_factory_8hpp_source.xhtml#l00021">WorkloadFactory.hpp:21</a></div></div> |
| 120 | <div class="ttc" id="structarmnn_1_1_lstm_opt_layer_norm_parameters_xhtml_a3cab71ebbe91e75be538e5670a40fec5"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_layer_norm_parameters.xhtml#a3cab71ebbe91e75be538e5670a40fec5">armnn::LstmOptLayerNormParameters::m_CellLayerNormWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_CellLayerNormWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.xhtml#l00021">LstmLayer.hpp:21</a></div></div> |
| 121 | <div class="ttc" id="classarmnn_1_1_i_layer_visitor_xhtml_aed730aaef50861ea8b7b6276ce880c9a"><div class="ttname"><a href="classarmnn_1_1_i_layer_visitor.xhtml#aed730aaef50861ea8b7b6276ce880c9a">armnn::ILayerVisitor::VisitLstmLayer</a></div><div class="ttdeci">virtual void VisitLstmLayer(const IConnectableLayer *layer, const LstmDescriptor &descriptor, const LstmInputParams &params, const char *name=nullptr)=0</div><div class="ttdoc">Function an Lstm layer should call back to when its Accept(ILayerVisitor&) function is invoked...</div></div> |
| 122 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_xhtml_a3d5f129421bbe6479a66d4ed1356bf68"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.xhtml#a3d5f129421bbe6479a66d4ed1356bf68">armnn::LstmBasicParameters::m_RecurrentToForgetWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToForgetWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [output_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.xhtml#l00063">LstmLayer.hpp:63</a></div></div> |
| 123 | <div class="ttc" id="structarmnn_1_1_lstm_queue_descriptor_xhtml_a2ba352eb1fdf6dc5ecf7f2e6b6b48f94"><div class="ttname"><a href="structarmnn_1_1_lstm_queue_descriptor.xhtml#a2ba352eb1fdf6dc5ecf7f2e6b6b48f94">armnn::LstmQueueDescriptor::m_ProjectionBias</a></div><div class="ttdeci">const ConstCpuTensorHandle * m_ProjectionBias</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.xhtml#l00401">WorkloadData.hpp:401</a></div></div> |
| 124 | <div class="ttc" id="classarmnn_1_1_i_workload_factory_xhtml_ab6bd7aaf685d4e956d780f8655a6f174"><div class="ttname"><a href="classarmnn_1_1_i_workload_factory.xhtml#ab6bd7aaf685d4e956d780f8655a6f174">armnn::IWorkloadFactory::CreateLstm</a></div><div class="ttdeci">virtual std::unique_ptr< IWorkload > CreateLstm(const LstmQueueDescriptor &descriptor, const WorkloadInfo &info) const</div><div class="ttdef"><b>Definition:</b> <a href="_workload_factory_8cpp_source.xhtml#l01262">WorkloadFactory.cpp:1262</a></div></div> |
| 125 | <div class="ttc" id="structarmnn_1_1_lstm_input_params_xhtml_a484bafa2f8453a7c5a4a00b92a61b006"><div class="ttname"><a href="structarmnn_1_1_lstm_input_params.xhtml#a484bafa2f8453a7c5a4a00b92a61b006">armnn::LstmInputParams::m_CellToInputWeights</a></div><div class="ttdeci">const ConstTensor * m_CellToInputWeights</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_params_8hpp_source.xhtml#l00048">LstmParams.hpp:48</a></div></div> |
| 126 | <div class="ttc" id="structarmnn_1_1_lstm_queue_descriptor_xhtml_a332551528a4b3534c2d6c89ce816fcd9"><div class="ttname"><a href="structarmnn_1_1_lstm_queue_descriptor.xhtml#a332551528a4b3534c2d6c89ce816fcd9">armnn::LstmQueueDescriptor::m_OutputGateBias</a></div><div class="ttdeci">const ConstCpuTensorHandle * m_OutputGateBias</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.xhtml#l00399">WorkloadData.hpp:399</a></div></div> |
| 127 | <div class="ttc" id="structarmnn_1_1_lstm_input_params_xhtml_a9e081a9b94defb30d1558dc912507e0e"><div class="ttname"><a href="structarmnn_1_1_lstm_input_params.xhtml#a9e081a9b94defb30d1558dc912507e0e">armnn::LstmInputParams::m_InputGateBias</a></div><div class="ttdeci">const ConstTensor * m_InputGateBias</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_params_8hpp_source.xhtml#l00051">LstmParams.hpp:51</a></div></div> |
| 128 | <div class="ttc" id="structarmnn_1_1_lstm_queue_descriptor_xhtml_a5c1c0a7ead7273788976c9e97cffaab7"><div class="ttname"><a href="structarmnn_1_1_lstm_queue_descriptor.xhtml#a5c1c0a7ead7273788976c9e97cffaab7">armnn::LstmQueueDescriptor::m_CellToInputWeights</a></div><div class="ttdeci">const ConstCpuTensorHandle * m_CellToInputWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.xhtml#l00393">WorkloadData.hpp:393</a></div></div> |
| 129 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_xhtml_aacb55e0992b6781a7bd3225ab6e6bb2f"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.xhtml#aacb55e0992b6781a7bd3225ab6e6bb2f">armnn::LstmBasicParameters::m_OutputGateBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_OutputGateBias</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.xhtml#l00073">LstmLayer.hpp:73</a></div></div> |
| 130 | <div class="ttc" id="structarmnn_1_1_lstm_input_params_xhtml_a1759754ccb88ecc9af44f3aae6e244ee"><div class="ttname"><a href="structarmnn_1_1_lstm_input_params.xhtml#a1759754ccb88ecc9af44f3aae6e244ee">armnn::LstmInputParams::m_RecurrentToCellWeights</a></div><div class="ttdeci">const ConstTensor * m_RecurrentToCellWeights</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_params_8hpp_source.xhtml#l00046">LstmParams.hpp:46</a></div></div> |
| 131 | <div class="ttc" id="classarmnn_1_1_lstm_layer_xhtml_adfa912d0c4c6c00f1af2cbfa799572b7"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.xhtml#adfa912d0c4c6c00f1af2cbfa799572b7">armnn::LstmLayer::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 LSTM type. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8cpp_source.xhtml#l00022">LstmLayer.cpp:22</a></div></div> |
| 132 | <div class="ttc" id="structarmnn_1_1_lstm_queue_descriptor_xhtml_a518f0195d0278a892b49649b8860d17f"><div class="ttname"><a href="structarmnn_1_1_lstm_queue_descriptor.xhtml#a518f0195d0278a892b49649b8860d17f">armnn::LstmQueueDescriptor::m_CellLayerNormWeights</a></div><div class="ttdeci">const ConstCpuTensorHandle * m_CellLayerNormWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.xhtml#l00404">WorkloadData.hpp:404</a></div></div> |
| 133 | <div class="ttc" id="structarmnn_1_1_lstm_opt_layer_norm_parameters_xhtml_a706418b4d19614be07f2eca8230bfde0"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_layer_norm_parameters.xhtml#a706418b4d19614be07f2eca8230bfde0">armnn::LstmOptLayerNormParameters::m_InputLayerNormWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputLayerNormWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.xhtml#l00017">LstmLayer.hpp:17</a></div></div> |
| 134 | <div class="ttc" id="structarmnn_1_1_lstm_input_params_xhtml_af0f796fba1a2be9c56b4c9ee534577ee"><div class="ttname"><a href="structarmnn_1_1_lstm_input_params.xhtml#af0f796fba1a2be9c56b4c9ee534577ee">armnn::LstmInputParams::m_ForgetLayerNormWeights</a></div><div class="ttdeci">const ConstTensor * m_ForgetLayerNormWeights</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_params_8hpp_source.xhtml#l00058">LstmParams.hpp:58</a></div></div> |
| 135 | <div class="ttc" id="structarmnn_1_1_lstm_input_params_xhtml_a35b112e30c3eb153806a2a8c16d178e3"><div class="ttname"><a href="structarmnn_1_1_lstm_input_params.xhtml#a35b112e30c3eb153806a2a8c16d178e3">armnn::LstmInputParams::m_CellToForgetWeights</a></div><div class="ttdeci">const ConstTensor * m_CellToForgetWeights</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_params_8hpp_source.xhtml#l00049">LstmParams.hpp:49</a></div></div> |
| 136 | <div class="ttc" id="namespacearmnn_xhtml"><div class="ttname"><a href="namespacearmnn.xhtml">armnn</a></div><div class="ttdoc">Copyright (c) 2020 ARM Limited. </div><div class="ttdef"><b>Definition:</b> <a href="00__introduction_8dox_source.xhtml#l00025">00_introduction.dox:25</a></div></div> |
| 137 | <div class="ttc" id="classarmnn_1_1_lstm_layer_xhtml"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.xhtml">armnn::LstmLayer</a></div><div class="ttdoc">This layer represents a LSTM operation. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.xhtml#l00077">LstmLayer.hpp:77</a></div></div> |
| 138 | <div class="ttc" id="_lstm_params_8hpp_xhtml"><div class="ttname"><a href="_lstm_params_8hpp.xhtml">LstmParams.hpp</a></div></div> |
| 139 | <div class="ttc" id="structarmnn_1_1_lstm_queue_descriptor_xhtml_acefa49d7faf26933e27e473e7bdb4175"><div class="ttname"><a href="structarmnn_1_1_lstm_queue_descriptor.xhtml#acefa49d7faf26933e27e473e7bdb4175">armnn::LstmQueueDescriptor::m_CellToForgetWeights</a></div><div class="ttdeci">const ConstCpuTensorHandle * m_CellToForgetWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.xhtml#l00394">WorkloadData.hpp:394</a></div></div> |
| 140 | <div class="ttc" id="classarmnn_1_1_tensor_shape_xhtml"><div class="ttname"><a href="classarmnn_1_1_tensor_shape.xhtml">armnn::TensorShape</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.xhtml#l00020">Tensor.hpp:20</a></div></div> |
| 141 | <div class="ttc" id="classarmnn_1_1_input_slot_xhtml_a3153abb7c0c0a84629079b2fac7db54f"><div class="ttname"><a href="classarmnn_1_1_input_slot.xhtml#a3153abb7c0c0a84629079b2fac7db54f">armnn::InputSlot::GetConnection</a></div><div class="ttdeci">const IOutputSlot * GetConnection() const override</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.xhtml#l00199">Layer.hpp:199</a></div></div> |
| 142 | <div class="ttc" id="structarmnn_1_1_lstm_queue_descriptor_xhtml_a75980b5795efd899a0c678a06a900c6d"><div class="ttname"><a href="structarmnn_1_1_lstm_queue_descriptor.xhtml#a75980b5795efd899a0c678a06a900c6d">armnn::LstmQueueDescriptor::m_CellBias</a></div><div class="ttdeci">const ConstCpuTensorHandle * m_CellBias</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.xhtml#l00398">WorkloadData.hpp:398</a></div></div> |
| 143 | <div class="ttc" id="structarmnn_1_1_lstm_queue_descriptor_xhtml_a98d377149071d8842d610cc0734d1cfe"><div class="ttname"><a href="structarmnn_1_1_lstm_queue_descriptor.xhtml#a98d377149071d8842d610cc0734d1cfe">armnn::LstmQueueDescriptor::m_RecurrentToInputWeights</a></div><div class="ttdeci">const ConstCpuTensorHandle * m_RecurrentToInputWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.xhtml#l00389">WorkloadData.hpp:389</a></div></div> |
| 144 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_xhtml_a51255889cbc063130a3d691c1781c5d3"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.xhtml#a51255889cbc063130a3d691c1781c5d3">armnn::LstmBasicParameters::m_CellBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_CellBias</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.xhtml#l00071">LstmLayer.hpp:71</a></div></div> |
| 145 | <div class="ttc" id="structarmnn_1_1_lstm_input_params_xhtml_a8c0f6d48705f40c5590dde09be262222"><div class="ttname"><a href="structarmnn_1_1_lstm_input_params.xhtml#a8c0f6d48705f40c5590dde09be262222">armnn::LstmInputParams::m_OutputGateBias</a></div><div class="ttdeci">const ConstTensor * m_OutputGateBias</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_params_8hpp_source.xhtml#l00054">LstmParams.hpp:54</a></div></div> |
| 146 | <div class="ttc" id="classarmnn_1_1_layer_xhtml_a0607e36e88f38c34c71c663164b76776"><div class="ttname"><a href="classarmnn_1_1_layer.xhtml#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.xhtml#l00338">Layer.cpp:338</a></div></div> |
| 147 | <div class="ttc" id="structarmnn_1_1_lstm_opt_peephole_parameters_xhtml_a5d0ebbbb11b727a67877df40b59a628c"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_peephole_parameters.xhtml#a5d0ebbbb11b727a67877df40b59a628c">armnn::LstmOptPeepholeParameters::m_CellToForgetWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_CellToForgetWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.xhtml#l00049">LstmLayer.hpp:49</a></div></div> |
| 148 | <div class="ttc" id="classarmnn_1_1_layer_xhtml_acf8b8e23bf647836592982f97088d375"><div class="ttname"><a href="classarmnn_1_1_layer.xhtml#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.xhtml#l00310">Layer.hpp:310</a></div></div> |
| 149 | <div class="ttc" id="structarmnn_1_1_lstm_input_params_xhtml_a0cd848f65ec31778d708852f0042fe37"><div class="ttname"><a href="structarmnn_1_1_lstm_input_params.xhtml#a0cd848f65ec31778d708852f0042fe37">armnn::LstmInputParams::m_InputLayerNormWeights</a></div><div class="ttdeci">const ConstTensor * m_InputLayerNormWeights</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_params_8hpp_source.xhtml#l00057">LstmParams.hpp:57</a></div></div> |
| 150 | <div class="ttc" id="structarmnn_1_1_lstm_opt_layer_norm_parameters_xhtml_a69fdb952b874669cbb2a281815a20be2"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_layer_norm_parameters.xhtml#a69fdb952b874669cbb2a281815a20be2">armnn::LstmOptLayerNormParameters::m_OutputLayerNormWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_OutputLayerNormWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.xhtml#l00023">LstmLayer.hpp:23</a></div></div> |
| 151 | <div class="ttc" id="_types_utils_8hpp_xhtml"><div class="ttname"><a href="_types_utils_8hpp.xhtml">TypesUtils.hpp</a></div></div> |
| 152 | <div class="ttc" id="structarmnn_1_1_lstm_queue_descriptor_xhtml_a9cc28aa4fff6ba9a8abdb340c1abdd57"><div class="ttname"><a href="structarmnn_1_1_lstm_queue_descriptor.xhtml#a9cc28aa4fff6ba9a8abdb340c1abdd57">armnn::LstmQueueDescriptor::m_InputLayerNormWeights</a></div><div class="ttdeci">const ConstCpuTensorHandle * m_InputLayerNormWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.xhtml#l00402">WorkloadData.hpp:402</a></div></div> |
| 153 | <div class="ttc" id="classarmnn_1_1_lstm_layer_xhtml_a8c8f543d7e9729362c266d12ec169966"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.xhtml#a8c8f543d7e9729362c266d12ec169966">armnn::LstmLayer::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 LstmLayer. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8cpp_source.xhtml#l00160">LstmLayer.cpp:160</a></div></div> |
| 154 | <div class="ttc" id="structarmnn_1_1_lstm_queue_descriptor_xhtml_aa3f07e27230d6d99adc2c82ba681df2b"><div class="ttname"><a href="structarmnn_1_1_lstm_queue_descriptor.xhtml#aa3f07e27230d6d99adc2c82ba681df2b">armnn::LstmQueueDescriptor::m_OutputLayerNormWeights</a></div><div class="ttdeci">const ConstCpuTensorHandle * m_OutputLayerNormWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.xhtml#l00405">WorkloadData.hpp:405</a></div></div> |
| 155 | <div class="ttc" id="structarmnn_1_1_lstm_input_params_xhtml_a56b81ca8ba4b4937e0787e4951f043fc"><div class="ttname"><a href="structarmnn_1_1_lstm_input_params.xhtml#a56b81ca8ba4b4937e0787e4951f043fc">armnn::LstmInputParams::m_RecurrentToOutputWeights</a></div><div class="ttdeci">const ConstTensor * m_RecurrentToOutputWeights</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_params_8hpp_source.xhtml#l00047">LstmParams.hpp:47</a></div></div> |
| 156 | <div class="ttc" id="classarmnn_1_1_lstm_layer_xhtml_ac6b352652fb2f722e56f5fd62c57ae09"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.xhtml#ac6b352652fb2f722e56f5fd62c57ae09">armnn::LstmLayer::Clone</a></div><div class="ttdeci">LstmLayer * 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="_lstm_layer_8cpp_source.xhtml#l00075">LstmLayer.cpp:75</a></div></div> |
| 157 | <div class="ttc" id="structarmnn_1_1_lstm_descriptor_xhtml"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.xhtml">armnn::LstmDescriptor</a></div><div class="ttdoc">An LstmDescriptor for the LstmLayer. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.xhtml#l00837">Descriptors.hpp:837</a></div></div> |
| 158 | <div class="ttc" id="structarmnn_1_1_lstm_queue_descriptor_xhtml"><div class="ttname"><a href="structarmnn_1_1_lstm_queue_descriptor.xhtml">armnn::LstmQueueDescriptor</a></div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.xhtml#l00358">WorkloadData.hpp:358</a></div></div> |
| 159 | <div class="ttc" id="structarmnn_1_1_lstm_queue_descriptor_xhtml_aba3ffe91d818266b8785ce971548eb59"><div class="ttname"><a href="structarmnn_1_1_lstm_queue_descriptor.xhtml#aba3ffe91d818266b8785ce971548eb59">armnn::LstmQueueDescriptor::m_ForgetGateBias</a></div><div class="ttdeci">const ConstCpuTensorHandle * m_ForgetGateBias</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.xhtml#l00397">WorkloadData.hpp:397</a></div></div> |
| 160 | <div class="ttc" id="structarmnn_1_1_lstm_input_params_xhtml_a44b0e6b16708df7f0d2bbab141688aaa"><div class="ttname"><a href="structarmnn_1_1_lstm_input_params.xhtml#a44b0e6b16708df7f0d2bbab141688aaa">armnn::LstmInputParams::m_ProjectionBias</a></div><div class="ttdeci">const ConstTensor * m_ProjectionBias</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_params_8hpp_source.xhtml#l00056">LstmParams.hpp:56</a></div></div> |
| 161 | <div class="ttc" id="structarmnn_1_1_lstm_queue_descriptor_xhtml_a08a1932be591c315a512a877d38b22df"><div class="ttname"><a href="structarmnn_1_1_lstm_queue_descriptor.xhtml#a08a1932be591c315a512a877d38b22df">armnn::LstmQueueDescriptor::m_InputToInputWeights</a></div><div class="ttdeci">const ConstCpuTensorHandle * m_InputToInputWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.xhtml#l00385">WorkloadData.hpp:385</a></div></div> |
| 162 | <div class="ttc" id="classarmnn_1_1_const_tensor_xhtml"><div class="ttname"><a href="classarmnn_1_1_const_tensor.xhtml">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.xhtml#l00199">Tensor.hpp:199</a></div></div> |
| 163 | <div class="ttc" id="structarmnn_1_1_lstm_input_params_xhtml"><div class="ttname"><a href="structarmnn_1_1_lstm_input_params.xhtml">armnn::LstmInputParams</a></div><div class="ttdef"><b>Definition:</b> <a href="_lstm_params_8hpp_source.xhtml#l00013">LstmParams.hpp:13</a></div></div> |
| 164 | <div class="ttc" id="structarmnn_1_1_lstm_descriptor_xhtml_a2837b4396f20c956952d1a7286cab5f8"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.xhtml#a2837b4396f20c956952d1a7286cab5f8">armnn::LstmDescriptor::m_PeepholeEnabled</a></div><div class="ttdeci">bool m_PeepholeEnabled</div><div class="ttdoc">Enable/disable peephole. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.xhtml#l00869">Descriptors.hpp:869</a></div></div> |
| 165 | <div class="ttc" id="classarmnn_1_1_lstm_layer_xhtml_a46864a690d016b7e00eb51a5bfe8e966"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.xhtml#a46864a690d016b7e00eb51a5bfe8e966">armnn::LstmLayer::m_LayerNormParameters</a></div><div class="ttdeci">LstmOptLayerNormParameters m_LayerNormParameters</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.xhtml#l00085">LstmLayer.hpp:85</a></div></div> |
| 166 | <div class="ttc" id="_exceptions_8hpp_xhtml_aa3be76aec4ce713822a5ea1ecbb7bc61"><div class="ttname"><a href="_exceptions_8hpp.xhtml#aa3be76aec4ce713822a5ea1ecbb7bc61">CHECK_LOCATION</a></div><div class="ttdeci">#define CHECK_LOCATION()</div><div class="ttdef"><b>Definition:</b> <a href="_exceptions_8hpp_source.xhtml#l00192">Exceptions.hpp:192</a></div></div> |
| 167 | <div class="ttc" id="structarmnn_1_1_lstm_opt_cifg_parameters_xhtml_a6e8971757790a032e5936da7847ba14b"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a6e8971757790a032e5936da7847ba14b">armnn::LstmOptCifgParameters::m_RecurrentToInputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToInputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [input_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.xhtml#l00031">LstmLayer.hpp:31</a></div></div> |
| 168 | <div class="ttc" id="classarmnn_1_1_graph_xhtml"><div class="ttname"><a href="classarmnn_1_1_graph.xhtml">armnn::Graph</a></div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.xhtml#l00029">Graph.hpp:29</a></div></div> |
| 169 | <div class="ttc" id="classarmnn_1_1_lstm_layer_xhtml_abe659a5afa7523f5dbc04bcba9b31f1a"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.xhtml#abe659a5afa7523f5dbc04bcba9b31f1a">armnn::LstmLayer::GetConstantTensorsByRef</a></div><div class="ttdeci">Layer::ConstantTensors GetConstantTensorsByRef() 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="_lstm_layer_8cpp_source.xhtml#l00266">LstmLayer.cpp:266</a></div></div> |
| 170 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_xhtml_a91dda74af4085ae43913746ad817795a"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.xhtml#a91dda74af4085ae43913746ad817795a">armnn::LstmBasicParameters::m_RecurrentToOutputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToOutputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [output_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.xhtml#l00067">LstmLayer.hpp:67</a></div></div> |
| 171 | <div class="ttc" id="classarmnn_1_1_lstm_layer_xhtml_a4efa0f4d46817ab94e36c8507c26f276"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.xhtml#a4efa0f4d46817ab94e36c8507c26f276">armnn::LstmLayer::m_PeepholeParameters</a></div><div class="ttdeci">LstmOptPeepholeParameters m_PeepholeParameters</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.xhtml#l00084">LstmLayer.hpp:84</a></div></div> |
| 172 | <div class="ttc" id="_cpu_tensor_handle_8hpp_xhtml"><div class="ttname"><a href="_cpu_tensor_handle_8hpp.xhtml">CpuTensorHandle.hpp</a></div></div> |
| 173 | <div class="ttc" id="structarmnn_1_1_lstm_input_params_xhtml_ad0b8c32bb5381f4cc999093ba3b98b43"><div class="ttname"><a href="structarmnn_1_1_lstm_input_params.xhtml#ad0b8c32bb5381f4cc999093ba3b98b43">armnn::LstmInputParams::m_CellLayerNormWeights</a></div><div class="ttdeci">const ConstTensor * m_CellLayerNormWeights</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_params_8hpp_source.xhtml#l00059">LstmParams.hpp:59</a></div></div> |
| 174 | <div class="ttc" id="structarmnn_1_1_lstm_input_params_xhtml_ace7a1f1f1041b412b7d8ef82b95ff352"><div class="ttname"><a href="structarmnn_1_1_lstm_input_params.xhtml#ace7a1f1f1041b412b7d8ef82b95ff352">armnn::LstmInputParams::m_ForgetGateBias</a></div><div class="ttdeci">const ConstTensor * m_ForgetGateBias</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_params_8hpp_source.xhtml#l00052">LstmParams.hpp:52</a></div></div> |
| 175 | <div class="ttc" id="structarmnn_1_1_lstm_input_params_xhtml_a49e11acda22742cbaf6f1b259ead0d84"><div class="ttname"><a href="structarmnn_1_1_lstm_input_params.xhtml#a49e11acda22742cbaf6f1b259ead0d84">armnn::LstmInputParams::m_InputToCellWeights</a></div><div class="ttdeci">const ConstTensor * m_InputToCellWeights</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_params_8hpp_source.xhtml#l00042">LstmParams.hpp:42</a></div></div> |
| 176 | <div class="ttc" id="structarmnn_1_1_lstm_input_params_xhtml_a6e30c7b3451da3ea9cf4259fb602e6e6"><div class="ttname"><a href="structarmnn_1_1_lstm_input_params.xhtml#a6e30c7b3451da3ea9cf4259fb602e6e6">armnn::LstmInputParams::m_InputToOutputWeights</a></div><div class="ttdeci">const ConstTensor * m_InputToOutputWeights</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_params_8hpp_source.xhtml#l00043">LstmParams.hpp:43</a></div></div> |
| 177 | <div class="ttc" id="classarmnn_1_1_lstm_layer_xhtml_a3d3e6d0c3e6e570d9f831489c3bd14ce"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.xhtml#a3d3e6d0c3e6e570d9f831489c3bd14ce">armnn::LstmLayer::m_ProjectionParameters</a></div><div class="ttdeci">LstmOptProjectionParameters m_ProjectionParameters</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.xhtml#l00083">LstmLayer.hpp:83</a></div></div> |
| 178 | <div class="ttc" id="structarmnn_1_1_lstm_opt_projection_parameters_xhtml_aa9f2880e4e2a1eb731f61c1e0941c6a7"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_projection_parameters.xhtml#aa9f2880e4e2a1eb731f61c1e0941c6a7">armnn::LstmOptProjectionParameters::m_ProjectionBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_ProjectionBias</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [output_size]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.xhtml#l00043">LstmLayer.hpp:43</a></div></div> |
| 179 | <div class="ttc" id="structarmnn_1_1_lstm_descriptor_xhtml_ad474e5c51a0b194ef32e812b86c0cbdb"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.xhtml#ad474e5c51a0b194ef32e812b86c0cbdb">armnn::LstmDescriptor::m_CifgEnabled</a></div><div class="ttdeci">bool m_CifgEnabled</div><div class="ttdoc">Enable/disable cifg (coupled input & forget gate). </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.xhtml#l00867">Descriptors.hpp:867</a></div></div> |
| 180 | <div class="ttc" id="structarmnn_1_1_lstm_queue_descriptor_xhtml_adebc1771e5a1f4b113a7aa594ea74d2c"><div class="ttname"><a href="structarmnn_1_1_lstm_queue_descriptor.xhtml#adebc1771e5a1f4b113a7aa594ea74d2c">armnn::LstmQueueDescriptor::m_RecurrentToOutputWeights</a></div><div class="ttdeci">const ConstCpuTensorHandle * m_RecurrentToOutputWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.xhtml#l00392">WorkloadData.hpp:392</a></div></div> |
| 181 | <div class="ttc" id="classarmnn_1_1_lstm_layer_xhtml_a75a50f464326fefa605ea84ae2c9be85"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.xhtml#a75a50f464326fefa605ea84ae2c9be85">armnn::LstmLayer::Accept</a></div><div class="ttdeci">void Accept(ILayerVisitor &visitor) const override</div><div class="ttdoc">Apply a visitor to this layer. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8cpp_source.xhtml#l00299">LstmLayer.cpp:299</a></div></div> |
| 182 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_xhtml_a14ab2bc78421c417c4f97a65b0bd78f9"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.xhtml#a14ab2bc78421c417c4f97a65b0bd78f9">armnn::LstmBasicParameters::m_InputToCellWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToCellWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [input_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.xhtml#l00059">LstmLayer.hpp:59</a></div></div> |
| 183 | <div class="ttc" id="structarmnn_1_1_lstm_input_params_xhtml_ae83131e16df1cace69395a5f99bc5ecb"><div class="ttname"><a href="structarmnn_1_1_lstm_input_params.xhtml#ae83131e16df1cace69395a5f99bc5ecb">armnn::LstmInputParams::m_RecurrentToForgetWeights</a></div><div class="ttdeci">const ConstTensor * m_RecurrentToForgetWeights</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_params_8hpp_source.xhtml#l00045">LstmParams.hpp:45</a></div></div> |
| 184 | <div class="ttc" id="structarmnn_1_1_lstm_queue_descriptor_xhtml_a453a4af385d0c060c9aac990fceaa1ef"><div class="ttname"><a href="structarmnn_1_1_lstm_queue_descriptor.xhtml#a453a4af385d0c060c9aac990fceaa1ef">armnn::LstmQueueDescriptor::m_ForgetLayerNormWeights</a></div><div class="ttdeci">const ConstCpuTensorHandle * m_ForgetLayerNormWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.xhtml#l00403">WorkloadData.hpp:403</a></div></div> |
| 185 | <div class="ttc" id="structarmnn_1_1_lstm_input_params_xhtml_a435d3651482bbfcc11263b4e4e0c900f"><div class="ttname"><a href="structarmnn_1_1_lstm_input_params.xhtml#a435d3651482bbfcc11263b4e4e0c900f">armnn::LstmInputParams::m_RecurrentToInputWeights</a></div><div class="ttdeci">const ConstTensor * m_RecurrentToInputWeights</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_params_8hpp_source.xhtml#l00044">LstmParams.hpp:44</a></div></div> |
| 186 | <div class="ttc" id="classarmnn_1_1_layer_with_parameters_xhtml_a30a858b2b26d651a066537e499fbf40d"><div class="ttname"><a href="classarmnn_1_1_layer_with_parameters.xhtml#a30a858b2b26d651a066537e499fbf40d">armnn::LayerWithParameters< LstmDescriptor >::PrepInfoAndDesc</a></div><div class="ttdeci">WorkloadInfo PrepInfoAndDesc(QueueDescriptor &descriptor) const</div><div class="ttdoc">Helper function to reduce duplication in *LayerCreateWorkload. </div><div class="ttdef"><b>Definition:</b> <a href="_layer_with_parameters_8hpp_source.xhtml#l00043">LayerWithParameters.hpp:43</a></div></div> |
| 187 | <div class="ttc" id="namespacearmnn_xhtml_a56943a0946e5f15e5e58054b8e7a04a4a06b091bc9aea697ba473c71f0bb55925"><div class="ttname"><a href="namespacearmnn.xhtml#a56943a0946e5f15e5e58054b8e7a04a4a06b091bc9aea697ba473c71f0bb55925">armnn::LayerType::Lstm</a></div></div> |
| 188 | <div class="ttc" id="classarmnn_1_1_i_layer_visitor_xhtml"><div class="ttname"><a href="classarmnn_1_1_i_layer_visitor.xhtml">armnn::ILayerVisitor</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_layer_visitor_8hpp_source.xhtml#l00016">ILayerVisitor.hpp:16</a></div></div> |
| 189 | <div class="ttc" id="structarmnn_1_1_lstm_queue_descriptor_xhtml_acb3aade8fae984f7293e222dcbe66030"><div class="ttname"><a href="structarmnn_1_1_lstm_queue_descriptor.xhtml#acb3aade8fae984f7293e222dcbe66030">armnn::LstmQueueDescriptor::m_InputGateBias</a></div><div class="ttdeci">const ConstCpuTensorHandle * m_InputGateBias</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.xhtml#l00396">WorkloadData.hpp:396</a></div></div> |
| 190 | <div class="ttc" id="structarmnn_1_1_lstm_opt_peephole_parameters_xhtml_a310e133b0b51b93a74b83008893792e9"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_peephole_parameters.xhtml#a310e133b0b51b93a74b83008893792e9">armnn::LstmOptPeepholeParameters::m_CellToOutputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_CellToOutputWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.xhtml#l00051">LstmLayer.hpp:51</a></div></div> |
| 191 | <div class="ttc" id="classarmnn_1_1_lstm_layer_xhtml_adbb2663fc90c40c0845bb043c23eeae9"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.xhtml#adbb2663fc90c40c0845bb043c23eeae9">armnn::LstmLayer::LstmLayer</a></div><div class="ttdeci">LstmLayer(const LstmDescriptor &param, const char *name)</div><div class="ttdoc">Constructor to create a LstmLayer. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8cpp_source.xhtml#l00017">LstmLayer.cpp:17</a></div></div> |
| 192 | <div class="ttc" id="structarmnn_1_1_lstm_descriptor_xhtml_a4a8ec49f130084445d44297549254780"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.xhtml#a4a8ec49f130084445d44297549254780">armnn::LstmDescriptor::m_LayerNormEnabled</a></div><div class="ttdeci">bool m_LayerNormEnabled</div><div class="ttdoc">Enable/disable layer normalization. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.xhtml#l00873">Descriptors.hpp:873</a></div></div> |
| 193 | <div class="ttc" id="_lstm_layer_8hpp_xhtml"><div class="ttname"><a href="_lstm_layer_8hpp.xhtml">LstmLayer.hpp</a></div></div> |
| 194 | <div class="ttc" id="classarmnn_1_1_layer_xhtml_a0e36688a43c35668d8db5257274c68fe"><div class="ttname"><a href="classarmnn_1_1_layer.xhtml#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.xhtml#l00312">Layer.hpp:312</a></div></div> |
| 195 | <div class="ttc" id="structarmnn_1_1_lstm_opt_projection_parameters_xhtml_a3ec2885c48ce888516e27c8b75a8cb83"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_projection_parameters.xhtml#a3ec2885c48ce888516e27c8b75a8cb83">armnn::LstmOptProjectionParameters::m_ProjectionWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_ProjectionWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [output_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.xhtml#l00041">LstmLayer.hpp:41</a></div></div> |
| 196 | <div class="ttc" id="classarmnn_1_1_i_output_slot_xhtml_a9943775a364fc4ab53b85ac88f311886"><div class="ttname"><a href="classarmnn_1_1_i_output_slot.xhtml#a9943775a364fc4ab53b85ac88f311886">armnn::IOutputSlot::GetTensorInfo</a></div><div class="ttdeci">virtual const TensorInfo & GetTensorInfo() const =0</div></div> |
| 197 | <div class="ttc" id="structarmnn_1_1_lstm_queue_descriptor_xhtml_aea142bd50ffb93631c2e08324ec92a1e"><div class="ttname"><a href="structarmnn_1_1_lstm_queue_descriptor.xhtml#aea142bd50ffb93631c2e08324ec92a1e">armnn::LstmQueueDescriptor::m_RecurrentToCellWeights</a></div><div class="ttdeci">const ConstCpuTensorHandle * m_RecurrentToCellWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.xhtml#l00391">WorkloadData.hpp:391</a></div></div> |
| 198 | <div class="ttc" id="structarmnn_1_1_lstm_opt_layer_norm_parameters_xhtml_a559113765ea5e2ddbd9e9e5e2869a103"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_layer_norm_parameters.xhtml#a559113765ea5e2ddbd9e9e5e2869a103">armnn::LstmOptLayerNormParameters::m_ForgetLayerNormWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_ForgetLayerNormWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.xhtml#l00019">LstmLayer.hpp:19</a></div></div> |
| 199 | <div class="ttc" id="classarmnn_1_1_lstm_layer_xhtml_a0e940dfa428f4eb429f8bc0d138b20af"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.xhtml#a0e940dfa428f4eb429f8bc0d138b20af">armnn::LstmLayer::m_CifgParameters</a></div><div class="ttdeci">LstmOptCifgParameters m_CifgParameters</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.xhtml#l00082">LstmLayer.hpp:82</a></div></div> |
| 200 | <div class="ttc" id="classarmnn_1_1_layer_xhtml_a7ddf0cf6f620d59c10e63495ace795d0"><div class="ttname"><a href="classarmnn_1_1_layer.xhtml#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.xhtml#l00305">Layer.hpp:305</a></div></div> |
| 201 | <div class="ttc" id="classarmnn_1_1_layer_with_parameters_xhtml"><div class="ttname"><a href="classarmnn_1_1_layer_with_parameters.xhtml">armnn::LayerWithParameters</a></div><div class="ttdef"><b>Definition:</b> <a href="_layer_with_parameters_8hpp_source.xhtml#l00013">LayerWithParameters.hpp:13</a></div></div> |
| 202 | <div class="ttc" id="classarmnn_1_1_lstm_layer_xhtml_a65ca562c882ad619684445a1402f415a"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.xhtml#a65ca562c882ad619684445a1402f415a">armnn::LstmLayer::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, otherwise infers the output shapes from given input shapes and layer properties. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8cpp_source.xhtml#l00142">LstmLayer.cpp:142</a></div></div> |
| 203 | <div class="ttc" id="structarmnn_1_1_lstm_input_params_xhtml_a9b18daea2e9f42386055326fd016519a"><div class="ttname"><a href="structarmnn_1_1_lstm_input_params.xhtml#a9b18daea2e9f42386055326fd016519a">armnn::LstmInputParams::m_OutputLayerNormWeights</a></div><div class="ttdeci">const ConstTensor * m_OutputLayerNormWeights</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_params_8hpp_source.xhtml#l00060">LstmParams.hpp:60</a></div></div> |
| 204 | <div class="ttc" id="classarmnn_1_1_layer_xhtml_a585d59ec610af46a76487fd6c1c55ac1"><div class="ttname"><a href="classarmnn_1_1_layer.xhtml#a585d59ec610af46a76487fd6c1c55ac1">armnn::Layer::ConstantTensors</a></div><div class="ttdeci">std::vector< std::reference_wrapper< std::unique_ptr< ScopedCpuTensorHandle > >> ConstantTensors</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.xhtml#l00363">Layer.hpp:363</a></div></div> |
| 205 | <div class="ttc" id="classarmnn_1_1_output_slot_xhtml_ada2ad7d1caeeb4ef6195c8925fad6a65"><div class="ttname"><a href="classarmnn_1_1_output_slot.xhtml#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.xhtml#l00063">Layer.cpp:63</a></div></div> |
| 206 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_xhtml_a5a0d8af26a6aad1e5be521ea7dc550eb"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.xhtml#a5a0d8af26a6aad1e5be521ea7dc550eb">armnn::LstmBasicParameters::m_InputToForgetWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToForgetWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [input_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.xhtml#l00057">LstmLayer.hpp:57</a></div></div> |
| 207 | <div class="ttc" id="structarmnn_1_1_lstm_opt_cifg_parameters_xhtml_a9945bc99f8a7400c0724117e29cb3abb"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_cifg_parameters.xhtml#a9945bc99f8a7400c0724117e29cb3abb">armnn::LstmOptCifgParameters::m_InputGateBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputGateBias</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.xhtml#l00035">LstmLayer.hpp:35</a></div></div> |
| 208 | <div class="ttc" id="structarmnn_1_1_lstm_queue_descriptor_xhtml_af3c52626a6f05597d82ed095d0765962"><div class="ttname"><a href="structarmnn_1_1_lstm_queue_descriptor.xhtml#af3c52626a6f05597d82ed095d0765962">armnn::LstmQueueDescriptor::m_ProjectionWeights</a></div><div class="ttdeci">const ConstCpuTensorHandle * m_ProjectionWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.xhtml#l00400">WorkloadData.hpp:400</a></div></div> |
| 209 | <div class="ttc" id="_layer_clone_base_8hpp_xhtml"><div class="ttname"><a href="_layer_clone_base_8hpp.xhtml">LayerCloneBase.hpp</a></div></div> |
| 210 | <div class="ttc" id="structarmnn_1_1_lstm_input_params_xhtml_a31da1ead6794dd64571afdd0b6efc771"><div class="ttname"><a href="structarmnn_1_1_lstm_input_params.xhtml#a31da1ead6794dd64571afdd0b6efc771">armnn::LstmInputParams::m_InputToForgetWeights</a></div><div class="ttdeci">const ConstTensor * m_InputToForgetWeights</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_params_8hpp_source.xhtml#l00041">LstmParams.hpp:41</a></div></div> |
| 211 | <div class="ttc" id="namespacearmnn_xhtml_a56943a0946e5f15e5e58054b8e7a04a4"><div class="ttname"><a href="namespacearmnn.xhtml#a56943a0946e5f15e5e58054b8e7a04a4">armnn::LayerType</a></div><div class="ttdeci">LayerType</div><div class="ttdef"><b>Definition:</b> <a href="_internal_types_8hpp_source.xhtml#l00014">InternalTypes.hpp:14</a></div></div> |
| 212 | <div class="ttc" id="structarmnn_1_1_lstm_input_params_xhtml_affcee5f4ab5994a21bee3b78b4e43de3"><div class="ttname"><a href="structarmnn_1_1_lstm_input_params.xhtml#affcee5f4ab5994a21bee3b78b4e43de3">armnn::LstmInputParams::m_InputToInputWeights</a></div><div class="ttdeci">const ConstTensor * m_InputToInputWeights</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_params_8hpp_source.xhtml#l00040">LstmParams.hpp:40</a></div></div> |
| 213 | <div class="ttc" id="structarmnn_1_1_lstm_queue_descriptor_xhtml_a3ea82566d98c5a657c76c3d851c47848"><div class="ttname"><a href="structarmnn_1_1_lstm_queue_descriptor.xhtml#a3ea82566d98c5a657c76c3d851c47848">armnn::LstmQueueDescriptor::m_InputToForgetWeights</a></div><div class="ttdeci">const ConstCpuTensorHandle * m_InputToForgetWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.xhtml#l00386">WorkloadData.hpp:386</a></div></div> |
| 214 | </div><!-- fragment --></div><!-- contents --> |
| 215 | </div><!-- doc-content --> |
| 216 | <!-- start footer part --> |
| 217 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 218 | <ul> |
| 219 | <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.xhtml">src</a></li><li class="navelem"><a class="el" href="dir_e0a84d05c80a2ef4231141dcbbeac5c8.xhtml">armnn</a></li><li class="navelem"><a class="el" href="dir_9da6642ce0fd5a8c83524f1b621275be.xhtml">layers</a></li><li class="navelem"><a class="el" href="_lstm_layer_8cpp.xhtml">LstmLayer.cpp</a></li> |
| 220 | <li class="footer">Generated on Fri Mar 13 2020 16:09:08 for ArmNN by |
| 221 | <a href="http://www.doxygen.org/index.html"> |
| 222 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 223 | </ul> |
| 224 | </div> |
| 225 | </body> |
| 226 | </html> |