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: QuantizedLstmLayer 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_quantized_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_quantized_lstm_layer-members.html">List of all members</a> </div> |
| 88 | <div class="headertitle"> |
| 89 | <div class="title">QuantizedLstmLayer Class Reference</div> </div> |
| 90 | </div><!--header--> |
| 91 | <div class="contents"> |
| 92 | |
| 93 | <p>This layer represents a QuantizedLstm operation. |
| 94 | <a href="classarmnn_1_1_quantized_lstm_layer.html#details">More...</a></p> |
| 95 | |
| 96 | <p><code>#include <<a class="el" href="_quantized_lstm_layer_8hpp_source.html">QuantizedLstmLayer.hpp</a>></code></p> |
| 97 | <div class="dynheader"> |
| 98 | Inheritance diagram for QuantizedLstmLayer:</div> |
| 99 | <div class="dyncontent"> |
| 100 | <div class="center"> |
| 101 | <img src="classarmnn_1_1_quantized_lstm_layer.png" usemap="#QuantizedLstmLayer_map" alt=""/> |
| 102 | <map id="QuantizedLstmLayer_map" name="QuantizedLstmLayer_map"> |
| 103 | <area href="classarmnn_1_1_layer.html" alt="Layer" shape="rect" coords="0,56,127,80"/> |
| 104 | <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,127,24"/> |
| 105 | </map> |
| 106 | </div></div> |
| 107 | <table class="memberdecls"> |
| 108 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| 109 | Public Member Functions</h2></td></tr> |
| 110 | <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_quantized_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> |
| 111 | <tr class="separator:adfa912d0c4c6c00f1af2cbfa799572b7"><td class="memSeparator" colspan="2"> </td></tr> |
| 112 | <tr class="memitem:a08edea9423b6da5da174ce5269f6e28b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_quantized_lstm_layer.html">QuantizedLstmLayer</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantized_lstm_layer.html#a08edea9423b6da5da174ce5269f6e28b">Clone</a> (<a class="el" href="classarmnn_1_1_graph.html">Graph</a> &graph) const override</td></tr> |
| 113 | <tr class="separator:a08edea9423b6da5da174ce5269f6e28b"><td class="memSeparator" colspan="2"> </td></tr> |
| 114 | <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_quantized_lstm_layer.html#a8c8f543d7e9729362c266d12ec169966">ValidateTensorShapesFromInputs</a> () override</td></tr> |
| 115 | <tr class="separator:a8c8f543d7e9729362c266d12ec169966"><td class="memSeparator" colspan="2"> </td></tr> |
| 116 | <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_quantized_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> |
| 117 | <tr class="separator:a65ca562c882ad619684445a1402f415a"><td class="memSeparator" colspan="2"> </td></tr> |
| 118 | <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_quantized_lstm_layer.html#a75a50f464326fefa605ea84ae2c9be85">Accept</a> (<a class="el" href="classarmnn_1_1_i_layer_visitor.html">ILayerVisitor</a> &visitor) const override</td></tr> |
| 119 | <tr class="separator:a75a50f464326fefa605ea84ae2c9be85"><td class="memSeparator" colspan="2"> </td></tr> |
| 120 | <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> |
| 121 | <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> |
| 122 | <tr class="separator:a5e5ae420d199a0bccae5139d38c30205 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 123 | <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> |
| 124 | <tr class="separator:a395d070748c18d903705799360088e80 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 125 | <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> |
| 126 | <tr class="separator:a9a97cb6d32661a57fc33bd29b8e41ff4 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 127 | <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> |
| 128 | <tr class="separator:af2c0edc7ea62a8baaec4d3d9b2b09256 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 129 | <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> |
| 130 | <tr class="separator:a1d4e05c17647232c514cfe58ca80744a inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 131 | <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> |
| 132 | <tr class="separator:af5f530544d09a44d726f24702b67b35b inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 133 | <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> |
| 134 | <tr class="separator:a98cdff4e0b45f4c80bfcedaf926e16e0 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 135 | <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> |
| 136 | <tr class="separator:af6cb8de21ef0da269ec9b67755ae92a0 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 137 | <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> |
| 138 | <tr class="separator:a9752e12d6b79e18da1a25f76159d2a72 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 139 | <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> |
| 140 | <tr class="separator:a817d4be6dd88f532d36f51748ec14185 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 141 | <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> |
| 142 | <tr class="separator:a55f76d98fcd2f5cdac3e2b14536cb7ab inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 143 | <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> |
| 144 | <tr class="separator:a22485f444124128940e798a42f0b76d9 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 145 | <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> |
| 146 | <tr class="separator:aac329cade047e952621b59a51a5d5f49 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 147 | <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> |
| 148 | <tr class="separator:af97a07195a67a638605b3c325763c2dd inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 149 | <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> |
| 150 | <tr class="separator:aaef29472862381822654ab6cbf7cba2a inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 151 | <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> |
| 152 | <tr class="separator:aea909c7327109228ef618d459015def3 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 153 | <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> |
| 154 | <tr class="separator:afdb1d37740e7a083b625d669588b6a0e inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 155 | <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> |
| 156 | <tr class="separator:a3f6ad59212fa8a47c9265162fff8a274 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 157 | <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> |
| 158 | <tr class="separator:a3ff62126ec713a2708e5fbaa6146a7de inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 159 | <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> |
| 160 | <tr class="separator:a0607e36e88f38c34c71c663164b76776 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 161 | <tr class="memitem:ac04cd8de9b9185756eb02463ffd432b1 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#ac04cd8de9b9185756eb02463ffd432b1">SerializeLayerParameters</a> (<a class="el" href="namespacearmnn.html#a8c42c6647e31ebe525aeba878d133e45">ParameterStringifyFunction</a> &fn) const</td></tr> |
| 162 | <tr class="separator:ac04cd8de9b9185756eb02463ffd432b1 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 163 | <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> |
| 164 | <tr class="separator:a339bef86bc340c3d1393ed83950fe8af inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 165 | <tr class="memitem:a386acff5f8430245239ce58d00ba7576 inherit pub_methods_classarmnn_1_1_layer"><td class="memTemplParams" colspan="2">template<typename Op > </td></tr> |
| 166 | <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> |
| 167 | <tr class="separator:a386acff5f8430245239ce58d00ba7576 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 168 | <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> |
| 169 | <tr class="separator:a7ddf0cf6f620d59c10e63495ace795d0 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 170 | <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> |
| 171 | <tr class="separator:abc0660dc440c8a285b456c9ef6383c26 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 172 | <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> |
| 173 | <tr class="separator:a1594bddc87d6477df300317658f566bb inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 174 | <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> |
| 175 | <tr class="separator:acf8b8e23bf647836592982f97088d375 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 176 | <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> |
| 177 | <tr class="separator:a1b50eb1358cdf382f4bc3fc8849f8e8e inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 178 | <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> |
| 179 | <tr class="separator:a0e36688a43c35668d8db5257274c68fe inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 180 | <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> |
| 181 | <tr class="separator:abbd71844785bb2f00a81baca30ea5ff0 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 182 | <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> |
| 183 | <tr class="separator:a6d1024208b672a87ef2c1bfaf93d2b9f inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 184 | <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> |
| 185 | <tr class="separator:a8dc12f0ee5b232d397bd18ced1a72a64 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 186 | <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> |
| 187 | <tr class="separator:a339248d89d5e21534ecf74b4393ed4d2 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 188 | <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> |
| 189 | <tr class="separator:a5e5520194ea4042fe07b0bf53c28f634 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 190 | <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> |
| 191 | <tr class="separator:a72b18e4c5a403bc3fe2fecf20135c8d6 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 192 | </table><table class="memberdecls"> |
| 193 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a> |
| 194 | Public Attributes</h2></td></tr> |
| 195 | <tr class="memitem:ad3c37b52145c3cf1b4856c0df008a468"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarmnn_1_1_quantized_lstm_parameters.html">QuantizedLstmParameters</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a></td></tr> |
| 196 | <tr class="separator:ad3c37b52145c3cf1b4856c0df008a468"><td class="memSeparator" colspan="2"> </td></tr> |
| 197 | </table><table class="memberdecls"> |
| 198 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a> |
| 199 | Protected Member Functions</h2></td></tr> |
| 200 | <tr class="memitem:a1e8a4f8777390120259787caa45d743a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantized_lstm_layer.html#a1e8a4f8777390120259787caa45d743a">QuantizedLstmLayer</a> (const char *name)</td></tr> |
| 201 | <tr class="separator:a1e8a4f8777390120259787caa45d743a"><td class="memSeparator" colspan="2"> </td></tr> |
| 202 | <tr class="memitem:a7bb743f4f47ed214a8dce7d0da26fdff"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantized_lstm_layer.html#a7bb743f4f47ed214a8dce7d0da26fdff">~QuantizedLstmLayer</a> ()=default</td></tr> |
| 203 | <tr class="memdesc:a7bb743f4f47ed214a8dce7d0da26fdff"><td class="mdescLeft"> </td><td class="mdescRight">Default destructor. <a href="#a7bb743f4f47ed214a8dce7d0da26fdff">More...</a><br /></td></tr> |
| 204 | <tr class="separator:a7bb743f4f47ed214a8dce7d0da26fdff"><td class="memSeparator" colspan="2"> </td></tr> |
| 205 | <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_quantized_lstm_layer.html#abe659a5afa7523f5dbc04bcba9b31f1a">GetConstantTensorsByRef</a> () override</td></tr> |
| 206 | <tr class="separator:abe659a5afa7523f5dbc04bcba9b31f1a"><td class="memSeparator" colspan="2"> </td></tr> |
| 207 | <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> |
| 208 | <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> |
| 209 | <tr class="separator:aacfb208d750bdfce1bbd423e5cac76e2 inherit pro_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 210 | <tr class="memitem:afc3239f5fc116259bf5451964e803646 inherit pro_methods_classarmnn_1_1_layer"><td class="memTemplParams" colspan="2">template<typename QueueDescriptor > </td></tr> |
| 211 | <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> |
| 212 | <tr class="separator:afc3239f5fc116259bf5451964e803646 inherit pro_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 213 | <tr class="memitem:a499ca5a94d0174ed21786b6994b2cd8c inherit pro_methods_classarmnn_1_1_layer"><td class="memTemplParams" colspan="2">template<typename QueueDescriptor > </td></tr> |
| 214 | <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> |
| 215 | <tr class="separator:a499ca5a94d0174ed21786b6994b2cd8c inherit pro_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 216 | <tr class="memitem:a30a858b2b26d651a066537e499fbf40d inherit pro_methods_classarmnn_1_1_layer"><td class="memTemplParams" colspan="2">template<typename QueueDescriptor > </td></tr> |
| 217 | <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> |
| 218 | <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> |
| 219 | <tr class="separator:a30a858b2b26d651a066537e499fbf40d inherit pro_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 220 | <tr class="memitem:aa10fd205c3f5469a9ecb2aa2a3ffd101 inherit pro_methods_classarmnn_1_1_layer"><td class="memTemplParams" colspan="2">template<typename LayerType , typename ... Params> </td></tr> |
| 221 | <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> |
| 222 | <tr class="separator:aa10fd205c3f5469a9ecb2aa2a3ffd101 inherit pro_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 223 | <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> |
| 224 | <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> |
| 225 | <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> |
| 226 | <tr class="separator:a8c7faf37c1d965431aaa02ae934d67ee inherit pro_methods_classarmnn_1_1_i_connectable_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 227 | </table><table class="memberdecls"> |
| 228 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> |
| 229 | Additional Inherited Members</h2></td></tr> |
| 230 | <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> |
| 231 | <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> |
| 232 | <tr class="separator:a585d59ec610af46a76487fd6c1c55ac1 inherit pro_types_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 233 | <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> |
| 234 | <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> |
| 235 | <tr class="separator:aa44d91037bba52ba0dec6577509ade3b inherit pro_attribs_classarmnn_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr> |
| 236 | </table> |
| 237 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 238 | <div class="textblock"><p>This layer represents a QuantizedLstm operation. </p> |
| 239 | |
| 240 | <p class="definition">Definition at line <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00045">45</a> of file <a class="el" href="_quantized_lstm_layer_8hpp_source.html">QuantizedLstmLayer.hpp</a>.</p> |
| 241 | </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| 242 | <a id="a1e8a4f8777390120259787caa45d743a"></a> |
| 243 | <h2 class="memtitle"><span class="permalink"><a href="#a1e8a4f8777390120259787caa45d743a">◆ </a></span>QuantizedLstmLayer()</h2> |
| 244 | |
| 245 | <div class="memitem"> |
| 246 | <div class="memproto"> |
| 247 | <table class="mlabels"> |
| 248 | <tr> |
| 249 | <td class="mlabels-left"> |
| 250 | <table class="memname"> |
| 251 | <tr> |
| 252 | <td class="memname"><a class="el" href="classarmnn_1_1_quantized_lstm_layer.html">QuantizedLstmLayer</a> </td> |
| 253 | <td>(</td> |
| 254 | <td class="paramtype">const char * </td> |
| 255 | <td class="paramname"><em>name</em></td><td>)</td> |
| 256 | <td></td> |
| 257 | </tr> |
| 258 | </table> |
| 259 | </td> |
| 260 | <td class="mlabels-right"> |
| 261 | <span class="mlabels"><span class="mlabel">protected</span></span> </td> |
| 262 | </tr> |
| 263 | </table> |
| 264 | </div><div class="memdoc"> |
| 265 | <p>Constructor to create a <a class="el" href="classarmnn_1_1_quantized_lstm_layer.html" title="This layer represents a QuantizedLstm operation. ">QuantizedLstmLayer</a>. </p><dl class="params"><dt>Parameters</dt><dd> |
| 266 | <table class="params"> |
| 267 | <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> |
| 268 | </table> |
| 269 | </dd> |
| 270 | </dl> |
| 271 | |
| 272 | <p class="definition">Definition at line <a class="el" href="_quantized_lstm_layer_8cpp_source.html#l00017">17</a> of file <a class="el" href="_quantized_lstm_layer_8cpp_source.html">QuantizedLstmLayer.cpp</a>.</p> |
| 273 | |
| 274 | <p class="reference">References <a class="el" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4a890a37ff3bfe123414ba7e6f052b49f3">armnn::QuantizedLstm</a>.</p> |
| 275 | <div class="fragment"><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  : <a class="code" href="classarmnn_1_1_layer.html#a5e5ae420d199a0bccae5139d38c30205">Layer</a>(3, 2, <a class="code" href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4a890a37ff3bfe123414ba7e6f052b49f3">LayerType::QuantizedLstm</a>, name)</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> {</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> }</div><div class="ttc" id="classarmnn_1_1_layer_html_a5e5ae420d199a0bccae5139d38c30205"><div class="ttname"><a href="classarmnn_1_1_layer.html#a5e5ae420d199a0bccae5139d38c30205">armnn::Layer::Layer</a></div><div class="ttdeci">Layer(unsigned int numInputSlots, unsigned int numOutputSlots, LayerType type, const char *name)</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8cpp_source.html#l00212">Layer.cpp:212</a></div></div> |
| 276 | <div class="ttc" id="namespacearmnn_html_a56943a0946e5f15e5e58054b8e7a04a4a890a37ff3bfe123414ba7e6f052b49f3"><div class="ttname"><a href="namespacearmnn.html#a56943a0946e5f15e5e58054b8e7a04a4a890a37ff3bfe123414ba7e6f052b49f3">armnn::LayerType::QuantizedLstm</a></div></div> |
| 277 | </div><!-- fragment --> |
| 278 | </div> |
| 279 | </div> |
| 280 | <a id="a7bb743f4f47ed214a8dce7d0da26fdff"></a> |
| 281 | <h2 class="memtitle"><span class="permalink"><a href="#a7bb743f4f47ed214a8dce7d0da26fdff">◆ </a></span>~QuantizedLstmLayer()</h2> |
| 282 | |
| 283 | <div class="memitem"> |
| 284 | <div class="memproto"> |
| 285 | <table class="mlabels"> |
| 286 | <tr> |
| 287 | <td class="mlabels-left"> |
| 288 | <table class="memname"> |
| 289 | <tr> |
| 290 | <td class="memname">~<a class="el" href="classarmnn_1_1_quantized_lstm_layer.html">QuantizedLstmLayer</a> </td> |
| 291 | <td>(</td> |
| 292 | <td class="paramname"></td><td>)</td> |
| 293 | <td></td> |
| 294 | </tr> |
| 295 | </table> |
| 296 | </td> |
| 297 | <td class="mlabels-right"> |
| 298 | <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">default</span></span> </td> |
| 299 | </tr> |
| 300 | </table> |
| 301 | </div><div class="memdoc"> |
| 302 | |
| 303 | <p>Default destructor. </p> |
| 304 | |
| 305 | </div> |
| 306 | </div> |
| 307 | <h2 class="groupheader">Member Function Documentation</h2> |
| 308 | <a id="a75a50f464326fefa605ea84ae2c9be85"></a> |
| 309 | <h2 class="memtitle"><span class="permalink"><a href="#a75a50f464326fefa605ea84ae2c9be85">◆ </a></span>Accept()</h2> |
| 310 | |
| 311 | <div class="memitem"> |
| 312 | <div class="memproto"> |
| 313 | <table class="mlabels"> |
| 314 | <tr> |
| 315 | <td class="mlabels-left"> |
| 316 | <table class="memname"> |
| 317 | <tr> |
| 318 | <td class="memname">void Accept </td> |
| 319 | <td>(</td> |
| 320 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_layer_visitor.html">ILayerVisitor</a> & </td> |
| 321 | <td class="paramname"><em>visitor</em></td><td>)</td> |
| 322 | <td> const</td> |
| 323 | </tr> |
| 324 | </table> |
| 325 | </td> |
| 326 | <td class="mlabels-right"> |
| 327 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 328 | </tr> |
| 329 | </table> |
| 330 | </div><div class="memdoc"> |
| 331 | |
| 332 | <p>Implements <a class="el" href="classarmnn_1_1_i_connectable_layer.html#a8c9198a992b02e61a6777329d487dde3">IConnectableLayer</a>.</p> |
| 333 | |
| 334 | <p class="definition">Definition at line <a class="el" href="_quantized_lstm_layer_8cpp_source.html#l00168">168</a> of file <a class="el" href="_quantized_lstm_layer_8cpp_source.html">QuantizedLstmLayer.cpp</a>.</p> |
| 335 | |
| 336 | <p class="reference">References <a class="el" href="_layer_8hpp_source.html#l00305">Layer::GetName()</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00039">QuantizedLstmParameters::m_CellBias</a>, <a class="el" href="_quantized_lstm_params_8hpp_source.html#l00045">QuantizedLstmInputParams::m_CellBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00037">QuantizedLstmParameters::m_ForgetGateBias</a>, <a class="el" href="_quantized_lstm_params_8hpp_source.html#l00044">QuantizedLstmInputParams::m_ForgetGateBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00035">QuantizedLstmParameters::m_InputGateBias</a>, <a class="el" href="_quantized_lstm_params_8hpp_source.html#l00043">QuantizedLstmInputParams::m_InputGateBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00021">QuantizedLstmParameters::m_InputToCellWeights</a>, <a class="el" href="_quantized_lstm_params_8hpp_source.html#l00035">QuantizedLstmInputParams::m_InputToCellWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00019">QuantizedLstmParameters::m_InputToForgetWeights</a>, <a class="el" href="_quantized_lstm_params_8hpp_source.html#l00034">QuantizedLstmInputParams::m_InputToForgetWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00017">QuantizedLstmParameters::m_InputToInputWeights</a>, <a class="el" href="_quantized_lstm_params_8hpp_source.html#l00033">QuantizedLstmInputParams::m_InputToInputWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00023">QuantizedLstmParameters::m_InputToOutputWeights</a>, <a class="el" href="_quantized_lstm_params_8hpp_source.html#l00036">QuantizedLstmInputParams::m_InputToOutputWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00041">QuantizedLstmParameters::m_OutputGateBias</a>, <a class="el" href="_quantized_lstm_params_8hpp_source.html#l00046">QuantizedLstmInputParams::m_OutputGateBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00049">QuantizedLstmLayer::m_QuantizedLstmParameters</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00030">QuantizedLstmParameters::m_RecurrentToCellWeights</a>, <a class="el" href="_quantized_lstm_params_8hpp_source.html#l00040">QuantizedLstmInputParams::m_RecurrentToCellWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00028">QuantizedLstmParameters::m_RecurrentToForgetWeights</a>, <a class="el" href="_quantized_lstm_params_8hpp_source.html#l00039">QuantizedLstmInputParams::m_RecurrentToForgetWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00026">QuantizedLstmParameters::m_RecurrentToInputWeights</a>, <a class="el" href="_quantized_lstm_params_8hpp_source.html#l00038">QuantizedLstmInputParams::m_RecurrentToInputWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00032">QuantizedLstmParameters::m_RecurrentToOutputWeights</a>, <a class="el" href="_quantized_lstm_params_8hpp_source.html#l00041">QuantizedLstmInputParams::m_RecurrentToOutputWeights</a>, and <a class="el" href="classarmnn_1_1_i_layer_visitor.html#acb1bac244973743d460064c1e0d816fd">ILayerVisitor::VisitQuantizedLstmLayer()</a>.</p> |
| 337 | <div class="fragment"><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>  QuantizedLstmInputParams inputParams;</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span> </div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="comment">// InputToX weight tensors</span></div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  ConstTensor inputToInputWeightsTensor;</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  {</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  ConstTensor inputToInputWeightsTensorCopy(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  inputToInputWeightsTensor = inputToInputWeightsTensorCopy;</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  inputParams.m_InputToInputWeights = &inputToInputWeightsTensor;</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  }</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span> </div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  ConstTensor inputToForgetWeightsTensor;</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  {</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  ConstTensor inputToForgetWeightsTensorCopy(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  inputToForgetWeightsTensor = inputToForgetWeightsTensorCopy;</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  inputParams.m_InputToForgetWeights = &inputToForgetWeightsTensor;</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  }</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span> </div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  ConstTensor inputToCellWeightsTensor;</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  {</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  ConstTensor inputToCellWeightsTensorCopy(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  inputToCellWeightsTensor = inputToCellWeightsTensorCopy;</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  inputParams.m_InputToCellWeights = &inputToCellWeightsTensor;</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  }</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span> </div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  ConstTensor inputToOutputWeightsTensor;</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  {</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  ConstTensor inputToOutputWeightsTensorCopy(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  inputToOutputWeightsTensor = inputToOutputWeightsTensorCopy;</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  inputParams.m_InputToOutputWeights = &inputToOutputWeightsTensor;</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  }</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span> </div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  <span class="comment">// RecurrentToX weight tensors</span></div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  ConstTensor recurrentToInputWeightsTensor;</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  {</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  ConstTensor recurrentToInputWeightsTensorCopy(</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  recurrentToInputWeightsTensor = recurrentToInputWeightsTensorCopy;</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  inputParams.m_RecurrentToInputWeights = &recurrentToInputWeightsTensor;</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  }</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span> </div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  ConstTensor recurrentToForgetWeightsTensor;</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  {</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  ConstTensor recurrentToForgetWeightsTensorCopy(</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  recurrentToForgetWeightsTensor = recurrentToForgetWeightsTensorCopy;</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  inputParams.m_RecurrentToForgetWeights = &recurrentToForgetWeightsTensor;</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  }</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span> </div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  ConstTensor recurrentToCellWeightsTensor;</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  {</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  ConstTensor recurrentToCellWeightsTensorCopy(</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  recurrentToCellWeightsTensor = recurrentToCellWeightsTensorCopy;</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  inputParams.m_RecurrentToCellWeights = &recurrentToCellWeightsTensor;</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  }</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span> </div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  ConstTensor recurrentToOutputWeightsTensor;</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  {</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  ConstTensor recurrentToOutputWeightsTensorCopy(</div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a>->GetTensorInfo(),</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  recurrentToOutputWeightsTensor = recurrentToOutputWeightsTensorCopy;</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  inputParams.m_RecurrentToOutputWeights = &recurrentToOutputWeightsTensor;</div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  }</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span> </div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  <span class="comment">// Bias tensors</span></div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  ConstTensor inputGateBiasTensor;</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  {</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  ConstTensor inputGateBiasTensorCopy(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a>->GetTensorInfo(),</div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  inputGateBiasTensor = inputGateBiasTensorCopy;</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  inputParams.m_InputGateBias = &inputGateBiasTensor;</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  }</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span> </div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  ConstTensor forgetGateBiasTensor;</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  {</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  ConstTensor forgetGateBiasTensorCopy(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a>->GetTensorInfo(),</div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  forgetGateBiasTensor = forgetGateBiasTensorCopy;</div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  inputParams.m_ForgetGateBias = &forgetGateBiasTensor;</div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  }</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span> </div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  ConstTensor cellBiasTensor;</div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  {</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  ConstTensor cellBiasTensorCopy(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a>->GetTensorInfo(),</div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  cellBiasTensor = cellBiasTensorCopy;</div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  inputParams.m_CellBias = &cellBiasTensor;</div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  }</div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span> </div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  ConstTensor outputGateBiasTensor;</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  {</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  ConstTensor outputGateBiasCopy(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a>->GetTensorInfo(),</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a>->Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  outputGateBiasTensor = outputGateBiasCopy;</div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  inputParams.m_OutputGateBias = &outputGateBiasTensor;</div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  }</div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span> </div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  visitor.VisitQuantizedLstmLayer(<span class="keyword">this</span>, inputParams, <a class="code" href="classarmnn_1_1_layer.html#a7ddf0cf6f620d59c10e63495ace795d0">GetName</a>());</div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span> }</div><div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a0e0e17d5b494993407cb75d614455ddd"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a0e0e17d5b494993407cb75d614455ddd">armnn::QuantizedLstmParameters::m_ForgetGateBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_ForgetGateBias</div><div class="ttdoc">A unique pointer to represent 1D bias tensor with dimensions [outputSize] (int32). </div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00037">QuantizedLstmLayer.hpp:37</a></div></div> |
| 338 | <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> |
| 339 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a9945bc99f8a7400c0724117e29cb3abb"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a9945bc99f8a7400c0724117e29cb3abb">armnn::QuantizedLstmParameters::m_InputGateBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputGateBias</div><div class="ttdoc">A unique pointer to represent 1D bias tensor with dimensions [outputSize] (int32). </div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00035">QuantizedLstmLayer.hpp:35</a></div></div> |
| 340 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a6e8c3db3c5474f0760553ff93fbc39e6"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8c3db3c5474f0760553ff93fbc39e6">armnn::QuantizedLstmParameters::m_RecurrentToCellWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToCellWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, outputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00030">QuantizedLstmLayer.hpp:30</a></div></div> |
| 341 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a91dda74af4085ae43913746ad817795a"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a91dda74af4085ae43913746ad817795a">armnn::QuantizedLstmParameters::m_RecurrentToOutputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToOutputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, outputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00032">QuantizedLstmLayer.hpp:32</a></div></div> |
| 342 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a6e8971757790a032e5936da7847ba14b"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8971757790a032e5936da7847ba14b">armnn::QuantizedLstmParameters::m_RecurrentToInputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToInputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, outputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00026">QuantizedLstmLayer.hpp:26</a></div></div> |
| 343 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a4d731c5e73638c7cf7e63f65e9f8b550"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">armnn::QuantizedLstmParameters::m_InputToInputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToInputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, inputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00017">QuantizedLstmLayer.hpp:17</a></div></div> |
| 344 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_aacb55e0992b6781a7bd3225ab6e6bb2f"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#aacb55e0992b6781a7bd3225ab6e6bb2f">armnn::QuantizedLstmParameters::m_OutputGateBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_OutputGateBias</div><div class="ttdoc">A unique pointer to represent 1D bias tensor with dimensions [outputSize] (int32). </div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00041">QuantizedLstmLayer.hpp:41</a></div></div> |
| 345 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a3d5f129421bbe6479a66d4ed1356bf68"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a3d5f129421bbe6479a66d4ed1356bf68">armnn::QuantizedLstmParameters::m_RecurrentToForgetWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToForgetWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, outputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00028">QuantizedLstmLayer.hpp:28</a></div></div> |
| 346 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a14ab2bc78421c417c4f97a65b0bd78f9"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a14ab2bc78421c417c4f97a65b0bd78f9">armnn::QuantizedLstmParameters::m_InputToCellWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToCellWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, inputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00021">QuantizedLstmLayer.hpp:21</a></div></div> |
| 347 | <div class="ttc" id="classarmnn_1_1_quantized_lstm_layer_html_ad3c37b52145c3cf1b4856c0df008a468"><div class="ttname"><a href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">armnn::QuantizedLstmLayer::m_QuantizedLstmParameters</a></div><div class="ttdeci">QuantizedLstmParameters m_QuantizedLstmParameters</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00049">QuantizedLstmLayer.hpp:49</a></div></div> |
| 348 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_ae8d897b8d282f25a6eb784c4aaa98df6"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#ae8d897b8d282f25a6eb784c4aaa98df6">armnn::QuantizedLstmParameters::m_InputToOutputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToOutputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, inputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00023">QuantizedLstmLayer.hpp:23</a></div></div> |
| 349 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a5a0d8af26a6aad1e5be521ea7dc550eb"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a5a0d8af26a6aad1e5be521ea7dc550eb">armnn::QuantizedLstmParameters::m_InputToForgetWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToForgetWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, inputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00019">QuantizedLstmLayer.hpp:19</a></div></div> |
| 350 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a51255889cbc063130a3d691c1781c5d3"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a51255889cbc063130a3d691c1781c5d3">armnn::QuantizedLstmParameters::m_CellBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_CellBias</div><div class="ttdoc">A unique pointer to represent 1D bias tensor with dimensions [outputSize] (int32). </div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00039">QuantizedLstmLayer.hpp:39</a></div></div> |
| 351 | </div><!-- fragment --> |
| 352 | </div> |
| 353 | </div> |
| 354 | <a id="a08edea9423b6da5da174ce5269f6e28b"></a> |
| 355 | <h2 class="memtitle"><span class="permalink"><a href="#a08edea9423b6da5da174ce5269f6e28b">◆ </a></span>Clone()</h2> |
| 356 | |
| 357 | <div class="memitem"> |
| 358 | <div class="memproto"> |
| 359 | <table class="mlabels"> |
| 360 | <tr> |
| 361 | <td class="mlabels-left"> |
| 362 | <table class="memname"> |
| 363 | <tr> |
| 364 | <td class="memname"><a class="el" href="classarmnn_1_1_quantized_lstm_layer.html">QuantizedLstmLayer</a> * Clone </td> |
| 365 | <td>(</td> |
| 366 | <td class="paramtype"><a class="el" href="classarmnn_1_1_graph.html">Graph</a> & </td> |
| 367 | <td class="paramname"><em>graph</em></td><td>)</td> |
| 368 | <td> const</td> |
| 369 | </tr> |
| 370 | </table> |
| 371 | </td> |
| 372 | <td class="mlabels-right"> |
| 373 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 374 | </tr> |
| 375 | </table> |
| 376 | </div><div class="memdoc"> |
| 377 | <p>Creates a dynamically-allocated copy of this layer. </p><dl class="params"><dt>Parameters</dt><dd> |
| 378 | <table class="params"> |
| 379 | <tr><td class="paramdir">[in]</td><td class="paramname">graph</td><td>The graph into which this layer is being cloned. </td></tr> |
| 380 | </table> |
| 381 | </dd> |
| 382 | </dl> |
| 383 | |
| 384 | <p>Implements <a class="el" href="classarmnn_1_1_layer.html#ae89ff455503aa106d00bf34103d2f2e0">Layer</a>.</p> |
| 385 | |
| 386 | <p class="definition">Definition at line <a class="el" href="_quantized_lstm_layer_8cpp_source.html#l00045">45</a> of file <a class="el" href="_quantized_lstm_layer_8cpp_source.html">QuantizedLstmLayer.cpp</a>.</p> |
| 387 | |
| 388 | <p class="reference">References <a class="el" href="_layer_8hpp_source.html#l00305">Layer::GetName()</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00039">QuantizedLstmParameters::m_CellBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00037">QuantizedLstmParameters::m_ForgetGateBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00035">QuantizedLstmParameters::m_InputGateBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00021">QuantizedLstmParameters::m_InputToCellWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00019">QuantizedLstmParameters::m_InputToForgetWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00017">QuantizedLstmParameters::m_InputToInputWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00023">QuantizedLstmParameters::m_InputToOutputWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00041">QuantizedLstmParameters::m_OutputGateBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00049">QuantizedLstmLayer::m_QuantizedLstmParameters</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00030">QuantizedLstmParameters::m_RecurrentToCellWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00028">QuantizedLstmParameters::m_RecurrentToForgetWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00026">QuantizedLstmParameters::m_RecurrentToInputWeights</a>, and <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00032">QuantizedLstmParameters::m_RecurrentToOutputWeights</a>.</p> |
| 389 | <div class="fragment"><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> {</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keyword">auto</span> layer = CloneBase<QuantizedLstmLayer>(graph, <a class="code" href="classarmnn_1_1_layer.html#a7ddf0cf6f620d59c10e63495ace795d0">GetName</a>());</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> </div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  layer->m_QuantizedLstmParameters.m_InputToInputWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a> ?</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  layer->m_QuantizedLstmParameters.m_InputToForgetWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a> ?</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  layer->m_QuantizedLstmParameters.m_InputToCellWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a> ?</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  layer->m_QuantizedLstmParameters.m_InputToOutputWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a> ?</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  layer->m_QuantizedLstmParameters.m_RecurrentToInputWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a> ?</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  layer->m_QuantizedLstmParameters.m_RecurrentToForgetWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  ? std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  layer->m_QuantizedLstmParameters.m_RecurrentToCellWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a> ?</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  layer->m_QuantizedLstmParameters.m_RecurrentToOutputWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a></div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  ? std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> </div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  layer->m_QuantizedLstmParameters.m_InputGateBias = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a> ?</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  layer->m_QuantizedLstmParameters.m_ForgetGateBias = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a> ?</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  layer->m_QuantizedLstmParameters.m_CellBias = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a> ?</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  layer->m_QuantizedLstmParameters.m_OutputGateBias = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a> ?</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  std::make_unique<ScopedCpuTensorHandle>(*<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> </div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keywordflow">return</span> std::move(layer);</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> }</div><div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a0e0e17d5b494993407cb75d614455ddd"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a0e0e17d5b494993407cb75d614455ddd">armnn::QuantizedLstmParameters::m_ForgetGateBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_ForgetGateBias</div><div class="ttdoc">A unique pointer to represent 1D bias tensor with dimensions [outputSize] (int32). </div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00037">QuantizedLstmLayer.hpp:37</a></div></div> |
| 390 | <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> |
| 391 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a9945bc99f8a7400c0724117e29cb3abb"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a9945bc99f8a7400c0724117e29cb3abb">armnn::QuantizedLstmParameters::m_InputGateBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputGateBias</div><div class="ttdoc">A unique pointer to represent 1D bias tensor with dimensions [outputSize] (int32). </div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00035">QuantizedLstmLayer.hpp:35</a></div></div> |
| 392 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a6e8c3db3c5474f0760553ff93fbc39e6"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8c3db3c5474f0760553ff93fbc39e6">armnn::QuantizedLstmParameters::m_RecurrentToCellWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToCellWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, outputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00030">QuantizedLstmLayer.hpp:30</a></div></div> |
| 393 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a91dda74af4085ae43913746ad817795a"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a91dda74af4085ae43913746ad817795a">armnn::QuantizedLstmParameters::m_RecurrentToOutputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToOutputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, outputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00032">QuantizedLstmLayer.hpp:32</a></div></div> |
| 394 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a6e8971757790a032e5936da7847ba14b"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8971757790a032e5936da7847ba14b">armnn::QuantizedLstmParameters::m_RecurrentToInputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToInputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, outputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00026">QuantizedLstmLayer.hpp:26</a></div></div> |
| 395 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a4d731c5e73638c7cf7e63f65e9f8b550"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">armnn::QuantizedLstmParameters::m_InputToInputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToInputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, inputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00017">QuantizedLstmLayer.hpp:17</a></div></div> |
| 396 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_aacb55e0992b6781a7bd3225ab6e6bb2f"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#aacb55e0992b6781a7bd3225ab6e6bb2f">armnn::QuantizedLstmParameters::m_OutputGateBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_OutputGateBias</div><div class="ttdoc">A unique pointer to represent 1D bias tensor with dimensions [outputSize] (int32). </div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00041">QuantizedLstmLayer.hpp:41</a></div></div> |
| 397 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a3d5f129421bbe6479a66d4ed1356bf68"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a3d5f129421bbe6479a66d4ed1356bf68">armnn::QuantizedLstmParameters::m_RecurrentToForgetWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToForgetWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, outputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00028">QuantizedLstmLayer.hpp:28</a></div></div> |
| 398 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a14ab2bc78421c417c4f97a65b0bd78f9"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a14ab2bc78421c417c4f97a65b0bd78f9">armnn::QuantizedLstmParameters::m_InputToCellWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToCellWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, inputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00021">QuantizedLstmLayer.hpp:21</a></div></div> |
| 399 | <div class="ttc" id="classarmnn_1_1_quantized_lstm_layer_html_ad3c37b52145c3cf1b4856c0df008a468"><div class="ttname"><a href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">armnn::QuantizedLstmLayer::m_QuantizedLstmParameters</a></div><div class="ttdeci">QuantizedLstmParameters m_QuantizedLstmParameters</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00049">QuantizedLstmLayer.hpp:49</a></div></div> |
| 400 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_ae8d897b8d282f25a6eb784c4aaa98df6"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#ae8d897b8d282f25a6eb784c4aaa98df6">armnn::QuantizedLstmParameters::m_InputToOutputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToOutputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, inputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00023">QuantizedLstmLayer.hpp:23</a></div></div> |
| 401 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a5a0d8af26a6aad1e5be521ea7dc550eb"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a5a0d8af26a6aad1e5be521ea7dc550eb">armnn::QuantizedLstmParameters::m_InputToForgetWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToForgetWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, inputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00019">QuantizedLstmLayer.hpp:19</a></div></div> |
| 402 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a51255889cbc063130a3d691c1781c5d3"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a51255889cbc063130a3d691c1781c5d3">armnn::QuantizedLstmParameters::m_CellBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_CellBias</div><div class="ttdoc">A unique pointer to represent 1D bias tensor with dimensions [outputSize] (int32). </div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00039">QuantizedLstmLayer.hpp:39</a></div></div> |
| 403 | </div><!-- fragment --> |
| 404 | </div> |
| 405 | </div> |
| 406 | <a id="adfa912d0c4c6c00f1af2cbfa799572b7"></a> |
| 407 | <h2 class="memtitle"><span class="permalink"><a href="#adfa912d0c4c6c00f1af2cbfa799572b7">◆ </a></span>CreateWorkload()</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">std::unique_ptr< <a class="el" href="classarmnn_1_1_i_workload.html">IWorkload</a> > CreateWorkload </td> |
| 417 | <td>(</td> |
| 418 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_workload_factory.html">IWorkloadFactory</a> & </td> |
| 419 | <td class="paramname"><em>factory</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>Makes a workload for the QuantizedLstm type. </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 where this layer can be found. </td></tr> |
| 432 | <tr><td class="paramdir">[in]</td><td class="paramname">factory</td><td>The workload factory which will create the workload. </td></tr> |
| 433 | </table> |
| 434 | </dd> |
| 435 | </dl> |
| 436 | <dl class="section return"><dt>Returns</dt><dd>A pointer to the created workload, or nullptr if not created. </dd></dl> |
| 437 | |
| 438 | <p>Implements <a class="el" href="classarmnn_1_1_layer.html#a08d1e10a45f15cd0bd02557be35a3864">Layer</a>.</p> |
| 439 | |
| 440 | <p class="definition">Definition at line <a class="el" href="_quantized_lstm_layer_8cpp_source.html#l00022">22</a> of file <a class="el" href="_quantized_lstm_layer_8cpp_source.html">QuantizedLstmLayer.cpp</a>.</p> |
| 441 | |
| 442 | <p class="reference">References <a class="el" href="_workload_factory_8cpp_source.html#l01347">IWorkloadFactory::CreateQuantizedLstm()</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00039">QuantizedLstmParameters::m_CellBias</a>, <a class="el" href="_workload_data_8hpp_source.html#l00538">QuantizedLstmQueueDescriptor::m_CellBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00037">QuantizedLstmParameters::m_ForgetGateBias</a>, <a class="el" href="_workload_data_8hpp_source.html#l00537">QuantizedLstmQueueDescriptor::m_ForgetGateBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00035">QuantizedLstmParameters::m_InputGateBias</a>, <a class="el" href="_workload_data_8hpp_source.html#l00536">QuantizedLstmQueueDescriptor::m_InputGateBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00021">QuantizedLstmParameters::m_InputToCellWeights</a>, <a class="el" href="_workload_data_8hpp_source.html#l00528">QuantizedLstmQueueDescriptor::m_InputToCellWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00019">QuantizedLstmParameters::m_InputToForgetWeights</a>, <a class="el" href="_workload_data_8hpp_source.html#l00527">QuantizedLstmQueueDescriptor::m_InputToForgetWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00017">QuantizedLstmParameters::m_InputToInputWeights</a>, <a class="el" href="_workload_data_8hpp_source.html#l00526">QuantizedLstmQueueDescriptor::m_InputToInputWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00023">QuantizedLstmParameters::m_InputToOutputWeights</a>, <a class="el" href="_workload_data_8hpp_source.html#l00529">QuantizedLstmQueueDescriptor::m_InputToOutputWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00041">QuantizedLstmParameters::m_OutputGateBias</a>, <a class="el" href="_workload_data_8hpp_source.html#l00539">QuantizedLstmQueueDescriptor::m_OutputGateBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00049">QuantizedLstmLayer::m_QuantizedLstmParameters</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00030">QuantizedLstmParameters::m_RecurrentToCellWeights</a>, <a class="el" href="_workload_data_8hpp_source.html#l00533">QuantizedLstmQueueDescriptor::m_RecurrentToCellWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00028">QuantizedLstmParameters::m_RecurrentToForgetWeights</a>, <a class="el" href="_workload_data_8hpp_source.html#l00532">QuantizedLstmQueueDescriptor::m_RecurrentToForgetWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00026">QuantizedLstmParameters::m_RecurrentToInputWeights</a>, <a class="el" href="_workload_data_8hpp_source.html#l00531">QuantizedLstmQueueDescriptor::m_RecurrentToInputWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00032">QuantizedLstmParameters::m_RecurrentToOutputWeights</a>, <a class="el" href="_workload_data_8hpp_source.html#l00534">QuantizedLstmQueueDescriptor::m_RecurrentToOutputWeights</a>, and <a class="el" href="_layer_8hpp_source.html#l00344">Layer::PrepInfoAndDesc()</a>.</p> |
| 443 | <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>  QuantizedLstmQueueDescriptor descriptor;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="comment">// QuantizedLstmLayer parameters - there are no optional params</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  descriptor.m_InputToInputWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a>.get();</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  descriptor.m_InputToForgetWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a>.get();</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  descriptor.m_InputToCellWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a>.get();</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  descriptor.m_InputToOutputWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a>.get();</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  descriptor.m_RecurrentToInputWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a>.get();</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  descriptor.m_RecurrentToForgetWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a>.get();</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  descriptor.m_RecurrentToCellWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a>.get();</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  descriptor.m_RecurrentToOutputWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a>.get();</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  descriptor.m_InputGateBias = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a>.get();</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  descriptor.m_ForgetGateBias = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a>.get();</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  descriptor.m_CellBias = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a>.get();</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  descriptor.m_OutputGateBias = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a>.get();</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keywordflow">return</span> factory.CreateQuantizedLstm(descriptor, <a class="code" href="classarmnn_1_1_layer.html#a30a858b2b26d651a066537e499fbf40d">PrepInfoAndDesc</a>(descriptor));</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> }</div><div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a0e0e17d5b494993407cb75d614455ddd"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a0e0e17d5b494993407cb75d614455ddd">armnn::QuantizedLstmParameters::m_ForgetGateBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_ForgetGateBias</div><div class="ttdoc">A unique pointer to represent 1D bias tensor with dimensions [outputSize] (int32). </div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00037">QuantizedLstmLayer.hpp:37</a></div></div> |
| 444 | <div class="ttc" id="classarmnn_1_1_layer_html_a30a858b2b26d651a066537e499fbf40d"><div class="ttname"><a href="classarmnn_1_1_layer.html#a30a858b2b26d651a066537e499fbf40d">armnn::Layer::PrepInfoAndDesc</a></div><div class="ttdeci">WorkloadInfo PrepInfoAndDesc(QueueDescriptor &descriptor) const</div><div class="ttdoc">Helper function to reduce duplication in *LayerCreateWorkload. </div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.html#l00344">Layer.hpp:344</a></div></div> |
| 445 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a9945bc99f8a7400c0724117e29cb3abb"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a9945bc99f8a7400c0724117e29cb3abb">armnn::QuantizedLstmParameters::m_InputGateBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputGateBias</div><div class="ttdoc">A unique pointer to represent 1D bias tensor with dimensions [outputSize] (int32). </div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00035">QuantizedLstmLayer.hpp:35</a></div></div> |
| 446 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a6e8c3db3c5474f0760553ff93fbc39e6"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8c3db3c5474f0760553ff93fbc39e6">armnn::QuantizedLstmParameters::m_RecurrentToCellWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToCellWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, outputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00030">QuantizedLstmLayer.hpp:30</a></div></div> |
| 447 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a91dda74af4085ae43913746ad817795a"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a91dda74af4085ae43913746ad817795a">armnn::QuantizedLstmParameters::m_RecurrentToOutputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToOutputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, outputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00032">QuantizedLstmLayer.hpp:32</a></div></div> |
| 448 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a6e8971757790a032e5936da7847ba14b"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8971757790a032e5936da7847ba14b">armnn::QuantizedLstmParameters::m_RecurrentToInputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToInputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, outputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00026">QuantizedLstmLayer.hpp:26</a></div></div> |
| 449 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a4d731c5e73638c7cf7e63f65e9f8b550"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">armnn::QuantizedLstmParameters::m_InputToInputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToInputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, inputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00017">QuantizedLstmLayer.hpp:17</a></div></div> |
| 450 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_aacb55e0992b6781a7bd3225ab6e6bb2f"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#aacb55e0992b6781a7bd3225ab6e6bb2f">armnn::QuantizedLstmParameters::m_OutputGateBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_OutputGateBias</div><div class="ttdoc">A unique pointer to represent 1D bias tensor with dimensions [outputSize] (int32). </div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00041">QuantizedLstmLayer.hpp:41</a></div></div> |
| 451 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a3d5f129421bbe6479a66d4ed1356bf68"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a3d5f129421bbe6479a66d4ed1356bf68">armnn::QuantizedLstmParameters::m_RecurrentToForgetWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToForgetWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, outputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00028">QuantizedLstmLayer.hpp:28</a></div></div> |
| 452 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a14ab2bc78421c417c4f97a65b0bd78f9"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a14ab2bc78421c417c4f97a65b0bd78f9">armnn::QuantizedLstmParameters::m_InputToCellWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToCellWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, inputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00021">QuantizedLstmLayer.hpp:21</a></div></div> |
| 453 | <div class="ttc" id="classarmnn_1_1_quantized_lstm_layer_html_ad3c37b52145c3cf1b4856c0df008a468"><div class="ttname"><a href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">armnn::QuantizedLstmLayer::m_QuantizedLstmParameters</a></div><div class="ttdeci">QuantizedLstmParameters m_QuantizedLstmParameters</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00049">QuantizedLstmLayer.hpp:49</a></div></div> |
| 454 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_ae8d897b8d282f25a6eb784c4aaa98df6"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#ae8d897b8d282f25a6eb784c4aaa98df6">armnn::QuantizedLstmParameters::m_InputToOutputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToOutputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, inputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00023">QuantizedLstmLayer.hpp:23</a></div></div> |
| 455 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a5a0d8af26a6aad1e5be521ea7dc550eb"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a5a0d8af26a6aad1e5be521ea7dc550eb">armnn::QuantizedLstmParameters::m_InputToForgetWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToForgetWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, inputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00019">QuantizedLstmLayer.hpp:19</a></div></div> |
| 456 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a51255889cbc063130a3d691c1781c5d3"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a51255889cbc063130a3d691c1781c5d3">armnn::QuantizedLstmParameters::m_CellBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_CellBias</div><div class="ttdoc">A unique pointer to represent 1D bias tensor with dimensions [outputSize] (int32). </div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00039">QuantizedLstmLayer.hpp:39</a></div></div> |
| 457 | </div><!-- fragment --> |
| 458 | </div> |
| 459 | </div> |
| 460 | <a id="abe659a5afa7523f5dbc04bcba9b31f1a"></a> |
| 461 | <h2 class="memtitle"><span class="permalink"><a href="#abe659a5afa7523f5dbc04bcba9b31f1a">◆ </a></span>GetConstantTensorsByRef()</h2> |
| 462 | |
| 463 | <div class="memitem"> |
| 464 | <div class="memproto"> |
| 465 | <table class="mlabels"> |
| 466 | <tr> |
| 467 | <td class="mlabels-left"> |
| 468 | <table class="memname"> |
| 469 | <tr> |
| 470 | <td class="memname"><a class="el" href="classarmnn_1_1_layer.html#a585d59ec610af46a76487fd6c1c55ac1">Layer::ConstantTensors</a> GetConstantTensorsByRef </td> |
| 471 | <td>(</td> |
| 472 | <td class="paramname"></td><td>)</td> |
| 473 | <td></td> |
| 474 | </tr> |
| 475 | </table> |
| 476 | </td> |
| 477 | <td class="mlabels-right"> |
| 478 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td> |
| 479 | </tr> |
| 480 | </table> |
| 481 | </div><div class="memdoc"> |
| 482 | <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> |
| 483 | |
| 484 | <p>Reimplemented from <a class="el" href="classarmnn_1_1_layer.html#afbeac2d77ecaadc3e303a163b4146961">Layer</a>.</p> |
| 485 | |
| 486 | <p class="definition">Definition at line <a class="el" href="_quantized_lstm_layer_8cpp_source.html#l00147">147</a> of file <a class="el" href="_quantized_lstm_layer_8cpp_source.html">QuantizedLstmLayer.cpp</a>.</p> |
| 487 | |
| 488 | <p class="reference">References <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00039">QuantizedLstmParameters::m_CellBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00037">QuantizedLstmParameters::m_ForgetGateBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00035">QuantizedLstmParameters::m_InputGateBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00021">QuantizedLstmParameters::m_InputToCellWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00019">QuantizedLstmParameters::m_InputToForgetWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00017">QuantizedLstmParameters::m_InputToInputWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00023">QuantizedLstmParameters::m_InputToOutputWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00041">QuantizedLstmParameters::m_OutputGateBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00049">QuantizedLstmLayer::m_QuantizedLstmParameters</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00030">QuantizedLstmParameters::m_RecurrentToCellWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00028">QuantizedLstmParameters::m_RecurrentToForgetWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00026">QuantizedLstmParameters::m_RecurrentToInputWeights</a>, and <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00032">QuantizedLstmParameters::m_RecurrentToOutputWeights</a>.</p> |
| 489 | <div class="fragment"><div class="line"><a name="l00148"></a><span class="lineno"> 148</span> {</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="keywordflow">return</span></div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  {</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a>,</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a>,</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a>,</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a>,</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span> </div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a>,</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a>,</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a>,</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a>,</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span> </div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a>,</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a>,</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a>,</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a></div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  };</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span> }</div><div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a0e0e17d5b494993407cb75d614455ddd"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a0e0e17d5b494993407cb75d614455ddd">armnn::QuantizedLstmParameters::m_ForgetGateBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_ForgetGateBias</div><div class="ttdoc">A unique pointer to represent 1D bias tensor with dimensions [outputSize] (int32). </div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00037">QuantizedLstmLayer.hpp:37</a></div></div> |
| 490 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a9945bc99f8a7400c0724117e29cb3abb"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a9945bc99f8a7400c0724117e29cb3abb">armnn::QuantizedLstmParameters::m_InputGateBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputGateBias</div><div class="ttdoc">A unique pointer to represent 1D bias tensor with dimensions [outputSize] (int32). </div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00035">QuantizedLstmLayer.hpp:35</a></div></div> |
| 491 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a6e8c3db3c5474f0760553ff93fbc39e6"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8c3db3c5474f0760553ff93fbc39e6">armnn::QuantizedLstmParameters::m_RecurrentToCellWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToCellWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, outputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00030">QuantizedLstmLayer.hpp:30</a></div></div> |
| 492 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a91dda74af4085ae43913746ad817795a"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a91dda74af4085ae43913746ad817795a">armnn::QuantizedLstmParameters::m_RecurrentToOutputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToOutputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, outputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00032">QuantizedLstmLayer.hpp:32</a></div></div> |
| 493 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a6e8971757790a032e5936da7847ba14b"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8971757790a032e5936da7847ba14b">armnn::QuantizedLstmParameters::m_RecurrentToInputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToInputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, outputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00026">QuantizedLstmLayer.hpp:26</a></div></div> |
| 494 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a4d731c5e73638c7cf7e63f65e9f8b550"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">armnn::QuantizedLstmParameters::m_InputToInputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToInputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, inputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00017">QuantizedLstmLayer.hpp:17</a></div></div> |
| 495 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_aacb55e0992b6781a7bd3225ab6e6bb2f"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#aacb55e0992b6781a7bd3225ab6e6bb2f">armnn::QuantizedLstmParameters::m_OutputGateBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_OutputGateBias</div><div class="ttdoc">A unique pointer to represent 1D bias tensor with dimensions [outputSize] (int32). </div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00041">QuantizedLstmLayer.hpp:41</a></div></div> |
| 496 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a3d5f129421bbe6479a66d4ed1356bf68"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a3d5f129421bbe6479a66d4ed1356bf68">armnn::QuantizedLstmParameters::m_RecurrentToForgetWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToForgetWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, outputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00028">QuantizedLstmLayer.hpp:28</a></div></div> |
| 497 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a14ab2bc78421c417c4f97a65b0bd78f9"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a14ab2bc78421c417c4f97a65b0bd78f9">armnn::QuantizedLstmParameters::m_InputToCellWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToCellWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, inputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00021">QuantizedLstmLayer.hpp:21</a></div></div> |
| 498 | <div class="ttc" id="classarmnn_1_1_quantized_lstm_layer_html_ad3c37b52145c3cf1b4856c0df008a468"><div class="ttname"><a href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">armnn::QuantizedLstmLayer::m_QuantizedLstmParameters</a></div><div class="ttdeci">QuantizedLstmParameters m_QuantizedLstmParameters</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00049">QuantizedLstmLayer.hpp:49</a></div></div> |
| 499 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_ae8d897b8d282f25a6eb784c4aaa98df6"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#ae8d897b8d282f25a6eb784c4aaa98df6">armnn::QuantizedLstmParameters::m_InputToOutputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToOutputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, inputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00023">QuantizedLstmLayer.hpp:23</a></div></div> |
| 500 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a5a0d8af26a6aad1e5be521ea7dc550eb"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a5a0d8af26a6aad1e5be521ea7dc550eb">armnn::QuantizedLstmParameters::m_InputToForgetWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToForgetWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, inputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00019">QuantizedLstmLayer.hpp:19</a></div></div> |
| 501 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a51255889cbc063130a3d691c1781c5d3"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a51255889cbc063130a3d691c1781c5d3">armnn::QuantizedLstmParameters::m_CellBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_CellBias</div><div class="ttdoc">A unique pointer to represent 1D bias tensor with dimensions [outputSize] (int32). </div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00039">QuantizedLstmLayer.hpp:39</a></div></div> |
| 502 | </div><!-- fragment --> |
| 503 | </div> |
| 504 | </div> |
| 505 | <a id="a65ca562c882ad619684445a1402f415a"></a> |
| 506 | <h2 class="memtitle"><span class="permalink"><a href="#a65ca562c882ad619684445a1402f415a">◆ </a></span>InferOutputShapes()</h2> |
| 507 | |
| 508 | <div class="memitem"> |
| 509 | <div class="memproto"> |
| 510 | <table class="mlabels"> |
| 511 | <tr> |
| 512 | <td class="mlabels-left"> |
| 513 | <table class="memname"> |
| 514 | <tr> |
| 515 | <td class="memname">std::vector< <a class="el" href="classarmnn_1_1_tensor_shape.html">TensorShape</a> > InferOutputShapes </td> |
| 516 | <td>(</td> |
| 517 | <td class="paramtype">const std::vector< <a class="el" href="classarmnn_1_1_tensor_shape.html">TensorShape</a> > & </td> |
| 518 | <td class="paramname"><em>inputShapes</em></td><td>)</td> |
| 519 | <td> const</td> |
| 520 | </tr> |
| 521 | </table> |
| 522 | </td> |
| 523 | <td class="mlabels-right"> |
| 524 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 525 | </tr> |
| 526 | </table> |
| 527 | </div><div class="memdoc"> |
| 528 | <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> |
| 529 | <table class="params"> |
| 530 | <tr><td class="paramdir">[in]</td><td class="paramname">inputShapes</td><td>The input shapes layer has. </td></tr> |
| 531 | </table> |
| 532 | </dd> |
| 533 | </dl> |
| 534 | <dl class="section return"><dt>Returns</dt><dd>A vector to the inferred output shape. </dd></dl> |
| 535 | |
| 536 | <p>Reimplemented from <a class="el" href="classarmnn_1_1_layer.html#a65ca562c882ad619684445a1402f415a">Layer</a>.</p> |
| 537 | |
| 538 | <p class="definition">Definition at line <a class="el" href="_quantized_lstm_layer_8cpp_source.html#l00079">79</a> of file <a class="el" href="_quantized_lstm_layer_8cpp_source.html">QuantizedLstmLayer.cpp</a>.</p> |
| 539 | |
| 540 | <p class="reference">Referenced by <a class="el" href="_infer_output_tests_8hpp_source.html#l00534">QuantizedLstmInferOutputShapeImpl()</a>, and <a class="el" href="_quantized_lstm_layer_8cpp_source.html#l00094">QuantizedLstmLayer::ValidateTensorShapesFromInputs()</a>.</p> |
| 541 | <div class="fragment"><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> {</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  BOOST_ASSERT(inputShapes.size() == 3);</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="comment">// Get input values for validation</span></div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> numBatches = inputShapes[0][0];</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> outputSize = inputShapes[1][1];</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  std::vector<TensorShape> outShapes;</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  outShapes.push_back(TensorShape({numBatches, outputSize})); <span class="comment">// cellStateOut</span></div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  outShapes.push_back(TensorShape({numBatches, outputSize})); <span class="comment">// output</span></div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> </div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordflow">return</span> outShapes;</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span> }</div></div><!-- fragment --> |
| 542 | </div> |
| 543 | </div> |
| 544 | <a id="a8c8f543d7e9729362c266d12ec169966"></a> |
| 545 | <h2 class="memtitle"><span class="permalink"><a href="#a8c8f543d7e9729362c266d12ec169966">◆ </a></span>ValidateTensorShapesFromInputs()</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">void ValidateTensorShapesFromInputs </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">virtual</span></span> </td> |
| 563 | </tr> |
| 564 | </table> |
| 565 | </div><div class="memdoc"> |
| 566 | <p>Check if the input tensor shape(s) will lead to a valid configuration of <a class="el" href="classarmnn_1_1_quantized_lstm_layer.html">QuantizedLstmLayer</a>. </p> |
| 567 | |
| 568 | <p>Implements <a class="el" href="classarmnn_1_1_layer.html#a84ff600212ba26e665de9b978ec896a4">Layer</a>.</p> |
| 569 | |
| 570 | <p class="definition">Definition at line <a class="el" href="_quantized_lstm_layer_8cpp_source.html#l00094">94</a> of file <a class="el" href="_quantized_lstm_layer_8cpp_source.html">QuantizedLstmLayer.cpp</a>.</p> |
| 571 | |
| 572 | <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="_quantized_lstm_layer_8cpp_source.html#l00079">QuantizedLstmLayer::InferOutputShapes()</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00039">QuantizedLstmParameters::m_CellBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00037">QuantizedLstmParameters::m_ForgetGateBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00035">QuantizedLstmParameters::m_InputGateBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00021">QuantizedLstmParameters::m_InputToCellWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00019">QuantizedLstmParameters::m_InputToForgetWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00017">QuantizedLstmParameters::m_InputToInputWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00023">QuantizedLstmParameters::m_InputToOutputWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00041">QuantizedLstmParameters::m_OutputGateBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00049">QuantizedLstmLayer::m_QuantizedLstmParameters</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00030">QuantizedLstmParameters::m_RecurrentToCellWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00028">QuantizedLstmParameters::m_RecurrentToForgetWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00026">QuantizedLstmParameters::m_RecurrentToInputWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00032">QuantizedLstmParameters::m_RecurrentToOutputWeights</a>, and <a class="el" href="_layer_8cpp_source.html#l00337">Layer::VerifyLayerConnections()</a>.</p> |
| 573 | <div class="fragment"><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> {</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <a class="code" href="classarmnn_1_1_layer.html#a0607e36e88f38c34c71c663164b76776">VerifyLayerConnections</a>(3, <a class="code" href="_exceptions_8hpp.html#aa3be76aec4ce713822a5ea1ecbb7bc61">CHECK_LOCATION</a>());</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> </div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keyword">auto</span> inferredShapes = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#a65ca562c882ad619684445a1402f415a">InferOutputShapes</a>(</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  {</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(0).<a class="code" href="classarmnn_1_1_input_slot.html#a3153abb7c0c0a84629079b2fac7db54f">GetConnection</a>()-><a class="code" href="classarmnn_1_1_i_output_slot.html#a9943775a364fc4ab53b85ac88f311886">GetTensorInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.html#a8b5d0f8a24e9d9238f412260a552acf8">GetShape</a>(), <span class="comment">// input</span></div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(1).<a class="code" href="classarmnn_1_1_input_slot.html#a3153abb7c0c0a84629079b2fac7db54f">GetConnection</a>()-><a class="code" href="classarmnn_1_1_i_output_slot.html#a9943775a364fc4ab53b85ac88f311886">GetTensorInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.html#a8b5d0f8a24e9d9238f412260a552acf8">GetShape</a>(), <span class="comment">// previousCellStateIn</span></div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <a class="code" href="classarmnn_1_1_layer.html#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(2).<a class="code" href="classarmnn_1_1_input_slot.html#a3153abb7c0c0a84629079b2fac7db54f">GetConnection</a>()-><a class="code" href="classarmnn_1_1_i_output_slot.html#a9943775a364fc4ab53b85ac88f311886">GetTensorInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.html#a8b5d0f8a24e9d9238f412260a552acf8">GetShape</a>() <span class="comment">// previousOutputIn</span></div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  });</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span> </div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  BOOST_ASSERT(inferredShapes.size() == 2);</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span> </div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="comment">// Check weights and bias for nullptr</span></div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="stringliteral">"QuantizedLstmLayer: m_QuantizedLstmParameters.m_InputToInputWeights should not be null."</span>);</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="stringliteral">"QuantizedLstmLayer: m_QuantizedLstmParameters.m_InputToForgetWeights should not be null."</span>);</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="stringliteral">"QuantizedLstmLayer: m_QuantizedLstmParameters.m_InputToCellWeights should not be null."</span>);</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="stringliteral">"QuantizedLstmLayer: m_QuantizedLstmParameters.m_InputToOutputWeights should not be null."</span>);</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span> </div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="stringliteral">"QuantizedLstmLayer: m_QuantizedLstmParameters.m_RecurrentToInputWeights should not be null."</span>);</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="stringliteral">"QuantizedLstmLayer: m_QuantizedLstmParameters.m_RecurrentToForgetWeights should not be null."</span>);</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="stringliteral">"QuantizedLstmLayer: m_QuantizedLstmParameters.m_RecurrentToCellWeights should not be null."</span>);</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="stringliteral">"QuantizedLstmLayer: m_QuantizedLstmParameters.m_RecurrentToOutputWeights should not be null."</span>);</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span> </div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="stringliteral">"QuantizedLstmLayer: m_QuantizedLstmParameters.m_InputGateBias should not be null."</span>);</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <span class="stringliteral">"QuantizedLstmLayer: m_QuantizedLstmParameters.m_ForgetGateBias should not be null."</span>);</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="stringliteral">"QuantizedLstmLayer: m_QuantizedLstmParameters.m_CellBias should not be null."</span>);</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.html#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="stringliteral">"QuantizedLstmLayer: m_QuantizedLstmParameters.m_OutputGateBias should not be null."</span>);</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span> </div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="comment">// Check output TensorShape(s) match inferred shape</span></div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  ConditionalThrowIfNotEqual<LayerValidationException>(</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="stringliteral">"QuantizedLstmLayer: TensorShape set on OutputSlot[0] does not match the inferred shape."</span>,</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <a class="code" href="classarmnn_1_1_layer.html#a0e36688a43c35668d8db5257274c68fe">GetOutputSlot</a>(0).<a class="code" href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.html#a8b5d0f8a24e9d9238f412260a552acf8">GetShape</a>(),</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  inferredShapes[0]);</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span> </div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  ConditionalThrowIfNotEqual<LayerValidationException>(</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="stringliteral">"QuantizedLstmLayer: TensorShape set on OutputSlot[1] does not match the inferred shape."</span>,</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <a class="code" href="classarmnn_1_1_layer.html#a0e36688a43c35668d8db5257274c68fe">GetOutputSlot</a>(1).<a class="code" href="classarmnn_1_1_output_slot.html#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.html#a8b5d0f8a24e9d9238f412260a552acf8">GetShape</a>(),</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  inferredShapes[1]);</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span> }</div><div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a0e0e17d5b494993407cb75d614455ddd"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a0e0e17d5b494993407cb75d614455ddd">armnn::QuantizedLstmParameters::m_ForgetGateBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_ForgetGateBias</div><div class="ttdoc">A unique pointer to represent 1D bias tensor with dimensions [outputSize] (int32). </div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00037">QuantizedLstmLayer.hpp:37</a></div></div> |
| 574 | <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> |
| 575 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a9945bc99f8a7400c0724117e29cb3abb"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a9945bc99f8a7400c0724117e29cb3abb">armnn::QuantizedLstmParameters::m_InputGateBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputGateBias</div><div class="ttdoc">A unique pointer to represent 1D bias tensor with dimensions [outputSize] (int32). </div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00035">QuantizedLstmLayer.hpp:35</a></div></div> |
| 576 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a6e8c3db3c5474f0760553ff93fbc39e6"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8c3db3c5474f0760553ff93fbc39e6">armnn::QuantizedLstmParameters::m_RecurrentToCellWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToCellWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, outputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00030">QuantizedLstmLayer.hpp:30</a></div></div> |
| 577 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a91dda74af4085ae43913746ad817795a"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a91dda74af4085ae43913746ad817795a">armnn::QuantizedLstmParameters::m_RecurrentToOutputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToOutputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, outputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00032">QuantizedLstmLayer.hpp:32</a></div></div> |
| 578 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a6e8971757790a032e5936da7847ba14b"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a6e8971757790a032e5936da7847ba14b">armnn::QuantizedLstmParameters::m_RecurrentToInputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToInputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, outputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00026">QuantizedLstmLayer.hpp:26</a></div></div> |
| 579 | <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> |
| 580 | <div class="ttc" id="classarmnn_1_1_quantized_lstm_layer_html_a65ca562c882ad619684445a1402f415a"><div class="ttname"><a href="classarmnn_1_1_quantized_lstm_layer.html#a65ca562c882ad619684445a1402f415a">armnn::QuantizedLstmLayer::InferOutputShapes</a></div><div class="ttdeci">std::vector< TensorShape > InferOutputShapes(const std::vector< TensorShape > &inputShapes) const override</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8cpp_source.html#l00079">QuantizedLstmLayer.cpp:79</a></div></div> |
| 581 | <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> |
| 582 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a4d731c5e73638c7cf7e63f65e9f8b550"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a4d731c5e73638c7cf7e63f65e9f8b550">armnn::QuantizedLstmParameters::m_InputToInputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToInputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, inputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00017">QuantizedLstmLayer.hpp:17</a></div></div> |
| 583 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_aacb55e0992b6781a7bd3225ab6e6bb2f"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#aacb55e0992b6781a7bd3225ab6e6bb2f">armnn::QuantizedLstmParameters::m_OutputGateBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_OutputGateBias</div><div class="ttdoc">A unique pointer to represent 1D bias tensor with dimensions [outputSize] (int32). </div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00041">QuantizedLstmLayer.hpp:41</a></div></div> |
| 584 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a3d5f129421bbe6479a66d4ed1356bf68"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a3d5f129421bbe6479a66d4ed1356bf68">armnn::QuantizedLstmParameters::m_RecurrentToForgetWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_RecurrentToForgetWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, outputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00028">QuantizedLstmLayer.hpp:28</a></div></div> |
| 585 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a14ab2bc78421c417c4f97a65b0bd78f9"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a14ab2bc78421c417c4f97a65b0bd78f9">armnn::QuantizedLstmParameters::m_InputToCellWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToCellWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, inputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00021">QuantizedLstmLayer.hpp:21</a></div></div> |
| 586 | <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> |
| 587 | <div class="ttc" id="classarmnn_1_1_quantized_lstm_layer_html_ad3c37b52145c3cf1b4856c0df008a468"><div class="ttname"><a href="classarmnn_1_1_quantized_lstm_layer.html#ad3c37b52145c3cf1b4856c0df008a468">armnn::QuantizedLstmLayer::m_QuantizedLstmParameters</a></div><div class="ttdeci">QuantizedLstmParameters m_QuantizedLstmParameters</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00049">QuantizedLstmLayer.hpp:49</a></div></div> |
| 588 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_ae8d897b8d282f25a6eb784c4aaa98df6"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#ae8d897b8d282f25a6eb784c4aaa98df6">armnn::QuantizedLstmParameters::m_InputToOutputWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToOutputWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, inputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00023">QuantizedLstmLayer.hpp:23</a></div></div> |
| 589 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a5a0d8af26a6aad1e5be521ea7dc550eb"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a5a0d8af26a6aad1e5be521ea7dc550eb">armnn::QuantizedLstmParameters::m_InputToForgetWeights</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_InputToForgetWeights</div><div class="ttdoc">A unique pointer to represent 2D weights tensor with dimensions [outputSize, inputSize] (QAsymm8)...</div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00019">QuantizedLstmLayer.hpp:19</a></div></div> |
| 590 | <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> |
| 591 | <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> |
| 592 | <div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_html_a51255889cbc063130a3d691c1781c5d3"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.html#a51255889cbc063130a3d691c1781c5d3">armnn::QuantizedLstmParameters::m_CellBias</a></div><div class="ttdeci">std::unique_ptr< ScopedCpuTensorHandle > m_CellBias</div><div class="ttdoc">A unique pointer to represent 1D bias tensor with dimensions [outputSize] (int32). </div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8hpp_source.html#l00039">QuantizedLstmLayer.hpp:39</a></div></div> |
| 593 | <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> |
| 594 | <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> |
| 595 | </div><!-- fragment --> |
| 596 | </div> |
| 597 | </div> |
| 598 | <h2 class="groupheader">Member Data Documentation</h2> |
| 599 | <a id="ad3c37b52145c3cf1b4856c0df008a468"></a> |
| 600 | <h2 class="memtitle"><span class="permalink"><a href="#ad3c37b52145c3cf1b4856c0df008a468">◆ </a></span>m_QuantizedLstmParameters</h2> |
| 601 | |
| 602 | <div class="memitem"> |
| 603 | <div class="memproto"> |
| 604 | <table class="memname"> |
| 605 | <tr> |
| 606 | <td class="memname"><a class="el" href="structarmnn_1_1_quantized_lstm_parameters.html">QuantizedLstmParameters</a> m_QuantizedLstmParameters</td> |
| 607 | </tr> |
| 608 | </table> |
| 609 | </div><div class="memdoc"> |
| 610 | |
| 611 | <p class="definition">Definition at line <a class="el" href="_quantized_lstm_layer_8hpp_source.html#l00049">49</a> of file <a class="el" href="_quantized_lstm_layer_8hpp_source.html">QuantizedLstmLayer.hpp</a>.</p> |
| 612 | |
| 613 | <p class="reference">Referenced by <a class="el" href="_quantized_lstm_layer_8cpp_source.html#l00168">QuantizedLstmLayer::Accept()</a>, <a class="el" href="_network_8cpp_source.html#l01542">Network::AddQuantizedLstmLayer()</a>, <a class="el" href="_quantized_lstm_layer_8cpp_source.html#l00045">QuantizedLstmLayer::Clone()</a>, <a class="el" href="_quantized_lstm_layer_8cpp_source.html#l00022">QuantizedLstmLayer::CreateWorkload()</a>, <a class="el" href="_quantized_lstm_layer_8cpp_source.html#l00147">QuantizedLstmLayer::GetConstantTensorsByRef()</a>, and <a class="el" href="_quantized_lstm_layer_8cpp_source.html#l00094">QuantizedLstmLayer::ValidateTensorShapesFromInputs()</a>.</p> |
| 614 | |
| 615 | </div> |
| 616 | </div> |
| 617 | <hr/>The documentation for this class was generated from the following files:<ul> |
| 618 | <li>src/armnn/layers/<a class="el" href="_quantized_lstm_layer_8hpp_source.html">QuantizedLstmLayer.hpp</a></li> |
| 619 | <li>src/armnn/layers/<a class="el" href="_quantized_lstm_layer_8cpp_source.html">QuantizedLstmLayer.cpp</a></li> |
| 620 | </ul> |
| 621 | </div><!-- contents --> |
| 622 | </div><!-- doc-content --> |
| 623 | <!-- start footer part --> |
| 624 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 625 | <ul> |
| 626 | <li class="navelem"><a class="el" href="namespacearmnn.html">armnn</a></li><li class="navelem"><a class="el" href="classarmnn_1_1_quantized_lstm_layer.html">QuantizedLstmLayer</a></li> |
| 627 | <li class="footer">Generated on Fri Mar 13 2020 16:07:04 for ArmNN by |
| 628 | <a href="http://www.doxygen.org/index.html"> |
| 629 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 630 | </ul> |
| 631 | </div> |
| 632 | </body> |
| 633 | </html> |