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: LstmLayer Class Reference</title> |
| 9 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 10 | <script type="text/javascript" src="jquery.js"></script> |
| 11 | <script type="text/javascript" src="dynsections.js"></script> |
| 12 | <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| 13 | <script type="text/javascript" src="resize.js"></script> |
| 14 | <script type="text/javascript" src="navtreedata.js"></script> |
| 15 | <script type="text/javascript" src="navtree.js"></script> |
| 16 | <script type="text/javascript"> |
| 17 | $(document).ready(initResizable); |
| 18 | </script> |
| 19 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 20 | <script type="text/javascript" src="search/searchdata.js"></script> |
| 21 | <script type="text/javascript" src="search/search.js"></script> |
| 22 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 23 | </head> |
| 24 | <body> |
| 25 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 26 | <div id="titlearea"> |
| 27 | <table cellspacing="0" cellpadding="0"> |
| 28 | <tbody> |
| 29 | <tr style="height: 56px;"> |
| 30 | <td id="projectalign" style="padding-left: 0.5em;"> |
| 31 | <div id="projectname">ArmNN |
| 32 |  <span id="projectnumber">NotReleased</span> |
| 33 | </div> |
| 34 | </td> |
| 35 | </tr> |
| 36 | </tbody> |
| 37 | </table> |
| 38 | </div> |
| 39 | <!-- end header part --> |
| 40 | <!-- Generated by Doxygen 1.8.13 --> |
| 41 | <script type="text/javascript"> |
| 42 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 43 | </script> |
| 44 | <script type="text/javascript" src="menudata.js"></script> |
| 45 | <script type="text/javascript" src="menu.js"></script> |
| 46 | <script type="text/javascript"> |
| 47 | $(function() { |
| 48 | initMenu('',true,false,'search.php','Search'); |
| 49 | $(document).ready(function() { init_search(); }); |
| 50 | }); |
| 51 | </script> |
| 52 | <div id="main-nav"></div> |
| 53 | </div><!-- top --> |
| 54 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 55 | <div id="nav-tree"> |
| 56 | <div id="nav-tree-contents"> |
| 57 | <div id="nav-sync" class="sync"></div> |
| 58 | </div> |
| 59 | </div> |
| 60 | <div id="splitbar" style="-moz-user-select:none;" |
| 61 | class="ui-resizable-handle"> |
| 62 | </div> |
| 63 | </div> |
| 64 | <script type="text/javascript"> |
| 65 | $(document).ready(function(){initNavTree('classarmnn_1_1_lstm_layer.html','');}); |
| 66 | </script> |
| 67 | <div id="doc-content"> |
| 68 | <!-- window showing the filter options --> |
| 69 | <div id="MSearchSelectWindow" |
| 70 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 71 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 72 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| 73 | </div> |
| 74 | |
| 75 | <!-- iframe showing the search results (closed by default) --> |
| 76 | <div id="MSearchResultsWindow"> |
| 77 | <iframe src="javascript:void(0)" frameborder="0" |
| 78 | name="MSearchResults" id="MSearchResults"> |
| 79 | </iframe> |
| 80 | </div> |
| 81 | |
| 82 | <div class="header"> |
| 83 | <div class="summary"> |
| 84 | <a href="#pub-methods">Public Member Functions</a> | |
| 85 | <a href="#pub-attribs">Public Attributes</a> | |
| 86 | <a href="#pro-methods">Protected Member Functions</a> | |
| 87 | <a href="classarmnn_1_1_lstm_layer-members.html">List of all members</a> </div> |
| 88 | <div class="headertitle"> |
| 89 | <div class="title">LstmLayer Class Reference</div> </div> |
| 90 | </div><!--header--> |
| 91 | <div class="contents"> |
| 92 | |
| 93 | <p>This layer represents a LSTM operation. |
| 94 | <a href="classarmnn_1_1_lstm_layer.html#details">More...</a></p> |
| 95 | |
| 96 | <p><code>#include <<a class="el" href="_lstm_layer_8hpp_source.html">LstmLayer.hpp</a>></code></p> |
| 97 | <div class="dynheader"> |
| 98 | Inheritance diagram for LstmLayer:</div> |
| 99 | <div class="dyncontent"> |
| 100 | <div class="center"> |
| 101 | <img src="classarmnn_1_1_lstm_layer.png" usemap="#LstmLayer_map" alt=""/> |
| 102 | <map id="LstmLayer_map" name="LstmLayer_map"> |
| 103 | <area href="classarmnn_1_1_layer_with_parameters.html" alt="LayerWithParameters< LstmDescriptor >" shape="rect" coords="0,112,241,136"/> |
| 104 | <area href="classarmnn_1_1_layer.html" alt="Layer" shape="rect" coords="0,56,241,80"/> |
| 105 | <area href="classarmnn_1_1_i_connectable_layer.html" title="Interface for a layer that is connectable to other layers via InputSlots and OutputSlots. " alt="IConnectableLayer" shape="rect" coords="0,0,241,24"/> |
| 106 | </map> |
| 107 | </div></div> |
| 108 | <table class="memberdecls"> |
| 109 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| 110 | Public Member Functions</h2></td></tr> |
| 111 | <tr class="memitem:adfa912d0c4c6c00f1af2cbfa799572b7"><td class="memItemLeft" align="right" valign="top">virtual std::unique_ptr< <a class="el" href="classarmnn_1_1_i_workload.html">IWorkload</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_lstm_layer.html#adfa912d0c4c6c00f1af2cbfa799572b7">CreateWorkload</a> (const <a class="el" href="classarmnn_1_1_i_workload_factory.html">IWorkloadFactory</a> &factory) const override</td></tr> |
| 112 | <tr class="separator:adfa912d0c4c6c00f1af2cbfa799572b7"><td class="memSeparator" colspan="2"> </td></tr> |
| 113 | <tr class="memitem:ac6b352652fb2f722e56f5fd62c57ae09"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_lstm_layer.html">LstmLayer</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_lstm_layer.html#ac6b352652fb2f722e56f5fd62c57ae09">Clone</a> (<a class="el" href="classarmnn_1_1_graph.html">Graph</a> &graph) const override</td></tr> |
| 114 | <tr class="separator:ac6b352652fb2f722e56f5fd62c57ae09"><td class="memSeparator" colspan="2"> </td></tr> |
| 115 | <tr class="memitem:a8c8f543d7e9729362c266d12ec169966"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_lstm_layer.html#a8c8f543d7e9729362c266d12ec169966">ValidateTensorShapesFromInputs</a> () override</td></tr> |
| 116 | <tr class="separator:a8c8f543d7e9729362c266d12ec169966"><td class="memSeparator" colspan="2"> </td></tr> |
| 117 | <tr class="memitem:a65ca562c882ad619684445a1402f415a"><td class="memItemLeft" align="right" valign="top">std::vector< <a class="el" href="classarmnn_1_1_tensor_shape.html">TensorShape</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_lstm_layer.html#a65ca562c882ad619684445a1402f415a">InferOutputShapes</a> (const std::vector< <a class="el" href="classarmnn_1_1_tensor_shape.html">TensorShape</a> > &inputShapes) const override</td></tr> |
| 118 | <tr class="separator:a65ca562c882ad619684445a1402f415a"><td class="memSeparator" colspan="2"> </td></tr> |
| 119 | <tr class="memitem:a75a50f464326fefa605ea84ae2c9be85"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_lstm_layer.html#a75a50f464326fefa605ea84ae2c9be85">Accept</a> (<a class="el" href="classarmnn_1_1_i_layer_visitor.html">ILayerVisitor</a> &visitor) const override</td></tr> |
| 120 | <tr class="separator:a75a50f464326fefa605ea84ae2c9be85"><td class="memSeparator" colspan="2"> </td></tr> |
| 121 | <tr class="inherit_header pub_methods_classarmnn_1_1_layer_with_parameters"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmnn_1_1_layer_with_parameters')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classarmnn_1_1_layer_with_parameters.html">LayerWithParameters< LstmDescriptor ></a></td></tr> |
| 122 | <tr class="memitem:a502c06a1b13e6d90a6cbf47c081f1444 inherit pub_methods_classarmnn_1_1_layer_with_parameters"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structarmnn_1_1_lstm_descriptor.html">LstmDescriptor</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_with_parameters.html#a502c06a1b13e6d90a6cbf47c081f1444">GetParameters</a> () const</td></tr> |
| 123 | <tr class="separator:a502c06a1b13e6d90a6cbf47c081f1444 inherit pub_methods_classarmnn_1_1_layer_with_parameters"><td class="memSeparator" colspan="2"> </td></tr> |
| 124 | <tr class="memitem:a2ca654770a1890f15e3c7aab98e434a5 inherit pub_methods_classarmnn_1_1_layer_with_parameters"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_with_parameters.html#a2ca654770a1890f15e3c7aab98e434a5">SerializeLayerParameters</a> (<a class="el" href="namespacearmnn.html#a8c42c6647e31ebe525aeba878d133e45">ParameterStringifyFunction</a> &fn) const override</td></tr> |
| 125 | <tr class="separator:a2ca654770a1890f15e3c7aab98e434a5 inherit pub_methods_classarmnn_1_1_layer_with_parameters"><td class="memSeparator" colspan="2"> </td></tr> |
| 126 | <tr class="inherit_header pub_methods_classarmnn_1_1_layer"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmnn_1_1_layer')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classarmnn_1_1_layer.html">Layer</a></td></tr> |
| 127 | <tr class="memitem:a5e5ae420d199a0bccae5139d38c30205 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#a5e5ae420d199a0bccae5139d38c30205">Layer</a> (unsigned int numInputSlots, unsigned int numOutputSlots, <a class="el" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4">LayerType</a> type, const char *name)</td></tr> |
| 128 | <tr class="separator:a5e5ae420d199a0bccae5139d38c30205 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 129 | <tr class="memitem:a395d070748c18d903705799360088e80 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#a395d070748c18d903705799360088e80">Layer</a> (unsigned int numInputSlots, unsigned int numOutputSlots, <a class="el" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4">LayerType</a> type, <a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">DataLayout</a> layout, const char *name)</td></tr> |
| 130 | <tr class="separator:a395d070748c18d903705799360088e80 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 131 | <tr class="memitem:a9a97cb6d32661a57fc33bd29b8e41ff4 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">const std::string & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#a9a97cb6d32661a57fc33bd29b8e41ff4">GetNameStr</a> () const</td></tr> |
| 132 | <tr class="separator:a9a97cb6d32661a57fc33bd29b8e41ff4 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 133 | <tr class="memitem:af2c0edc7ea62a8baaec4d3d9b2b09256 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarmnn_1_1_output_handler.html">OutputHandler</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#af2c0edc7ea62a8baaec4d3d9b2b09256">GetOutputHandler</a> (unsigned int i=0) const</td></tr> |
| 134 | <tr class="separator:af2c0edc7ea62a8baaec4d3d9b2b09256 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 135 | <tr class="memitem:a1d4e05c17647232c514cfe58ca80744a inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_output_handler.html">OutputHandler</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#a1d4e05c17647232c514cfe58ca80744a">GetOutputHandler</a> (unsigned int i=0)</td></tr> |
| 136 | <tr class="separator:a1d4e05c17647232c514cfe58ca80744a inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 137 | <tr class="memitem:af5f530544d09a44d726f24702b67b35b inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">const std::vector< <a class="el" href="classarmnn_1_1_input_slot.html">InputSlot</a> > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#af5f530544d09a44d726f24702b67b35b">GetInputSlots</a> () const</td></tr> |
| 138 | <tr class="separator:af5f530544d09a44d726f24702b67b35b inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 139 | <tr class="memitem:a98cdff4e0b45f4c80bfcedaf926e16e0 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">const std::vector< <a class="el" href="classarmnn_1_1_output_slot.html">OutputSlot</a> > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#a98cdff4e0b45f4c80bfcedaf926e16e0">GetOutputSlots</a> () const</td></tr> |
| 140 | <tr class="separator:a98cdff4e0b45f4c80bfcedaf926e16e0 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 141 | <tr class="memitem:af6cb8de21ef0da269ec9b67755ae92a0 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">std::vector< <a class="el" href="classarmnn_1_1_input_slot.html">InputSlot</a> >::iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#af6cb8de21ef0da269ec9b67755ae92a0">BeginInputSlots</a> ()</td></tr> |
| 142 | <tr class="separator:af6cb8de21ef0da269ec9b67755ae92a0 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 143 | <tr class="memitem:a9752e12d6b79e18da1a25f76159d2a72 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">std::vector< <a class="el" href="classarmnn_1_1_input_slot.html">InputSlot</a> >::iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#a9752e12d6b79e18da1a25f76159d2a72">EndInputSlots</a> ()</td></tr> |
| 144 | <tr class="separator:a9752e12d6b79e18da1a25f76159d2a72 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 145 | <tr class="memitem:a817d4be6dd88f532d36f51748ec14185 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">std::vector< <a class="el" href="classarmnn_1_1_output_slot.html">OutputSlot</a> >::iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#a817d4be6dd88f532d36f51748ec14185">BeginOutputSlots</a> ()</td></tr> |
| 146 | <tr class="separator:a817d4be6dd88f532d36f51748ec14185 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 147 | <tr class="memitem:a55f76d98fcd2f5cdac3e2b14536cb7ab inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">std::vector< <a class="el" href="classarmnn_1_1_output_slot.html">OutputSlot</a> >::iterator </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#a55f76d98fcd2f5cdac3e2b14536cb7ab">EndOutputSlots</a> ()</td></tr> |
| 148 | <tr class="separator:a55f76d98fcd2f5cdac3e2b14536cb7ab inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 149 | <tr class="memitem:a22485f444124128940e798a42f0b76d9 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#a22485f444124128940e798a42f0b76d9">IsOutputUnconnected</a> ()</td></tr> |
| 150 | <tr class="separator:a22485f444124128940e798a42f0b76d9 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 151 | <tr class="memitem:aac329cade047e952621b59a51a5d5f49 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#aac329cade047e952621b59a51a5d5f49">ResetPriority</a> () const</td></tr> |
| 152 | <tr class="separator:aac329cade047e952621b59a51a5d5f49 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 153 | <tr class="memitem:af97a07195a67a638605b3c325763c2dd inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn.html#a419086ecb4dc9d0f9e5d8933c87e2ea2">LayerPriority</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#af97a07195a67a638605b3c325763c2dd">GetPriority</a> () const</td></tr> |
| 154 | <tr class="separator:af97a07195a67a638605b3c325763c2dd inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 155 | <tr class="memitem:aaef29472862381822654ab6cbf7cba2a inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4">LayerType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#aaef29472862381822654ab6cbf7cba2a">GetType</a> () const</td></tr> |
| 156 | <tr class="separator:aaef29472862381822654ab6cbf7cba2a inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 157 | <tr class="memitem:aea909c7327109228ef618d459015def3 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#aea909c7327109228ef618d459015def3">GetDataType</a> () const</td></tr> |
| 158 | <tr class="separator:aea909c7327109228ef618d459015def3 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 159 | <tr class="memitem:afdb1d37740e7a083b625d669588b6a0e inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarmnn_1_1_backend_id.html">BackendId</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#afdb1d37740e7a083b625d669588b6a0e">GetBackendId</a> () const</td></tr> |
| 160 | <tr class="separator:afdb1d37740e7a083b625d669588b6a0e inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 161 | <tr class="memitem:a3f6ad59212fa8a47c9265162fff8a274 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#a3f6ad59212fa8a47c9265162fff8a274">SetBackendId</a> (const <a class="el" href="classarmnn_1_1_backend_id.html">BackendId</a> &id)</td></tr> |
| 162 | <tr class="separator:a3f6ad59212fa8a47c9265162fff8a274 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 163 | <tr class="memitem:a3ff62126ec713a2708e5fbaa6146a7de inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#a3ff62126ec713a2708e5fbaa6146a7de">CreateTensorHandles</a> (const <a class="el" href="classarmnn_1_1_tensor_handle_factory_registry.html">TensorHandleFactoryRegistry</a> &registry, const <a class="el" href="classarmnn_1_1_i_workload_factory.html">IWorkloadFactory</a> &factory, const bool IsMemoryManaged=<a class="el" href="_ref_layer_tests_8cpp.html#a37f1c3ccc9fc906be85185350dd83d48">true</a>)</td></tr> |
| 164 | <tr class="separator:a3ff62126ec713a2708e5fbaa6146a7de inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 165 | <tr class="memitem:a0607e36e88f38c34c71c663164b76776 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#a0607e36e88f38c34c71c663164b76776">VerifyLayerConnections</a> (unsigned int expectedConnections, const <a class="el" href="structarmnn_1_1_check_location.html">CheckLocation</a> &location) const</td></tr> |
| 166 | <tr class="separator:a0607e36e88f38c34c71c663164b76776 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 167 | <tr class="memitem:a339bef86bc340c3d1393ed83950fe8af inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#a339bef86bc340c3d1393ed83950fe8af">ReleaseConstantData</a> ()</td></tr> |
| 168 | <tr class="separator:a339bef86bc340c3d1393ed83950fe8af inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 169 | <tr class="memitem:a386acff5f8430245239ce58d00ba7576 inherit pub_methods_classarmnn_1_1_layer"><td class="memTemplParams" colspan="2">template<typename Op > </td></tr> |
| 170 | <tr class="memitem:a386acff5f8430245239ce58d00ba7576 inherit pub_methods_classarmnn_1_1_layer"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#a386acff5f8430245239ce58d00ba7576">OperateOnConstantTensors</a> (Op op)</td></tr> |
| 171 | <tr class="separator:a386acff5f8430245239ce58d00ba7576 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 172 | <tr class="memitem:a7ddf0cf6f620d59c10e63495ace795d0 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#a7ddf0cf6f620d59c10e63495ace795d0">GetName</a> () const override</td></tr> |
| 173 | <tr class="separator:a7ddf0cf6f620d59c10e63495ace795d0 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 174 | <tr class="memitem:abc0660dc440c8a285b456c9ef6383c26 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#abc0660dc440c8a285b456c9ef6383c26">GetNumInputSlots</a> () const override</td></tr> |
| 175 | <tr class="separator:abc0660dc440c8a285b456c9ef6383c26 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 176 | <tr class="memitem:a1594bddc87d6477df300317658f566bb inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#a1594bddc87d6477df300317658f566bb">GetNumOutputSlots</a> () const override</td></tr> |
| 177 | <tr class="separator:a1594bddc87d6477df300317658f566bb inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 178 | <tr class="memitem:acf8b8e23bf647836592982f97088d375 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarmnn_1_1_input_slot.html">InputSlot</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a> (unsigned int index) const override</td></tr> |
| 179 | <tr class="separator:acf8b8e23bf647836592982f97088d375 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 180 | <tr class="memitem:a1b50eb1358cdf382f4bc3fc8849f8e8e inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_input_slot.html">InputSlot</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#a1b50eb1358cdf382f4bc3fc8849f8e8e">GetInputSlot</a> (unsigned int index) override</td></tr> |
| 181 | <tr class="separator:a1b50eb1358cdf382f4bc3fc8849f8e8e inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 182 | <tr class="memitem:a0e36688a43c35668d8db5257274c68fe inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarmnn_1_1_output_slot.html">OutputSlot</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#a0e36688a43c35668d8db5257274c68fe">GetOutputSlot</a> (unsigned int index=0) const override</td></tr> |
| 183 | <tr class="separator:a0e36688a43c35668d8db5257274c68fe inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 184 | <tr class="memitem:abbd71844785bb2f00a81baca30ea5ff0 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_output_slot.html">OutputSlot</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#abbd71844785bb2f00a81baca30ea5ff0">GetOutputSlot</a> (unsigned int index=0) override</td></tr> |
| 185 | <tr class="separator:abbd71844785bb2f00a81baca30ea5ff0 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 186 | <tr class="memitem:a6d1024208b672a87ef2c1bfaf93d2b9f inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#a6d1024208b672a87ef2c1bfaf93d2b9f">SetGuid</a> (<a class="el" href="namespacearmnn.html#afad4088a9a058114ee5f87246f87bf49">LayerGuid</a> guid)</td></tr> |
| 187 | <tr class="separator:a6d1024208b672a87ef2c1bfaf93d2b9f inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 188 | <tr class="memitem:a8dc12f0ee5b232d397bd18ced1a72a64 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn.html#afad4088a9a058114ee5f87246f87bf49">LayerGuid</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#a8dc12f0ee5b232d397bd18ced1a72a64">GetGuid</a> () const final</td></tr> |
| 189 | <tr class="separator:a8dc12f0ee5b232d397bd18ced1a72a64 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 190 | <tr class="memitem:a339248d89d5e21534ecf74b4393ed4d2 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#a339248d89d5e21534ecf74b4393ed4d2">AddRelatedLayerName</a> (const std::string layerName)</td></tr> |
| 191 | <tr class="separator:a339248d89d5e21534ecf74b4393ed4d2 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 192 | <tr class="memitem:a5e5520194ea4042fe07b0bf53c28f634 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">const std::list< std::string > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#a5e5520194ea4042fe07b0bf53c28f634">GetRelatedLayerNames</a> ()</td></tr> |
| 193 | <tr class="separator:a5e5520194ea4042fe07b0bf53c28f634 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 194 | <tr class="memitem:a72b18e4c5a403bc3fe2fecf20135c8d6 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#a72b18e4c5a403bc3fe2fecf20135c8d6">Reparent</a> (<a class="el" href="classarmnn_1_1_graph.html">Graph</a> &dest, std::list< <a class="el" href="classarmnn_1_1_layer.html">Layer</a> *>::const_iterator iterator)=0</td></tr> |
| 195 | <tr class="separator:a72b18e4c5a403bc3fe2fecf20135c8d6 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 196 | </table><table class="memberdecls"> |
| 197 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a> |
| 198 | Public Attributes</h2></td></tr> |
| 199 | <tr class="memitem:a8838b317568861294a9df608221f185e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarmnn_1_1_lstm_basic_parameters.html">LstmBasicParameters</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a></td></tr> |
| 200 | <tr class="separator:a8838b317568861294a9df608221f185e"><td class="memSeparator" colspan="2"> </td></tr> |
| 201 | <tr class="memitem:a0e940dfa428f4eb429f8bc0d138b20af"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarmnn_1_1_lstm_opt_cifg_parameters.html">LstmOptCifgParameters</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a></td></tr> |
| 202 | <tr class="separator:a0e940dfa428f4eb429f8bc0d138b20af"><td class="memSeparator" colspan="2"> </td></tr> |
| 203 | <tr class="memitem:a3d3e6d0c3e6e570d9f831489c3bd14ce"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarmnn_1_1_lstm_opt_projection_parameters.html">LstmOptProjectionParameters</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_lstm_layer.html#a3d3e6d0c3e6e570d9f831489c3bd14ce">m_ProjectionParameters</a></td></tr> |
| 204 | <tr class="separator:a3d3e6d0c3e6e570d9f831489c3bd14ce"><td class="memSeparator" colspan="2"> </td></tr> |
| 205 | <tr class="memitem:a4efa0f4d46817ab94e36c8507c26f276"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarmnn_1_1_lstm_opt_peephole_parameters.html">LstmOptPeepholeParameters</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_lstm_layer.html#a4efa0f4d46817ab94e36c8507c26f276">m_PeepholeParameters</a></td></tr> |
| 206 | <tr class="separator:a4efa0f4d46817ab94e36c8507c26f276"><td class="memSeparator" colspan="2"> </td></tr> |
| 207 | <tr class="memitem:a46864a690d016b7e00eb51a5bfe8e966"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html">LstmOptLayerNormParameters</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a></td></tr> |
| 208 | <tr class="separator:a46864a690d016b7e00eb51a5bfe8e966"><td class="memSeparator" colspan="2"> </td></tr> |
| 209 | </table><table class="memberdecls"> |
| 210 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a> |
| 211 | Protected Member Functions</h2></td></tr> |
| 212 | <tr class="memitem:adbb2663fc90c40c0845bb043c23eeae9"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_lstm_layer.html#adbb2663fc90c40c0845bb043c23eeae9">LstmLayer</a> (const <a class="el" href="structarmnn_1_1_lstm_descriptor.html">LstmDescriptor</a> &param, const char *name)</td></tr> |
| 213 | <tr class="separator:adbb2663fc90c40c0845bb043c23eeae9"><td class="memSeparator" colspan="2"> </td></tr> |
| 214 | <tr class="memitem:a6ef9aee439977deb9e7f0d37f270f689"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_lstm_layer.html#a6ef9aee439977deb9e7f0d37f270f689">~LstmLayer</a> ()=default</td></tr> |
| 215 | <tr class="memdesc:a6ef9aee439977deb9e7f0d37f270f689"><td class="mdescLeft"> </td><td class="mdescRight">Default destructor. <a href="#a6ef9aee439977deb9e7f0d37f270f689">More...</a><br /></td></tr> |
| 216 | <tr class="separator:a6ef9aee439977deb9e7f0d37f270f689"><td class="memSeparator" colspan="2"> </td></tr> |
| 217 | <tr class="memitem:abe659a5afa7523f5dbc04bcba9b31f1a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_layer.html#a585d59ec610af46a76487fd6c1c55ac1">Layer::ConstantTensors</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_lstm_layer.html#abe659a5afa7523f5dbc04bcba9b31f1a">GetConstantTensorsByRef</a> () override</td></tr> |
| 218 | <tr class="separator:abe659a5afa7523f5dbc04bcba9b31f1a"><td class="memSeparator" colspan="2"> </td></tr> |
| 219 | <tr class="inherit_header pro_methods_classarmnn_1_1_layer_with_parameters"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classarmnn_1_1_layer_with_parameters')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classarmnn_1_1_layer_with_parameters.html">LayerWithParameters< LstmDescriptor ></a></td></tr> |
| 220 | <tr class="memitem:a1f5a1d629b1ef52a0d8e0214a0fb51a1 inherit pro_methods_classarmnn_1_1_layer_with_parameters"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_with_parameters.html#a1f5a1d629b1ef52a0d8e0214a0fb51a1">LayerWithParameters</a> (unsigned int numInputSlots, unsigned int numOutputSlots, <a class="el" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4">LayerType</a> type, const <a class="el" href="structarmnn_1_1_lstm_descriptor.html">LstmDescriptor</a> &param, const char *name)</td></tr> |
| 221 | <tr class="separator:a1f5a1d629b1ef52a0d8e0214a0fb51a1 inherit pro_methods_classarmnn_1_1_layer_with_parameters"><td class="memSeparator" colspan="2"> </td></tr> |
| 222 | <tr class="memitem:adc0f578e075f63379058f2d2641a509a inherit pro_methods_classarmnn_1_1_layer_with_parameters"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_with_parameters.html#adc0f578e075f63379058f2d2641a509a">~LayerWithParameters</a> ()=default</td></tr> |
| 223 | <tr class="separator:adc0f578e075f63379058f2d2641a509a inherit pro_methods_classarmnn_1_1_layer_with_parameters"><td class="memSeparator" colspan="2"> </td></tr> |
| 224 | <tr class="memitem:a30a858b2b26d651a066537e499fbf40d inherit pro_methods_classarmnn_1_1_layer_with_parameters"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarmnn_1_1_workload_info.html">WorkloadInfo</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_with_parameters.html#a30a858b2b26d651a066537e499fbf40d">PrepInfoAndDesc</a> (<a class="el" href="structarmnn_1_1_queue_descriptor.html">QueueDescriptor</a> &descriptor) const</td></tr> |
| 225 | <tr class="memdesc:a30a858b2b26d651a066537e499fbf40d inherit pro_methods_classarmnn_1_1_layer_with_parameters"><td class="mdescLeft"> </td><td class="mdescRight">Helper function to reduce duplication in *Layer<a class="el" href="_elementwise_unary_test_impl_8hpp.html#aa50938ed8f91e09acd4af904dcf5543a">CreateWorkload</a>. <a href="classarmnn_1_1_layer_with_parameters.html#a30a858b2b26d651a066537e499fbf40d">More...</a><br /></td></tr> |
| 226 | <tr class="separator:a30a858b2b26d651a066537e499fbf40d inherit pro_methods_classarmnn_1_1_layer_with_parameters"><td class="memSeparator" colspan="2"> </td></tr> |
| 227 | <tr class="inherit_header pro_methods_classarmnn_1_1_layer"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classarmnn_1_1_layer')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classarmnn_1_1_layer.html">Layer</a></td></tr> |
| 228 | <tr class="memitem:aacfb208d750bdfce1bbd423e5cac76e2 inherit pro_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#aacfb208d750bdfce1bbd423e5cac76e2">~Layer</a> ()=default</td></tr> |
| 229 | <tr class="separator:aacfb208d750bdfce1bbd423e5cac76e2 inherit pro_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 230 | <tr class="memitem:afc3239f5fc116259bf5451964e803646 inherit pro_methods_classarmnn_1_1_layer"><td class="memTemplParams" colspan="2">template<typename QueueDescriptor > </td></tr> |
| 231 | <tr class="memitem:afc3239f5fc116259bf5451964e803646 inherit pro_methods_classarmnn_1_1_layer"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#afc3239f5fc116259bf5451964e803646">CollectQueueDescriptorInputs</a> (<a class="el" href="structarmnn_1_1_queue_descriptor.html">QueueDescriptor</a> &descriptor, <a class="el" href="structarmnn_1_1_workload_info.html">WorkloadInfo</a> &<a class="el" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>) const</td></tr> |
| 232 | <tr class="separator:afc3239f5fc116259bf5451964e803646 inherit pro_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 233 | <tr class="memitem:a499ca5a94d0174ed21786b6994b2cd8c inherit pro_methods_classarmnn_1_1_layer"><td class="memTemplParams" colspan="2">template<typename QueueDescriptor > </td></tr> |
| 234 | <tr class="memitem:a499ca5a94d0174ed21786b6994b2cd8c inherit pro_methods_classarmnn_1_1_layer"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#a499ca5a94d0174ed21786b6994b2cd8c">CollectQueueDescriptorOutputs</a> (<a class="el" href="structarmnn_1_1_queue_descriptor.html">QueueDescriptor</a> &descriptor, <a class="el" href="structarmnn_1_1_workload_info.html">WorkloadInfo</a> &<a class="el" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>) const</td></tr> |
| 235 | <tr class="separator:a499ca5a94d0174ed21786b6994b2cd8c inherit pro_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 236 | <tr class="memitem:a30a858b2b26d651a066537e499fbf40d inherit pro_methods_classarmnn_1_1_layer"><td class="memTemplParams" colspan="2">template<typename QueueDescriptor > </td></tr> |
| 237 | <tr class="memitem:a30a858b2b26d651a066537e499fbf40d inherit pro_methods_classarmnn_1_1_layer"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="structarmnn_1_1_workload_info.html">WorkloadInfo</a> </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#a30a858b2b26d651a066537e499fbf40d">PrepInfoAndDesc</a> (<a class="el" href="structarmnn_1_1_queue_descriptor.html">QueueDescriptor</a> &descriptor) const</td></tr> |
| 238 | <tr class="memdesc:a30a858b2b26d651a066537e499fbf40d inherit pro_methods_classarmnn_1_1_layer"><td class="mdescLeft"> </td><td class="mdescRight">Helper function to reduce duplication in *Layer<a class="el" href="_elementwise_unary_test_impl_8hpp.html#aa50938ed8f91e09acd4af904dcf5543a">CreateWorkload</a>. <a href="classarmnn_1_1_layer.html#a30a858b2b26d651a066537e499fbf40d">More...</a><br /></td></tr> |
| 239 | <tr class="separator:a30a858b2b26d651a066537e499fbf40d inherit pro_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 240 | <tr class="memitem:aa10fd205c3f5469a9ecb2aa2a3ffd101 inherit pro_methods_classarmnn_1_1_layer"><td class="memTemplParams" colspan="2">template<typename LayerType , typename ... Params> </td></tr> |
| 241 | <tr class="memitem:aa10fd205c3f5469a9ecb2aa2a3ffd101 inherit pro_methods_classarmnn_1_1_layer"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4">LayerType</a> * </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#aa10fd205c3f5469a9ecb2aa2a3ffd101">CloneBase</a> (<a class="el" href="classarmnn_1_1_graph.html">Graph</a> &graph, Params &&... params) const</td></tr> |
| 242 | <tr class="separator:aa10fd205c3f5469a9ecb2aa2a3ffd101 inherit pro_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 243 | <tr class="inherit_header pro_methods_classarmnn_1_1_i_connectable_layer"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classarmnn_1_1_i_connectable_layer')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classarmnn_1_1_i_connectable_layer.html">IConnectableLayer</a></td></tr> |
| 244 | <tr class="memitem:a8c7faf37c1d965431aaa02ae934d67ee inherit pro_methods_classarmnn_1_1_i_connectable_layer"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_connectable_layer.html#a8c7faf37c1d965431aaa02ae934d67ee">~IConnectableLayer</a> ()</td></tr> |
| 245 | <tr class="memdesc:a8c7faf37c1d965431aaa02ae934d67ee inherit pro_methods_classarmnn_1_1_i_connectable_layer"><td class="mdescLeft"> </td><td class="mdescRight">Objects are not deletable via the handle. <a href="classarmnn_1_1_i_connectable_layer.html#a8c7faf37c1d965431aaa02ae934d67ee">More...</a><br /></td></tr> |
| 246 | <tr class="separator:a8c7faf37c1d965431aaa02ae934d67ee inherit pro_methods_classarmnn_1_1_i_connectable_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 247 | </table><table class="memberdecls"> |
| 248 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> |
| 249 | Additional Inherited Members</h2></td></tr> |
| 250 | <tr class="inherit_header pub_types_classarmnn_1_1_layer_with_parameters"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classarmnn_1_1_layer_with_parameters')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="classarmnn_1_1_layer_with_parameters.html">LayerWithParameters< LstmDescriptor ></a></td></tr> |
| 251 | <tr class="memitem:a6b1bd3d5380a0ce8ecb71ddb0261c3fa inherit pub_types_classarmnn_1_1_layer_with_parameters"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_with_parameters.html#a6b1bd3d5380a0ce8ecb71ddb0261c3fa">DescriptorType</a> = <a class="el" href="structarmnn_1_1_lstm_descriptor.html">LstmDescriptor</a></td></tr> |
| 252 | <tr class="separator:a6b1bd3d5380a0ce8ecb71ddb0261c3fa inherit pub_types_classarmnn_1_1_layer_with_parameters"><td class="memSeparator" colspan="2"> </td></tr> |
| 253 | <tr class="inherit_header pro_types_classarmnn_1_1_layer"><td colspan="2" onclick="javascript:toggleInherit('pro_types_classarmnn_1_1_layer')"><img src="closed.png" alt="-"/> Protected Types inherited from <a class="el" href="classarmnn_1_1_layer.html">Layer</a></td></tr> |
| 254 | <tr class="memitem:a585d59ec610af46a76487fd6c1c55ac1 inherit pro_types_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#a585d59ec610af46a76487fd6c1c55ac1">ConstantTensors</a> = std::vector< std::reference_wrapper< std::unique_ptr< <a class="el" href="classarmnn_1_1_scoped_cpu_tensor_handle.html">ScopedCpuTensorHandle</a> > >></td></tr> |
| 255 | <tr class="separator:a585d59ec610af46a76487fd6c1c55ac1 inherit pro_types_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 256 | <tr class="inherit_header pro_attribs_classarmnn_1_1_layer_with_parameters"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classarmnn_1_1_layer_with_parameters')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classarmnn_1_1_layer_with_parameters.html">LayerWithParameters< LstmDescriptor ></a></td></tr> |
| 257 | <tr class="memitem:ad32ac22bc72e28dfd6b466d143c8e262 inherit pro_attribs_classarmnn_1_1_layer_with_parameters"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarmnn_1_1_lstm_descriptor.html">LstmDescriptor</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a></td></tr> |
| 258 | <tr class="memdesc:ad32ac22bc72e28dfd6b466d143c8e262 inherit pro_attribs_classarmnn_1_1_layer_with_parameters"><td class="mdescLeft"> </td><td class="mdescRight">The parameters for the layer (not including tensor-valued weights etc.). <a href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">More...</a><br /></td></tr> |
| 259 | <tr class="separator:ad32ac22bc72e28dfd6b466d143c8e262 inherit pro_attribs_classarmnn_1_1_layer_with_parameters"><td class="memSeparator" colspan="2"> </td></tr> |
| 260 | <tr class="inherit_header pro_attribs_classarmnn_1_1_layer"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classarmnn_1_1_layer')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classarmnn_1_1_layer.html">Layer</a></td></tr> |
| 261 | <tr class="memitem:aa44d91037bba52ba0dec6577509ade3b inherit pro_attribs_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">std::vector< <a class="el" href="classarmnn_1_1_output_handler.html">OutputHandler</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.html#aa44d91037bba52ba0dec6577509ade3b">m_OutputHandlers</a></td></tr> |
| 262 | <tr class="separator:aa44d91037bba52ba0dec6577509ade3b inherit pro_attribs_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 263 | </table> |
| 264 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 265 | <div class="textblock"><p>This layer represents a LSTM operation. </p> |
| 266 | |
| 267 | <p class="definition">Definition at line <a class="el" href="_lstm_layer_8hpp_source.html#l00077">77</a> of file <a class="el" href="_lstm_layer_8hpp_source.html">LstmLayer.hpp</a>.</p> |
| 268 | </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| 269 | <a id="adbb2663fc90c40c0845bb043c23eeae9"></a> |
| 270 | <h2 class="memtitle"><span class="permalink"><a href="#adbb2663fc90c40c0845bb043c23eeae9">◆ </a></span>LstmLayer()</h2> |
| 271 | |
| 272 | <div class="memitem"> |
| 273 | <div class="memproto"> |
| 274 | <table class="mlabels"> |
| 275 | <tr> |
| 276 | <td class="mlabels-left"> |
| 277 | <table class="memname"> |
| 278 | <tr> |
| 279 | <td class="memname"><a class="el" href="classarmnn_1_1_lstm_layer.html">LstmLayer</a> </td> |
| 280 | <td>(</td> |
| 281 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_lstm_descriptor.html">LstmDescriptor</a> & </td> |
| 282 | <td class="paramname"><em>param</em>, </td> |
| 283 | </tr> |
| 284 | <tr> |
| 285 | <td class="paramkey"></td> |
| 286 | <td></td> |
| 287 | <td class="paramtype">const char * </td> |
| 288 | <td class="paramname"><em>name</em> </td> |
| 289 | </tr> |
| 290 | <tr> |
| 291 | <td></td> |
| 292 | <td>)</td> |
| 293 | <td></td><td></td> |
| 294 | </tr> |
| 295 | </table> |
| 296 | </td> |
| 297 | <td class="mlabels-right"> |
| 298 | <span class="mlabels"><span class="mlabel">protected</span></span> </td> |
| 299 | </tr> |
| 300 | </table> |
| 301 | </div><div class="memdoc"> |
| 302 | <p>Constructor to create a <a class="el" href="classarmnn_1_1_lstm_layer.html" title="This layer represents a LSTM operation. ">LstmLayer</a>. </p><dl class="params"><dt>Parameters</dt><dd> |
| 303 | <table class="params"> |
| 304 | <tr><td class="paramdir">[in]</td><td class="paramname">param</td><td><a class="el" href="structarmnn_1_1_lstm_descriptor.html" title="An LstmDescriptor for the LstmLayer. ">LstmDescriptor</a> to configure the lstm operation. </td></tr> |
| 305 | <tr><td class="paramdir">[in]</td><td class="paramname">name</td><td><a class="el" href="classarmnn_1_1_optional.html">Optional</a> name for the layer. </td></tr> |
| 306 | </table> |
| 307 | </dd> |
| 308 | </dl> |
| 309 | |
| 310 | <p class="definition">Definition at line <a class="el" href="_lstm_layer_8cpp_source.html#l00017">17</a> of file <a class="el" href="_lstm_layer_8cpp_source.html">LstmLayer.cpp</a>.</p> |
| 311 | |
| 312 | <p class="reference">References <a class="el" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4a06b091bc9aea697ba473c71f0bb55925">armnn::Lstm</a>.</p> |
| 313 | <div class="fragment"><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  : <a class="code" href="classarmnn_1_1_layer_with_parameters.html#a1f5a1d629b1ef52a0d8e0214a0fb51a1">LayerWithParameters</a>(3, 4, <a class="code" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4a06b091bc9aea697ba473c71f0bb55925">LayerType::Lstm</a>, param, name)</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> {</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> }</div><div class="ttc" id="classarmnn_1_1_layer_with_parameters_html_a1f5a1d629b1ef52a0d8e0214a0fb51a1"><div class="ttname"><a href="classarmnn_1_1_layer_with_parameters.html#a1f5a1d629b1ef52a0d8e0214a0fb51a1">armnn::LayerWithParameters< LstmDescriptor >::LayerWithParameters</a></div><div class="ttdeci">LayerWithParameters(unsigned int numInputSlots, unsigned int numOutputSlots, LayerType type, const LstmDescriptor &param, const char *name)</div><div class="ttdef"><b>Definition:</b> <a href="_layer_with_parameters_8hpp_source.html#l00029">LayerWithParameters.hpp:29</a></div></div> |
| 314 | <div class="ttc" id="namespacearmnn_html_a56943a0946e5f15e5e58054b8e7a04a4a06b091bc9aea697ba473c71f0bb55925"><div class="ttname"><a href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4a06b091bc9aea697ba473c71f0bb55925">armnn::LayerType::Lstm</a></div></div> |
| 315 | </div><!-- fragment --> |
| 316 | </div> |
| 317 | </div> |
| 318 | <a id="a6ef9aee439977deb9e7f0d37f270f689"></a> |
| 319 | <h2 class="memtitle"><span class="permalink"><a href="#a6ef9aee439977deb9e7f0d37f270f689">◆ </a></span>~LstmLayer()</h2> |
| 320 | |
| 321 | <div class="memitem"> |
| 322 | <div class="memproto"> |
| 323 | <table class="mlabels"> |
| 324 | <tr> |
| 325 | <td class="mlabels-left"> |
| 326 | <table class="memname"> |
| 327 | <tr> |
| 328 | <td class="memname">~<a class="el" href="classarmnn_1_1_lstm_layer.html">LstmLayer</a> </td> |
| 329 | <td>(</td> |
| 330 | <td class="paramname"></td><td>)</td> |
| 331 | <td></td> |
| 332 | </tr> |
| 333 | </table> |
| 334 | </td> |
| 335 | <td class="mlabels-right"> |
| 336 | <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">default</span></span> </td> |
| 337 | </tr> |
| 338 | </table> |
| 339 | </div><div class="memdoc"> |
| 340 | |
| 341 | <p>Default destructor. </p> |
| 342 | |
| 343 | </div> |
| 344 | </div> |
| 345 | <h2 class="groupheader">Member Function Documentation</h2> |
| 346 | <a id="a75a50f464326fefa605ea84ae2c9be85"></a> |
| 347 | <h2 class="memtitle"><span class="permalink"><a href="#a75a50f464326fefa605ea84ae2c9be85">◆ </a></span>Accept()</h2> |
| 348 | |
| 349 | <div class="memitem"> |
| 350 | <div class="memproto"> |
| 351 | <table class="mlabels"> |
| 352 | <tr> |
| 353 | <td class="mlabels-left"> |
| 354 | <table class="memname"> |
| 355 | <tr> |
| 356 | <td class="memname">void Accept </td> |
| 357 | <td>(</td> |
| 358 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_layer_visitor.html">ILayerVisitor</a> & </td> |
| 359 | <td class="paramname"><em>visitor</em></td><td>)</td> |
| 360 | <td> const</td> |
| 361 | </tr> |
| 362 | </table> |
| 363 | </td> |
| 364 | <td class="mlabels-right"> |
| 365 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 366 | </tr> |
| 367 | </table> |
| 368 | </div><div class="memdoc"> |
| 369 | |
| 370 | <p>Implements <a class="el" href="classarmnn_1_1_i_connectable_layer.html#a8c9198a992b02e61a6777329d487dde3">IConnectableLayer</a>.</p> |
| 371 | |
| 372 | <p class="definition">Definition at line <a class="el" href="_lstm_layer_8cpp_source.html#l00299">299</a> of file <a class="el" href="_lstm_layer_8cpp_source.html">LstmLayer.cpp</a>.</p> |
| 373 | |
| 374 | <p class="reference">References <a class="el" href="_layer_8hpp_source.html#l00305">Layer::GetName()</a>, <a class="el" href="_layer_with_parameters_8hpp_source.html#l00018">LayerWithParameters< LstmDescriptor >::GetParameters()</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00081">LstmLayer::m_BasicParameters</a>, <a class="el" href="_lstm_params_8hpp_source.html#l00053">LstmInputParams::m_CellBias</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00071">LstmBasicParameters::m_CellBias</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00021">LstmOptLayerNormParameters::m_CellLayerNormWeights</a>, <a class="el" href="_lstm_params_8hpp_source.html#l00059">LstmInputParams::m_CellLayerNormWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00049">LstmOptPeepholeParameters::m_CellToForgetWeights</a>, <a class="el" href="_lstm_params_8hpp_source.html#l00049">LstmInputParams::m_CellToForgetWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00033">LstmOptCifgParameters::m_CellToInputWeights</a>, <a class="el" href="_lstm_params_8hpp_source.html#l00048">LstmInputParams::m_CellToInputWeights</a>, <a class="el" href="_lstm_params_8hpp_source.html#l00050">LstmInputParams::m_CellToOutputWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00051">LstmOptPeepholeParameters::m_CellToOutputWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00082">LstmLayer::m_CifgParameters</a>, <a class="el" href="_lstm_params_8hpp_source.html#l00052">LstmInputParams::m_ForgetGateBias</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00069">LstmBasicParameters::m_ForgetGateBias</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00019">LstmOptLayerNormParameters::m_ForgetLayerNormWeights</a>, <a class="el" href="_lstm_params_8hpp_source.html#l00058">LstmInputParams::m_ForgetLayerNormWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00035">LstmOptCifgParameters::m_InputGateBias</a>, <a class="el" href="_lstm_params_8hpp_source.html#l00051">LstmInputParams::m_InputGateBias</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00017">LstmOptLayerNormParameters::m_InputLayerNormWeights</a>, <a class="el" href="_lstm_params_8hpp_source.html#l00057">LstmInputParams::m_InputLayerNormWeights</a>, <a class="el" href="_lstm_params_8hpp_source.html#l00042">LstmInputParams::m_InputToCellWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00059">LstmBasicParameters::m_InputToCellWeights</a>, <a class="el" href="_lstm_params_8hpp_source.html#l00041">LstmInputParams::m_InputToForgetWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00057">LstmBasicParameters::m_InputToForgetWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00029">LstmOptCifgParameters::m_InputToInputWeights</a>, <a class="el" href="_lstm_params_8hpp_source.html#l00040">LstmInputParams::m_InputToInputWeights</a>, <a class="el" href="_lstm_params_8hpp_source.html#l00043">LstmInputParams::m_InputToOutputWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00061">LstmBasicParameters::m_InputToOutputWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00085">LstmLayer::m_LayerNormParameters</a>, <a class="el" href="_lstm_params_8hpp_source.html#l00054">LstmInputParams::m_OutputGateBias</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00073">LstmBasicParameters::m_OutputGateBias</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00023">LstmOptLayerNormParameters::m_OutputLayerNormWeights</a>, <a class="el" href="_lstm_params_8hpp_source.html#l00060">LstmInputParams::m_OutputLayerNormWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00084">LstmLayer::m_PeepholeParameters</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00043">LstmOptProjectionParameters::m_ProjectionBias</a>, <a class="el" href="_lstm_params_8hpp_source.html#l00056">LstmInputParams::m_ProjectionBias</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00083">LstmLayer::m_ProjectionParameters</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00041">LstmOptProjectionParameters::m_ProjectionWeights</a>, <a class="el" href="_lstm_params_8hpp_source.html#l00055">LstmInputParams::m_ProjectionWeights</a>, <a class="el" href="_lstm_params_8hpp_source.html#l00046">LstmInputParams::m_RecurrentToCellWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00065">LstmBasicParameters::m_RecurrentToCellWeights</a>, <a class="el" href="_lstm_params_8hpp_source.html#l00045">LstmInputParams::m_RecurrentToForgetWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00063">LstmBasicParameters::m_RecurrentToForgetWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00031">LstmOptCifgParameters::m_RecurrentToInputWeights</a>, <a class="el" href="_lstm_params_8hpp_source.html#l00044">LstmInputParams::m_RecurrentToInputWeights</a>, <a class="el" href="_lstm_params_8hpp_source.html#l00047">LstmInputParams::m_RecurrentToOutputWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00067">LstmBasicParameters::m_RecurrentToOutputWeights</a>, and <a class="el" href="classarmnn_1_1_i_layer_visitor.html#aed730aaef50861ea8b7b6276ce880c9a">ILayerVisitor::VisitLstmLayer()</a>.</p> |
| 375 | <div class="fragment"><div class="line"><a name="l00300"></a><span class="lineno"> 300</span> {</div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  LstmInputParams inputParams;</div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  ConstTensor inputToInputWeightsTensor;</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  {</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  ConstTensor inputToInputWeightsTensorCopy(<a class="code" href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  inputToInputWeightsTensor = inputToInputWeightsTensorCopy;</div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  inputParams.m_InputToInputWeights = &inputToInputWeightsTensor;</div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  }</div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  ConstTensor inputToForgetWeightsTensor;</div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  {</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  ConstTensor inputToForgetWeightsTensorCopy(<a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  inputToForgetWeightsTensor = inputToForgetWeightsTensorCopy;</div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  inputParams.m_InputToForgetWeights = &inputToForgetWeightsTensor;</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  }</div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  ConstTensor inputToCellWeightsTensor;</div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  {</div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  ConstTensor inputToCellWeightsTensorCopy(<a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  inputToCellWeightsTensor = inputToCellWeightsTensorCopy;</div><div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  inputParams.m_InputToCellWeights = &inputToCellWeightsTensor;</div><div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  }</div><div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  ConstTensor inputToOutputWeightsTensor;</div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  {</div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  ConstTensor inputToOutputWeightsTensorCopy(<a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  inputToOutputWeightsTensor = inputToOutputWeightsTensorCopy;</div><div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  inputParams.m_InputToOutputWeights = &inputToOutputWeightsTensor;</div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  }</div><div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  ConstTensor recurrentToInputWeightsTensor;</div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  {</div><div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  ConstTensor recurrentToInputWeightsTensorCopy(</div><div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span>  recurrentToInputWeightsTensor = recurrentToInputWeightsTensorCopy;</div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span>  inputParams.m_RecurrentToInputWeights = &recurrentToInputWeightsTensor;</div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span>  }</div><div class="line"><a name="l00343"></a><span class="lineno"> 343</span>  ConstTensor recurrentToForgetWeightsTensor;</div><div class="line"><a name="l00344"></a><span class="lineno"> 344</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00345"></a><span class="lineno"> 345</span>  {</div><div class="line"><a name="l00346"></a><span class="lineno"> 346</span>  ConstTensor recurrentToForgetWeightsTensorCopy(</div><div class="line"><a name="l00347"></a><span class="lineno"> 347</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00348"></a><span class="lineno"> 348</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00349"></a><span class="lineno"> 349</span>  recurrentToForgetWeightsTensor = recurrentToForgetWeightsTensorCopy;</div><div class="line"><a name="l00350"></a><span class="lineno"> 350</span>  inputParams.m_RecurrentToForgetWeights = &recurrentToForgetWeightsTensor;</div><div class="line"><a name="l00351"></a><span class="lineno"> 351</span>  }</div><div class="line"><a name="l00352"></a><span class="lineno"> 352</span>  ConstTensor recurrentToCellWeightsTensor;</div><div class="line"><a name="l00353"></a><span class="lineno"> 353</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00354"></a><span class="lineno"> 354</span>  {</div><div class="line"><a name="l00355"></a><span class="lineno"> 355</span>  ConstTensor recurrentToCellWeightsTensorCopy(</div><div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00357"></a><span class="lineno"> 357</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  recurrentToCellWeightsTensor = recurrentToCellWeightsTensorCopy;</div><div class="line"><a name="l00359"></a><span class="lineno"> 359</span>  inputParams.m_RecurrentToCellWeights = &recurrentToCellWeightsTensor;</div><div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  }</div><div class="line"><a name="l00361"></a><span class="lineno"> 361</span>  ConstTensor recurrentToOutputWeightsTensor;</div><div class="line"><a name="l00362"></a><span class="lineno"> 362</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00363"></a><span class="lineno"> 363</span>  {</div><div class="line"><a name="l00364"></a><span class="lineno"> 364</span>  ConstTensor recurrentToOutputWeightsTensorCopy(</div><div class="line"><a name="l00365"></a><span class="lineno"> 365</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00366"></a><span class="lineno"> 366</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00367"></a><span class="lineno"> 367</span>  recurrentToOutputWeightsTensor = recurrentToOutputWeightsTensorCopy;</div><div class="line"><a name="l00368"></a><span class="lineno"> 368</span>  inputParams.m_RecurrentToOutputWeights = &recurrentToOutputWeightsTensor;</div><div class="line"><a name="l00369"></a><span class="lineno"> 369</span>  }</div><div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  ConstTensor cellToInputWeightsTensor;</div><div class="line"><a name="l00371"></a><span class="lineno"> 371</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a658f4245732f95c9fe756a934d370ca8">m_CellToInputWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00372"></a><span class="lineno"> 372</span>  {</div><div class="line"><a name="l00373"></a><span class="lineno"> 373</span>  ConstTensor cellToInputWeightsTensorCopy(<a class="code" href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a658f4245732f95c9fe756a934d370ca8">m_CellToInputWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a658f4245732f95c9fe756a934d370ca8">m_CellToInputWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00375"></a><span class="lineno"> 375</span>  cellToInputWeightsTensor = cellToInputWeightsTensorCopy;</div><div class="line"><a name="l00376"></a><span class="lineno"> 376</span>  inputParams.m_CellToInputWeights = &cellToInputWeightsTensor;</div><div class="line"><a name="l00377"></a><span class="lineno"> 377</span>  }</div><div class="line"><a name="l00378"></a><span class="lineno"> 378</span>  ConstTensor cellToForgetWeightsTensor;</div><div class="line"><a name="l00379"></a><span class="lineno"> 379</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.html#a4efa0f4d46817ab94e36c8507c26f276">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_peephole_parameters.html#a5d0ebbbb11b727a67877df40b59a628c">m_CellToForgetWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00380"></a><span class="lineno"> 380</span>  {</div><div class="line"><a name="l00381"></a><span class="lineno"> 381</span>  ConstTensor cellToForgetWeightsTensorCopy(<a class="code" href="classarmnn_1_1_lstm_layer.html#a4efa0f4d46817ab94e36c8507c26f276">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_peephole_parameters.html#a5d0ebbbb11b727a67877df40b59a628c">m_CellToForgetWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a4efa0f4d46817ab94e36c8507c26f276">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_peephole_parameters.html#a5d0ebbbb11b727a67877df40b59a628c">m_CellToForgetWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  cellToForgetWeightsTensor = cellToForgetWeightsTensorCopy;</div><div class="line"><a name="l00384"></a><span class="lineno"> 384</span>  inputParams.m_CellToForgetWeights = &cellToForgetWeightsTensor;</div><div class="line"><a name="l00385"></a><span class="lineno"> 385</span>  }</div><div class="line"><a name="l00386"></a><span class="lineno"> 386</span>  ConstTensor cellToOutputWeightsTensor;</div><div class="line"><a name="l00387"></a><span class="lineno"> 387</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.html#a4efa0f4d46817ab94e36c8507c26f276">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_peephole_parameters.html#a310e133b0b51b93a74b83008893792e9">m_CellToOutputWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00388"></a><span class="lineno"> 388</span>  {</div><div class="line"><a name="l00389"></a><span class="lineno"> 389</span>  ConstTensor cellToOutputWeightsTensorCopy(<a class="code" href="classarmnn_1_1_lstm_layer.html#a4efa0f4d46817ab94e36c8507c26f276">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_peephole_parameters.html#a310e133b0b51b93a74b83008893792e9">m_CellToOutputWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00390"></a><span class="lineno"> 390</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a4efa0f4d46817ab94e36c8507c26f276">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_peephole_parameters.html#a310e133b0b51b93a74b83008893792e9">m_CellToOutputWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00391"></a><span class="lineno"> 391</span>  cellToOutputWeightsTensor = cellToOutputWeightsTensorCopy;</div><div class="line"><a name="l00392"></a><span class="lineno"> 392</span>  inputParams.m_CellToOutputWeights = &cellToOutputWeightsTensor;</div><div class="line"><a name="l00393"></a><span class="lineno"> 393</span>  }</div><div class="line"><a name="l00394"></a><span class="lineno"> 394</span>  ConstTensor inputGateBiasTensor;</div><div class="line"><a name="l00395"></a><span class="lineno"> 395</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00396"></a><span class="lineno"> 396</span>  {</div><div class="line"><a name="l00397"></a><span class="lineno"> 397</span>  ConstTensor inputGateBiasTensorCopy(<a class="code" href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a>->GetTensorInfo(),</div><div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00399"></a><span class="lineno"> 399</span>  inputGateBiasTensor = inputGateBiasTensorCopy;</div><div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  inputParams.m_InputGateBias = &inputGateBiasTensor;</div><div class="line"><a name="l00401"></a><span class="lineno"> 401</span>  }</div><div class="line"><a name="l00402"></a><span class="lineno"> 402</span>  ConstTensor forgetGateBiasTensor;</div><div class="line"><a name="l00403"></a><span class="lineno"> 403</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00404"></a><span class="lineno"> 404</span>  {</div><div class="line"><a name="l00405"></a><span class="lineno"> 405</span>  ConstTensor forgetGateBiasTensorCopy(<a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a>->GetTensorInfo(),</div><div class="line"><a name="l00406"></a><span class="lineno"> 406</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00407"></a><span class="lineno"> 407</span>  forgetGateBiasTensor = forgetGateBiasTensorCopy;</div><div class="line"><a name="l00408"></a><span class="lineno"> 408</span>  inputParams.m_ForgetGateBias = &forgetGateBiasTensor;</div><div class="line"><a name="l00409"></a><span class="lineno"> 409</span>  }</div><div class="line"><a name="l00410"></a><span class="lineno"> 410</span>  ConstTensor cellBiasTensor;</div><div class="line"><a name="l00411"></a><span class="lineno"> 411</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00412"></a><span class="lineno"> 412</span>  {</div><div class="line"><a name="l00413"></a><span class="lineno"> 413</span>  ConstTensor cellBiasTensorCopy(<a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a>->GetTensorInfo(),</div><div class="line"><a name="l00414"></a><span class="lineno"> 414</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00415"></a><span class="lineno"> 415</span>  cellBiasTensor = cellBiasTensorCopy;</div><div class="line"><a name="l00416"></a><span class="lineno"> 416</span>  inputParams.m_CellBias = &cellBiasTensor;</div><div class="line"><a name="l00417"></a><span class="lineno"> 417</span>  }</div><div class="line"><a name="l00418"></a><span class="lineno"> 418</span>  ConstTensor outputGateBias;</div><div class="line"><a name="l00419"></a><span class="lineno"> 419</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00420"></a><span class="lineno"> 420</span>  {</div><div class="line"><a name="l00421"></a><span class="lineno"> 421</span>  ConstTensor outputGateBiasCopy(<a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a>->GetTensorInfo(),</div><div class="line"><a name="l00422"></a><span class="lineno"> 422</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00423"></a><span class="lineno"> 423</span>  outputGateBias = outputGateBiasCopy;</div><div class="line"><a name="l00424"></a><span class="lineno"> 424</span>  inputParams.m_OutputGateBias = &outputGateBias;</div><div class="line"><a name="l00425"></a><span class="lineno"> 425</span>  }</div><div class="line"><a name="l00426"></a><span class="lineno"> 426</span>  ConstTensor projectionWeightsTensor;</div><div class="line"><a name="l00427"></a><span class="lineno"> 427</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.html#a3d3e6d0c3e6e570d9f831489c3bd14ce">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_projection_parameters.html#a3ec2885c48ce888516e27c8b75a8cb83">m_ProjectionWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00428"></a><span class="lineno"> 428</span>  {</div><div class="line"><a name="l00429"></a><span class="lineno"> 429</span>  ConstTensor projectionWeightsTensorCopy(<a class="code" href="classarmnn_1_1_lstm_layer.html#a3d3e6d0c3e6e570d9f831489c3bd14ce">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_projection_parameters.html#a3ec2885c48ce888516e27c8b75a8cb83">m_ProjectionWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00430"></a><span class="lineno"> 430</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a3d3e6d0c3e6e570d9f831489c3bd14ce">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_projection_parameters.html#a3ec2885c48ce888516e27c8b75a8cb83">m_ProjectionWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00431"></a><span class="lineno"> 431</span>  projectionWeightsTensor = projectionWeightsTensorCopy;</div><div class="line"><a name="l00432"></a><span class="lineno"> 432</span>  inputParams.m_ProjectionWeights = &projectionWeightsTensor;</div><div class="line"><a name="l00433"></a><span class="lineno"> 433</span>  }</div><div class="line"><a name="l00434"></a><span class="lineno"> 434</span>  ConstTensor projectionBiasTensor;</div><div class="line"><a name="l00435"></a><span class="lineno"> 435</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.html#a3d3e6d0c3e6e570d9f831489c3bd14ce">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_projection_parameters.html#aa9f2880e4e2a1eb731f61c1e0941c6a7">m_ProjectionBias</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00436"></a><span class="lineno"> 436</span>  {</div><div class="line"><a name="l00437"></a><span class="lineno"> 437</span>  ConstTensor projectionBiasTensorCopy(<a class="code" href="classarmnn_1_1_lstm_layer.html#a3d3e6d0c3e6e570d9f831489c3bd14ce">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_projection_parameters.html#aa9f2880e4e2a1eb731f61c1e0941c6a7">m_ProjectionBias</a>->GetTensorInfo(),</div><div class="line"><a name="l00438"></a><span class="lineno"> 438</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a3d3e6d0c3e6e570d9f831489c3bd14ce">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_projection_parameters.html#aa9f2880e4e2a1eb731f61c1e0941c6a7">m_ProjectionBias</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00439"></a><span class="lineno"> 439</span>  projectionBiasTensor = projectionBiasTensorCopy;</div><div class="line"><a name="l00440"></a><span class="lineno"> 440</span>  inputParams.m_ProjectionBias = &projectionBiasTensor;</div><div class="line"><a name="l00441"></a><span class="lineno"> 441</span>  }</div><div class="line"><a name="l00442"></a><span class="lineno"> 442</span>  ConstTensor inputLayerNormTensor;</div><div class="line"><a name="l00443"></a><span class="lineno"> 443</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a706418b4d19614be07f2eca8230bfde0">m_InputLayerNormWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00444"></a><span class="lineno"> 444</span>  {</div><div class="line"><a name="l00445"></a><span class="lineno"> 445</span>  ConstTensor inputLayerNormTensorCopy(<a class="code" href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a706418b4d19614be07f2eca8230bfde0">m_InputLayerNormWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00446"></a><span class="lineno"> 446</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a706418b4d19614be07f2eca8230bfde0">m_InputLayerNormWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00447"></a><span class="lineno"> 447</span>  inputLayerNormTensor = inputLayerNormTensorCopy;</div><div class="line"><a name="l00448"></a><span class="lineno"> 448</span>  inputParams.m_InputLayerNormWeights = &inputLayerNormTensor;</div><div class="line"><a name="l00449"></a><span class="lineno"> 449</span>  }</div><div class="line"><a name="l00450"></a><span class="lineno"> 450</span>  ConstTensor forgetLayerNormTensor;</div><div class="line"><a name="l00451"></a><span class="lineno"> 451</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a559113765ea5e2ddbd9e9e5e2869a103">m_ForgetLayerNormWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00452"></a><span class="lineno"> 452</span>  {</div><div class="line"><a name="l00453"></a><span class="lineno"> 453</span>  ConstTensor forgetLayerNormTensorCopy(<a class="code" href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a559113765ea5e2ddbd9e9e5e2869a103">m_ForgetLayerNormWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00454"></a><span class="lineno"> 454</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a559113765ea5e2ddbd9e9e5e2869a103">m_ForgetLayerNormWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00455"></a><span class="lineno"> 455</span>  forgetLayerNormTensor = forgetLayerNormTensorCopy;</div><div class="line"><a name="l00456"></a><span class="lineno"> 456</span>  inputParams.m_ForgetLayerNormWeights = &forgetLayerNormTensor;</div><div class="line"><a name="l00457"></a><span class="lineno"> 457</span>  }</div><div class="line"><a name="l00458"></a><span class="lineno"> 458</span>  ConstTensor cellLayerNormTensor;</div><div class="line"><a name="l00459"></a><span class="lineno"> 459</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a3cab71ebbe91e75be538e5670a40fec5">m_CellLayerNormWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00460"></a><span class="lineno"> 460</span>  {</div><div class="line"><a name="l00461"></a><span class="lineno"> 461</span>  ConstTensor cellLayerNormTensorCopy(<a class="code" href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a3cab71ebbe91e75be538e5670a40fec5">m_CellLayerNormWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00462"></a><span class="lineno"> 462</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a3cab71ebbe91e75be538e5670a40fec5">m_CellLayerNormWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00463"></a><span class="lineno"> 463</span>  cellLayerNormTensor = cellLayerNormTensorCopy;</div><div class="line"><a name="l00464"></a><span class="lineno"> 464</span>  inputParams.m_CellLayerNormWeights = &cellLayerNormTensor;</div><div class="line"><a name="l00465"></a><span class="lineno"> 465</span>  }</div><div class="line"><a name="l00466"></a><span class="lineno"> 466</span>  ConstTensor outputLayerNormTensor;</div><div class="line"><a name="l00467"></a><span class="lineno"> 467</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a69fdb952b874669cbb2a281815a20be2">m_OutputLayerNormWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00468"></a><span class="lineno"> 468</span>  {</div><div class="line"><a name="l00469"></a><span class="lineno"> 469</span>  ConstTensor outputLayerNormTensorCopy(<a class="code" href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a69fdb952b874669cbb2a281815a20be2">m_OutputLayerNormWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00470"></a><span class="lineno"> 470</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a69fdb952b874669cbb2a281815a20be2">m_OutputLayerNormWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00471"></a><span class="lineno"> 471</span>  outputLayerNormTensor = outputLayerNormTensorCopy;</div><div class="line"><a name="l00472"></a><span class="lineno"> 472</span>  inputParams.m_OutputLayerNormWeights = &outputLayerNormTensor;</div><div class="line"><a name="l00473"></a><span class="lineno"> 473</span>  }</div><div class="line"><a name="l00474"></a><span class="lineno"> 474</span> </div><div class="line"><a name="l00475"></a><span class="lineno"> 475</span> </div><div class="line"><a name="l00476"></a><span class="lineno"> 476</span>  visitor.VisitLstmLayer(<span class="keyword">this</span>, <a class="code" href="classarmnn_1_1_layer_with_parameters.html#a502c06a1b13e6d90a6cbf47c081f1444">GetParameters</a>(), inputParams, <a class="code" href="classarmnn_1_1_layer.html#a7ddf0cf6f620d59c10e63495ace795d0">GetName</a>());</div><div class="line"><a name="l00477"></a><span class="lineno"> 477</span> }</div><div class="ttc" id="classarmnn_1_1_lstm_layer_html_a4efa0f4d46817ab94e36c8507c26f276"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.html#a4efa0f4d46817ab94e36c8507c26f276">armnn::LstmLayer::m_PeepholeParameters</a></div><div class="ttdeci">LstmOptPeepholeParameters m_PeepholeParameters</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00084">LstmLayer.hpp:84</a></div></div> |
| 376 | <div class="ttc" id="structarmnn_1_1_lstm_opt_cifg_parameters_html_a6e8971757790a032e5936da7847ba14b"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a6e8971757790a032e5936da7847ba14b">armnn::LstmOptCifgParameters::m_RecurrentToInputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToInputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [input_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00031">LstmLayer.hpp:31</a></div></div> |
| 377 | <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> |
| 378 | <div class="ttc" id="classarmnn_1_1_lstm_layer_html_a3d3e6d0c3e6e570d9f831489c3bd14ce"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.html#a3d3e6d0c3e6e570d9f831489c3bd14ce">armnn::LstmLayer::m_ProjectionParameters</a></div><div class="ttdeci">LstmOptProjectionParameters m_ProjectionParameters</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00083">LstmLayer.hpp:83</a></div></div> |
| 379 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_a14ab2bc78421c417c4f97a65b0bd78f9"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#a14ab2bc78421c417c4f97a65b0bd78f9">armnn::LstmBasicParameters::m_InputToCellWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToCellWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [input_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00059">LstmLayer.hpp:59</a></div></div> |
| 380 | <div class="ttc" id="structarmnn_1_1_lstm_opt_cifg_parameters_html_a9945bc99f8a7400c0724117e29cb3abb"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a9945bc99f8a7400c0724117e29cb3abb">armnn::LstmOptCifgParameters::m_InputGateBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputGateBias</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00035">LstmLayer.hpp:35</a></div></div> |
| 381 | <div class="ttc" id="structarmnn_1_1_lstm_opt_layer_norm_parameters_html_a69fdb952b874669cbb2a281815a20be2"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a69fdb952b874669cbb2a281815a20be2">armnn::LstmOptLayerNormParameters::m_OutputLayerNormWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_OutputLayerNormWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00023">LstmLayer.hpp:23</a></div></div> |
| 382 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_ae8d897b8d282f25a6eb784c4aaa98df6"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#ae8d897b8d282f25a6eb784c4aaa98df6">armnn::LstmBasicParameters::m_InputToOutputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToOutputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [input_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00061">LstmLayer.hpp:61</a></div></div> |
| 383 | <div class="ttc" id="structarmnn_1_1_lstm_opt_projection_parameters_html_a3ec2885c48ce888516e27c8b75a8cb83"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_projection_parameters.html#a3ec2885c48ce888516e27c8b75a8cb83">armnn::LstmOptProjectionParameters::m_ProjectionWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_ProjectionWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [output_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00041">LstmLayer.hpp:41</a></div></div> |
| 384 | <div class="ttc" id="structarmnn_1_1_lstm_opt_layer_norm_parameters_html_a3cab71ebbe91e75be538e5670a40fec5"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a3cab71ebbe91e75be538e5670a40fec5">armnn::LstmOptLayerNormParameters::m_CellLayerNormWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_CellLayerNormWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00021">LstmLayer.hpp:21</a></div></div> |
| 385 | <div class="ttc" id="classarmnn_1_1_lstm_layer_html_a46864a690d016b7e00eb51a5bfe8e966"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">armnn::LstmLayer::m_LayerNormParameters</a></div><div class="ttdeci">LstmOptLayerNormParameters m_LayerNormParameters</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00085">LstmLayer.hpp:85</a></div></div> |
| 386 | <div class="ttc" id="structarmnn_1_1_lstm_opt_cifg_parameters_html_a658f4245732f95c9fe756a934d370ca8"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a658f4245732f95c9fe756a934d370ca8">armnn::LstmOptCifgParameters::m_CellToInputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_CellToInputWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00033">LstmLayer.hpp:33</a></div></div> |
| 387 | <div class="ttc" id="classarmnn_1_1_lstm_layer_html_a0e940dfa428f4eb429f8bc0d138b20af"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">armnn::LstmLayer::m_CifgParameters</a></div><div class="ttdeci">LstmOptCifgParameters m_CifgParameters</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00082">LstmLayer.hpp:82</a></div></div> |
| 388 | <div class="ttc" id="structarmnn_1_1_lstm_opt_peephole_parameters_html_a5d0ebbbb11b727a67877df40b59a628c"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_peephole_parameters.html#a5d0ebbbb11b727a67877df40b59a628c">armnn::LstmOptPeepholeParameters::m_CellToForgetWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_CellToForgetWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00049">LstmLayer.hpp:49</a></div></div> |
| 389 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_a0e0e17d5b494993407cb75d614455ddd"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#a0e0e17d5b494993407cb75d614455ddd">armnn::LstmBasicParameters::m_ForgetGateBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_ForgetGateBias</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00069">LstmLayer.hpp:69</a></div></div> |
| 390 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_a6e8c3db3c5474f0760553ff93fbc39e6"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#a6e8c3db3c5474f0760553ff93fbc39e6">armnn::LstmBasicParameters::m_RecurrentToCellWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToCellWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [output_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00065">LstmLayer.hpp:65</a></div></div> |
| 391 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_a5a0d8af26a6aad1e5be521ea7dc550eb"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#a5a0d8af26a6aad1e5be521ea7dc550eb">armnn::LstmBasicParameters::m_InputToForgetWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToForgetWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [input_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00057">LstmLayer.hpp:57</a></div></div> |
| 392 | <div class="ttc" id="classarmnn_1_1_layer_with_parameters_html_a502c06a1b13e6d90a6cbf47c081f1444"><div class="ttname"><a href="classarmnn_1_1_layer_with_parameters.html#a502c06a1b13e6d90a6cbf47c081f1444">armnn::LayerWithParameters< LstmDescriptor >::GetParameters</a></div><div class="ttdeci">const LstmDescriptor & GetParameters() const</div><div class="ttdef"><b>Definition:</b> <a href="_layer_with_parameters_8hpp_source.html#l00018">LayerWithParameters.hpp:18</a></div></div> |
| 393 | <div class="ttc" id="classarmnn_1_1_lstm_layer_html_a8838b317568861294a9df608221f185e"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">armnn::LstmLayer::m_BasicParameters</a></div><div class="ttdeci">LstmBasicParameters m_BasicParameters</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00081">LstmLayer.hpp:81</a></div></div> |
| 394 | <div class="ttc" id="structarmnn_1_1_lstm_opt_projection_parameters_html_aa9f2880e4e2a1eb731f61c1e0941c6a7"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_projection_parameters.html#aa9f2880e4e2a1eb731f61c1e0941c6a7">armnn::LstmOptProjectionParameters::m_ProjectionBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_ProjectionBias</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [output_size]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00043">LstmLayer.hpp:43</a></div></div> |
| 395 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_a3d5f129421bbe6479a66d4ed1356bf68"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#a3d5f129421bbe6479a66d4ed1356bf68">armnn::LstmBasicParameters::m_RecurrentToForgetWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToForgetWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [output_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00063">LstmLayer.hpp:63</a></div></div> |
| 396 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_a51255889cbc063130a3d691c1781c5d3"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#a51255889cbc063130a3d691c1781c5d3">armnn::LstmBasicParameters::m_CellBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_CellBias</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00071">LstmLayer.hpp:71</a></div></div> |
| 397 | <div class="ttc" id="structarmnn_1_1_lstm_opt_cifg_parameters_html_a4d731c5e73638c7cf7e63f65e9f8b550"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">armnn::LstmOptCifgParameters::m_InputToInputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToInputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [input_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00029">LstmLayer.hpp:29</a></div></div> |
| 398 | <div class="ttc" id="structarmnn_1_1_lstm_opt_layer_norm_parameters_html_a706418b4d19614be07f2eca8230bfde0"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a706418b4d19614be07f2eca8230bfde0">armnn::LstmOptLayerNormParameters::m_InputLayerNormWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputLayerNormWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00017">LstmLayer.hpp:17</a></div></div> |
| 399 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_aacb55e0992b6781a7bd3225ab6e6bb2f"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#aacb55e0992b6781a7bd3225ab6e6bb2f">armnn::LstmBasicParameters::m_OutputGateBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_OutputGateBias</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00073">LstmLayer.hpp:73</a></div></div> |
| 400 | <div class="ttc" id="structarmnn_1_1_lstm_opt_peephole_parameters_html_a310e133b0b51b93a74b83008893792e9"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_peephole_parameters.html#a310e133b0b51b93a74b83008893792e9">armnn::LstmOptPeepholeParameters::m_CellToOutputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_CellToOutputWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00051">LstmLayer.hpp:51</a></div></div> |
| 401 | <div class="ttc" id="structarmnn_1_1_lstm_opt_layer_norm_parameters_html_a559113765ea5e2ddbd9e9e5e2869a103"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a559113765ea5e2ddbd9e9e5e2869a103">armnn::LstmOptLayerNormParameters::m_ForgetLayerNormWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_ForgetLayerNormWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00019">LstmLayer.hpp:19</a></div></div> |
| 402 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_a91dda74af4085ae43913746ad817795a"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#a91dda74af4085ae43913746ad817795a">armnn::LstmBasicParameters::m_RecurrentToOutputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToOutputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [output_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00067">LstmLayer.hpp:67</a></div></div> |
| 403 | </div><!-- fragment --> |
| 404 | </div> |
| 405 | </div> |
| 406 | <a id="ac6b352652fb2f722e56f5fd62c57ae09"></a> |
| 407 | <h2 class="memtitle"><span class="permalink"><a href="#ac6b352652fb2f722e56f5fd62c57ae09">◆ </a></span>Clone()</h2> |
| 408 | |
| 409 | <div class="memitem"> |
| 410 | <div class="memproto"> |
| 411 | <table class="mlabels"> |
| 412 | <tr> |
| 413 | <td class="mlabels-left"> |
| 414 | <table class="memname"> |
| 415 | <tr> |
| 416 | <td class="memname"><a class="el" href="classarmnn_1_1_lstm_layer.html">LstmLayer</a> * Clone </td> |
| 417 | <td>(</td> |
| 418 | <td class="paramtype"><a class="el" href="classarmnn_1_1_graph.html">Graph</a> & </td> |
| 419 | <td class="paramname"><em>graph</em></td><td>)</td> |
| 420 | <td> const</td> |
| 421 | </tr> |
| 422 | </table> |
| 423 | </td> |
| 424 | <td class="mlabels-right"> |
| 425 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 426 | </tr> |
| 427 | </table> |
| 428 | </div><div class="memdoc"> |
| 429 | <p>Creates a dynamically-allocated copy of this layer. </p><dl class="params"><dt>Parameters</dt><dd> |
| 430 | <table class="params"> |
| 431 | <tr><td class="paramdir">[in]</td><td class="paramname">graph</td><td>The graph into which this layer is being cloned. </td></tr> |
| 432 | </table> |
| 433 | </dd> |
| 434 | </dl> |
| 435 | |
| 436 | <p>Implements <a class="el" href="classarmnn_1_1_layer.html#ae89ff455503aa106d00bf34103d2f2e0">Layer</a>.</p> |
| 437 | |
| 438 | <p class="definition">Definition at line <a class="el" href="_lstm_layer_8cpp_source.html#l00075">75</a> of file <a class="el" href="_lstm_layer_8cpp_source.html">LstmLayer.cpp</a>.</p> |
| 439 | |
| 440 | <p class="reference">References <a class="el" href="_layer_8hpp_source.html#l00305">Layer::GetName()</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00081">LstmLayer::m_BasicParameters</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00071">LstmBasicParameters::m_CellBias</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00021">LstmOptLayerNormParameters::m_CellLayerNormWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00049">LstmOptPeepholeParameters::m_CellToForgetWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00033">LstmOptCifgParameters::m_CellToInputWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00051">LstmOptPeepholeParameters::m_CellToOutputWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00082">LstmLayer::m_CifgParameters</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00069">LstmBasicParameters::m_ForgetGateBias</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00019">LstmOptLayerNormParameters::m_ForgetLayerNormWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00035">LstmOptCifgParameters::m_InputGateBias</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00017">LstmOptLayerNormParameters::m_InputLayerNormWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00059">LstmBasicParameters::m_InputToCellWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00057">LstmBasicParameters::m_InputToForgetWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00029">LstmOptCifgParameters::m_InputToInputWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00061">LstmBasicParameters::m_InputToOutputWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00085">LstmLayer::m_LayerNormParameters</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00073">LstmBasicParameters::m_OutputGateBias</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00023">LstmOptLayerNormParameters::m_OutputLayerNormWeights</a>, <a class="el" href="_layer_with_parameters_8hpp_source.html#l00050">LayerWithParameters< LstmDescriptor >::m_Param</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00084">LstmLayer::m_PeepholeParameters</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00043">LstmOptProjectionParameters::m_ProjectionBias</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00083">LstmLayer::m_ProjectionParameters</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00041">LstmOptProjectionParameters::m_ProjectionWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00065">LstmBasicParameters::m_RecurrentToCellWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00063">LstmBasicParameters::m_RecurrentToForgetWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00031">LstmOptCifgParameters::m_RecurrentToInputWeights</a>, and <a class="el" href="_lstm_layer_8hpp_source.html#l00067">LstmBasicParameters::m_RecurrentToOutputWeights</a>.</p> |
| 441 | <div class="fragment"><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> {</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keyword">auto</span> layer = CloneBase<LstmLayer>(graph, <a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>, <a class="code" href="classarmnn_1_1_layer.html#a7ddf0cf6f620d59c10e63495ace795d0">GetName</a>());</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> </div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  layer->m_BasicParameters.m_InputToForgetWeights = <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a> ?</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a>)</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  layer->m_BasicParameters.m_InputToCellWeights = <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a> ?</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  layer->m_BasicParameters.m_InputToOutputWeights = <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a> ?</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  layer->m_BasicParameters.m_RecurrentToForgetWeights = <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a> ?</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  layer->m_BasicParameters.m_RecurrentToCellWeights = <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a> ?</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  layer->m_BasicParameters.m_RecurrentToOutputWeights = <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a> ?</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  layer->m_BasicParameters.m_ForgetGateBias = <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a> ?</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  layer->m_BasicParameters.m_CellBias = <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a> ?</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  layer->m_BasicParameters.m_OutputGateBias = <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a> ?</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span> </div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keywordflow">if</span> (!m_Param.m_CifgEnabled)</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  {</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  layer->m_CifgParameters.m_InputToInputWeights = <a class="code" href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a> ?</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  layer->m_CifgParameters.m_RecurrentToInputWeights = <a class="code" href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a> ?</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  layer->m_CifgParameters.m_CellToInputWeights = <a class="code" href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a658f4245732f95c9fe756a934d370ca8">m_CellToInputWeights</a> ?</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a658f4245732f95c9fe756a934d370ca8">m_CellToInputWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  layer->m_CifgParameters.m_InputGateBias = <a class="code" href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a> ?</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  }</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> </div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keywordflow">if</span> (m_Param.m_ProjectionEnabled)</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  {</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  layer->m_ProjectionParameters.m_ProjectionWeights = <a class="code" href="classarmnn_1_1_lstm_layer.html#a3d3e6d0c3e6e570d9f831489c3bd14ce">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_projection_parameters.html#a3ec2885c48ce888516e27c8b75a8cb83">m_ProjectionWeights</a> ?</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.html#a3d3e6d0c3e6e570d9f831489c3bd14ce">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_projection_parameters.html#a3ec2885c48ce888516e27c8b75a8cb83">m_ProjectionWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  layer->m_ProjectionParameters.m_ProjectionBias = <a class="code" href="classarmnn_1_1_lstm_layer.html#a3d3e6d0c3e6e570d9f831489c3bd14ce">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_projection_parameters.html#aa9f2880e4e2a1eb731f61c1e0941c6a7">m_ProjectionBias</a> ?</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.html#a3d3e6d0c3e6e570d9f831489c3bd14ce">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_projection_parameters.html#aa9f2880e4e2a1eb731f61c1e0941c6a7">m_ProjectionBias</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  }</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span> </div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keywordflow">if</span> (m_Param.m_PeepholeEnabled)</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  {</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  layer->m_PeepholeParameters.m_CellToForgetWeights = <a class="code" href="classarmnn_1_1_lstm_layer.html#a4efa0f4d46817ab94e36c8507c26f276">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_peephole_parameters.html#a5d0ebbbb11b727a67877df40b59a628c">m_CellToForgetWeights</a> ?</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.html#a4efa0f4d46817ab94e36c8507c26f276">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_peephole_parameters.html#a5d0ebbbb11b727a67877df40b59a628c">m_CellToForgetWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  layer->m_PeepholeParameters.m_CellToOutputWeights = <a class="code" href="classarmnn_1_1_lstm_layer.html#a4efa0f4d46817ab94e36c8507c26f276">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_peephole_parameters.html#a310e133b0b51b93a74b83008893792e9">m_CellToOutputWeights</a> ?</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.html#a4efa0f4d46817ab94e36c8507c26f276">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_peephole_parameters.html#a310e133b0b51b93a74b83008893792e9">m_CellToOutputWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  }</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span> </div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keywordflow">if</span> (m_Param.m_LayerNormEnabled)</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  {</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  layer->m_LayerNormParameters.m_InputLayerNormWeights = <a class="code" href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a706418b4d19614be07f2eca8230bfde0">m_InputLayerNormWeights</a> ?</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a706418b4d19614be07f2eca8230bfde0">m_InputLayerNormWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  layer->m_LayerNormParameters.m_ForgetLayerNormWeights = <a class="code" href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a559113765ea5e2ddbd9e9e5e2869a103">m_ForgetLayerNormWeights</a> ?</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a559113765ea5e2ddbd9e9e5e2869a103">m_ForgetLayerNormWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  layer->m_LayerNormParameters.m_CellLayerNormWeights = <a class="code" href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a3cab71ebbe91e75be538e5670a40fec5">m_CellLayerNormWeights</a> ?</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a3cab71ebbe91e75be538e5670a40fec5">m_CellLayerNormWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  layer->m_LayerNormParameters.m_OutputLayerNormWeights = <a class="code" href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a69fdb952b874669cbb2a281815a20be2">m_OutputLayerNormWeights</a> ?</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a69fdb952b874669cbb2a281815a20be2">m_OutputLayerNormWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  }</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span> </div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="keywordflow">return</span> std::move(layer);</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span> }</div><div class="ttc" id="classarmnn_1_1_lstm_layer_html_a4efa0f4d46817ab94e36c8507c26f276"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.html#a4efa0f4d46817ab94e36c8507c26f276">armnn::LstmLayer::m_PeepholeParameters</a></div><div class="ttdeci">LstmOptPeepholeParameters m_PeepholeParameters</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00084">LstmLayer.hpp:84</a></div></div> |
| 442 | <div class="ttc" id="structarmnn_1_1_lstm_opt_cifg_parameters_html_a6e8971757790a032e5936da7847ba14b"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a6e8971757790a032e5936da7847ba14b">armnn::LstmOptCifgParameters::m_RecurrentToInputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToInputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [input_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00031">LstmLayer.hpp:31</a></div></div> |
| 443 | <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> |
| 444 | <div class="ttc" id="classarmnn_1_1_lstm_layer_html_a3d3e6d0c3e6e570d9f831489c3bd14ce"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.html#a3d3e6d0c3e6e570d9f831489c3bd14ce">armnn::LstmLayer::m_ProjectionParameters</a></div><div class="ttdeci">LstmOptProjectionParameters m_ProjectionParameters</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00083">LstmLayer.hpp:83</a></div></div> |
| 445 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_a14ab2bc78421c417c4f97a65b0bd78f9"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#a14ab2bc78421c417c4f97a65b0bd78f9">armnn::LstmBasicParameters::m_InputToCellWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToCellWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [input_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00059">LstmLayer.hpp:59</a></div></div> |
| 446 | <div class="ttc" id="structarmnn_1_1_lstm_opt_cifg_parameters_html_a9945bc99f8a7400c0724117e29cb3abb"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a9945bc99f8a7400c0724117e29cb3abb">armnn::LstmOptCifgParameters::m_InputGateBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputGateBias</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00035">LstmLayer.hpp:35</a></div></div> |
| 447 | <div class="ttc" id="structarmnn_1_1_lstm_opt_layer_norm_parameters_html_a69fdb952b874669cbb2a281815a20be2"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a69fdb952b874669cbb2a281815a20be2">armnn::LstmOptLayerNormParameters::m_OutputLayerNormWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_OutputLayerNormWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00023">LstmLayer.hpp:23</a></div></div> |
| 448 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_ae8d897b8d282f25a6eb784c4aaa98df6"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#ae8d897b8d282f25a6eb784c4aaa98df6">armnn::LstmBasicParameters::m_InputToOutputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToOutputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [input_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00061">LstmLayer.hpp:61</a></div></div> |
| 449 | <div class="ttc" id="structarmnn_1_1_lstm_opt_projection_parameters_html_a3ec2885c48ce888516e27c8b75a8cb83"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_projection_parameters.html#a3ec2885c48ce888516e27c8b75a8cb83">armnn::LstmOptProjectionParameters::m_ProjectionWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_ProjectionWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [output_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00041">LstmLayer.hpp:41</a></div></div> |
| 450 | <div class="ttc" id="structarmnn_1_1_lstm_opt_layer_norm_parameters_html_a3cab71ebbe91e75be538e5670a40fec5"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a3cab71ebbe91e75be538e5670a40fec5">armnn::LstmOptLayerNormParameters::m_CellLayerNormWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_CellLayerNormWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00021">LstmLayer.hpp:21</a></div></div> |
| 451 | <div class="ttc" id="classarmnn_1_1_lstm_layer_html_a46864a690d016b7e00eb51a5bfe8e966"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">armnn::LstmLayer::m_LayerNormParameters</a></div><div class="ttdeci">LstmOptLayerNormParameters m_LayerNormParameters</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00085">LstmLayer.hpp:85</a></div></div> |
| 452 | <div class="ttc" id="structarmnn_1_1_lstm_opt_cifg_parameters_html_a658f4245732f95c9fe756a934d370ca8"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a658f4245732f95c9fe756a934d370ca8">armnn::LstmOptCifgParameters::m_CellToInputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_CellToInputWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00033">LstmLayer.hpp:33</a></div></div> |
| 453 | <div class="ttc" id="classarmnn_1_1_lstm_layer_html_a0e940dfa428f4eb429f8bc0d138b20af"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">armnn::LstmLayer::m_CifgParameters</a></div><div class="ttdeci">LstmOptCifgParameters m_CifgParameters</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00082">LstmLayer.hpp:82</a></div></div> |
| 454 | <div class="ttc" id="structarmnn_1_1_lstm_opt_peephole_parameters_html_a5d0ebbbb11b727a67877df40b59a628c"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_peephole_parameters.html#a5d0ebbbb11b727a67877df40b59a628c">armnn::LstmOptPeepholeParameters::m_CellToForgetWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_CellToForgetWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00049">LstmLayer.hpp:49</a></div></div> |
| 455 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_a0e0e17d5b494993407cb75d614455ddd"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#a0e0e17d5b494993407cb75d614455ddd">armnn::LstmBasicParameters::m_ForgetGateBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_ForgetGateBias</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00069">LstmLayer.hpp:69</a></div></div> |
| 456 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_a6e8c3db3c5474f0760553ff93fbc39e6"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#a6e8c3db3c5474f0760553ff93fbc39e6">armnn::LstmBasicParameters::m_RecurrentToCellWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToCellWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [output_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00065">LstmLayer.hpp:65</a></div></div> |
| 457 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_a5a0d8af26a6aad1e5be521ea7dc550eb"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#a5a0d8af26a6aad1e5be521ea7dc550eb">armnn::LstmBasicParameters::m_InputToForgetWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToForgetWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [input_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00057">LstmLayer.hpp:57</a></div></div> |
| 458 | <div class="ttc" id="classarmnn_1_1_lstm_layer_html_a8838b317568861294a9df608221f185e"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">armnn::LstmLayer::m_BasicParameters</a></div><div class="ttdeci">LstmBasicParameters m_BasicParameters</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00081">LstmLayer.hpp:81</a></div></div> |
| 459 | <div class="ttc" id="classarmnn_1_1_layer_with_parameters_html_ad32ac22bc72e28dfd6b466d143c8e262"><div class="ttname"><a href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">armnn::LayerWithParameters< LstmDescriptor >::m_Param</a></div><div class="ttdeci">LstmDescriptor m_Param</div><div class="ttdoc">The parameters for the layer (not including tensor-valued weights etc.). </div><div class="ttdef"><b>Definition:</b> <a href="_layer_with_parameters_8hpp_source.html#l00050">LayerWithParameters.hpp:50</a></div></div> |
| 460 | <div class="ttc" id="structarmnn_1_1_lstm_opt_projection_parameters_html_aa9f2880e4e2a1eb731f61c1e0941c6a7"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_projection_parameters.html#aa9f2880e4e2a1eb731f61c1e0941c6a7">armnn::LstmOptProjectionParameters::m_ProjectionBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_ProjectionBias</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [output_size]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00043">LstmLayer.hpp:43</a></div></div> |
| 461 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_a3d5f129421bbe6479a66d4ed1356bf68"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#a3d5f129421bbe6479a66d4ed1356bf68">armnn::LstmBasicParameters::m_RecurrentToForgetWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToForgetWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [output_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00063">LstmLayer.hpp:63</a></div></div> |
| 462 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_a51255889cbc063130a3d691c1781c5d3"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#a51255889cbc063130a3d691c1781c5d3">armnn::LstmBasicParameters::m_CellBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_CellBias</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00071">LstmLayer.hpp:71</a></div></div> |
| 463 | <div class="ttc" id="structarmnn_1_1_lstm_opt_cifg_parameters_html_a4d731c5e73638c7cf7e63f65e9f8b550"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">armnn::LstmOptCifgParameters::m_InputToInputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToInputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [input_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00029">LstmLayer.hpp:29</a></div></div> |
| 464 | <div class="ttc" id="structarmnn_1_1_lstm_opt_layer_norm_parameters_html_a706418b4d19614be07f2eca8230bfde0"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a706418b4d19614be07f2eca8230bfde0">armnn::LstmOptLayerNormParameters::m_InputLayerNormWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputLayerNormWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00017">LstmLayer.hpp:17</a></div></div> |
| 465 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_aacb55e0992b6781a7bd3225ab6e6bb2f"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#aacb55e0992b6781a7bd3225ab6e6bb2f">armnn::LstmBasicParameters::m_OutputGateBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_OutputGateBias</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00073">LstmLayer.hpp:73</a></div></div> |
| 466 | <div class="ttc" id="structarmnn_1_1_lstm_opt_peephole_parameters_html_a310e133b0b51b93a74b83008893792e9"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_peephole_parameters.html#a310e133b0b51b93a74b83008893792e9">armnn::LstmOptPeepholeParameters::m_CellToOutputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_CellToOutputWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00051">LstmLayer.hpp:51</a></div></div> |
| 467 | <div class="ttc" id="structarmnn_1_1_lstm_opt_layer_norm_parameters_html_a559113765ea5e2ddbd9e9e5e2869a103"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a559113765ea5e2ddbd9e9e5e2869a103">armnn::LstmOptLayerNormParameters::m_ForgetLayerNormWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_ForgetLayerNormWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00019">LstmLayer.hpp:19</a></div></div> |
| 468 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_a91dda74af4085ae43913746ad817795a"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#a91dda74af4085ae43913746ad817795a">armnn::LstmBasicParameters::m_RecurrentToOutputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToOutputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [output_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00067">LstmLayer.hpp:67</a></div></div> |
| 469 | </div><!-- fragment --> |
| 470 | </div> |
| 471 | </div> |
| 472 | <a id="adfa912d0c4c6c00f1af2cbfa799572b7"></a> |
| 473 | <h2 class="memtitle"><span class="permalink"><a href="#adfa912d0c4c6c00f1af2cbfa799572b7">◆ </a></span>CreateWorkload()</h2> |
| 474 | |
| 475 | <div class="memitem"> |
| 476 | <div class="memproto"> |
| 477 | <table class="mlabels"> |
| 478 | <tr> |
| 479 | <td class="mlabels-left"> |
| 480 | <table class="memname"> |
| 481 | <tr> |
| 482 | <td class="memname">std::unique_ptr< <a class="el" href="classarmnn_1_1_i_workload.html">IWorkload</a> > CreateWorkload </td> |
| 483 | <td>(</td> |
| 484 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_workload_factory.html">IWorkloadFactory</a> & </td> |
| 485 | <td class="paramname"><em>factory</em></td><td>)</td> |
| 486 | <td> const</td> |
| 487 | </tr> |
| 488 | </table> |
| 489 | </td> |
| 490 | <td class="mlabels-right"> |
| 491 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 492 | </tr> |
| 493 | </table> |
| 494 | </div><div class="memdoc"> |
| 495 | <p>Makes a workload for the LSTM type. </p><dl class="params"><dt>Parameters</dt><dd> |
| 496 | <table class="params"> |
| 497 | <tr><td class="paramdir">[in]</td><td class="paramname">graph</td><td>The graph where this layer can be found. </td></tr> |
| 498 | <tr><td class="paramdir">[in]</td><td class="paramname">factory</td><td>The workload factory which will create the workload. </td></tr> |
| 499 | </table> |
| 500 | </dd> |
| 501 | </dl> |
| 502 | <dl class="section return"><dt>Returns</dt><dd>A pointer to the created workload, or nullptr if not created. </dd></dl> |
| 503 | |
| 504 | <p>Implements <a class="el" href="classarmnn_1_1_layer.html#a08d1e10a45f15cd0bd02557be35a3864">Layer</a>.</p> |
| 505 | |
| 506 | <p class="definition">Definition at line <a class="el" href="_lstm_layer_8cpp_source.html#l00022">22</a> of file <a class="el" href="_lstm_layer_8cpp_source.html">LstmLayer.cpp</a>.</p> |
| 507 | |
| 508 | <p class="reference">References <a class="el" href="_workload_factory_8cpp_source.html#l01245">IWorkloadFactory::CreateLstm()</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00081">LstmLayer::m_BasicParameters</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00071">LstmBasicParameters::m_CellBias</a>, <a class="el" href="_workload_data_8hpp_source.html#l00398">LstmQueueDescriptor::m_CellBias</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00021">LstmOptLayerNormParameters::m_CellLayerNormWeights</a>, <a class="el" href="_workload_data_8hpp_source.html#l00404">LstmQueueDescriptor::m_CellLayerNormWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00049">LstmOptPeepholeParameters::m_CellToForgetWeights</a>, <a class="el" href="_workload_data_8hpp_source.html#l00394">LstmQueueDescriptor::m_CellToForgetWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00033">LstmOptCifgParameters::m_CellToInputWeights</a>, <a class="el" href="_workload_data_8hpp_source.html#l00393">LstmQueueDescriptor::m_CellToInputWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00051">LstmOptPeepholeParameters::m_CellToOutputWeights</a>, <a class="el" href="_workload_data_8hpp_source.html#l00395">LstmQueueDescriptor::m_CellToOutputWeights</a>, <a class="el" href="_descriptors_8hpp_source.html#l00867">LstmDescriptor::m_CifgEnabled</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00082">LstmLayer::m_CifgParameters</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00069">LstmBasicParameters::m_ForgetGateBias</a>, <a class="el" href="_workload_data_8hpp_source.html#l00397">LstmQueueDescriptor::m_ForgetGateBias</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00019">LstmOptLayerNormParameters::m_ForgetLayerNormWeights</a>, <a class="el" href="_workload_data_8hpp_source.html#l00403">LstmQueueDescriptor::m_ForgetLayerNormWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00035">LstmOptCifgParameters::m_InputGateBias</a>, <a class="el" href="_workload_data_8hpp_source.html#l00396">LstmQueueDescriptor::m_InputGateBias</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00017">LstmOptLayerNormParameters::m_InputLayerNormWeights</a>, <a class="el" href="_workload_data_8hpp_source.html#l00402">LstmQueueDescriptor::m_InputLayerNormWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00059">LstmBasicParameters::m_InputToCellWeights</a>, <a class="el" href="_workload_data_8hpp_source.html#l00387">LstmQueueDescriptor::m_InputToCellWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00057">LstmBasicParameters::m_InputToForgetWeights</a>, <a class="el" href="_workload_data_8hpp_source.html#l00386">LstmQueueDescriptor::m_InputToForgetWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00029">LstmOptCifgParameters::m_InputToInputWeights</a>, <a class="el" href="_workload_data_8hpp_source.html#l00385">LstmQueueDescriptor::m_InputToInputWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00061">LstmBasicParameters::m_InputToOutputWeights</a>, <a class="el" href="_workload_data_8hpp_source.html#l00388">LstmQueueDescriptor::m_InputToOutputWeights</a>, <a class="el" href="_descriptors_8hpp_source.html#l00873">LstmDescriptor::m_LayerNormEnabled</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00085">LstmLayer::m_LayerNormParameters</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00073">LstmBasicParameters::m_OutputGateBias</a>, <a class="el" href="_workload_data_8hpp_source.html#l00399">LstmQueueDescriptor::m_OutputGateBias</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00023">LstmOptLayerNormParameters::m_OutputLayerNormWeights</a>, <a class="el" href="_workload_data_8hpp_source.html#l00405">LstmQueueDescriptor::m_OutputLayerNormWeights</a>, <a class="el" href="_layer_with_parameters_8hpp_source.html#l00050">LayerWithParameters< LstmDescriptor >::m_Param</a>, <a class="el" href="_descriptors_8hpp_source.html#l00869">LstmDescriptor::m_PeepholeEnabled</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00084">LstmLayer::m_PeepholeParameters</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00043">LstmOptProjectionParameters::m_ProjectionBias</a>, <a class="el" href="_workload_data_8hpp_source.html#l00401">LstmQueueDescriptor::m_ProjectionBias</a>, <a class="el" href="_descriptors_8hpp_source.html#l00871">LstmDescriptor::m_ProjectionEnabled</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00083">LstmLayer::m_ProjectionParameters</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00041">LstmOptProjectionParameters::m_ProjectionWeights</a>, <a class="el" href="_workload_data_8hpp_source.html#l00400">LstmQueueDescriptor::m_ProjectionWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00065">LstmBasicParameters::m_RecurrentToCellWeights</a>, <a class="el" href="_workload_data_8hpp_source.html#l00391">LstmQueueDescriptor::m_RecurrentToCellWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00063">LstmBasicParameters::m_RecurrentToForgetWeights</a>, <a class="el" href="_workload_data_8hpp_source.html#l00390">LstmQueueDescriptor::m_RecurrentToForgetWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00031">LstmOptCifgParameters::m_RecurrentToInputWeights</a>, <a class="el" href="_workload_data_8hpp_source.html#l00389">LstmQueueDescriptor::m_RecurrentToInputWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00067">LstmBasicParameters::m_RecurrentToOutputWeights</a>, <a class="el" href="_workload_data_8hpp_source.html#l00392">LstmQueueDescriptor::m_RecurrentToOutputWeights</a>, and <a class="el" href="_layer_with_parameters_8hpp_source.html#l00043">LayerWithParameters< LstmDescriptor >::PrepInfoAndDesc()</a>.</p> |
| 509 | <div class="fragment"><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> {</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  LstmQueueDescriptor descriptor;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="comment">// Basic parameters</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  descriptor.m_InputToForgetWeights = <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a>.get();</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  descriptor.m_InputToCellWeights = <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a>.get();</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  descriptor.m_InputToOutputWeights = <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a>.get();</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  descriptor.m_RecurrentToForgetWeights = <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a>.get();</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  descriptor.m_RecurrentToCellWeights = <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a>.get();</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  descriptor.m_RecurrentToOutputWeights = <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a>.get();</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  descriptor.m_ForgetGateBias = <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a>.get();</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  descriptor.m_CellBias = <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a>.get();</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  descriptor.m_OutputGateBias = <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a>.get();</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="comment">// Cifg parameters</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="keywordflow">if</span> (!<a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_lstm_descriptor.html#ad474e5c51a0b194ef32e812b86c0cbdb">m_CifgEnabled</a>)</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  {</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  descriptor.m_InputToInputWeights = <a class="code" href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a>.get();</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  descriptor.m_RecurrentToInputWeights = <a class="code" href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a>.get();</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  descriptor.m_CellToInputWeights = <a class="code" href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a658f4245732f95c9fe756a934d370ca8">m_CellToInputWeights</a>.get();</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  descriptor.m_InputGateBias = <a class="code" href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a>.get();</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  }</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> </div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="comment">// Projection parameters</span></div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_lstm_descriptor.html#a6c9de81fc65b3c4924cab11907075a17">m_ProjectionEnabled</a>)</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  {</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  descriptor.m_ProjectionWeights = <a class="code" href="classarmnn_1_1_lstm_layer.html#a3d3e6d0c3e6e570d9f831489c3bd14ce">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_projection_parameters.html#a3ec2885c48ce888516e27c8b75a8cb83">m_ProjectionWeights</a>.get();</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  descriptor.m_ProjectionBias = <a class="code" href="classarmnn_1_1_lstm_layer.html#a3d3e6d0c3e6e570d9f831489c3bd14ce">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_projection_parameters.html#aa9f2880e4e2a1eb731f61c1e0941c6a7">m_ProjectionBias</a>.get();</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  }</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> </div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="comment">// Peephole parameters</span></div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_lstm_descriptor.html#a2837b4396f20c956952d1a7286cab5f8">m_PeepholeEnabled</a>)</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  {</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  descriptor.m_CellToForgetWeights = <a class="code" href="classarmnn_1_1_lstm_layer.html#a4efa0f4d46817ab94e36c8507c26f276">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_peephole_parameters.html#a5d0ebbbb11b727a67877df40b59a628c">m_CellToForgetWeights</a>.get();</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  descriptor.m_CellToOutputWeights = <a class="code" href="classarmnn_1_1_lstm_layer.html#a4efa0f4d46817ab94e36c8507c26f276">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_peephole_parameters.html#a310e133b0b51b93a74b83008893792e9">m_CellToOutputWeights</a>.get();</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  }</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> </div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="comment">// Layer normalisation parameters</span></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keywordflow">if</span>(<a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_lstm_descriptor.html#a4a8ec49f130084445d44297549254780">m_LayerNormEnabled</a>)</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  {</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordflow">if</span> (!<a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_lstm_descriptor.html#ad474e5c51a0b194ef32e812b86c0cbdb">m_CifgEnabled</a>)</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  {</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  descriptor.m_InputLayerNormWeights = <a class="code" href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a706418b4d19614be07f2eca8230bfde0">m_InputLayerNormWeights</a>.get();</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  }</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  descriptor.m_ForgetLayerNormWeights = <a class="code" href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a559113765ea5e2ddbd9e9e5e2869a103">m_ForgetLayerNormWeights</a>.get();</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  descriptor.m_CellLayerNormWeights = <a class="code" href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a3cab71ebbe91e75be538e5670a40fec5">m_CellLayerNormWeights</a>.get();</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  descriptor.m_OutputLayerNormWeights = <a class="code" href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a69fdb952b874669cbb2a281815a20be2">m_OutputLayerNormWeights</a>.get();</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  }</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> </div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keywordflow">return</span> factory.CreateLstm(descriptor, <a class="code" href="classarmnn_1_1_layer_with_parameters.html#a30a858b2b26d651a066537e499fbf40d">PrepInfoAndDesc</a>(descriptor));</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> }</div><div class="ttc" id="structarmnn_1_1_lstm_descriptor_html_a6c9de81fc65b3c4924cab11907075a17"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.html#a6c9de81fc65b3c4924cab11907075a17">armnn::LstmDescriptor::m_ProjectionEnabled</a></div><div class="ttdeci">bool m_ProjectionEnabled</div><div class="ttdoc">Enable/disable the projection layer. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00871">Descriptors.hpp:871</a></div></div> |
| 510 | <div class="ttc" id="classarmnn_1_1_lstm_layer_html_a4efa0f4d46817ab94e36c8507c26f276"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.html#a4efa0f4d46817ab94e36c8507c26f276">armnn::LstmLayer::m_PeepholeParameters</a></div><div class="ttdeci">LstmOptPeepholeParameters m_PeepholeParameters</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00084">LstmLayer.hpp:84</a></div></div> |
| 511 | <div class="ttc" id="structarmnn_1_1_lstm_opt_cifg_parameters_html_a6e8971757790a032e5936da7847ba14b"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a6e8971757790a032e5936da7847ba14b">armnn::LstmOptCifgParameters::m_RecurrentToInputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToInputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [input_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00031">LstmLayer.hpp:31</a></div></div> |
| 512 | <div class="ttc" id="classarmnn_1_1_lstm_layer_html_a3d3e6d0c3e6e570d9f831489c3bd14ce"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.html#a3d3e6d0c3e6e570d9f831489c3bd14ce">armnn::LstmLayer::m_ProjectionParameters</a></div><div class="ttdeci">LstmOptProjectionParameters m_ProjectionParameters</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00083">LstmLayer.hpp:83</a></div></div> |
| 513 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_a14ab2bc78421c417c4f97a65b0bd78f9"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#a14ab2bc78421c417c4f97a65b0bd78f9">armnn::LstmBasicParameters::m_InputToCellWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToCellWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [input_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00059">LstmLayer.hpp:59</a></div></div> |
| 514 | <div class="ttc" id="structarmnn_1_1_lstm_opt_cifg_parameters_html_a9945bc99f8a7400c0724117e29cb3abb"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a9945bc99f8a7400c0724117e29cb3abb">armnn::LstmOptCifgParameters::m_InputGateBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputGateBias</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00035">LstmLayer.hpp:35</a></div></div> |
| 515 | <div class="ttc" id="structarmnn_1_1_lstm_opt_layer_norm_parameters_html_a69fdb952b874669cbb2a281815a20be2"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a69fdb952b874669cbb2a281815a20be2">armnn::LstmOptLayerNormParameters::m_OutputLayerNormWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_OutputLayerNormWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00023">LstmLayer.hpp:23</a></div></div> |
| 516 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_ae8d897b8d282f25a6eb784c4aaa98df6"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#ae8d897b8d282f25a6eb784c4aaa98df6">armnn::LstmBasicParameters::m_InputToOutputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToOutputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [input_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00061">LstmLayer.hpp:61</a></div></div> |
| 517 | <div class="ttc" id="structarmnn_1_1_lstm_descriptor_html_ad474e5c51a0b194ef32e812b86c0cbdb"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.html#ad474e5c51a0b194ef32e812b86c0cbdb">armnn::LstmDescriptor::m_CifgEnabled</a></div><div class="ttdeci">bool m_CifgEnabled</div><div class="ttdoc">Enable/disable cifg (coupled input & forget gate). </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00867">Descriptors.hpp:867</a></div></div> |
| 518 | <div class="ttc" id="structarmnn_1_1_lstm_opt_projection_parameters_html_a3ec2885c48ce888516e27c8b75a8cb83"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_projection_parameters.html#a3ec2885c48ce888516e27c8b75a8cb83">armnn::LstmOptProjectionParameters::m_ProjectionWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_ProjectionWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [output_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00041">LstmLayer.hpp:41</a></div></div> |
| 519 | <div class="ttc" id="structarmnn_1_1_lstm_opt_layer_norm_parameters_html_a3cab71ebbe91e75be538e5670a40fec5"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a3cab71ebbe91e75be538e5670a40fec5">armnn::LstmOptLayerNormParameters::m_CellLayerNormWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_CellLayerNormWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00021">LstmLayer.hpp:21</a></div></div> |
| 520 | <div class="ttc" id="classarmnn_1_1_lstm_layer_html_a46864a690d016b7e00eb51a5bfe8e966"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">armnn::LstmLayer::m_LayerNormParameters</a></div><div class="ttdeci">LstmOptLayerNormParameters m_LayerNormParameters</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00085">LstmLayer.hpp:85</a></div></div> |
| 521 | <div class="ttc" id="structarmnn_1_1_lstm_opt_cifg_parameters_html_a658f4245732f95c9fe756a934d370ca8"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a658f4245732f95c9fe756a934d370ca8">armnn::LstmOptCifgParameters::m_CellToInputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_CellToInputWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00033">LstmLayer.hpp:33</a></div></div> |
| 522 | <div class="ttc" id="classarmnn_1_1_lstm_layer_html_a0e940dfa428f4eb429f8bc0d138b20af"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">armnn::LstmLayer::m_CifgParameters</a></div><div class="ttdeci">LstmOptCifgParameters m_CifgParameters</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00082">LstmLayer.hpp:82</a></div></div> |
| 523 | <div class="ttc" id="structarmnn_1_1_lstm_opt_peephole_parameters_html_a5d0ebbbb11b727a67877df40b59a628c"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_peephole_parameters.html#a5d0ebbbb11b727a67877df40b59a628c">armnn::LstmOptPeepholeParameters::m_CellToForgetWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_CellToForgetWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00049">LstmLayer.hpp:49</a></div></div> |
| 524 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_a0e0e17d5b494993407cb75d614455ddd"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#a0e0e17d5b494993407cb75d614455ddd">armnn::LstmBasicParameters::m_ForgetGateBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_ForgetGateBias</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00069">LstmLayer.hpp:69</a></div></div> |
| 525 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_a6e8c3db3c5474f0760553ff93fbc39e6"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#a6e8c3db3c5474f0760553ff93fbc39e6">armnn::LstmBasicParameters::m_RecurrentToCellWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToCellWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [output_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00065">LstmLayer.hpp:65</a></div></div> |
| 526 | <div class="ttc" id="structarmnn_1_1_lstm_descriptor_html_a2837b4396f20c956952d1a7286cab5f8"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.html#a2837b4396f20c956952d1a7286cab5f8">armnn::LstmDescriptor::m_PeepholeEnabled</a></div><div class="ttdeci">bool m_PeepholeEnabled</div><div class="ttdoc">Enable/disable peephole. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00869">Descriptors.hpp:869</a></div></div> |
| 527 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_a5a0d8af26a6aad1e5be521ea7dc550eb"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#a5a0d8af26a6aad1e5be521ea7dc550eb">armnn::LstmBasicParameters::m_InputToForgetWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToForgetWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [input_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00057">LstmLayer.hpp:57</a></div></div> |
| 528 | <div class="ttc" id="classarmnn_1_1_lstm_layer_html_a8838b317568861294a9df608221f185e"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">armnn::LstmLayer::m_BasicParameters</a></div><div class="ttdeci">LstmBasicParameters m_BasicParameters</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00081">LstmLayer.hpp:81</a></div></div> |
| 529 | <div class="ttc" id="classarmnn_1_1_layer_with_parameters_html_ad32ac22bc72e28dfd6b466d143c8e262"><div class="ttname"><a href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">armnn::LayerWithParameters< LstmDescriptor >::m_Param</a></div><div class="ttdeci">LstmDescriptor m_Param</div><div class="ttdoc">The parameters for the layer (not including tensor-valued weights etc.). </div><div class="ttdef"><b>Definition:</b> <a href="_layer_with_parameters_8hpp_source.html#l00050">LayerWithParameters.hpp:50</a></div></div> |
| 530 | <div class="ttc" id="structarmnn_1_1_lstm_opt_projection_parameters_html_aa9f2880e4e2a1eb731f61c1e0941c6a7"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_projection_parameters.html#aa9f2880e4e2a1eb731f61c1e0941c6a7">armnn::LstmOptProjectionParameters::m_ProjectionBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_ProjectionBias</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [output_size]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00043">LstmLayer.hpp:43</a></div></div> |
| 531 | <div class="ttc" id="classarmnn_1_1_layer_with_parameters_html_a30a858b2b26d651a066537e499fbf40d"><div class="ttname"><a href="classarmnn_1_1_layer_with_parameters.html#a30a858b2b26d651a066537e499fbf40d">armnn::LayerWithParameters< LstmDescriptor >::PrepInfoAndDesc</a></div><div class="ttdeci">WorkloadInfo PrepInfoAndDesc(QueueDescriptor &descriptor) const</div><div class="ttdoc">Helper function to reduce duplication in *LayerCreateWorkload. </div><div class="ttdef"><b>Definition:</b> <a href="_layer_with_parameters_8hpp_source.html#l00043">LayerWithParameters.hpp:43</a></div></div> |
| 532 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_a3d5f129421bbe6479a66d4ed1356bf68"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#a3d5f129421bbe6479a66d4ed1356bf68">armnn::LstmBasicParameters::m_RecurrentToForgetWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToForgetWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [output_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00063">LstmLayer.hpp:63</a></div></div> |
| 533 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_a51255889cbc063130a3d691c1781c5d3"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#a51255889cbc063130a3d691c1781c5d3">armnn::LstmBasicParameters::m_CellBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_CellBias</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00071">LstmLayer.hpp:71</a></div></div> |
| 534 | <div class="ttc" id="structarmnn_1_1_lstm_opt_cifg_parameters_html_a4d731c5e73638c7cf7e63f65e9f8b550"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">armnn::LstmOptCifgParameters::m_InputToInputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToInputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [input_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00029">LstmLayer.hpp:29</a></div></div> |
| 535 | <div class="ttc" id="structarmnn_1_1_lstm_opt_layer_norm_parameters_html_a706418b4d19614be07f2eca8230bfde0"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a706418b4d19614be07f2eca8230bfde0">armnn::LstmOptLayerNormParameters::m_InputLayerNormWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputLayerNormWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00017">LstmLayer.hpp:17</a></div></div> |
| 536 | <div class="ttc" id="structarmnn_1_1_lstm_descriptor_html_a4a8ec49f130084445d44297549254780"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.html#a4a8ec49f130084445d44297549254780">armnn::LstmDescriptor::m_LayerNormEnabled</a></div><div class="ttdeci">bool m_LayerNormEnabled</div><div class="ttdoc">Enable/disable layer normalization. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00873">Descriptors.hpp:873</a></div></div> |
| 537 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_aacb55e0992b6781a7bd3225ab6e6bb2f"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#aacb55e0992b6781a7bd3225ab6e6bb2f">armnn::LstmBasicParameters::m_OutputGateBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_OutputGateBias</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00073">LstmLayer.hpp:73</a></div></div> |
| 538 | <div class="ttc" id="structarmnn_1_1_lstm_opt_peephole_parameters_html_a310e133b0b51b93a74b83008893792e9"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_peephole_parameters.html#a310e133b0b51b93a74b83008893792e9">armnn::LstmOptPeepholeParameters::m_CellToOutputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_CellToOutputWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00051">LstmLayer.hpp:51</a></div></div> |
| 539 | <div class="ttc" id="structarmnn_1_1_lstm_opt_layer_norm_parameters_html_a559113765ea5e2ddbd9e9e5e2869a103"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a559113765ea5e2ddbd9e9e5e2869a103">armnn::LstmOptLayerNormParameters::m_ForgetLayerNormWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_ForgetLayerNormWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00019">LstmLayer.hpp:19</a></div></div> |
| 540 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_a91dda74af4085ae43913746ad817795a"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#a91dda74af4085ae43913746ad817795a">armnn::LstmBasicParameters::m_RecurrentToOutputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToOutputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [output_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00067">LstmLayer.hpp:67</a></div></div> |
| 541 | </div><!-- fragment --> |
| 542 | </div> |
| 543 | </div> |
| 544 | <a id="abe659a5afa7523f5dbc04bcba9b31f1a"></a> |
| 545 | <h2 class="memtitle"><span class="permalink"><a href="#abe659a5afa7523f5dbc04bcba9b31f1a">◆ </a></span>GetConstantTensorsByRef()</h2> |
| 546 | |
| 547 | <div class="memitem"> |
| 548 | <div class="memproto"> |
| 549 | <table class="mlabels"> |
| 550 | <tr> |
| 551 | <td class="mlabels-left"> |
| 552 | <table class="memname"> |
| 553 | <tr> |
| 554 | <td class="memname"><a class="el" href="classarmnn_1_1_layer.html#a585d59ec610af46a76487fd6c1c55ac1">Layer::ConstantTensors</a> GetConstantTensorsByRef </td> |
| 555 | <td>(</td> |
| 556 | <td class="paramname"></td><td>)</td> |
| 557 | <td></td> |
| 558 | </tr> |
| 559 | </table> |
| 560 | </td> |
| 561 | <td class="mlabels-right"> |
| 562 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td> |
| 563 | </tr> |
| 564 | </table> |
| 565 | </div><div class="memdoc"> |
| 566 | <p>Retrieve the handles to the constant values stored by the layer. </p><dl class="section return"><dt>Returns</dt><dd>A vector of the constant tensors stored by this layer. </dd></dl> |
| 567 | |
| 568 | <p>Reimplemented from <a class="el" href="classarmnn_1_1_layer.html#afbeac2d77ecaadc3e303a163b4146961">Layer</a>.</p> |
| 569 | |
| 570 | <p class="definition">Definition at line <a class="el" href="_lstm_layer_8cpp_source.html#l00266">266</a> of file <a class="el" href="_lstm_layer_8cpp_source.html">LstmLayer.cpp</a>.</p> |
| 571 | |
| 572 | <p class="reference">References <a class="el" href="_lstm_layer_8hpp_source.html#l00081">LstmLayer::m_BasicParameters</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00071">LstmBasicParameters::m_CellBias</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00021">LstmOptLayerNormParameters::m_CellLayerNormWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00049">LstmOptPeepholeParameters::m_CellToForgetWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00033">LstmOptCifgParameters::m_CellToInputWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00051">LstmOptPeepholeParameters::m_CellToOutputWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00082">LstmLayer::m_CifgParameters</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00069">LstmBasicParameters::m_ForgetGateBias</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00019">LstmOptLayerNormParameters::m_ForgetLayerNormWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00035">LstmOptCifgParameters::m_InputGateBias</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00017">LstmOptLayerNormParameters::m_InputLayerNormWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00059">LstmBasicParameters::m_InputToCellWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00057">LstmBasicParameters::m_InputToForgetWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00029">LstmOptCifgParameters::m_InputToInputWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00061">LstmBasicParameters::m_InputToOutputWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00085">LstmLayer::m_LayerNormParameters</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00073">LstmBasicParameters::m_OutputGateBias</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00023">LstmOptLayerNormParameters::m_OutputLayerNormWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00084">LstmLayer::m_PeepholeParameters</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00043">LstmOptProjectionParameters::m_ProjectionBias</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00083">LstmLayer::m_ProjectionParameters</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00041">LstmOptProjectionParameters::m_ProjectionWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00065">LstmBasicParameters::m_RecurrentToCellWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00063">LstmBasicParameters::m_RecurrentToForgetWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00031">LstmOptCifgParameters::m_RecurrentToInputWeights</a>, and <a class="el" href="_lstm_layer_8hpp_source.html#l00067">LstmBasicParameters::m_RecurrentToOutputWeights</a>.</p> |
| 573 | <div class="fragment"><div class="line"><a name="l00267"></a><span class="lineno"> 267</span> {</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  <span class="keywordflow">return</span> {<a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a>,</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a>,</div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a>,</div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a>,</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a>,</div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a>,</div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a>,</div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a>,</div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a>,</div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span> </div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  <span class="comment">// Cifg parameters</span></div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a>,</div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a>,</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a658f4245732f95c9fe756a934d370ca8">m_CellToInputWeights</a>,</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a>,</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span> </div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  <span class="comment">// Projection parameters</span></div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a3d3e6d0c3e6e570d9f831489c3bd14ce">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_projection_parameters.html#a3ec2885c48ce888516e27c8b75a8cb83">m_ProjectionWeights</a>,</div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a3d3e6d0c3e6e570d9f831489c3bd14ce">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_projection_parameters.html#aa9f2880e4e2a1eb731f61c1e0941c6a7">m_ProjectionBias</a>,</div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span> </div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  <span class="comment">// Peephole parameters</span></div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a4efa0f4d46817ab94e36c8507c26f276">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_peephole_parameters.html#a5d0ebbbb11b727a67877df40b59a628c">m_CellToForgetWeights</a>,</div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a4efa0f4d46817ab94e36c8507c26f276">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_peephole_parameters.html#a310e133b0b51b93a74b83008893792e9">m_CellToOutputWeights</a>,</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span> </div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  <span class="comment">// Layer normalisation parameters</span></div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a706418b4d19614be07f2eca8230bfde0">m_InputLayerNormWeights</a>,</div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a559113765ea5e2ddbd9e9e5e2869a103">m_ForgetLayerNormWeights</a>,</div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a3cab71ebbe91e75be538e5670a40fec5">m_CellLayerNormWeights</a>,</div><div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  <a class="code" href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a69fdb952b874669cbb2a281815a20be2">m_OutputLayerNormWeights</a>};</div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span> }</div><div class="ttc" id="classarmnn_1_1_lstm_layer_html_a4efa0f4d46817ab94e36c8507c26f276"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.html#a4efa0f4d46817ab94e36c8507c26f276">armnn::LstmLayer::m_PeepholeParameters</a></div><div class="ttdeci">LstmOptPeepholeParameters m_PeepholeParameters</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00084">LstmLayer.hpp:84</a></div></div> |
| 574 | <div class="ttc" id="structarmnn_1_1_lstm_opt_cifg_parameters_html_a6e8971757790a032e5936da7847ba14b"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a6e8971757790a032e5936da7847ba14b">armnn::LstmOptCifgParameters::m_RecurrentToInputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToInputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [input_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00031">LstmLayer.hpp:31</a></div></div> |
| 575 | <div class="ttc" id="classarmnn_1_1_lstm_layer_html_a3d3e6d0c3e6e570d9f831489c3bd14ce"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.html#a3d3e6d0c3e6e570d9f831489c3bd14ce">armnn::LstmLayer::m_ProjectionParameters</a></div><div class="ttdeci">LstmOptProjectionParameters m_ProjectionParameters</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00083">LstmLayer.hpp:83</a></div></div> |
| 576 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_a14ab2bc78421c417c4f97a65b0bd78f9"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#a14ab2bc78421c417c4f97a65b0bd78f9">armnn::LstmBasicParameters::m_InputToCellWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToCellWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [input_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00059">LstmLayer.hpp:59</a></div></div> |
| 577 | <div class="ttc" id="structarmnn_1_1_lstm_opt_cifg_parameters_html_a9945bc99f8a7400c0724117e29cb3abb"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a9945bc99f8a7400c0724117e29cb3abb">armnn::LstmOptCifgParameters::m_InputGateBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputGateBias</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00035">LstmLayer.hpp:35</a></div></div> |
| 578 | <div class="ttc" id="structarmnn_1_1_lstm_opt_layer_norm_parameters_html_a69fdb952b874669cbb2a281815a20be2"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a69fdb952b874669cbb2a281815a20be2">armnn::LstmOptLayerNormParameters::m_OutputLayerNormWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_OutputLayerNormWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00023">LstmLayer.hpp:23</a></div></div> |
| 579 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_ae8d897b8d282f25a6eb784c4aaa98df6"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#ae8d897b8d282f25a6eb784c4aaa98df6">armnn::LstmBasicParameters::m_InputToOutputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToOutputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [input_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00061">LstmLayer.hpp:61</a></div></div> |
| 580 | <div class="ttc" id="structarmnn_1_1_lstm_opt_projection_parameters_html_a3ec2885c48ce888516e27c8b75a8cb83"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_projection_parameters.html#a3ec2885c48ce888516e27c8b75a8cb83">armnn::LstmOptProjectionParameters::m_ProjectionWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_ProjectionWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [output_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00041">LstmLayer.hpp:41</a></div></div> |
| 581 | <div class="ttc" id="structarmnn_1_1_lstm_opt_layer_norm_parameters_html_a3cab71ebbe91e75be538e5670a40fec5"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a3cab71ebbe91e75be538e5670a40fec5">armnn::LstmOptLayerNormParameters::m_CellLayerNormWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_CellLayerNormWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00021">LstmLayer.hpp:21</a></div></div> |
| 582 | <div class="ttc" id="classarmnn_1_1_lstm_layer_html_a46864a690d016b7e00eb51a5bfe8e966"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">armnn::LstmLayer::m_LayerNormParameters</a></div><div class="ttdeci">LstmOptLayerNormParameters m_LayerNormParameters</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00085">LstmLayer.hpp:85</a></div></div> |
| 583 | <div class="ttc" id="structarmnn_1_1_lstm_opt_cifg_parameters_html_a658f4245732f95c9fe756a934d370ca8"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a658f4245732f95c9fe756a934d370ca8">armnn::LstmOptCifgParameters::m_CellToInputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_CellToInputWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00033">LstmLayer.hpp:33</a></div></div> |
| 584 | <div class="ttc" id="classarmnn_1_1_lstm_layer_html_a0e940dfa428f4eb429f8bc0d138b20af"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">armnn::LstmLayer::m_CifgParameters</a></div><div class="ttdeci">LstmOptCifgParameters m_CifgParameters</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00082">LstmLayer.hpp:82</a></div></div> |
| 585 | <div class="ttc" id="structarmnn_1_1_lstm_opt_peephole_parameters_html_a5d0ebbbb11b727a67877df40b59a628c"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_peephole_parameters.html#a5d0ebbbb11b727a67877df40b59a628c">armnn::LstmOptPeepholeParameters::m_CellToForgetWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_CellToForgetWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00049">LstmLayer.hpp:49</a></div></div> |
| 586 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_a0e0e17d5b494993407cb75d614455ddd"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#a0e0e17d5b494993407cb75d614455ddd">armnn::LstmBasicParameters::m_ForgetGateBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_ForgetGateBias</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00069">LstmLayer.hpp:69</a></div></div> |
| 587 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_a6e8c3db3c5474f0760553ff93fbc39e6"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#a6e8c3db3c5474f0760553ff93fbc39e6">armnn::LstmBasicParameters::m_RecurrentToCellWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToCellWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [output_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00065">LstmLayer.hpp:65</a></div></div> |
| 588 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_a5a0d8af26a6aad1e5be521ea7dc550eb"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#a5a0d8af26a6aad1e5be521ea7dc550eb">armnn::LstmBasicParameters::m_InputToForgetWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToForgetWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [input_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00057">LstmLayer.hpp:57</a></div></div> |
| 589 | <div class="ttc" id="classarmnn_1_1_lstm_layer_html_a8838b317568861294a9df608221f185e"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">armnn::LstmLayer::m_BasicParameters</a></div><div class="ttdeci">LstmBasicParameters m_BasicParameters</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00081">LstmLayer.hpp:81</a></div></div> |
| 590 | <div class="ttc" id="structarmnn_1_1_lstm_opt_projection_parameters_html_aa9f2880e4e2a1eb731f61c1e0941c6a7"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_projection_parameters.html#aa9f2880e4e2a1eb731f61c1e0941c6a7">armnn::LstmOptProjectionParameters::m_ProjectionBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_ProjectionBias</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [output_size]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00043">LstmLayer.hpp:43</a></div></div> |
| 591 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_a3d5f129421bbe6479a66d4ed1356bf68"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#a3d5f129421bbe6479a66d4ed1356bf68">armnn::LstmBasicParameters::m_RecurrentToForgetWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToForgetWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [output_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00063">LstmLayer.hpp:63</a></div></div> |
| 592 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_a51255889cbc063130a3d691c1781c5d3"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#a51255889cbc063130a3d691c1781c5d3">armnn::LstmBasicParameters::m_CellBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_CellBias</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00071">LstmLayer.hpp:71</a></div></div> |
| 593 | <div class="ttc" id="structarmnn_1_1_lstm_opt_cifg_parameters_html_a4d731c5e73638c7cf7e63f65e9f8b550"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">armnn::LstmOptCifgParameters::m_InputToInputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToInputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [input_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00029">LstmLayer.hpp:29</a></div></div> |
| 594 | <div class="ttc" id="structarmnn_1_1_lstm_opt_layer_norm_parameters_html_a706418b4d19614be07f2eca8230bfde0"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a706418b4d19614be07f2eca8230bfde0">armnn::LstmOptLayerNormParameters::m_InputLayerNormWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputLayerNormWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00017">LstmLayer.hpp:17</a></div></div> |
| 595 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_aacb55e0992b6781a7bd3225ab6e6bb2f"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#aacb55e0992b6781a7bd3225ab6e6bb2f">armnn::LstmBasicParameters::m_OutputGateBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_OutputGateBias</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00073">LstmLayer.hpp:73</a></div></div> |
| 596 | <div class="ttc" id="structarmnn_1_1_lstm_opt_peephole_parameters_html_a310e133b0b51b93a74b83008893792e9"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_peephole_parameters.html#a310e133b0b51b93a74b83008893792e9">armnn::LstmOptPeepholeParameters::m_CellToOutputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_CellToOutputWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00051">LstmLayer.hpp:51</a></div></div> |
| 597 | <div class="ttc" id="structarmnn_1_1_lstm_opt_layer_norm_parameters_html_a559113765ea5e2ddbd9e9e5e2869a103"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a559113765ea5e2ddbd9e9e5e2869a103">armnn::LstmOptLayerNormParameters::m_ForgetLayerNormWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_ForgetLayerNormWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00019">LstmLayer.hpp:19</a></div></div> |
| 598 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_a91dda74af4085ae43913746ad817795a"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#a91dda74af4085ae43913746ad817795a">armnn::LstmBasicParameters::m_RecurrentToOutputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToOutputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [output_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00067">LstmLayer.hpp:67</a></div></div> |
| 599 | </div><!-- fragment --> |
| 600 | </div> |
| 601 | </div> |
| 602 | <a id="a65ca562c882ad619684445a1402f415a"></a> |
| 603 | <h2 class="memtitle"><span class="permalink"><a href="#a65ca562c882ad619684445a1402f415a">◆ </a></span>InferOutputShapes()</h2> |
| 604 | |
| 605 | <div class="memitem"> |
| 606 | <div class="memproto"> |
| 607 | <table class="mlabels"> |
| 608 | <tr> |
| 609 | <td class="mlabels-left"> |
| 610 | <table class="memname"> |
| 611 | <tr> |
| 612 | <td class="memname">std::vector< <a class="el" href="classarmnn_1_1_tensor_shape.html">TensorShape</a> > InferOutputShapes </td> |
| 613 | <td>(</td> |
| 614 | <td class="paramtype">const std::vector< <a class="el" href="classarmnn_1_1_tensor_shape.html">TensorShape</a> > & </td> |
| 615 | <td class="paramname"><em>inputShapes</em></td><td>)</td> |
| 616 | <td> const</td> |
| 617 | </tr> |
| 618 | </table> |
| 619 | </td> |
| 620 | <td class="mlabels-right"> |
| 621 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 622 | </tr> |
| 623 | </table> |
| 624 | </div><div class="memdoc"> |
| 625 | <p>By default returns inputShapes if the number of inputs are equal to number of outputs, otherwise infers the output shapes from given input shapes and layer properties. </p><dl class="params"><dt>Parameters</dt><dd> |
| 626 | <table class="params"> |
| 627 | <tr><td class="paramdir">[in]</td><td class="paramname">inputShapes</td><td>The input shapes layer has. </td></tr> |
| 628 | </table> |
| 629 | </dd> |
| 630 | </dl> |
| 631 | <dl class="section return"><dt>Returns</dt><dd>A vector to the inferred output shape. </dd></dl> |
| 632 | |
| 633 | <p>Reimplemented from <a class="el" href="classarmnn_1_1_layer.html#a65ca562c882ad619684445a1402f415a">Layer</a>.</p> |
| 634 | |
| 635 | <p class="definition">Definition at line <a class="el" href="_lstm_layer_8cpp_source.html#l00142">142</a> of file <a class="el" href="_lstm_layer_8cpp_source.html">LstmLayer.cpp</a>.</p> |
| 636 | |
| 637 | <p class="reference">References <a class="el" href="_descriptors_8hpp_source.html#l00867">LstmDescriptor::m_CifgEnabled</a>, and <a class="el" href="_layer_with_parameters_8hpp_source.html#l00050">LayerWithParameters< LstmDescriptor >::m_Param</a>.</p> |
| 638 | |
| 639 | <p class="reference">Referenced by <a class="el" href="_lstm_layer_8cpp_source.html#l00160">LstmLayer::ValidateTensorShapesFromInputs()</a>.</p> |
| 640 | <div class="fragment"><div class="line"><a name="l00143"></a><span class="lineno"> 143</span> {</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  BOOST_ASSERT(inputShapes.size() == 3);</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span> </div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="comment">// Get input values for validation</span></div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> batchSize = inputShapes[0][0];</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> outputSize = inputShapes[1][1];</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> numUnits = inputShapes[2][1];</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span> </div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  std::vector<TensorShape> outShapes;</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  outShapes.push_back(TensorShape({batchSize, numUnits * (<a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_lstm_descriptor.html#ad474e5c51a0b194ef32e812b86c0cbdb">m_CifgEnabled</a> ? 3 : 4)}));</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  outShapes.push_back(TensorShape({batchSize, outputSize}));</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  outShapes.push_back(TensorShape({batchSize, numUnits}));</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  outShapes.push_back(TensorShape({batchSize, outputSize}));</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span> </div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="keywordflow">return</span> outShapes;</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span> }</div><div class="ttc" id="structarmnn_1_1_lstm_descriptor_html_ad474e5c51a0b194ef32e812b86c0cbdb"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.html#ad474e5c51a0b194ef32e812b86c0cbdb">armnn::LstmDescriptor::m_CifgEnabled</a></div><div class="ttdeci">bool m_CifgEnabled</div><div class="ttdoc">Enable/disable cifg (coupled input & forget gate). </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00867">Descriptors.hpp:867</a></div></div> |
| 641 | <div class="ttc" id="classarmnn_1_1_layer_with_parameters_html_ad32ac22bc72e28dfd6b466d143c8e262"><div class="ttname"><a href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">armnn::LayerWithParameters< LstmDescriptor >::m_Param</a></div><div class="ttdeci">LstmDescriptor m_Param</div><div class="ttdoc">The parameters for the layer (not including tensor-valued weights etc.). </div><div class="ttdef"><b>Definition:</b> <a href="_layer_with_parameters_8hpp_source.html#l00050">LayerWithParameters.hpp:50</a></div></div> |
| 642 | </div><!-- fragment --> |
| 643 | </div> |
| 644 | </div> |
| 645 | <a id="a8c8f543d7e9729362c266d12ec169966"></a> |
| 646 | <h2 class="memtitle"><span class="permalink"><a href="#a8c8f543d7e9729362c266d12ec169966">◆ </a></span>ValidateTensorShapesFromInputs()</h2> |
| 647 | |
| 648 | <div class="memitem"> |
| 649 | <div class="memproto"> |
| 650 | <table class="mlabels"> |
| 651 | <tr> |
| 652 | <td class="mlabels-left"> |
| 653 | <table class="memname"> |
| 654 | <tr> |
| 655 | <td class="memname">void ValidateTensorShapesFromInputs </td> |
| 656 | <td>(</td> |
| 657 | <td class="paramname"></td><td>)</td> |
| 658 | <td></td> |
| 659 | </tr> |
| 660 | </table> |
| 661 | </td> |
| 662 | <td class="mlabels-right"> |
| 663 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 664 | </tr> |
| 665 | </table> |
| 666 | </div><div class="memdoc"> |
| 667 | <p>Check if the input tensor shape(s) will lead to a valid configuration of <a class="el" href="classarmnn_1_1_lstm_layer.html">LstmLayer</a>. </p> |
| 668 | |
| 669 | <p>Implements <a class="el" href="classarmnn_1_1_layer.html#a84ff600212ba26e665de9b978ec896a4">Layer</a>.</p> |
| 670 | |
| 671 | <p class="definition">Definition at line <a class="el" href="_lstm_layer_8cpp_source.html#l00160">160</a> of file <a class="el" href="_lstm_layer_8cpp_source.html">LstmLayer.cpp</a>.</p> |
| 672 | |
| 673 | <p class="reference">References <a class="el" href="_exceptions_8hpp_source.html#l00169">CHECK_LOCATION</a>, <a class="el" href="_layer_8hpp_source.html#l00199">InputSlot::GetConnection()</a>, <a class="el" href="_layer_8hpp_source.html#l00310">Layer::GetInputSlot()</a>, <a class="el" href="_layer_8hpp_source.html#l00312">Layer::GetOutputSlot()</a>, <a class="el" href="_tensor_8hpp_source.html#l00088">TensorInfo::GetShape()</a>, <a class="el" href="classarmnn_1_1_i_output_slot.html#a9943775a364fc4ab53b85ac88f311886">IOutputSlot::GetTensorInfo()</a>, <a class="el" href="_layer_8cpp_source.html#l00063">OutputSlot::GetTensorInfo()</a>, <a class="el" href="_lstm_layer_8cpp_source.html#l00142">LstmLayer::InferOutputShapes()</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00081">LstmLayer::m_BasicParameters</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00071">LstmBasicParameters::m_CellBias</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00021">LstmOptLayerNormParameters::m_CellLayerNormWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00049">LstmOptPeepholeParameters::m_CellToForgetWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00033">LstmOptCifgParameters::m_CellToInputWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00051">LstmOptPeepholeParameters::m_CellToOutputWeights</a>, <a class="el" href="_descriptors_8hpp_source.html#l00867">LstmDescriptor::m_CifgEnabled</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00082">LstmLayer::m_CifgParameters</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00069">LstmBasicParameters::m_ForgetGateBias</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00019">LstmOptLayerNormParameters::m_ForgetLayerNormWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00035">LstmOptCifgParameters::m_InputGateBias</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00017">LstmOptLayerNormParameters::m_InputLayerNormWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00059">LstmBasicParameters::m_InputToCellWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00057">LstmBasicParameters::m_InputToForgetWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00029">LstmOptCifgParameters::m_InputToInputWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00061">LstmBasicParameters::m_InputToOutputWeights</a>, <a class="el" href="_descriptors_8hpp_source.html#l00873">LstmDescriptor::m_LayerNormEnabled</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00085">LstmLayer::m_LayerNormParameters</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00073">LstmBasicParameters::m_OutputGateBias</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00023">LstmOptLayerNormParameters::m_OutputLayerNormWeights</a>, <a class="el" href="_layer_with_parameters_8hpp_source.html#l00050">LayerWithParameters< LstmDescriptor >::m_Param</a>, <a class="el" href="_descriptors_8hpp_source.html#l00869">LstmDescriptor::m_PeepholeEnabled</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00084">LstmLayer::m_PeepholeParameters</a>, <a class="el" href="_descriptors_8hpp_source.html#l00871">LstmDescriptor::m_ProjectionEnabled</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00083">LstmLayer::m_ProjectionParameters</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00041">LstmOptProjectionParameters::m_ProjectionWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00065">LstmBasicParameters::m_RecurrentToCellWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00063">LstmBasicParameters::m_RecurrentToForgetWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00031">LstmOptCifgParameters::m_RecurrentToInputWeights</a>, <a class="el" href="_lstm_layer_8hpp_source.html#l00067">LstmBasicParameters::m_RecurrentToOutputWeights</a>, and <a class="el" href="_layer_8cpp_source.html#l00337">Layer::VerifyLayerConnections()</a>.</p> |
| 674 | <div class="fragment"><div class="line"><a name="l00161"></a><span class="lineno"> 161</span> {</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <a class="code" href="classarmnn_1_1_layer.html#a0607e36e88f38c34c71c663164b76776">VerifyLayerConnections</a>(3, <a class="code" href="_exceptions_8hpp.html#aa3be76aec4ce713822a5ea1ecbb7bc61">CHECK_LOCATION</a>());</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span> </div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <span class="keyword">auto</span> inferredShapes = <a class="code" href="classarmnn_1_1_lstm_layer.html#a65ca562c882ad619684445a1402f415a">InferOutputShapes</a>( {</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</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>(),</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</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>(),</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</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>()}</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  );</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span> </div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  BOOST_ASSERT(inferredShapes.size() == 4);</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span> </div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="comment">// Check if the weights are nullptr</span></div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="stringliteral">"LstmLayer: m_BasicParameters.m_InputToForgetWeights should not be null."</span>);</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <span class="stringliteral">"LstmLayer: m_BasicParameters.m_InputToCellWeights should not be null."</span>);</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="stringliteral">"LstmLayer: m_BasicParameters.m_InputToOutputWeights should not be null."</span>);</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <span class="stringliteral">"LstmLayer: m_BasicParameters.m_RecurrentToForgetWeights should not be null."</span>);</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="stringliteral">"LstmLayer: m_BasicParameters.m_RecurrentToCellWeights should not be null."</span>);</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <span class="stringliteral">"LstmLayer: m_BasicParameters.m_RecurrentToOutputWeights should not be null."</span>);</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <span class="stringliteral">"LstmLayer: m_BasicParameters.m_ForgetGateBias should not be null."</span>);</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <span class="stringliteral">"LstmLayer: m_BasicParameters.m_CellBias should not be null."</span>);</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">m_BasicParameters</a>.<a class="code" href="structarmnn_1_1_lstm_basic_parameters.html#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <span class="stringliteral">"LstmLayer: m_BasicParameters.m_OutputGateBias should not be null."</span>);</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span> </div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="keywordflow">if</span> (!<a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_lstm_descriptor.html#ad474e5c51a0b194ef32e812b86c0cbdb">m_CifgEnabled</a>)</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  {</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <span class="stringliteral">"LstmLayer: m_CifgParameters.m_InputToInputWeights should not be null."</span>);</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="stringliteral">"LstmLayer: m_CifgParameters.m_RecurrentToInputWeights should not be null."</span>);</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <span class="stringliteral">"LstmLayer: m_CifgParameters.m_InputGateBias should not be null."</span>);</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span> </div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  ConditionalThrowIfNotEqual<LayerValidationException>(</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <span class="stringliteral">"LstmLayer: TensorShape set on OutputSlot[0] does not match the inferred shape."</span>,</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <a class="code" href="classarmnn_1_1_layer.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="l00204"></a><span class="lineno"> 204</span>  inferredShapes[0]);</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  }</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  <span class="keywordflow">else</span></div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  {</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a> == <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  <span class="stringliteral">"LstmLayer: m_CifgParameters.m_InputToInputWeights should not have a value when CIFG is enabled."</span>);</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a> == <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <span class="stringliteral">"LstmLayer: m_CifgParameters.m_RecurrentToInputWeights should not have a value when CIFG is enabled."</span>);</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a658f4245732f95c9fe756a934d370ca8">m_CellToInputWeights</a> == <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <span class="stringliteral">"LstmLayer: m_CifgParameters.m_CellToInputWeights should not have a value when CIFG is enabled."</span>);</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">m_CifgParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a> == <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <span class="stringliteral">"LstmLayer: m_CifgParameters.m_InputGateBias should not have a value when CIFG is enabled."</span>);</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span> </div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  ConditionalThrowIfNotEqual<LayerValidationException>(</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  <span class="stringliteral">"LstmLayer: TensorShape set on OutputSlot[0] does not match the inferred shape."</span>,</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  <a class="code" href="classarmnn_1_1_layer.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="l00220"></a><span class="lineno"> 220</span>  inferredShapes[0]);</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  }</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span> </div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_lstm_descriptor.html#a6c9de81fc65b3c4924cab11907075a17">m_ProjectionEnabled</a>)</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  {</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.html#a3d3e6d0c3e6e570d9f831489c3bd14ce">m_ProjectionParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_projection_parameters.html#a3ec2885c48ce888516e27c8b75a8cb83">m_ProjectionWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  <span class="stringliteral">"LstmLayer: m_ProjectionParameters.m_ProjectionWeights should not be null."</span>);</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  }</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span> </div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_lstm_descriptor.html#a2837b4396f20c956952d1a7286cab5f8">m_PeepholeEnabled</a>)</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  {</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.html#a4efa0f4d46817ab94e36c8507c26f276">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_peephole_parameters.html#a5d0ebbbb11b727a67877df40b59a628c">m_CellToForgetWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  <span class="stringliteral">"LstmLayer: m_PeepholeParameters.m_CellToForgetWeights should not be null."</span>);</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.html#a4efa0f4d46817ab94e36c8507c26f276">m_PeepholeParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_peephole_parameters.html#a310e133b0b51b93a74b83008893792e9">m_CellToOutputWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  <span class="stringliteral">"LstmLayer: m_PeepholeParameters.m_CellToOutputWeights should not be null."</span>);</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  }</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span> </div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  ConditionalThrowIfNotEqual<LayerValidationException>(</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  <span class="stringliteral">"LstmLayer: TensorShape set on OutputSlot[1] does not match the inferred shape."</span>,</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  <a class="code" href="classarmnn_1_1_layer.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="l00240"></a><span class="lineno"> 240</span>  inferredShapes[1]);</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  ConditionalThrowIfNotEqual<LayerValidationException>(</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  <span class="stringliteral">"LstmLayer: TensorShape set on OutputSlot[2] does not match the inferred shape."</span>,</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  <a class="code" href="classarmnn_1_1_layer.html#a0e36688a43c35668d8db5257274c68fe">GetOutputSlot</a>(2).<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="l00244"></a><span class="lineno"> 244</span>  inferredShapes[2]);</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  ConditionalThrowIfNotEqual<LayerValidationException>(</div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  <span class="stringliteral">"LstmLayer: TensorShape set on OutputSlot[3] does not match the inferred shape."</span>,</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  <a class="code" href="classarmnn_1_1_layer.html#a0e36688a43c35668d8db5257274c68fe">GetOutputSlot</a>(3).<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="l00248"></a><span class="lineno"> 248</span>  inferredShapes[3]);</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span> </div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_lstm_descriptor.html#a4a8ec49f130084445d44297549254780">m_LayerNormEnabled</a>)</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  {</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  <span class="keywordflow">if</span>(!<a class="code" href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">m_Param</a>.<a class="code" href="structarmnn_1_1_lstm_descriptor.html#ad474e5c51a0b194ef32e812b86c0cbdb">m_CifgEnabled</a>)</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  {</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a706418b4d19614be07f2eca8230bfde0">m_InputLayerNormWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  <span class="stringliteral">"LstmLayer: m_LayerNormParameters.m_inputLayerNormWeights should not be null."</span>);</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  }</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a559113765ea5e2ddbd9e9e5e2869a103">m_ForgetLayerNormWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  <span class="stringliteral">"LstmLayer: m_LayerNormParameters.m_forgetLayerNormWeights should not be null."</span>);</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a3cab71ebbe91e75be538e5670a40fec5">m_CellLayerNormWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  <span class="stringliteral">"LstmLayer: m_LayerNormParameters.m_cellLayerNormWeights should not be null."</span>);</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">m_LayerNormParameters</a>.<a class="code" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a69fdb952b874669cbb2a281815a20be2">m_OutputLayerNormWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  <span class="stringliteral">"LstmLayer: m_LayerNormParameters.m_outputLayerNormWeights should not be null."</span>);</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  }</div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span> }</div><div class="ttc" id="structarmnn_1_1_lstm_descriptor_html_a6c9de81fc65b3c4924cab11907075a17"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.html#a6c9de81fc65b3c4924cab11907075a17">armnn::LstmDescriptor::m_ProjectionEnabled</a></div><div class="ttdeci">bool m_ProjectionEnabled</div><div class="ttdoc">Enable/disable the projection layer. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00871">Descriptors.hpp:871</a></div></div> |
| 675 | <div class="ttc" id="classarmnn_1_1_lstm_layer_html_a4efa0f4d46817ab94e36c8507c26f276"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.html#a4efa0f4d46817ab94e36c8507c26f276">armnn::LstmLayer::m_PeepholeParameters</a></div><div class="ttdeci">LstmOptPeepholeParameters m_PeepholeParameters</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00084">LstmLayer.hpp:84</a></div></div> |
| 676 | <div class="ttc" id="structarmnn_1_1_lstm_opt_cifg_parameters_html_a6e8971757790a032e5936da7847ba14b"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a6e8971757790a032e5936da7847ba14b">armnn::LstmOptCifgParameters::m_RecurrentToInputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToInputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [input_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00031">LstmLayer.hpp:31</a></div></div> |
| 677 | <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> |
| 678 | <div class="ttc" id="classarmnn_1_1_lstm_layer_html_a3d3e6d0c3e6e570d9f831489c3bd14ce"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.html#a3d3e6d0c3e6e570d9f831489c3bd14ce">armnn::LstmLayer::m_ProjectionParameters</a></div><div class="ttdeci">LstmOptProjectionParameters m_ProjectionParameters</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00083">LstmLayer.hpp:83</a></div></div> |
| 679 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_a14ab2bc78421c417c4f97a65b0bd78f9"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#a14ab2bc78421c417c4f97a65b0bd78f9">armnn::LstmBasicParameters::m_InputToCellWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToCellWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [input_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00059">LstmLayer.hpp:59</a></div></div> |
| 680 | <div class="ttc" id="structarmnn_1_1_lstm_opt_cifg_parameters_html_a9945bc99f8a7400c0724117e29cb3abb"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a9945bc99f8a7400c0724117e29cb3abb">armnn::LstmOptCifgParameters::m_InputGateBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputGateBias</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00035">LstmLayer.hpp:35</a></div></div> |
| 681 | <div class="ttc" id="structarmnn_1_1_lstm_opt_layer_norm_parameters_html_a69fdb952b874669cbb2a281815a20be2"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a69fdb952b874669cbb2a281815a20be2">armnn::LstmOptLayerNormParameters::m_OutputLayerNormWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_OutputLayerNormWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00023">LstmLayer.hpp:23</a></div></div> |
| 682 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_ae8d897b8d282f25a6eb784c4aaa98df6"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#ae8d897b8d282f25a6eb784c4aaa98df6">armnn::LstmBasicParameters::m_InputToOutputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToOutputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [input_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00061">LstmLayer.hpp:61</a></div></div> |
| 683 | <div class="ttc" id="structarmnn_1_1_lstm_descriptor_html_ad474e5c51a0b194ef32e812b86c0cbdb"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.html#ad474e5c51a0b194ef32e812b86c0cbdb">armnn::LstmDescriptor::m_CifgEnabled</a></div><div class="ttdeci">bool m_CifgEnabled</div><div class="ttdoc">Enable/disable cifg (coupled input & forget gate). </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00867">Descriptors.hpp:867</a></div></div> |
| 684 | <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> |
| 685 | <div class="ttc" id="structarmnn_1_1_lstm_opt_projection_parameters_html_a3ec2885c48ce888516e27c8b75a8cb83"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_projection_parameters.html#a3ec2885c48ce888516e27c8b75a8cb83">armnn::LstmOptProjectionParameters::m_ProjectionWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_ProjectionWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [output_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00041">LstmLayer.hpp:41</a></div></div> |
| 686 | <div class="ttc" id="structarmnn_1_1_lstm_opt_layer_norm_parameters_html_a3cab71ebbe91e75be538e5670a40fec5"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a3cab71ebbe91e75be538e5670a40fec5">armnn::LstmOptLayerNormParameters::m_CellLayerNormWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_CellLayerNormWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00021">LstmLayer.hpp:21</a></div></div> |
| 687 | <div class="ttc" id="classarmnn_1_1_lstm_layer_html_a46864a690d016b7e00eb51a5bfe8e966"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.html#a46864a690d016b7e00eb51a5bfe8e966">armnn::LstmLayer::m_LayerNormParameters</a></div><div class="ttdeci">LstmOptLayerNormParameters m_LayerNormParameters</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00085">LstmLayer.hpp:85</a></div></div> |
| 688 | <div class="ttc" id="structarmnn_1_1_lstm_opt_cifg_parameters_html_a658f4245732f95c9fe756a934d370ca8"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a658f4245732f95c9fe756a934d370ca8">armnn::LstmOptCifgParameters::m_CellToInputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_CellToInputWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00033">LstmLayer.hpp:33</a></div></div> |
| 689 | <div class="ttc" id="classarmnn_1_1_lstm_layer_html_a0e940dfa428f4eb429f8bc0d138b20af"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.html#a0e940dfa428f4eb429f8bc0d138b20af">armnn::LstmLayer::m_CifgParameters</a></div><div class="ttdeci">LstmOptCifgParameters m_CifgParameters</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00082">LstmLayer.hpp:82</a></div></div> |
| 690 | <div class="ttc" id="structarmnn_1_1_lstm_opt_peephole_parameters_html_a5d0ebbbb11b727a67877df40b59a628c"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_peephole_parameters.html#a5d0ebbbb11b727a67877df40b59a628c">armnn::LstmOptPeepholeParameters::m_CellToForgetWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_CellToForgetWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00049">LstmLayer.hpp:49</a></div></div> |
| 691 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_a0e0e17d5b494993407cb75d614455ddd"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#a0e0e17d5b494993407cb75d614455ddd">armnn::LstmBasicParameters::m_ForgetGateBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_ForgetGateBias</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00069">LstmLayer.hpp:69</a></div></div> |
| 692 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_a6e8c3db3c5474f0760553ff93fbc39e6"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#a6e8c3db3c5474f0760553ff93fbc39e6">armnn::LstmBasicParameters::m_RecurrentToCellWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToCellWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [output_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00065">LstmLayer.hpp:65</a></div></div> |
| 693 | <div class="ttc" id="structarmnn_1_1_lstm_descriptor_html_a2837b4396f20c956952d1a7286cab5f8"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.html#a2837b4396f20c956952d1a7286cab5f8">armnn::LstmDescriptor::m_PeepholeEnabled</a></div><div class="ttdeci">bool m_PeepholeEnabled</div><div class="ttdoc">Enable/disable peephole. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00869">Descriptors.hpp:869</a></div></div> |
| 694 | <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> |
| 695 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_a5a0d8af26a6aad1e5be521ea7dc550eb"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#a5a0d8af26a6aad1e5be521ea7dc550eb">armnn::LstmBasicParameters::m_InputToForgetWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToForgetWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [input_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00057">LstmLayer.hpp:57</a></div></div> |
| 696 | <div class="ttc" id="classarmnn_1_1_lstm_layer_html_a8838b317568861294a9df608221f185e"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.html#a8838b317568861294a9df608221f185e">armnn::LstmLayer::m_BasicParameters</a></div><div class="ttdeci">LstmBasicParameters m_BasicParameters</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00081">LstmLayer.hpp:81</a></div></div> |
| 697 | <div class="ttc" id="classarmnn_1_1_layer_with_parameters_html_ad32ac22bc72e28dfd6b466d143c8e262"><div class="ttname"><a href="classarmnn_1_1_layer_with_parameters.html#ad32ac22bc72e28dfd6b466d143c8e262">armnn::LayerWithParameters< LstmDescriptor >::m_Param</a></div><div class="ttdeci">LstmDescriptor m_Param</div><div class="ttdoc">The parameters for the layer (not including tensor-valued weights etc.). </div><div class="ttdef"><b>Definition:</b> <a href="_layer_with_parameters_8hpp_source.html#l00050">LayerWithParameters.hpp:50</a></div></div> |
| 698 | <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> |
| 699 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_a3d5f129421bbe6479a66d4ed1356bf68"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#a3d5f129421bbe6479a66d4ed1356bf68">armnn::LstmBasicParameters::m_RecurrentToForgetWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToForgetWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [output_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00063">LstmLayer.hpp:63</a></div></div> |
| 700 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_a51255889cbc063130a3d691c1781c5d3"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#a51255889cbc063130a3d691c1781c5d3">armnn::LstmBasicParameters::m_CellBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_CellBias</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00071">LstmLayer.hpp:71</a></div></div> |
| 701 | <div class="ttc" id="classarmnn_1_1_lstm_layer_html_a65ca562c882ad619684445a1402f415a"><div class="ttname"><a href="classarmnn_1_1_lstm_layer.html#a65ca562c882ad619684445a1402f415a">armnn::LstmLayer::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="_lstm_layer_8cpp_source.html#l00142">LstmLayer.cpp:142</a></div></div> |
| 702 | <div class="ttc" id="structarmnn_1_1_lstm_opt_cifg_parameters_html_a4d731c5e73638c7cf7e63f65e9f8b550"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_cifg_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">armnn::LstmOptCifgParameters::m_InputToInputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToInputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [input_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00029">LstmLayer.hpp:29</a></div></div> |
| 703 | <div class="ttc" id="structarmnn_1_1_lstm_opt_layer_norm_parameters_html_a706418b4d19614be07f2eca8230bfde0"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a706418b4d19614be07f2eca8230bfde0">armnn::LstmOptLayerNormParameters::m_InputLayerNormWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputLayerNormWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00017">LstmLayer.hpp:17</a></div></div> |
| 704 | <div class="ttc" id="structarmnn_1_1_lstm_descriptor_html_a4a8ec49f130084445d44297549254780"><div class="ttname"><a href="structarmnn_1_1_lstm_descriptor.html#a4a8ec49f130084445d44297549254780">armnn::LstmDescriptor::m_LayerNormEnabled</a></div><div class="ttdeci">bool m_LayerNormEnabled</div><div class="ttdoc">Enable/disable layer normalization. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00873">Descriptors.hpp:873</a></div></div> |
| 705 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_aacb55e0992b6781a7bd3225ab6e6bb2f"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#aacb55e0992b6781a7bd3225ab6e6bb2f">armnn::LstmBasicParameters::m_OutputGateBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_OutputGateBias</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00073">LstmLayer.hpp:73</a></div></div> |
| 706 | <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> |
| 707 | <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> |
| 708 | <div class="ttc" id="structarmnn_1_1_lstm_opt_peephole_parameters_html_a310e133b0b51b93a74b83008893792e9"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_peephole_parameters.html#a310e133b0b51b93a74b83008893792e9">armnn::LstmOptPeepholeParameters::m_CellToOutputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_CellToOutputWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00051">LstmLayer.hpp:51</a></div></div> |
| 709 | <div class="ttc" id="structarmnn_1_1_lstm_opt_layer_norm_parameters_html_a559113765ea5e2ddbd9e9e5e2869a103"><div class="ttname"><a href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html#a559113765ea5e2ddbd9e9e5e2869a103">armnn::LstmOptLayerNormParameters::m_ForgetLayerNormWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_ForgetLayerNormWeights</div><div class="ttdoc">A unique pointer to represent 1D weights tensor with dimensions [num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00019">LstmLayer.hpp:19</a></div></div> |
| 710 | <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> |
| 711 | <div class="ttc" id="structarmnn_1_1_lstm_basic_parameters_html_a91dda74af4085ae43913746ad817795a"><div class="ttname"><a href="structarmnn_1_1_lstm_basic_parameters.html#a91dda74af4085ae43913746ad817795a">armnn::LstmBasicParameters::m_RecurrentToOutputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToOutputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [output_size, num_units]. </div><div class="ttdef"><b>Definition:</b> <a href="_lstm_layer_8hpp_source.html#l00067">LstmLayer.hpp:67</a></div></div> |
| 712 | <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> |
| 713 | </div><!-- fragment --> |
| 714 | </div> |
| 715 | </div> |
| 716 | <h2 class="groupheader">Member Data Documentation</h2> |
| 717 | <a id="a8838b317568861294a9df608221f185e"></a> |
| 718 | <h2 class="memtitle"><span class="permalink"><a href="#a8838b317568861294a9df608221f185e">◆ </a></span>m_BasicParameters</h2> |
| 719 | |
| 720 | <div class="memitem"> |
| 721 | <div class="memproto"> |
| 722 | <table class="memname"> |
| 723 | <tr> |
| 724 | <td class="memname"><a class="el" href="structarmnn_1_1_lstm_basic_parameters.html">LstmBasicParameters</a> m_BasicParameters</td> |
| 725 | </tr> |
| 726 | </table> |
| 727 | </div><div class="memdoc"> |
| 728 | |
| 729 | <p class="definition">Definition at line <a class="el" href="_lstm_layer_8hpp_source.html#l00081">81</a> of file <a class="el" href="_lstm_layer_8hpp_source.html">LstmLayer.hpp</a>.</p> |
| 730 | |
| 731 | <p class="reference">Referenced by <a class="el" href="_lstm_layer_8cpp_source.html#l00299">LstmLayer::Accept()</a>, <a class="el" href="_network_8cpp_source.html#l01312">Network::AddLstmLayer()</a>, <a class="el" href="_lstm_layer_8cpp_source.html#l00075">LstmLayer::Clone()</a>, <a class="el" href="_lstm_layer_8cpp_source.html#l00022">LstmLayer::CreateWorkload()</a>, <a class="el" href="_lstm_layer_8cpp_source.html#l00266">LstmLayer::GetConstantTensorsByRef()</a>, and <a class="el" href="_lstm_layer_8cpp_source.html#l00160">LstmLayer::ValidateTensorShapesFromInputs()</a>.</p> |
| 732 | |
| 733 | </div> |
| 734 | </div> |
| 735 | <a id="a0e940dfa428f4eb429f8bc0d138b20af"></a> |
| 736 | <h2 class="memtitle"><span class="permalink"><a href="#a0e940dfa428f4eb429f8bc0d138b20af">◆ </a></span>m_CifgParameters</h2> |
| 737 | |
| 738 | <div class="memitem"> |
| 739 | <div class="memproto"> |
| 740 | <table class="memname"> |
| 741 | <tr> |
| 742 | <td class="memname"><a class="el" href="structarmnn_1_1_lstm_opt_cifg_parameters.html">LstmOptCifgParameters</a> m_CifgParameters</td> |
| 743 | </tr> |
| 744 | </table> |
| 745 | </div><div class="memdoc"> |
| 746 | |
| 747 | <p class="definition">Definition at line <a class="el" href="_lstm_layer_8hpp_source.html#l00082">82</a> of file <a class="el" href="_lstm_layer_8hpp_source.html">LstmLayer.hpp</a>.</p> |
| 748 | |
| 749 | <p class="reference">Referenced by <a class="el" href="_lstm_layer_8cpp_source.html#l00299">LstmLayer::Accept()</a>, <a class="el" href="_lstm_layer_8cpp_source.html#l00075">LstmLayer::Clone()</a>, <a class="el" href="_lstm_layer_8cpp_source.html#l00022">LstmLayer::CreateWorkload()</a>, <a class="el" href="_lstm_layer_8cpp_source.html#l00266">LstmLayer::GetConstantTensorsByRef()</a>, and <a class="el" href="_lstm_layer_8cpp_source.html#l00160">LstmLayer::ValidateTensorShapesFromInputs()</a>.</p> |
| 750 | |
| 751 | </div> |
| 752 | </div> |
| 753 | <a id="a46864a690d016b7e00eb51a5bfe8e966"></a> |
| 754 | <h2 class="memtitle"><span class="permalink"><a href="#a46864a690d016b7e00eb51a5bfe8e966">◆ </a></span>m_LayerNormParameters</h2> |
| 755 | |
| 756 | <div class="memitem"> |
| 757 | <div class="memproto"> |
| 758 | <table class="memname"> |
| 759 | <tr> |
| 760 | <td class="memname"><a class="el" href="structarmnn_1_1_lstm_opt_layer_norm_parameters.html">LstmOptLayerNormParameters</a> m_LayerNormParameters</td> |
| 761 | </tr> |
| 762 | </table> |
| 763 | </div><div class="memdoc"> |
| 764 | |
| 765 | <p class="definition">Definition at line <a class="el" href="_lstm_layer_8hpp_source.html#l00085">85</a> of file <a class="el" href="_lstm_layer_8hpp_source.html">LstmLayer.hpp</a>.</p> |
| 766 | |
| 767 | <p class="reference">Referenced by <a class="el" href="_lstm_layer_8cpp_source.html#l00299">LstmLayer::Accept()</a>, <a class="el" href="_lstm_layer_8cpp_source.html#l00075">LstmLayer::Clone()</a>, <a class="el" href="_lstm_layer_8cpp_source.html#l00022">LstmLayer::CreateWorkload()</a>, <a class="el" href="_lstm_layer_8cpp_source.html#l00266">LstmLayer::GetConstantTensorsByRef()</a>, and <a class="el" href="_lstm_layer_8cpp_source.html#l00160">LstmLayer::ValidateTensorShapesFromInputs()</a>.</p> |
| 768 | |
| 769 | </div> |
| 770 | </div> |
| 771 | <a id="a4efa0f4d46817ab94e36c8507c26f276"></a> |
| 772 | <h2 class="memtitle"><span class="permalink"><a href="#a4efa0f4d46817ab94e36c8507c26f276">◆ </a></span>m_PeepholeParameters</h2> |
| 773 | |
| 774 | <div class="memitem"> |
| 775 | <div class="memproto"> |
| 776 | <table class="memname"> |
| 777 | <tr> |
| 778 | <td class="memname"><a class="el" href="structarmnn_1_1_lstm_opt_peephole_parameters.html">LstmOptPeepholeParameters</a> m_PeepholeParameters</td> |
| 779 | </tr> |
| 780 | </table> |
| 781 | </div><div class="memdoc"> |
| 782 | |
| 783 | <p class="definition">Definition at line <a class="el" href="_lstm_layer_8hpp_source.html#l00084">84</a> of file <a class="el" href="_lstm_layer_8hpp_source.html">LstmLayer.hpp</a>.</p> |
| 784 | |
| 785 | <p class="reference">Referenced by <a class="el" href="_lstm_layer_8cpp_source.html#l00299">LstmLayer::Accept()</a>, <a class="el" href="_lstm_layer_8cpp_source.html#l00075">LstmLayer::Clone()</a>, <a class="el" href="_lstm_layer_8cpp_source.html#l00022">LstmLayer::CreateWorkload()</a>, <a class="el" href="_lstm_layer_8cpp_source.html#l00266">LstmLayer::GetConstantTensorsByRef()</a>, and <a class="el" href="_lstm_layer_8cpp_source.html#l00160">LstmLayer::ValidateTensorShapesFromInputs()</a>.</p> |
| 786 | |
| 787 | </div> |
| 788 | </div> |
| 789 | <a id="a3d3e6d0c3e6e570d9f831489c3bd14ce"></a> |
| 790 | <h2 class="memtitle"><span class="permalink"><a href="#a3d3e6d0c3e6e570d9f831489c3bd14ce">◆ </a></span>m_ProjectionParameters</h2> |
| 791 | |
| 792 | <div class="memitem"> |
| 793 | <div class="memproto"> |
| 794 | <table class="memname"> |
| 795 | <tr> |
| 796 | <td class="memname"><a class="el" href="structarmnn_1_1_lstm_opt_projection_parameters.html">LstmOptProjectionParameters</a> m_ProjectionParameters</td> |
| 797 | </tr> |
| 798 | </table> |
| 799 | </div><div class="memdoc"> |
| 800 | |
| 801 | <p class="definition">Definition at line <a class="el" href="_lstm_layer_8hpp_source.html#l00083">83</a> of file <a class="el" href="_lstm_layer_8hpp_source.html">LstmLayer.hpp</a>.</p> |
| 802 | |
| 803 | <p class="reference">Referenced by <a class="el" href="_lstm_layer_8cpp_source.html#l00299">LstmLayer::Accept()</a>, <a class="el" href="_lstm_layer_8cpp_source.html#l00075">LstmLayer::Clone()</a>, <a class="el" href="_lstm_layer_8cpp_source.html#l00022">LstmLayer::CreateWorkload()</a>, <a class="el" href="_lstm_layer_8cpp_source.html#l00266">LstmLayer::GetConstantTensorsByRef()</a>, and <a class="el" href="_lstm_layer_8cpp_source.html#l00160">LstmLayer::ValidateTensorShapesFromInputs()</a>.</p> |
| 804 | |
| 805 | </div> |
| 806 | </div> |
| 807 | <hr/>The documentation for this class was generated from the following files:<ul> |
| 808 | <li>src/armnn/layers/<a class="el" href="_lstm_layer_8hpp_source.html">LstmLayer.hpp</a></li> |
| 809 | <li>src/armnn/layers/<a class="el" href="_lstm_layer_8cpp_source.html">LstmLayer.cpp</a></li> |
| 810 | </ul> |
| 811 | </div><!-- contents --> |
| 812 | </div><!-- doc-content --> |
| 813 | <!-- start footer part --> |
| 814 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 815 | <ul> |
| 816 | <li class="navelem"><a class="el" href="namespacearmnn.html">armnn</a></li><li class="navelem"><a class="el" href="classarmnn_1_1_lstm_layer.html">LstmLayer</a></li> |
| 817 | <li class="footer">Generated on Fri Mar 13 2020 16:07:03 for ArmNN by |
| 818 | <a href="http://www.doxygen.org/index.html"> |
| 819 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 820 | </ul> |
| 821 | </div> |
| 822 | </body> |
| 823 | </html> |