Ryan OShea | de36e4a | 2020-03-13 16:26:19 +0000 | [diff] [blame] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 3 | <head> |
| 4 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| 6 | <meta name="generator" content="Doxygen 1.8.13"/> |
| 7 | <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| 8 | <title>ArmNN: src/armnn/layers/QuantizedLstmLayer.cpp Source File</title> |
| 9 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 10 | <script type="text/javascript" src="jquery.js"></script> |
| 11 | <script type="text/javascript" src="dynsections.js"></script> |
| 12 | <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| 13 | <script type="text/javascript" src="resize.js"></script> |
| 14 | <script type="text/javascript" src="navtreedata.js"></script> |
| 15 | <script type="text/javascript" src="navtree.js"></script> |
| 16 | <script type="text/javascript"> |
| 17 | $(document).ready(initResizable); |
| 18 | </script> |
| 19 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 20 | <script type="text/javascript" src="search/searchdata.js"></script> |
| 21 | <script type="text/javascript" src="search/search.js"></script> |
| 22 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 23 | </head> |
| 24 | <body> |
| 25 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 26 | <div id="titlearea"> |
| 27 | <table cellspacing="0" cellpadding="0"> |
| 28 | <tbody> |
| 29 | <tr style="height: 56px;"> |
| 30 | <td id="projectalign" style="padding-left: 0.5em;"> |
| 31 | <div id="projectname">ArmNN |
| 32 |  <span id="projectnumber">NotReleased</span> |
| 33 | </div> |
| 34 | </td> |
| 35 | </tr> |
| 36 | </tbody> |
| 37 | </table> |
| 38 | </div> |
| 39 | <!-- end header part --> |
| 40 | <!-- Generated by Doxygen 1.8.13 --> |
| 41 | <script type="text/javascript"> |
| 42 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 43 | </script> |
| 44 | <script type="text/javascript" src="menudata.js"></script> |
| 45 | <script type="text/javascript" src="menu.js"></script> |
| 46 | <script type="text/javascript"> |
| 47 | $(function() { |
| 48 | initMenu('',true,false,'search.php','Search'); |
| 49 | $(document).ready(function() { init_search(); }); |
| 50 | }); |
| 51 | </script> |
| 52 | <div id="main-nav"></div> |
| 53 | </div><!-- top --> |
| 54 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 55 | <div id="nav-tree"> |
| 56 | <div id="nav-tree-contents"> |
| 57 | <div id="nav-sync" class="sync"></div> |
| 58 | </div> |
| 59 | </div> |
| 60 | <div id="splitbar" style="-moz-user-select:none;" |
| 61 | class="ui-resizable-handle"> |
| 62 | </div> |
| 63 | </div> |
| 64 | <script type="text/javascript"> |
| 65 | $(document).ready(function(){initNavTree('_quantized_lstm_layer_8cpp_source.html','');}); |
| 66 | </script> |
| 67 | <div id="doc-content"> |
| 68 | <!-- window showing the filter options --> |
| 69 | <div id="MSearchSelectWindow" |
| 70 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 71 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 72 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| 73 | </div> |
| 74 | |
| 75 | <!-- iframe showing the search results (closed by default) --> |
| 76 | <div id="MSearchResultsWindow"> |
| 77 | <iframe src="javascript:void(0)" frameborder="0" |
| 78 | name="MSearchResults" id="MSearchResults"> |
| 79 | </iframe> |
| 80 | </div> |
| 81 | |
| 82 | <div class="header"> |
| 83 | <div class="headertitle"> |
| 84 | <div class="title">QuantizedLstmLayer.cpp</div> </div> |
| 85 | </div><!--header--> |
| 86 | <div class="contents"> |
| 87 | <a href="_quantized_lstm_layer_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">//</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// Copyright © 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="_quantized_lstm_layer_8hpp.html">QuantizedLstmLayer.hpp</a>"</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> </div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor">#include "<a class="code" href="_layer_clone_base_8hpp.html">LayerCloneBase.hpp</a>"</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#include <<a class="code" href="_quantized_lstm_params_8hpp.html">armnn/QuantizedLstmParams.hpp</a>></span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#include <<a class="code" href="_types_utils_8hpp.html">armnn/TypesUtils.hpp</a>></span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#include <<a class="code" href="_cpu_tensor_handle_8hpp.html">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.html">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.html">armnn</a></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> {</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantized_lstm_layer.html#a1e8a4f8777390120259787caa45d743a"> 17</a></span> <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#a1e8a4f8777390120259787caa45d743a">QuantizedLstmLayer::QuantizedLstmLayer</a>(<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.html">Layer</a>(3, 2, <a class="code" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4">LayerType</a>::<a class="code" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4a890a37ff3bfe123414ba7e6f052b49f3">QuantizedLstm</a>, 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_quantized_lstm_layer.html#adfa912d0c4c6c00f1af2cbfa799572b7"> 22</a></span> std::unique_ptr<IWorkload> <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#adfa912d0c4c6c00f1af2cbfa799572b7">QuantizedLstmLayer::CreateWorkload</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_i_workload_factory.html">IWorkloadFactory</a>& factory)<span class="keyword"> const</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="keyword"></span>{</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <a class="code" href="structarmnn_1_1_quantized_lstm_queue_descriptor.html">QuantizedLstmQueueDescriptor</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">// QuantizedLstmLayer parameters - there are no optional params</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  descriptor.<a class="code" href="structarmnn_1_1_quantized_lstm_queue_descriptor.html#a08a1932be591c315a512a877d38b22df">m_InputToInputWeights</a> = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a>.get();</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  descriptor.<a class="code" href="structarmnn_1_1_quantized_lstm_queue_descriptor.html#a3ea82566d98c5a657c76c3d851c47848">m_InputToForgetWeights</a> = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a>.get();</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  descriptor.<a class="code" href="structarmnn_1_1_quantized_lstm_queue_descriptor.html#a28ad98d17603fd8b12e046f8ece58970">m_InputToCellWeights</a> = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a>.get();</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  descriptor.<a class="code" href="structarmnn_1_1_quantized_lstm_queue_descriptor.html#a83dc9086b2e4a4e4cadb66bd874df798">m_InputToOutputWeights</a> = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a>.get();</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  descriptor.<a class="code" href="structarmnn_1_1_quantized_lstm_queue_descriptor.html#a98d377149071d8842d610cc0734d1cfe">m_RecurrentToInputWeights</a> = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a>.get();</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  descriptor.<a class="code" href="structarmnn_1_1_quantized_lstm_queue_descriptor.html#a45d73e66cbb2b65049e4016c20657ccf">m_RecurrentToForgetWeights</a> = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a>.get();</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  descriptor.<a class="code" href="structarmnn_1_1_quantized_lstm_queue_descriptor.html#aea142bd50ffb93631c2e08324ec92a1e">m_RecurrentToCellWeights</a> = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a>.get();</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  descriptor.<a class="code" href="structarmnn_1_1_quantized_lstm_queue_descriptor.html#adebc1771e5a1f4b113a7aa594ea74d2c">m_RecurrentToOutputWeights</a> = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</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>  descriptor.<a class="code" href="structarmnn_1_1_quantized_lstm_queue_descriptor.html#acb3aade8fae984f7293e222dcbe66030">m_InputGateBias</a> = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a>.get();</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  descriptor.<a class="code" href="structarmnn_1_1_quantized_lstm_queue_descriptor.html#aba3ffe91d818266b8785ce971548eb59">m_ForgetGateBias</a> = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a>.get();</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  descriptor.<a class="code" href="structarmnn_1_1_quantized_lstm_queue_descriptor.html#a75980b5795efd899a0c678a06a900c6d">m_CellBias</a> = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a>.get();</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  descriptor.<a class="code" href="structarmnn_1_1_quantized_lstm_queue_descriptor.html#a332551528a4b3534c2d6c89ce816fcd9">m_OutputGateBias</a> = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a>.get();</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keywordflow">return</span> factory.<a class="code" href="classarmnn_1_1_i_workload_factory.html#ab5ceda49651dcd53fb7eb05658b5a0cb">CreateQuantizedLstm</a>(descriptor, <a class="code" href="classarmnn_1_1_layer.html#a30a858b2b26d651a066537e499fbf40d">PrepInfoAndDesc</a>(descriptor));</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> }</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> </div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantized_lstm_layer.html#a08edea9423b6da5da174ce5269f6e28b"> 45</a></span> <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html">QuantizedLstmLayer</a>* <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#a08edea9423b6da5da174ce5269f6e28b">QuantizedLstmLayer::Clone</a>(<a class="code" href="classarmnn_1_1_graph.html">Graph</a>& graph)<span class="keyword"> const</span></div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="keyword"></span>{</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keyword">auto</span> layer = CloneBase<QuantizedLstmLayer>(graph, <a class="code" href="classarmnn_1_1_layer.html#a7ddf0cf6f620d59c10e63495ace795d0">GetName</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>  layer-><a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a> = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a> ?</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  layer->m_QuantizedLstmParameters.m_InputToForgetWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a> ?</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  layer->m_QuantizedLstmParameters.m_InputToCellWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a> ?</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  layer->m_QuantizedLstmParameters.m_InputToOutputWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a> ?</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  layer->m_QuantizedLstmParameters.m_RecurrentToInputWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a> ?</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  layer->m_QuantizedLstmParameters.m_RecurrentToForgetWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  ? std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  layer->m_QuantizedLstmParameters.m_RecurrentToCellWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a> ?</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  layer->m_QuantizedLstmParameters.m_RecurrentToOutputWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a></div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  ? std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a>) : <span class="keyword">nullptr</span>;</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>  layer->m_QuantizedLstmParameters.m_InputGateBias = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a> ?</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  layer->m_QuantizedLstmParameters.m_ForgetGateBias = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a> ?</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  layer->m_QuantizedLstmParameters.m_CellBias = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a> ?</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  layer->m_QuantizedLstmParameters.m_OutputGateBias = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a> ?</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> </div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keywordflow">return</span> std::move(layer);</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> }</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> </div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantized_lstm_layer.html#a65ca562c882ad619684445a1402f415a"> 79</a></span> std::vector<TensorShape> <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#a65ca562c882ad619684445a1402f415a">QuantizedLstmLayer::InferOutputShapes</a>(<span class="keyword">const</span> std::vector<TensorShape>& inputShapes)<span class="keyword"> const</span></div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="keyword"></span>{</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  BOOST_ASSERT(inputShapes.size() == 3);</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="comment">// Get input values for validation</span></div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> numBatches = inputShapes[0][0];</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> outputSize = inputShapes[1][1];</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  std::vector<TensorShape> outShapes;</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  outShapes.push_back(<a class="code" href="classarmnn_1_1_tensor_shape.html">TensorShape</a>({numBatches, outputSize})); <span class="comment">// cellStateOut</span></div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  outShapes.push_back(<a class="code" href="classarmnn_1_1_tensor_shape.html">TensorShape</a>({numBatches, outputSize})); <span class="comment">// output</span></div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> </div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordflow">return</span> outShapes;</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span> }</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantized_lstm_layer.html#a8c8f543d7e9729362c266d12ec169966"> 94</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#a8c8f543d7e9729362c266d12ec169966">QuantizedLstmLayer::ValidateTensorShapesFromInputs</a>()</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> {</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <a class="code" href="classarmnn_1_1_layer.html#a0607e36e88f38c34c71c663164b76776">VerifyLayerConnections</a>(3, <a class="code" href="_exceptions_8hpp.html#aa3be76aec4ce713822a5ea1ecbb7bc61">CHECK_LOCATION</a>());</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> </div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keyword">auto</span> inferredShapes = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#a65ca562c882ad619684445a1402f415a">InferOutputShapes</a>(</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  {</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(0).<a class="code" href="classarmnn_1_1_input_slot.html#a3153abb7c0c0a84629079b2fac7db54f">GetConnection</a>()-><a class="code" href="classarmnn_1_1_i_output_slot.html#a9943775a364fc4ab53b85ac88f311886">GetTensorInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.html#a8b5d0f8a24e9d9238f412260a552acf8">GetShape</a>(), <span class="comment">// input</span></div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(1).<a class="code" href="classarmnn_1_1_input_slot.html#a3153abb7c0c0a84629079b2fac7db54f">GetConnection</a>()-><a class="code" href="classarmnn_1_1_i_output_slot.html#a9943775a364fc4ab53b85ac88f311886">GetTensorInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.html#a8b5d0f8a24e9d9238f412260a552acf8">GetShape</a>(), <span class="comment">// previousCellStateIn</span></div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(2).<a class="code" href="classarmnn_1_1_input_slot.html#a3153abb7c0c0a84629079b2fac7db54f">GetConnection</a>()-><a class="code" href="classarmnn_1_1_i_output_slot.html#a9943775a364fc4ab53b85ac88f311886">GetTensorInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.html#a8b5d0f8a24e9d9238f412260a552acf8">GetShape</a>() <span class="comment">// previousOutputIn</span></div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  });</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span> </div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  BOOST_ASSERT(inferredShapes.size() == 2);</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span> </div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="comment">// Check weights and bias for nullptr</span></div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="stringliteral">"QuantizedLstmLayer: m_QuantizedLstmParameters.m_InputToInputWeights should not be null."</span>);</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="stringliteral">"QuantizedLstmLayer: m_QuantizedLstmParameters.m_InputToForgetWeights should not be null."</span>);</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="stringliteral">"QuantizedLstmLayer: m_QuantizedLstmParameters.m_InputToCellWeights should not be null."</span>);</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="stringliteral">"QuantizedLstmLayer: m_QuantizedLstmParameters.m_InputToOutputWeights should not be null."</span>);</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span> </div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="stringliteral">"QuantizedLstmLayer: m_QuantizedLstmParameters.m_RecurrentToInputWeights should not be null."</span>);</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="stringliteral">"QuantizedLstmLayer: m_QuantizedLstmParameters.m_RecurrentToForgetWeights should not be null."</span>);</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="stringliteral">"QuantizedLstmLayer: m_QuantizedLstmParameters.m_RecurrentToCellWeights should not be null."</span>);</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="stringliteral">"QuantizedLstmLayer: m_QuantizedLstmParameters.m_RecurrentToOutputWeights should not be null."</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>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="stringliteral">"QuantizedLstmLayer: m_QuantizedLstmParameters.m_InputGateBias should not be null."</span>);</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <span class="stringliteral">"QuantizedLstmLayer: m_QuantizedLstmParameters.m_ForgetGateBias should not be null."</span>);</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="stringliteral">"QuantizedLstmLayer: m_QuantizedLstmParameters.m_CellBias should not be null."</span>);</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="stringliteral">"QuantizedLstmLayer: m_QuantizedLstmParameters.m_OutputGateBias should not be null."</span>);</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span> </div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="comment">// Check output TensorShape(s) match inferred shape</span></div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  ConditionalThrowIfNotEqual<LayerValidationException>(</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="stringliteral">"QuantizedLstmLayer: TensorShape set on OutputSlot[0] does not match the inferred shape."</span>,</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <a class="code" href="classarmnn_1_1_layer.html#a0e36688a43c35668d8db5257274c68fe">GetOutputSlot</a>(0).<a class="code" href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.html#a8b5d0f8a24e9d9238f412260a552acf8">GetShape</a>(),</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  inferredShapes[0]);</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>  ConditionalThrowIfNotEqual<LayerValidationException>(</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="stringliteral">"QuantizedLstmLayer: TensorShape set on OutputSlot[1] does not match the inferred shape."</span>,</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <a class="code" href="classarmnn_1_1_layer.html#a0e36688a43c35668d8db5257274c68fe">GetOutputSlot</a>(1).<a class="code" href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.html#a8b5d0f8a24e9d9238f412260a552acf8">GetShape</a>(),</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  inferredShapes[1]);</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> </div><div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantized_lstm_layer.html#abe659a5afa7523f5dbc04bcba9b31f1a"> 147</a></span> <a class="code" href="classarmnn_1_1_layer.html#a585d59ec610af46a76487fd6c1c55ac1">Layer::ConstantTensors</a> <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#abe659a5afa7523f5dbc04bcba9b31f1a">QuantizedLstmLayer::GetConstantTensorsByRef</a>()</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span> {</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="keywordflow">return</span></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>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a>,</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a>,</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a>,</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a>,</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span> </div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a>,</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a>,</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a>,</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a>,</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span> </div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a>,</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a>,</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a>,</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a></div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  };</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span> }</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span> </div><div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="classarmnn_1_1_quantized_lstm_layer.html#a75a50f464326fefa605ea84ae2c9be85"> 168</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#a75a50f464326fefa605ea84ae2c9be85">QuantizedLstmLayer::Accept</a>(<a class="code" href="classarmnn_1_1_i_layer_visitor.html">ILayerVisitor</a>& visitor)<span class="keyword"> const</span></div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span> <span class="keyword"></span>{</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <a class="code" href="structarmnn_1_1_quantized_lstm_input_params.html">QuantizedLstmInputParams</a> inputParams;</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">// InputToX weight tensors</span></div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> inputToInputWeightsTensor;</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  {</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> inputToInputWeightsTensorCopy(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  inputToInputWeightsTensor = inputToInputWeightsTensorCopy;</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  inputParams.<a class="code" href="structarmnn_1_1_quantized_lstm_input_params.html#affcee5f4ab5994a21bee3b78b4e43de3">m_InputToInputWeights</a> = &inputToInputWeightsTensor;</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  }</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span> </div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> inputToForgetWeightsTensor;</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  {</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> inputToForgetWeightsTensorCopy(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  inputToForgetWeightsTensor = inputToForgetWeightsTensorCopy;</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  inputParams.<a class="code" href="structarmnn_1_1_quantized_lstm_input_params.html#a31da1ead6794dd64571afdd0b6efc771">m_InputToForgetWeights</a> = &inputToForgetWeightsTensor;</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  }</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span> </div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> inputToCellWeightsTensor;</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_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a> != <span class="keyword">nullptr</span>)</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>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> inputToCellWeightsTensorCopy(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  inputToCellWeightsTensor = inputToCellWeightsTensorCopy;</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  inputParams.<a class="code" href="structarmnn_1_1_quantized_lstm_input_params.html#a49e11acda22742cbaf6f1b259ead0d84">m_InputToCellWeights</a> = &inputToCellWeightsTensor;</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  }</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span> </div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> inputToOutputWeightsTensor;</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  {</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> inputToOutputWeightsTensorCopy(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  inputToOutputWeightsTensor = inputToOutputWeightsTensorCopy;</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  inputParams.<a class="code" href="structarmnn_1_1_quantized_lstm_input_params.html#a6e30c7b3451da3ea9cf4259fb602e6e6">m_InputToOutputWeights</a> = &inputToOutputWeightsTensor;</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> </div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  <span class="comment">// RecurrentToX weight tensors</span></div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> recurrentToInputWeightsTensor;</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  {</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> recurrentToInputWeightsTensorCopy(</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  recurrentToInputWeightsTensor = recurrentToInputWeightsTensorCopy;</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  inputParams.<a class="code" href="structarmnn_1_1_quantized_lstm_input_params.html#a435d3651482bbfcc11263b4e4e0c900f">m_RecurrentToInputWeights</a> = &recurrentToInputWeightsTensor;</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  }</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span> </div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> recurrentToForgetWeightsTensor;</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a> != <span class="keyword">nullptr</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>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> recurrentToForgetWeightsTensorCopy(</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  recurrentToForgetWeightsTensor = recurrentToForgetWeightsTensorCopy;</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  inputParams.<a class="code" href="structarmnn_1_1_quantized_lstm_input_params.html#ae83131e16df1cace69395a5f99bc5ecb">m_RecurrentToForgetWeights</a> = &recurrentToForgetWeightsTensor;</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> </div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> recurrentToCellWeightsTensor;</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  {</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> recurrentToCellWeightsTensorCopy(</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  recurrentToCellWeightsTensor = recurrentToCellWeightsTensorCopy;</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  inputParams.<a class="code" href="structarmnn_1_1_quantized_lstm_input_params.html#a1759754ccb88ecc9af44f3aae6e244ee">m_RecurrentToCellWeights</a> = &recurrentToCellWeightsTensor;</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  }</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span> </div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> recurrentToOutputWeightsTensor;</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  {</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> recurrentToOutputWeightsTensorCopy(</div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  recurrentToOutputWeightsTensor = recurrentToOutputWeightsTensorCopy;</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  inputParams.<a class="code" href="structarmnn_1_1_quantized_lstm_input_params.html#a56b81ca8ba4b4937e0787e4951f043fc">m_RecurrentToOutputWeights</a> = &recurrentToOutputWeightsTensor;</div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  }</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span> </div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  <span class="comment">// Bias tensors</span></div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> inputGateBiasTensor;</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_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a> != <span class="keyword">nullptr</span>)</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>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> inputGateBiasTensorCopy(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a>->GetTensorInfo(),</div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  inputGateBiasTensor = inputGateBiasTensorCopy;</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  inputParams.<a class="code" href="structarmnn_1_1_quantized_lstm_input_params.html#a9e081a9b94defb30d1558dc912507e0e">m_InputGateBias</a> = &inputGateBiasTensor;</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  }</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span> </div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> forgetGateBiasTensor;</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  {</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> forgetGateBiasTensorCopy(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a>->GetTensorInfo(),</div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  forgetGateBiasTensor = forgetGateBiasTensorCopy;</div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  inputParams.<a class="code" href="structarmnn_1_1_quantized_lstm_input_params.html#ace7a1f1f1041b412b7d8ef82b95ff352">m_ForgetGateBias</a> = &forgetGateBiasTensor;</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> </div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> cellBiasTensor;</div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  {</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> cellBiasTensorCopy(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a>->GetTensorInfo(),</div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  cellBiasTensor = cellBiasTensorCopy;</div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  inputParams.<a class="code" href="structarmnn_1_1_quantized_lstm_input_params.html#a4a9d678146f572808a361dbdc5489f38">m_CellBias</a> = &cellBiasTensor;</div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  }</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>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> outputGateBiasTensor;</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  {</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  <a class="code" href="classarmnn_1_1_const_tensor.html">ConstTensor</a> outputGateBiasCopy(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a>->GetTensorInfo(),</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  outputGateBiasTensor = outputGateBiasCopy;</div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  inputParams.<a class="code" href="structarmnn_1_1_quantized_lstm_input_params.html#a8c0f6d48705f40c5590dde09be262222">m_OutputGateBias</a> = &outputGateBiasTensor;</div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  }</div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span> </div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  visitor.<a class="code" href="classarmnn_1_1_i_layer_visitor.html#acb1bac244973743d460064c1e0d816fd">VisitQuantizedLstmLayer</a>(<span class="keyword">this</span>, inputParams, <a class="code" href="classarmnn_1_1_layer.html#a7ddf0cf6f620d59c10e63495ace795d0">GetName</a>());</div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span> }</div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span> </div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span> } <span class="comment">// namespace armnn</span></div><div class="ttc" id="_quantized_lstm_params_8hpp_html"><div class="ttname"><a href="_quantized_lstm_params_8hpp.html">QuantizedLstmParams.hpp</a></div></div> |
| 88 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a0e0e17d5b494993407cb75d614455ddd"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a0e0e17d5b494993407cb75d614455ddd">armnn::QuantizedLstmParameters::m_ForgetGateBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_ForgetGateBias</div><div class="ttdoc">A unique pointer to represent 1D bias tensor with dimensions [outputSize] (int32). </div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00037">QuantizedLstmLayer.hpp:37</a></div></div> |
| 89 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_queue_descriptor_html_a75980b5795efd899a0c678a06a900c6d"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_queue_descriptor.html#a75980b5795efd899a0c678a06a900c6d">armnn::QuantizedLstmQueueDescriptor::m_CellBias</a></div><div class="ttdeci">const ConstCpuTensorHandle * m_CellBias</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00538">WorkloadData.hpp:538</a></div></div> |
| 90 | <div class="ttc" id="_workload_factory_8hpp_html"><div class="ttname"><a href="_workload_factory_8hpp.html">WorkloadFactory.hpp</a></div></div> |
| 91 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_input_params_html_a435d3651482bbfcc11263b4e4e0c900f"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_input_params.html#a435d3651482bbfcc11263b4e4e0c900f">armnn::QuantizedLstmInputParams::m_RecurrentToInputWeights</a></div><div class="ttdeci">const ConstTensor * m_RecurrentToInputWeights</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_params_8hpp_source.html#l00038">QuantizedLstmParams.hpp:38</a></div></div> |
| 92 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_queue_descriptor_html_aba3ffe91d818266b8785ce971548eb59"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_queue_descriptor.html#aba3ffe91d818266b8785ce971548eb59">armnn::QuantizedLstmQueueDescriptor::m_ForgetGateBias</a></div><div class="ttdeci">const ConstCpuTensorHandle * m_ForgetGateBias</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00537">WorkloadData.hpp:537</a></div></div> |
| 93 | <div class="ttc" id="classarmnn_1_1_layer_html_a7ddf0cf6f620d59c10e63495ace795d0"><div class="ttname"><a href="classarmnn_1_1_layer.html#a7ddf0cf6f620d59c10e63495ace795d0">armnn::Layer::GetName</a></div><div class="ttdeci">const char * GetName() const override</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00305">Layer.hpp:305</a></div></div> |
| 94 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_queue_descriptor_html_a3ea82566d98c5a657c76c3d851c47848"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_queue_descriptor.html#a3ea82566d98c5a657c76c3d851c47848">armnn::QuantizedLstmQueueDescriptor::m_InputToForgetWeights</a></div><div class="ttdeci">const ConstCpuTensorHandle * m_InputToForgetWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00527">WorkloadData.hpp:527</a></div></div> |
| 95 | <div class="ttc" id="classarmnn_1_1_i_workload_factory_html"><div class="ttname"><a href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_workload_factory_8hpp_source.html#l00021">WorkloadFactory.hpp:21</a></div></div> |
| 96 | <div class="ttc" id="classarmnn_1_1_const_tensor_html"><div class="ttname"><a href="classarmnn_1_1_const_tensor.html">armnn::ConstTensor</a></div><div class="ttdoc">A tensor defined by a TensorInfo (shape and data type) and an immutable backing store. </div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00199">Tensor.hpp:199</a></div></div> |
| 97 | <div class="ttc" id="classarmnn_1_1_i_output_slot_html_a9943775a364fc4ab53b85ac88f311886"><div class="ttname"><a href="classarmnn_1_1_i_output_slot.html#a9943775a364fc4ab53b85ac88f311886">armnn::IOutputSlot::GetTensorInfo</a></div><div class="ttdeci">virtual const TensorInfo & GetTensorInfo() const =0</div></div> |
| 98 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_input_params_html_a49e11acda22742cbaf6f1b259ead0d84"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_input_params.html#a49e11acda22742cbaf6f1b259ead0d84">armnn::QuantizedLstmInputParams::m_InputToCellWeights</a></div><div class="ttdeci">const ConstTensor * m_InputToCellWeights</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_params_8hpp_source.html#l00035">QuantizedLstmParams.hpp:35</a></div></div> |
| 99 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_queue_descriptor_html_a08a1932be591c315a512a877d38b22df"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_queue_descriptor.html#a08a1932be591c315a512a877d38b22df">armnn::QuantizedLstmQueueDescriptor::m_InputToInputWeights</a></div><div class="ttdeci">const ConstCpuTensorHandle * m_InputToInputWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00526">WorkloadData.hpp:526</a></div></div> |
| 100 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_input_params_html_a4a9d678146f572808a361dbdc5489f38"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_input_params.html#a4a9d678146f572808a361dbdc5489f38">armnn::QuantizedLstmInputParams::m_CellBias</a></div><div class="ttdeci">const ConstTensor * m_CellBias</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_params_8hpp_source.html#l00045">QuantizedLstmParams.hpp:45</a></div></div> |
| 101 | <div class="ttc" id="namespacearmnn_html_a56943a0946e5f15e5e58054b8e7a04a4a890a37ff3bfe123414ba7e6f052b49f3"><div class="ttname"><a href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4a890a37ff3bfe123414ba7e6f052b49f3">armnn::LayerType::QuantizedLstm</a></div></div> |
| 102 | <div class="ttc" id="classarmnn_1_1_quantized_lstm_layer_html_adfa912d0c4c6c00f1af2cbfa799572b7"><div class="ttname"><a href="classarmnn_1_1_quantized_lstm_layer.html#adfa912d0c4c6c00f1af2cbfa799572b7">armnn::QuantizedLstmLayer::CreateWorkload</a></div><div class="ttdeci">virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8cpp_source.html#l00022">QuantizedLstmLayer.cpp:22</a></div></div> |
| 103 | <div class="ttc" id="classarmnn_1_1_layer_html"><div class="ttname"><a href="classarmnn_1_1_layer.html">armnn::Layer</a></div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00209">Layer.hpp:209</a></div></div> |
| 104 | <div class="ttc" id="classarmnn_1_1_layer_html_a30a858b2b26d651a066537e499fbf40d"><div class="ttname"><a href="classarmnn_1_1_layer.html#a30a858b2b26d651a066537e499fbf40d">armnn::Layer::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_8hpp_source.html#l00344">Layer.hpp:344</a></div></div> |
| 105 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a9945bc99f8a7400c0724117e29cb3abb"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a9945bc99f8a7400c0724117e29cb3abb">armnn::QuantizedLstmParameters::m_InputGateBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputGateBias</div><div class="ttdoc">A unique pointer to represent 1D bias tensor with dimensions [outputSize] (int32). </div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00035">QuantizedLstmLayer.hpp:35</a></div></div> |
| 106 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a6e8c3db3c5474f0760553ff93fbc39e6"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8c3db3c5474f0760553ff93fbc39e6">armnn::QuantizedLstmParameters::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 [outputSize, outputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00030">QuantizedLstmLayer.hpp:30</a></div></div> |
| 107 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_queue_descriptor_html_a98d377149071d8842d610cc0734d1cfe"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_queue_descriptor.html#a98d377149071d8842d610cc0734d1cfe">armnn::QuantizedLstmQueueDescriptor::m_RecurrentToInputWeights</a></div><div class="ttdeci">const ConstCpuTensorHandle * m_RecurrentToInputWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00531">WorkloadData.hpp:531</a></div></div> |
| 108 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a91dda74af4085ae43913746ad817795a"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a91dda74af4085ae43913746ad817795a">armnn::QuantizedLstmParameters::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 [outputSize, outputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00032">QuantizedLstmLayer.hpp:32</a></div></div> |
| 109 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_input_params_html_ae83131e16df1cace69395a5f99bc5ecb"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_input_params.html#ae83131e16df1cace69395a5f99bc5ecb">armnn::QuantizedLstmInputParams::m_RecurrentToForgetWeights</a></div><div class="ttdeci">const ConstTensor * m_RecurrentToForgetWeights</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_params_8hpp_source.html#l00039">QuantizedLstmParams.hpp:39</a></div></div> |
| 110 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_input_params_html"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_input_params.html">armnn::QuantizedLstmInputParams</a></div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_params_8hpp_source.html#l00013">QuantizedLstmParams.hpp:13</a></div></div> |
| 111 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a6e8971757790a032e5936da7847ba14b"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8971757790a032e5936da7847ba14b">armnn::QuantizedLstmParameters::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 [outputSize, outputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00026">QuantizedLstmLayer.hpp:26</a></div></div> |
| 112 | <div class="ttc" id="_exceptions_8hpp_html_aa3be76aec4ce713822a5ea1ecbb7bc61"><div class="ttname"><a href="_exceptions_8hpp.html#aa3be76aec4ce713822a5ea1ecbb7bc61">CHECK_LOCATION</a></div><div class="ttdeci">#define CHECK_LOCATION()</div><div class="ttdef"><b>Definition:</b> <a href="_exceptions_8hpp_source.html#l00169">Exceptions.hpp:169</a></div></div> |
| 113 | <div class="ttc" id="_types_utils_8hpp_html"><div class="ttname"><a href="_types_utils_8hpp.html">TypesUtils.hpp</a></div></div> |
| 114 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_input_params_html_a56b81ca8ba4b4937e0787e4951f043fc"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_input_params.html#a56b81ca8ba4b4937e0787e4951f043fc">armnn::QuantizedLstmInputParams::m_RecurrentToOutputWeights</a></div><div class="ttdeci">const ConstTensor * m_RecurrentToOutputWeights</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_params_8hpp_source.html#l00041">QuantizedLstmParams.hpp:41</a></div></div> |
| 115 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_queue_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_queue_descriptor.html">armnn::QuantizedLstmQueueDescriptor</a></div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00507">WorkloadData.hpp:507</a></div></div> |
| 116 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_input_params_html_a31da1ead6794dd64571afdd0b6efc771"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_input_params.html#a31da1ead6794dd64571afdd0b6efc771">armnn::QuantizedLstmInputParams::m_InputToForgetWeights</a></div><div class="ttdeci">const ConstTensor * m_InputToForgetWeights</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_params_8hpp_source.html#l00034">QuantizedLstmParams.hpp:34</a></div></div> |
| 117 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_queue_descriptor_html_a332551528a4b3534c2d6c89ce816fcd9"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_queue_descriptor.html#a332551528a4b3534c2d6c89ce816fcd9">armnn::QuantizedLstmQueueDescriptor::m_OutputGateBias</a></div><div class="ttdeci">const ConstCpuTensorHandle * m_OutputGateBias</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00539">WorkloadData.hpp:539</a></div></div> |
| 118 | <div class="ttc" id="classarmnn_1_1_layer_html_a585d59ec610af46a76487fd6c1c55ac1"><div class="ttname"><a href="classarmnn_1_1_layer.html#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.html#l00356">Layer.hpp:356</a></div></div> |
| 119 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_queue_descriptor_html_acb3aade8fae984f7293e222dcbe66030"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_queue_descriptor.html#acb3aade8fae984f7293e222dcbe66030">armnn::QuantizedLstmQueueDescriptor::m_InputGateBias</a></div><div class="ttdeci">const ConstCpuTensorHandle * m_InputGateBias</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00536">WorkloadData.hpp:536</a></div></div> |
| 120 | <div class="ttc" id="classarmnn_1_1_quantized_lstm_layer_html_a65ca562c882ad619684445a1402f415a"><div class="ttname"><a href="classarmnn_1_1_quantized_lstm_layer.html#a65ca562c882ad619684445a1402f415a">armnn::QuantizedLstmLayer::InferOutputShapes</a></div><div class="ttdeci">std::vector< TensorShape > InferOutputShapes(const std::vector< TensorShape > &inputShapes) const override</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8cpp_source.html#l00079">QuantizedLstmLayer.cpp:79</a></div></div> |
| 121 | <div class="ttc" id="classarmnn_1_1_quantized_lstm_layer_html_abe659a5afa7523f5dbc04bcba9b31f1a"><div class="ttname"><a href="classarmnn_1_1_quantized_lstm_layer.html#abe659a5afa7523f5dbc04bcba9b31f1a">armnn::QuantizedLstmLayer::GetConstantTensorsByRef</a></div><div class="ttdeci">Layer::ConstantTensors GetConstantTensorsByRef() override</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8cpp_source.html#l00147">QuantizedLstmLayer.cpp:147</a></div></div> |
| 122 | <div class="ttc" id="classarmnn_1_1_input_slot_html_a3153abb7c0c0a84629079b2fac7db54f"><div class="ttname"><a href="classarmnn_1_1_input_slot.html#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.html#l00199">Layer.hpp:199</a></div></div> |
| 123 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a4d731c5e73638c7cf7e63f65e9f8b550"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">armnn::QuantizedLstmParameters::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 [outputSize, inputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00017">QuantizedLstmLayer.hpp:17</a></div></div> |
| 124 | <div class="ttc" id="_layer_clone_base_8hpp_html"><div class="ttname"><a href="_layer_clone_base_8hpp.html">LayerCloneBase.hpp</a></div></div> |
| 125 | <div class="ttc" id="classarmnn_1_1_i_layer_visitor_html"><div class="ttname"><a href="classarmnn_1_1_i_layer_visitor.html">armnn::ILayerVisitor</a></div><div class="ttdef"><b>Definition:</b> <a href="_i_layer_visitor_8hpp_source.html#l00016">ILayerVisitor.hpp:16</a></div></div> |
| 126 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_aacb55e0992b6781a7bd3225ab6e6bb2f"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#aacb55e0992b6781a7bd3225ab6e6bb2f">armnn::QuantizedLstmParameters::m_OutputGateBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_OutputGateBias</div><div class="ttdoc">A unique pointer to represent 1D bias tensor with dimensions [outputSize] (int32). </div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00041">QuantizedLstmLayer.hpp:41</a></div></div> |
| 127 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a3d5f129421bbe6479a66d4ed1356bf68"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a3d5f129421bbe6479a66d4ed1356bf68">armnn::QuantizedLstmParameters::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 [outputSize, outputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00028">QuantizedLstmLayer.hpp:28</a></div></div> |
| 128 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a14ab2bc78421c417c4f97a65b0bd78f9"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a14ab2bc78421c417c4f97a65b0bd78f9">armnn::QuantizedLstmParameters::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 [outputSize, inputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00021">QuantizedLstmLayer.hpp:21</a></div></div> |
| 129 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_input_params_html_a1759754ccb88ecc9af44f3aae6e244ee"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_input_params.html#a1759754ccb88ecc9af44f3aae6e244ee">armnn::QuantizedLstmInputParams::m_RecurrentToCellWeights</a></div><div class="ttdeci">const ConstTensor * m_RecurrentToCellWeights</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_params_8hpp_source.html#l00040">QuantizedLstmParams.hpp:40</a></div></div> |
| 130 | <div class="ttc" id="classarmnn_1_1_layer_html_a0607e36e88f38c34c71c663164b76776"><div class="ttname"><a href="classarmnn_1_1_layer.html#a0607e36e88f38c34c71c663164b76776">armnn::Layer::VerifyLayerConnections</a></div><div class="ttdeci">void VerifyLayerConnections(unsigned int expectedConnections, const CheckLocation &location) const</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8cpp_source.html#l00337">Layer.cpp:337</a></div></div> |
| 131 | <div class="ttc" id="classarmnn_1_1_quantized_lstm_layer_html_a08edea9423b6da5da174ce5269f6e28b"><div class="ttname"><a href="classarmnn_1_1_quantized_lstm_layer.html#a08edea9423b6da5da174ce5269f6e28b">armnn::QuantizedLstmLayer::Clone</a></div><div class="ttdeci">QuantizedLstmLayer * Clone(Graph &graph) const override</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8cpp_source.html#l00045">QuantizedLstmLayer.cpp:45</a></div></div> |
| 132 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_queue_descriptor_html_a45d73e66cbb2b65049e4016c20657ccf"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_queue_descriptor.html#a45d73e66cbb2b65049e4016c20657ccf">armnn::QuantizedLstmQueueDescriptor::m_RecurrentToForgetWeights</a></div><div class="ttdeci">const ConstCpuTensorHandle * m_RecurrentToForgetWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00532">WorkloadData.hpp:532</a></div></div> |
| 133 | <div class="ttc" id="namespacearmnn_html"><div class="ttname"><a href="namespacearmnn.html">armnn</a></div><div class="ttdef"><b>Definition:</b> <a href="_backend_helper_8hpp_source.html#l00011">BackendHelper.hpp:11</a></div></div> |
| 134 | <div class="ttc" id="_quantized_lstm_layer_8hpp_html"><div class="ttname"><a href="_quantized_lstm_layer_8hpp.html">QuantizedLstmLayer.hpp</a></div></div> |
| 135 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_input_params_html_a9e081a9b94defb30d1558dc912507e0e"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_input_params.html#a9e081a9b94defb30d1558dc912507e0e">armnn::QuantizedLstmInputParams::m_InputGateBias</a></div><div class="ttdeci">const ConstTensor * m_InputGateBias</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_params_8hpp_source.html#l00043">QuantizedLstmParams.hpp:43</a></div></div> |
| 136 | <div class="ttc" id="classarmnn_1_1_quantized_lstm_layer_html_a75a50f464326fefa605ea84ae2c9be85"><div class="ttname"><a href="classarmnn_1_1_quantized_lstm_layer.html#a75a50f464326fefa605ea84ae2c9be85">armnn::QuantizedLstmLayer::Accept</a></div><div class="ttdeci">void Accept(ILayerVisitor &visitor) const override</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8cpp_source.html#l00168">QuantizedLstmLayer.cpp:168</a></div></div> |
| 137 | <div class="ttc" id="classarmnn_1_1_quantized_lstm_layer_html_a1e8a4f8777390120259787caa45d743a"><div class="ttname"><a href="classarmnn_1_1_quantized_lstm_layer.html#a1e8a4f8777390120259787caa45d743a">armnn::QuantizedLstmLayer::QuantizedLstmLayer</a></div><div class="ttdeci">QuantizedLstmLayer(const char *name)</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8cpp_source.html#l00017">QuantizedLstmLayer.cpp:17</a></div></div> |
| 138 | <div class="ttc" id="classarmnn_1_1_quantized_lstm_layer_html_ad3c37b52145c3cf1b4856c0df008a468"><div class="ttname"><a href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">armnn::QuantizedLstmLayer::m_QuantizedLstmParameters</a></div><div class="ttdeci">QuantizedLstmParameters m_QuantizedLstmParameters</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00049">QuantizedLstmLayer.hpp:49</a></div></div> |
| 139 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_ae8d897b8d282f25a6eb784c4aaa98df6"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#ae8d897b8d282f25a6eb784c4aaa98df6">armnn::QuantizedLstmParameters::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 [outputSize, inputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00023">QuantizedLstmLayer.hpp:23</a></div></div> |
| 140 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_input_params_html_affcee5f4ab5994a21bee3b78b4e43de3"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_input_params.html#affcee5f4ab5994a21bee3b78b4e43de3">armnn::QuantizedLstmInputParams::m_InputToInputWeights</a></div><div class="ttdeci">const ConstTensor * m_InputToInputWeights</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_params_8hpp_source.html#l00033">QuantizedLstmParams.hpp:33</a></div></div> |
| 141 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_queue_descriptor_html_adebc1771e5a1f4b113a7aa594ea74d2c"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_queue_descriptor.html#adebc1771e5a1f4b113a7aa594ea74d2c">armnn::QuantizedLstmQueueDescriptor::m_RecurrentToOutputWeights</a></div><div class="ttdeci">const ConstCpuTensorHandle * m_RecurrentToOutputWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00534">WorkloadData.hpp:534</a></div></div> |
| 142 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_queue_descriptor_html_a83dc9086b2e4a4e4cadb66bd874df798"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_queue_descriptor.html#a83dc9086b2e4a4e4cadb66bd874df798">armnn::QuantizedLstmQueueDescriptor::m_InputToOutputWeights</a></div><div class="ttdeci">const ConstCpuTensorHandle * m_InputToOutputWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00529">WorkloadData.hpp:529</a></div></div> |
| 143 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_input_params_html_a6e30c7b3451da3ea9cf4259fb602e6e6"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_input_params.html#a6e30c7b3451da3ea9cf4259fb602e6e6">armnn::QuantizedLstmInputParams::m_InputToOutputWeights</a></div><div class="ttdeci">const ConstTensor * m_InputToOutputWeights</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_params_8hpp_source.html#l00036">QuantizedLstmParams.hpp:36</a></div></div> |
| 144 | <div class="ttc" id="_cpu_tensor_handle_8hpp_html"><div class="ttname"><a href="_cpu_tensor_handle_8hpp.html">CpuTensorHandle.hpp</a></div></div> |
| 145 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_input_params_html_a8c0f6d48705f40c5590dde09be262222"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_input_params.html#a8c0f6d48705f40c5590dde09be262222">armnn::QuantizedLstmInputParams::m_OutputGateBias</a></div><div class="ttdeci">const ConstTensor * m_OutputGateBias</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_params_8hpp_source.html#l00046">QuantizedLstmParams.hpp:46</a></div></div> |
| 146 | <div class="ttc" id="classarmnn_1_1_tensor_shape_html"><div class="ttname"><a href="classarmnn_1_1_tensor_shape.html">armnn::TensorShape</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00020">Tensor.hpp:20</a></div></div> |
| 147 | <div class="ttc" id="classarmnn_1_1_i_layer_visitor_html_acb1bac244973743d460064c1e0d816fd"><div class="ttname"><a href="classarmnn_1_1_i_layer_visitor.html#acb1bac244973743d460064c1e0d816fd">armnn::ILayerVisitor::VisitQuantizedLstmLayer</a></div><div class="ttdeci">virtual void VisitQuantizedLstmLayer(const IConnectableLayer *layer, const QuantizedLstmInputParams &params, const char *name=nullptr)=0</div></div> |
| 148 | <div class="ttc" id="classarmnn_1_1_graph_html"><div class="ttname"><a href="classarmnn_1_1_graph.html">armnn::Graph</a></div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00029">Graph.hpp:29</a></div></div> |
| 149 | <div class="ttc" id="classarmnn_1_1_quantized_lstm_layer_html_a8c8f543d7e9729362c266d12ec169966"><div class="ttname"><a href="classarmnn_1_1_quantized_lstm_layer.html#a8c8f543d7e9729362c266d12ec169966">armnn::QuantizedLstmLayer::ValidateTensorShapesFromInputs</a></div><div class="ttdeci">void ValidateTensorShapesFromInputs() override</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8cpp_source.html#l00094">QuantizedLstmLayer.cpp:94</a></div></div> |
| 150 | <div class="ttc" id="classarmnn_1_1_i_workload_factory_html_ab5ceda49651dcd53fb7eb05658b5a0cb"><div class="ttname"><a href="classarmnn_1_1_i_workload_factory.html#ab5ceda49651dcd53fb7eb05658b5a0cb">armnn::IWorkloadFactory::CreateQuantizedLstm</a></div><div class="ttdeci">virtual std::unique_ptr< IWorkload > CreateQuantizedLstm(const QuantizedLstmQueueDescriptor &descriptor, const WorkloadInfo &info) const</div><div class="ttdef"><b>Definition:</b> <a href="_workload_factory_8cpp_source.html#l01347">WorkloadFactory.cpp:1347</a></div></div> |
| 151 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a5a0d8af26a6aad1e5be521ea7dc550eb"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a5a0d8af26a6aad1e5be521ea7dc550eb">armnn::QuantizedLstmParameters::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 [outputSize, inputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00019">QuantizedLstmLayer.hpp:19</a></div></div> |
| 152 | <div class="ttc" id="classarmnn_1_1_tensor_info_html_a8b5d0f8a24e9d9238f412260a552acf8"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html#a8b5d0f8a24e9d9238f412260a552acf8">armnn::TensorInfo::GetShape</a></div><div class="ttdeci">const TensorShape & GetShape() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00088">Tensor.hpp:88</a></div></div> |
| 153 | <div class="ttc" id="classarmnn_1_1_output_slot_html_ada2ad7d1caeeb4ef6195c8925fad6a65"><div class="ttname"><a href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">armnn::OutputSlot::GetTensorInfo</a></div><div class="ttdeci">const TensorInfo & GetTensorInfo() const override</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8cpp_source.html#l00063">Layer.cpp:63</a></div></div> |
| 154 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a51255889cbc063130a3d691c1781c5d3"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a51255889cbc063130a3d691c1781c5d3">armnn::QuantizedLstmParameters::m_CellBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_CellBias</div><div class="ttdoc">A unique pointer to represent 1D bias tensor with dimensions [outputSize] (int32). </div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00039">QuantizedLstmLayer.hpp:39</a></div></div> |
| 155 | <div class="ttc" id="classarmnn_1_1_layer_html_a0e36688a43c35668d8db5257274c68fe"><div class="ttname"><a href="classarmnn_1_1_layer.html#a0e36688a43c35668d8db5257274c68fe">armnn::Layer::GetOutputSlot</a></div><div class="ttdeci">const OutputSlot & GetOutputSlot(unsigned int index=0) const override</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00312">Layer.hpp:312</a></div></div> |
| 156 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_queue_descriptor_html_aea142bd50ffb93631c2e08324ec92a1e"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_queue_descriptor.html#aea142bd50ffb93631c2e08324ec92a1e">armnn::QuantizedLstmQueueDescriptor::m_RecurrentToCellWeights</a></div><div class="ttdeci">const ConstCpuTensorHandle * m_RecurrentToCellWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00533">WorkloadData.hpp:533</a></div></div> |
| 157 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_input_params_html_ace7a1f1f1041b412b7d8ef82b95ff352"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_input_params.html#ace7a1f1f1041b412b7d8ef82b95ff352">armnn::QuantizedLstmInputParams::m_ForgetGateBias</a></div><div class="ttdeci">const ConstTensor * m_ForgetGateBias</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_params_8hpp_source.html#l00044">QuantizedLstmParams.hpp:44</a></div></div> |
| 158 | <div class="ttc" id="namespacearmnn_html_a56943a0946e5f15e5e58054b8e7a04a4"><div class="ttname"><a href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4">armnn::LayerType</a></div><div class="ttdeci">LayerType</div><div class="ttdef"><b>Definition:</b> <a href="_internal_types_8hpp_source.html#l00014">InternalTypes.hpp:14</a></div></div> |
| 159 | <div class="ttc" id="classarmnn_1_1_layer_html_acf8b8e23bf647836592982f97088d375"><div class="ttname"><a href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">armnn::Layer::GetInputSlot</a></div><div class="ttdeci">const InputSlot & GetInputSlot(unsigned int index) const override</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00310">Layer.hpp:310</a></div></div> |
| 160 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_queue_descriptor_html_a28ad98d17603fd8b12e046f8ece58970"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_queue_descriptor.html#a28ad98d17603fd8b12e046f8ece58970">armnn::QuantizedLstmQueueDescriptor::m_InputToCellWeights</a></div><div class="ttdeci">const ConstCpuTensorHandle * m_InputToCellWeights</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00528">WorkloadData.hpp:528</a></div></div> |
| 161 | <div class="ttc" id="classarmnn_1_1_quantized_lstm_layer_html"><div class="ttname"><a href="classarmnn_1_1_quantized_lstm_layer.html">armnn::QuantizedLstmLayer</a></div><div class="ttdoc">This layer represents a QuantizedLstm operation. </div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00045">QuantizedLstmLayer.hpp:45</a></div></div> |
| 162 | </div><!-- fragment --></div><!-- contents --> |
| 163 | </div><!-- doc-content --> |
| 164 | <!-- start footer part --> |
| 165 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 166 | <ul> |
| 167 | <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_e0a84d05c80a2ef4231141dcbbeac5c8.html">armnn</a></li><li class="navelem"><a class="el" href="dir_9da6642ce0fd5a8c83524f1b621275be.html">layers</a></li><li class="navelem"><a class="el" href="_quantized_lstm_layer_8cpp.html">QuantizedLstmLayer.cpp</a></li> |
| 168 | <li class="footer">Generated on Fri Mar 13 2020 16:06:54 for ArmNN by |
| 169 | <a href="http://www.doxygen.org/index.html"> |
| 170 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 171 | </ul> |
| 172 | </div> |
| 173 | </body> |
| 174 | </html> |