blob: 3e7354707e7b9397b1e45caa4c893e5e72354542 [file] [log] [blame]
Ryan OSheade36e4a2020-03-13 16:26:19 +00001<!-- Copyright (c) 2020 ARM Limited. -->
2<!-- -->
3<!-- SPDX-License-Identifier: MIT -->
4<!-- -->
5<!-- HTML header for doxygen 1.8.13-->
6<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
7<html xmlns="http://www.w3.org/1999/xhtml">
8<head>
9<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
10<meta http-equiv="X-UA-Compatible" content="IE=9"/>
11<meta name="generator" content="Doxygen 1.8.13"/>
12<meta name="robots" content="NOINDEX, NOFOLLOW" />
13<meta name="viewport" content="width=device-width, initial-scale=1"/>
14<title>ArmNN: QuantizedLstmLayer Class Reference</title>
15<link href="tabs.css" rel="stylesheet" type="text/css"/>
16<script type="text/javascript" src="jquery.js"></script>
17<script type="text/javascript" src="dynsections.js"></script>
18<link href="navtree.css" rel="stylesheet" type="text/css"/>
19<script type="text/javascript" src="resize.js"></script>
20<script type="text/javascript" src="navtreedata.js"></script>
21<script type="text/javascript" src="navtree.js"></script>
22<script type="text/javascript">
23 $(document).ready(initResizable);
24</script>
25<link href="search/search.css" rel="stylesheet" type="text/css"/>
26<script type="text/javascript" src="search/searchdata.js"></script>
27<script type="text/javascript" src="search/search.js"></script>
28<script type="text/x-mathjax-config">
29 MathJax.Hub.Config({
30 extensions: ["tex2jax.js"],
31 jax: ["input/TeX","output/HTML-CSS"],
32});
33</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
34<link href="doxygen.css" rel="stylesheet" type="text/css" />
35<link href="stylesheet.css" rel="stylesheet" type="text/css"/>
36</head>
37<body>
38<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
39<div id="titlearea">
40<table cellspacing="0" cellpadding="0">
41 <tbody>
42 <tr style="height: 56px;">
43 <img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 10rem; margin-top: .5rem; margin-left 10px"/>
44 <td style="padding-left: 0.5em;">
45 <div id="projectname">
46 &#160;<span id="projectnumber">20.02</span>
47 </div>
48 </td>
49 </tr>
50 </tbody>
51</table>
52</div>
53<!-- end header part -->
54<!-- Generated by Doxygen 1.8.13 -->
55<script type="text/javascript">
56var searchBox = new SearchBox("searchBox", "search",false,'Search');
57</script>
58<script type="text/javascript" src="menudata.js"></script>
59<script type="text/javascript" src="menu.js"></script>
60<script type="text/javascript">
61$(function() {
62 initMenu('',true,false,'search.php','Search');
63 $(document).ready(function() { init_search(); });
64});
65</script>
66<div id="main-nav"></div>
67</div><!-- top -->
68<div id="side-nav" class="ui-resizable side-nav-resizable">
69 <div id="nav-tree">
70 <div id="nav-tree-contents">
71 <div id="nav-sync" class="sync"></div>
72 </div>
73 </div>
74 <div id="splitbar" style="-moz-user-select:none;"
75 class="ui-resizable-handle">
76 </div>
77</div>
78<script type="text/javascript">
79$(document).ready(function(){initNavTree('classarmnn_1_1_quantized_lstm_layer.xhtml','');});
80</script>
81<div id="doc-content">
82<!-- window showing the filter options -->
83<div id="MSearchSelectWindow"
84 onmouseover="return searchBox.OnSearchSelectShow()"
85 onmouseout="return searchBox.OnSearchSelectHide()"
86 onkeydown="return searchBox.OnSearchSelectKey(event)">
87</div>
88
89<!-- iframe showing the search results (closed by default) -->
90<div id="MSearchResultsWindow">
91<iframe src="javascript:void(0)" frameborder="0"
92 name="MSearchResults" id="MSearchResults">
93</iframe>
94</div>
95
96<div class="header">
97 <div class="summary">
98<a href="#pub-methods">Public Member Functions</a> &#124;
99<a href="#pub-attribs">Public Attributes</a> &#124;
100<a href="#pro-methods">Protected Member Functions</a> &#124;
101<a href="classarmnn_1_1_quantized_lstm_layer-members.xhtml">List of all members</a> </div>
102 <div class="headertitle">
103<div class="title">QuantizedLstmLayer Class Reference</div> </div>
104</div><!--header-->
105<div class="contents">
106
107<p>This layer represents a QuantizedLstm operation.
108 <a href="classarmnn_1_1_quantized_lstm_layer.xhtml#details">More...</a></p>
109
110<p><code>#include &lt;<a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml">QuantizedLstmLayer.hpp</a>&gt;</code></p>
111<div class="dynheader">
112Inheritance diagram for QuantizedLstmLayer:</div>
113<div class="dyncontent">
114 <div class="center">
115 <img src="classarmnn_1_1_quantized_lstm_layer.png" usemap="#QuantizedLstmLayer_map" alt=""/>
116 <map id="QuantizedLstmLayer_map" name="QuantizedLstmLayer_map">
117<area href="classarmnn_1_1_layer.xhtml" alt="Layer" shape="rect" coords="0,56,127,80"/>
118<area href="classarmnn_1_1_i_connectable_layer.xhtml" title="Interface for a layer that is connectable to other layers via InputSlots and OutputSlots. " alt="IConnectableLayer" shape="rect" coords="0,0,127,24"/>
119</map>
120 </div></div>
121<table class="memberdecls">
122<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
123Public Member Functions</h2></td></tr>
124<tr class="memitem:adfa912d0c4c6c00f1af2cbfa799572b7"><td class="memItemLeft" align="right" valign="top">virtual std::unique_ptr&lt; <a class="el" href="classarmnn_1_1_i_workload.xhtml">IWorkload</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantized_lstm_layer.xhtml#adfa912d0c4c6c00f1af2cbfa799572b7">CreateWorkload</a> (const <a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">IWorkloadFactory</a> &amp;factory) const override</td></tr>
125<tr class="memdesc:adfa912d0c4c6c00f1af2cbfa799572b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Makes a workload for the QuantizedLstm type. <a href="#adfa912d0c4c6c00f1af2cbfa799572b7">More...</a><br /></td></tr>
126<tr class="separator:adfa912d0c4c6c00f1af2cbfa799572b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
127<tr class="memitem:a08edea9423b6da5da174ce5269f6e28b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_quantized_lstm_layer.xhtml">QuantizedLstmLayer</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantized_lstm_layer.xhtml#a08edea9423b6da5da174ce5269f6e28b">Clone</a> (<a class="el" href="classarmnn_1_1_graph.xhtml">Graph</a> &amp;graph) const override</td></tr>
128<tr class="memdesc:a08edea9423b6da5da174ce5269f6e28b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a dynamically-allocated copy of this layer. <a href="#a08edea9423b6da5da174ce5269f6e28b">More...</a><br /></td></tr>
129<tr class="separator:a08edea9423b6da5da174ce5269f6e28b"><td class="memSeparator" colspan="2">&#160;</td></tr>
130<tr class="memitem:a8c8f543d7e9729362c266d12ec169966"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantized_lstm_layer.xhtml#a8c8f543d7e9729362c266d12ec169966">ValidateTensorShapesFromInputs</a> () override</td></tr>
131<tr class="memdesc:a8c8f543d7e9729362c266d12ec169966"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if the input tensor shape(s) will lead to a valid configuration of <a class="el" href="classarmnn_1_1_quantized_lstm_layer.xhtml">QuantizedLstmLayer</a>. <a href="#a8c8f543d7e9729362c266d12ec169966">More...</a><br /></td></tr>
132<tr class="separator:a8c8f543d7e9729362c266d12ec169966"><td class="memSeparator" colspan="2">&#160;</td></tr>
133<tr class="memitem:a65ca562c882ad619684445a1402f415a"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantized_lstm_layer.xhtml#a65ca562c882ad619684445a1402f415a">InferOutputShapes</a> (const std::vector&lt; <a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a> &gt; &amp;inputShapes) const override</td></tr>
134<tr class="memdesc:a65ca562c882ad619684445a1402f415a"><td class="mdescLeft">&#160;</td><td class="mdescRight">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. <a href="#a65ca562c882ad619684445a1402f415a">More...</a><br /></td></tr>
135<tr class="separator:a65ca562c882ad619684445a1402f415a"><td class="memSeparator" colspan="2">&#160;</td></tr>
136<tr class="memitem:a75a50f464326fefa605ea84ae2c9be85"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantized_lstm_layer.xhtml#a75a50f464326fefa605ea84ae2c9be85">Accept</a> (<a class="el" href="classarmnn_1_1_i_layer_visitor.xhtml">ILayerVisitor</a> &amp;visitor) const override</td></tr>
137<tr class="memdesc:a75a50f464326fefa605ea84ae2c9be85"><td class="mdescLeft">&#160;</td><td class="mdescRight">Apply a visitor to this layer. <a href="#a75a50f464326fefa605ea84ae2c9be85">More...</a><br /></td></tr>
138<tr class="separator:a75a50f464326fefa605ea84ae2c9be85"><td class="memSeparator" colspan="2">&#160;</td></tr>
139<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="-"/>&#160;Public Member Functions inherited from <a class="el" href="classarmnn_1_1_layer.xhtml">Layer</a></td></tr>
140<tr class="memitem:a5e5ae420d199a0bccae5139d38c30205 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a5e5ae420d199a0bccae5139d38c30205">Layer</a> (unsigned int numInputSlots, unsigned int numOutputSlots, <a class="el" href="namespacearmnn.xhtml#a56943a0946e5f15e5e58054b8e7a04a4">LayerType</a> type, const char *name)</td></tr>
141<tr class="separator:a5e5ae420d199a0bccae5139d38c30205 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
142<tr class="memitem:a395d070748c18d903705799360088e80 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a395d070748c18d903705799360088e80">Layer</a> (unsigned int numInputSlots, unsigned int numOutputSlots, <a class="el" href="namespacearmnn.xhtml#a56943a0946e5f15e5e58054b8e7a04a4">LayerType</a> type, <a class="el" href="namespacearmnn.xhtml#ad1d5cce2d9e9a5d61c243e5c989112e0">DataLayout</a> layout, const char *name)</td></tr>
143<tr class="separator:a395d070748c18d903705799360088e80 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
144<tr class="memitem:a9a97cb6d32661a57fc33bd29b8e41ff4 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a9a97cb6d32661a57fc33bd29b8e41ff4">GetNameStr</a> () const</td></tr>
145<tr class="separator:a9a97cb6d32661a57fc33bd29b8e41ff4 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
146<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.xhtml">OutputHandler</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#af2c0edc7ea62a8baaec4d3d9b2b09256">GetOutputHandler</a> (unsigned int i=0) const</td></tr>
147<tr class="separator:af2c0edc7ea62a8baaec4d3d9b2b09256 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
148<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.xhtml">OutputHandler</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a1d4e05c17647232c514cfe58ca80744a">GetOutputHandler</a> (unsigned int i=0)</td></tr>
149<tr class="separator:a1d4e05c17647232c514cfe58ca80744a inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
150<tr class="memitem:af5f530544d09a44d726f24702b67b35b inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">const std::vector&lt; <a class="el" href="classarmnn_1_1_input_slot.xhtml">InputSlot</a> &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#af5f530544d09a44d726f24702b67b35b">GetInputSlots</a> () const</td></tr>
151<tr class="separator:af5f530544d09a44d726f24702b67b35b inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
152<tr class="memitem:a98cdff4e0b45f4c80bfcedaf926e16e0 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">const std::vector&lt; <a class="el" href="classarmnn_1_1_output_slot.xhtml">OutputSlot</a> &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a98cdff4e0b45f4c80bfcedaf926e16e0">GetOutputSlots</a> () const</td></tr>
153<tr class="separator:a98cdff4e0b45f4c80bfcedaf926e16e0 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
154<tr class="memitem:af6cb8de21ef0da269ec9b67755ae92a0 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="classarmnn_1_1_input_slot.xhtml">InputSlot</a> &gt;::iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#af6cb8de21ef0da269ec9b67755ae92a0">BeginInputSlots</a> ()</td></tr>
155<tr class="separator:af6cb8de21ef0da269ec9b67755ae92a0 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
156<tr class="memitem:a9752e12d6b79e18da1a25f76159d2a72 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="classarmnn_1_1_input_slot.xhtml">InputSlot</a> &gt;::iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a9752e12d6b79e18da1a25f76159d2a72">EndInputSlots</a> ()</td></tr>
157<tr class="separator:a9752e12d6b79e18da1a25f76159d2a72 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
158<tr class="memitem:a817d4be6dd88f532d36f51748ec14185 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="classarmnn_1_1_output_slot.xhtml">OutputSlot</a> &gt;::iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a817d4be6dd88f532d36f51748ec14185">BeginOutputSlots</a> ()</td></tr>
159<tr class="separator:a817d4be6dd88f532d36f51748ec14185 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
160<tr class="memitem:a55f76d98fcd2f5cdac3e2b14536cb7ab inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="classarmnn_1_1_output_slot.xhtml">OutputSlot</a> &gt;::iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a55f76d98fcd2f5cdac3e2b14536cb7ab">EndOutputSlots</a> ()</td></tr>
161<tr class="separator:a55f76d98fcd2f5cdac3e2b14536cb7ab inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
162<tr class="memitem:a22485f444124128940e798a42f0b76d9 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a22485f444124128940e798a42f0b76d9">IsOutputUnconnected</a> ()</td></tr>
163<tr class="separator:a22485f444124128940e798a42f0b76d9 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
164<tr class="memitem:aac329cade047e952621b59a51a5d5f49 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#aac329cade047e952621b59a51a5d5f49">ResetPriority</a> () const</td></tr>
165<tr class="separator:aac329cade047e952621b59a51a5d5f49 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
166<tr class="memitem:af97a07195a67a638605b3c325763c2dd inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn.xhtml#a419086ecb4dc9d0f9e5d8933c87e2ea2">LayerPriority</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#af97a07195a67a638605b3c325763c2dd">GetPriority</a> () const</td></tr>
167<tr class="separator:af97a07195a67a638605b3c325763c2dd inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
168<tr class="memitem:aaef29472862381822654ab6cbf7cba2a inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn.xhtml#a56943a0946e5f15e5e58054b8e7a04a4">LayerType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#aaef29472862381822654ab6cbf7cba2a">GetType</a> () const</td></tr>
169<tr class="separator:aaef29472862381822654ab6cbf7cba2a inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
170<tr class="memitem:aea909c7327109228ef618d459015def3 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#aea909c7327109228ef618d459015def3">GetDataType</a> () const</td></tr>
171<tr class="separator:aea909c7327109228ef618d459015def3 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
172<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.xhtml">BackendId</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#afdb1d37740e7a083b625d669588b6a0e">GetBackendId</a> () const</td></tr>
173<tr class="separator:afdb1d37740e7a083b625d669588b6a0e inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
174<tr class="memitem:a3f6ad59212fa8a47c9265162fff8a274 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a3f6ad59212fa8a47c9265162fff8a274">SetBackendId</a> (const <a class="el" href="classarmnn_1_1_backend_id.xhtml">BackendId</a> &amp;id)</td></tr>
175<tr class="separator:a3f6ad59212fa8a47c9265162fff8a274 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
176<tr class="memitem:a3ff62126ec713a2708e5fbaa6146a7de inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a3ff62126ec713a2708e5fbaa6146a7de">CreateTensorHandles</a> (const <a class="el" href="classarmnn_1_1_tensor_handle_factory_registry.xhtml">TensorHandleFactoryRegistry</a> &amp;registry, const <a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">IWorkloadFactory</a> &amp;factory, const bool IsMemoryManaged=<a class="el" href="_ref_layer_tests_8cpp.xhtml#a37f1c3ccc9fc906be85185350dd83d48">true</a>)</td></tr>
177<tr class="separator:a3ff62126ec713a2708e5fbaa6146a7de inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
178<tr class="memitem:a0607e36e88f38c34c71c663164b76776 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a0607e36e88f38c34c71c663164b76776">VerifyLayerConnections</a> (unsigned int expectedConnections, const <a class="el" href="structarmnn_1_1_check_location.xhtml">CheckLocation</a> &amp;location) const</td></tr>
179<tr class="separator:a0607e36e88f38c34c71c663164b76776 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
180<tr class="memitem:ac04cd8de9b9185756eb02463ffd432b1 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#ac04cd8de9b9185756eb02463ffd432b1">SerializeLayerParameters</a> (<a class="el" href="namespacearmnn.xhtml#a8c42c6647e31ebe525aeba878d133e45">ParameterStringifyFunction</a> &amp;fn) const</td></tr>
181<tr class="memdesc:ac04cd8de9b9185756eb02463ffd432b1 inherit pub_methods_classarmnn_1_1_layer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper to serialize the layer parameters to string. <a href="classarmnn_1_1_layer.xhtml#ac04cd8de9b9185756eb02463ffd432b1">More...</a><br /></td></tr>
182<tr class="separator:ac04cd8de9b9185756eb02463ffd432b1 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
183<tr class="memitem:a339bef86bc340c3d1393ed83950fe8af inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a339bef86bc340c3d1393ed83950fe8af">ReleaseConstantData</a> ()</td></tr>
184<tr class="separator:a339bef86bc340c3d1393ed83950fe8af inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
185<tr class="memitem:a386acff5f8430245239ce58d00ba7576 inherit pub_methods_classarmnn_1_1_layer"><td class="memTemplParams" colspan="2">template&lt;typename Op &gt; </td></tr>
186<tr class="memitem:a386acff5f8430245239ce58d00ba7576 inherit pub_methods_classarmnn_1_1_layer"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a386acff5f8430245239ce58d00ba7576">OperateOnConstantTensors</a> (Op op)</td></tr>
187<tr class="separator:a386acff5f8430245239ce58d00ba7576 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
188<tr class="memitem:a7ddf0cf6f620d59c10e63495ace795d0 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a7ddf0cf6f620d59c10e63495ace795d0">GetName</a> () const override</td></tr>
189<tr class="memdesc:a7ddf0cf6f620d59c10e63495ace795d0 inherit pub_methods_classarmnn_1_1_layer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the name of the layer. <a href="classarmnn_1_1_layer.xhtml#a7ddf0cf6f620d59c10e63495ace795d0">More...</a><br /></td></tr>
190<tr class="separator:a7ddf0cf6f620d59c10e63495ace795d0 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
191<tr class="memitem:abc0660dc440c8a285b456c9ef6383c26 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#abc0660dc440c8a285b456c9ef6383c26">GetNumInputSlots</a> () const override</td></tr>
192<tr class="memdesc:abc0660dc440c8a285b456c9ef6383c26 inherit pub_methods_classarmnn_1_1_layer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of connectable input slots. <a href="classarmnn_1_1_layer.xhtml#abc0660dc440c8a285b456c9ef6383c26">More...</a><br /></td></tr>
193<tr class="separator:abc0660dc440c8a285b456c9ef6383c26 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
194<tr class="memitem:a1594bddc87d6477df300317658f566bb inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a1594bddc87d6477df300317658f566bb">GetNumOutputSlots</a> () const override</td></tr>
195<tr class="memdesc:a1594bddc87d6477df300317658f566bb inherit pub_methods_classarmnn_1_1_layer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of connectable output slots. <a href="classarmnn_1_1_layer.xhtml#a1594bddc87d6477df300317658f566bb">More...</a><br /></td></tr>
196<tr class="separator:a1594bddc87d6477df300317658f566bb inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
197<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.xhtml">InputSlot</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#acf8b8e23bf647836592982f97088d375">GetInputSlot</a> (unsigned int index) const override</td></tr>
198<tr class="memdesc:acf8b8e23bf647836592982f97088d375 inherit pub_methods_classarmnn_1_1_layer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a const input slot handle by slot index. <a href="classarmnn_1_1_layer.xhtml#acf8b8e23bf647836592982f97088d375">More...</a><br /></td></tr>
199<tr class="separator:acf8b8e23bf647836592982f97088d375 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
200<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.xhtml">InputSlot</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a1b50eb1358cdf382f4bc3fc8849f8e8e">GetInputSlot</a> (unsigned int index) override</td></tr>
201<tr class="memdesc:a1b50eb1358cdf382f4bc3fc8849f8e8e inherit pub_methods_classarmnn_1_1_layer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the input slot handle by slot index. <a href="classarmnn_1_1_layer.xhtml#a1b50eb1358cdf382f4bc3fc8849f8e8e">More...</a><br /></td></tr>
202<tr class="separator:a1b50eb1358cdf382f4bc3fc8849f8e8e inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
203<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.xhtml">OutputSlot</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a0e36688a43c35668d8db5257274c68fe">GetOutputSlot</a> (unsigned int index=0) const override</td></tr>
204<tr class="memdesc:a0e36688a43c35668d8db5257274c68fe inherit pub_methods_classarmnn_1_1_layer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the const output slot handle by slot index. <a href="classarmnn_1_1_layer.xhtml#a0e36688a43c35668d8db5257274c68fe">More...</a><br /></td></tr>
205<tr class="separator:a0e36688a43c35668d8db5257274c68fe inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
206<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.xhtml">OutputSlot</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#abbd71844785bb2f00a81baca30ea5ff0">GetOutputSlot</a> (unsigned int index=0) override</td></tr>
207<tr class="memdesc:abbd71844785bb2f00a81baca30ea5ff0 inherit pub_methods_classarmnn_1_1_layer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the output slot handle by slot index. <a href="classarmnn_1_1_layer.xhtml#abbd71844785bb2f00a81baca30ea5ff0">More...</a><br /></td></tr>
208<tr class="separator:abbd71844785bb2f00a81baca30ea5ff0 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
209<tr class="memitem:a6d1024208b672a87ef2c1bfaf93d2b9f inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a6d1024208b672a87ef2c1bfaf93d2b9f">SetGuid</a> (<a class="el" href="namespacearmnn.xhtml#afad4088a9a058114ee5f87246f87bf49">LayerGuid</a> guid)</td></tr>
210<tr class="separator:a6d1024208b672a87ef2c1bfaf93d2b9f inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
211<tr class="memitem:a8dc12f0ee5b232d397bd18ced1a72a64 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn.xhtml#afad4088a9a058114ee5f87246f87bf49">LayerGuid</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a8dc12f0ee5b232d397bd18ced1a72a64">GetGuid</a> () const final</td></tr>
212<tr class="memdesc:a8dc12f0ee5b232d397bd18ced1a72a64 inherit pub_methods_classarmnn_1_1_layer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the unique id of the layer. <a href="classarmnn_1_1_layer.xhtml#a8dc12f0ee5b232d397bd18ced1a72a64">More...</a><br /></td></tr>
213<tr class="separator:a8dc12f0ee5b232d397bd18ced1a72a64 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
214<tr class="memitem:a339248d89d5e21534ecf74b4393ed4d2 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a339248d89d5e21534ecf74b4393ed4d2">AddRelatedLayerName</a> (const std::string layerName)</td></tr>
215<tr class="separator:a339248d89d5e21534ecf74b4393ed4d2 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
216<tr class="memitem:a5e5520194ea4042fe07b0bf53c28f634 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">const std::list&lt; std::string &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a5e5520194ea4042fe07b0bf53c28f634">GetRelatedLayerNames</a> ()</td></tr>
217<tr class="separator:a5e5520194ea4042fe07b0bf53c28f634 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
218<tr class="memitem:a72b18e4c5a403bc3fe2fecf20135c8d6 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a72b18e4c5a403bc3fe2fecf20135c8d6">Reparent</a> (<a class="el" href="classarmnn_1_1_graph.xhtml">Graph</a> &amp;dest, std::list&lt; <a class="el" href="classarmnn_1_1_layer.xhtml">Layer</a> *&gt;::const_iterator iterator)=0</td></tr>
219<tr class="separator:a72b18e4c5a403bc3fe2fecf20135c8d6 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
220<tr class="memitem:a43a46eafee5c08787ab17b4342730c20 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a43a46eafee5c08787ab17b4342730c20">BackendSelectionHint</a> (<a class="el" href="classarmnn_1_1_optional.xhtml">Optional</a>&lt; <a class="el" href="classarmnn_1_1_backend_id.xhtml">BackendId</a> &gt; backend) final</td></tr>
221<tr class="memdesc:a43a46eafee5c08787ab17b4342730c20 inherit pub_methods_classarmnn_1_1_layer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provide a hint for the optimizer as to which backend to prefer for this layer. <a href="classarmnn_1_1_layer.xhtml#a43a46eafee5c08787ab17b4342730c20">More...</a><br /></td></tr>
222<tr class="separator:a43a46eafee5c08787ab17b4342730c20 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
223<tr class="memitem:a6ff80e440308295056b57e2adaa42888 inherit pub_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_optional.xhtml">Optional</a>&lt; <a class="el" href="classarmnn_1_1_backend_id.xhtml">BackendId</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a6ff80e440308295056b57e2adaa42888">GetBackendHint</a> () const</td></tr>
224<tr class="separator:a6ff80e440308295056b57e2adaa42888 inherit pub_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
225</table><table class="memberdecls">
226<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
227Public Attributes</h2></td></tr>
228<tr class="memitem:ad3c37b52145c3cf1b4856c0df008a468"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarmnn_1_1_quantized_lstm_parameters.xhtml">QuantizedLstmParameters</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a></td></tr>
229<tr class="separator:ad3c37b52145c3cf1b4856c0df008a468"><td class="memSeparator" colspan="2">&#160;</td></tr>
230</table><table class="memberdecls">
231<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
232Protected Member Functions</h2></td></tr>
233<tr class="memitem:a1e8a4f8777390120259787caa45d743a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantized_lstm_layer.xhtml#a1e8a4f8777390120259787caa45d743a">QuantizedLstmLayer</a> (const char *name)</td></tr>
234<tr class="memdesc:a1e8a4f8777390120259787caa45d743a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor to create a <a class="el" href="classarmnn_1_1_quantized_lstm_layer.xhtml" title="This layer represents a QuantizedLstm operation. ">QuantizedLstmLayer</a>. <a href="#a1e8a4f8777390120259787caa45d743a">More...</a><br /></td></tr>
235<tr class="separator:a1e8a4f8777390120259787caa45d743a"><td class="memSeparator" colspan="2">&#160;</td></tr>
236<tr class="memitem:a7bb743f4f47ed214a8dce7d0da26fdff"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantized_lstm_layer.xhtml#a7bb743f4f47ed214a8dce7d0da26fdff">~QuantizedLstmLayer</a> ()=default</td></tr>
237<tr class="memdesc:a7bb743f4f47ed214a8dce7d0da26fdff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default destructor. <a href="#a7bb743f4f47ed214a8dce7d0da26fdff">More...</a><br /></td></tr>
238<tr class="separator:a7bb743f4f47ed214a8dce7d0da26fdff"><td class="memSeparator" colspan="2">&#160;</td></tr>
239<tr class="memitem:abe659a5afa7523f5dbc04bcba9b31f1a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1_layer.xhtml#a585d59ec610af46a76487fd6c1c55ac1">Layer::ConstantTensors</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_quantized_lstm_layer.xhtml#abe659a5afa7523f5dbc04bcba9b31f1a">GetConstantTensorsByRef</a> () override</td></tr>
240<tr class="memdesc:abe659a5afa7523f5dbc04bcba9b31f1a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the handles to the constant values stored by the layer. <a href="#abe659a5afa7523f5dbc04bcba9b31f1a">More...</a><br /></td></tr>
241<tr class="separator:abe659a5afa7523f5dbc04bcba9b31f1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
242<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="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classarmnn_1_1_layer.xhtml">Layer</a></td></tr>
243<tr class="memitem:aacfb208d750bdfce1bbd423e5cac76e2 inherit pro_methods_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#aacfb208d750bdfce1bbd423e5cac76e2">~Layer</a> ()=default</td></tr>
244<tr class="separator:aacfb208d750bdfce1bbd423e5cac76e2 inherit pro_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
245<tr class="memitem:afc3239f5fc116259bf5451964e803646 inherit pro_methods_classarmnn_1_1_layer"><td class="memTemplParams" colspan="2">template&lt;typename QueueDescriptor &gt; </td></tr>
246<tr class="memitem:afc3239f5fc116259bf5451964e803646 inherit pro_methods_classarmnn_1_1_layer"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#afc3239f5fc116259bf5451964e803646">CollectQueueDescriptorInputs</a> (<a class="el" href="structarmnn_1_1_queue_descriptor.xhtml">QueueDescriptor</a> &amp;descriptor, <a class="el" href="structarmnn_1_1_workload_info.xhtml">WorkloadInfo</a> &amp;<a class="el" href="namespacearmnn.xhtml#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>) const</td></tr>
247<tr class="separator:afc3239f5fc116259bf5451964e803646 inherit pro_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
248<tr class="memitem:a499ca5a94d0174ed21786b6994b2cd8c inherit pro_methods_classarmnn_1_1_layer"><td class="memTemplParams" colspan="2">template&lt;typename QueueDescriptor &gt; </td></tr>
249<tr class="memitem:a499ca5a94d0174ed21786b6994b2cd8c inherit pro_methods_classarmnn_1_1_layer"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a499ca5a94d0174ed21786b6994b2cd8c">CollectQueueDescriptorOutputs</a> (<a class="el" href="structarmnn_1_1_queue_descriptor.xhtml">QueueDescriptor</a> &amp;descriptor, <a class="el" href="structarmnn_1_1_workload_info.xhtml">WorkloadInfo</a> &amp;<a class="el" href="namespacearmnn.xhtml#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>) const</td></tr>
250<tr class="separator:a499ca5a94d0174ed21786b6994b2cd8c inherit pro_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
251<tr class="memitem:a30a858b2b26d651a066537e499fbf40d inherit pro_methods_classarmnn_1_1_layer"><td class="memTemplParams" colspan="2">template&lt;typename QueueDescriptor &gt; </td></tr>
252<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.xhtml">WorkloadInfo</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a30a858b2b26d651a066537e499fbf40d">PrepInfoAndDesc</a> (<a class="el" href="structarmnn_1_1_queue_descriptor.xhtml">QueueDescriptor</a> &amp;descriptor) const</td></tr>
253<tr class="memdesc:a30a858b2b26d651a066537e499fbf40d inherit pro_methods_classarmnn_1_1_layer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper function to reduce duplication in *Layer<a class="el" href="_elementwise_unary_test_impl_8hpp.xhtml#aa50938ed8f91e09acd4af904dcf5543a">CreateWorkload</a>. <a href="classarmnn_1_1_layer.xhtml#a30a858b2b26d651a066537e499fbf40d">More...</a><br /></td></tr>
254<tr class="separator:a30a858b2b26d651a066537e499fbf40d inherit pro_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
255<tr class="memitem:aa10fd205c3f5469a9ecb2aa2a3ffd101 inherit pro_methods_classarmnn_1_1_layer"><td class="memTemplParams" colspan="2">template&lt;typename LayerType , typename ... Params&gt; </td></tr>
256<tr class="memitem:aa10fd205c3f5469a9ecb2aa2a3ffd101 inherit pro_methods_classarmnn_1_1_layer"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="namespacearmnn.xhtml#a56943a0946e5f15e5e58054b8e7a04a4">LayerType</a> *&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#aa10fd205c3f5469a9ecb2aa2a3ffd101">CloneBase</a> (<a class="el" href="classarmnn_1_1_graph.xhtml">Graph</a> &amp;graph, Params &amp;&amp;... params) const</td></tr>
257<tr class="separator:aa10fd205c3f5469a9ecb2aa2a3ffd101 inherit pro_methods_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
258<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="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classarmnn_1_1_i_connectable_layer.xhtml">IConnectableLayer</a></td></tr>
259<tr class="memitem:a8c7faf37c1d965431aaa02ae934d67ee inherit pro_methods_classarmnn_1_1_i_connectable_layer"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_connectable_layer.xhtml#a8c7faf37c1d965431aaa02ae934d67ee">~IConnectableLayer</a> ()</td></tr>
260<tr class="memdesc:a8c7faf37c1d965431aaa02ae934d67ee inherit pro_methods_classarmnn_1_1_i_connectable_layer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Objects are not deletable via the handle. <a href="classarmnn_1_1_i_connectable_layer.xhtml#a8c7faf37c1d965431aaa02ae934d67ee">More...</a><br /></td></tr>
261<tr class="separator:a8c7faf37c1d965431aaa02ae934d67ee inherit pro_methods_classarmnn_1_1_i_connectable_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
262</table><table class="memberdecls">
263<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
264Additional Inherited Members</h2></td></tr>
265<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="-"/>&#160;Protected Types inherited from <a class="el" href="classarmnn_1_1_layer.xhtml">Layer</a></td></tr>
266<tr class="memitem:a585d59ec610af46a76487fd6c1c55ac1 inherit pro_types_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#a585d59ec610af46a76487fd6c1c55ac1">ConstantTensors</a> = std::vector&lt; std::reference_wrapper&lt; std::unique_ptr&lt; <a class="el" href="classarmnn_1_1_scoped_cpu_tensor_handle.xhtml">ScopedCpuTensorHandle</a> &gt; &gt;&gt;</td></tr>
267<tr class="separator:a585d59ec610af46a76487fd6c1c55ac1 inherit pro_types_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
268<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="-"/>&#160;Protected Attributes inherited from <a class="el" href="classarmnn_1_1_layer.xhtml">Layer</a></td></tr>
269<tr class="memitem:aa44d91037bba52ba0dec6577509ade3b inherit pro_attribs_classarmnn_1_1_layer"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="classarmnn_1_1_output_handler.xhtml">OutputHandler</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_layer.xhtml#aa44d91037bba52ba0dec6577509ade3b">m_OutputHandlers</a></td></tr>
270<tr class="separator:aa44d91037bba52ba0dec6577509ade3b inherit pro_attribs_classarmnn_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
271</table>
272<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
273<div class="textblock"><p>This layer represents a QuantizedLstm operation. </p>
274
275<p class="definition">Definition at line <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00045">45</a> of file <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml">QuantizedLstmLayer.hpp</a>.</p>
276</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
277<a id="a1e8a4f8777390120259787caa45d743a"></a>
278<h2 class="memtitle"><span class="permalink"><a href="#a1e8a4f8777390120259787caa45d743a">&#9670;&nbsp;</a></span>QuantizedLstmLayer()</h2>
279
280<div class="memitem">
281<div class="memproto">
282<table class="mlabels">
283 <tr>
284 <td class="mlabels-left">
285 <table class="memname">
286 <tr>
287 <td class="memname"><a class="el" href="classarmnn_1_1_quantized_lstm_layer.xhtml">QuantizedLstmLayer</a> </td>
288 <td>(</td>
289 <td class="paramtype">const char *&#160;</td>
290 <td class="paramname"><em>name</em></td><td>)</td>
291 <td></td>
292 </tr>
293 </table>
294 </td>
295 <td class="mlabels-right">
296<span class="mlabels"><span class="mlabel">protected</span></span> </td>
297 </tr>
298</table>
299</div><div class="memdoc">
300
301<p>Constructor to create a <a class="el" href="classarmnn_1_1_quantized_lstm_layer.xhtml" title="This layer represents a QuantizedLstm operation. ">QuantizedLstmLayer</a>. </p>
302<dl class="params"><dt>Parameters</dt><dd>
303 <table class="params">
304 <tr><td class="paramdir">[in]</td><td class="paramname">name</td><td><a class="el" href="classarmnn_1_1_optional.xhtml">Optional</a> name for the layer. </td></tr>
305 </table>
306 </dd>
307</dl>
308
309<p class="definition">Definition at line <a class="el" href="_quantized_lstm_layer_8cpp_source.xhtml#l00017">17</a> of file <a class="el" href="_quantized_lstm_layer_8cpp_source.xhtml">QuantizedLstmLayer.cpp</a>.</p>
310
311<p class="reference">References <a class="el" href="namespacearmnn.xhtml#a56943a0946e5f15e5e58054b8e7a04a4a890a37ff3bfe123414ba7e6f052b49f3">armnn::QuantizedLstm</a>.</p>
312<div class="fragment"><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160; : <a class="code" href="classarmnn_1_1_layer.xhtml#a5e5ae420d199a0bccae5139d38c30205">Layer</a>(3, 2, <a class="code" href="namespacearmnn.xhtml#a56943a0946e5f15e5e58054b8e7a04a4a890a37ff3bfe123414ba7e6f052b49f3">LayerType::QuantizedLstm</a>, name)</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;{</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;}</div><div class="ttc" id="classarmnn_1_1_layer_xhtml_a5e5ae420d199a0bccae5139d38c30205"><div class="ttname"><a href="classarmnn_1_1_layer.xhtml#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.xhtml#l00213">Layer.cpp:213</a></div></div>
313<div class="ttc" id="namespacearmnn_xhtml_a56943a0946e5f15e5e58054b8e7a04a4a890a37ff3bfe123414ba7e6f052b49f3"><div class="ttname"><a href="namespacearmnn.xhtml#a56943a0946e5f15e5e58054b8e7a04a4a890a37ff3bfe123414ba7e6f052b49f3">armnn::LayerType::QuantizedLstm</a></div></div>
314</div><!-- fragment -->
315</div>
316</div>
317<a id="a7bb743f4f47ed214a8dce7d0da26fdff"></a>
318<h2 class="memtitle"><span class="permalink"><a href="#a7bb743f4f47ed214a8dce7d0da26fdff">&#9670;&nbsp;</a></span>~QuantizedLstmLayer()</h2>
319
320<div class="memitem">
321<div class="memproto">
322<table class="mlabels">
323 <tr>
324 <td class="mlabels-left">
325 <table class="memname">
326 <tr>
327 <td class="memname">~<a class="el" href="classarmnn_1_1_quantized_lstm_layer.xhtml">QuantizedLstmLayer</a> </td>
328 <td>(</td>
329 <td class="paramname"></td><td>)</td>
330 <td></td>
331 </tr>
332 </table>
333 </td>
334 <td class="mlabels-right">
335<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">default</span></span> </td>
336 </tr>
337</table>
338</div><div class="memdoc">
339
340<p>Default destructor. </p>
341
342</div>
343</div>
344<h2 class="groupheader">Member Function Documentation</h2>
345<a id="a75a50f464326fefa605ea84ae2c9be85"></a>
346<h2 class="memtitle"><span class="permalink"><a href="#a75a50f464326fefa605ea84ae2c9be85">&#9670;&nbsp;</a></span>Accept()</h2>
347
348<div class="memitem">
349<div class="memproto">
350<table class="mlabels">
351 <tr>
352 <td class="mlabels-left">
353 <table class="memname">
354 <tr>
355 <td class="memname">void Accept </td>
356 <td>(</td>
357 <td class="paramtype"><a class="el" href="classarmnn_1_1_i_layer_visitor.xhtml">ILayerVisitor</a> &amp;&#160;</td>
358 <td class="paramname"><em>visitor</em></td><td>)</td>
359 <td> const</td>
360 </tr>
361 </table>
362 </td>
363 <td class="mlabels-right">
364<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
365 </tr>
366</table>
367</div><div class="memdoc">
368
369<p>Apply a visitor to this layer. </p>
370
371<p>Implements <a class="el" href="classarmnn_1_1_i_connectable_layer.xhtml#a8c9198a992b02e61a6777329d487dde3">IConnectableLayer</a>.</p>
372
373<p class="definition">Definition at line <a class="el" href="_quantized_lstm_layer_8cpp_source.xhtml#l00168">168</a> of file <a class="el" href="_quantized_lstm_layer_8cpp_source.xhtml">QuantizedLstmLayer.cpp</a>.</p>
374
375<p class="reference">References <a class="el" href="_layer_8hpp_source.xhtml#l00305">Layer::GetName()</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00039">QuantizedLstmParameters::m_CellBias</a>, <a class="el" href="_quantized_lstm_params_8hpp_source.xhtml#l00045">QuantizedLstmInputParams::m_CellBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00037">QuantizedLstmParameters::m_ForgetGateBias</a>, <a class="el" href="_quantized_lstm_params_8hpp_source.xhtml#l00044">QuantizedLstmInputParams::m_ForgetGateBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00035">QuantizedLstmParameters::m_InputGateBias</a>, <a class="el" href="_quantized_lstm_params_8hpp_source.xhtml#l00043">QuantizedLstmInputParams::m_InputGateBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00021">QuantizedLstmParameters::m_InputToCellWeights</a>, <a class="el" href="_quantized_lstm_params_8hpp_source.xhtml#l00035">QuantizedLstmInputParams::m_InputToCellWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00019">QuantizedLstmParameters::m_InputToForgetWeights</a>, <a class="el" href="_quantized_lstm_params_8hpp_source.xhtml#l00034">QuantizedLstmInputParams::m_InputToForgetWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00017">QuantizedLstmParameters::m_InputToInputWeights</a>, <a class="el" href="_quantized_lstm_params_8hpp_source.xhtml#l00033">QuantizedLstmInputParams::m_InputToInputWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00023">QuantizedLstmParameters::m_InputToOutputWeights</a>, <a class="el" href="_quantized_lstm_params_8hpp_source.xhtml#l00036">QuantizedLstmInputParams::m_InputToOutputWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00041">QuantizedLstmParameters::m_OutputGateBias</a>, <a class="el" href="_quantized_lstm_params_8hpp_source.xhtml#l00046">QuantizedLstmInputParams::m_OutputGateBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00049">QuantizedLstmLayer::m_QuantizedLstmParameters</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00030">QuantizedLstmParameters::m_RecurrentToCellWeights</a>, <a class="el" href="_quantized_lstm_params_8hpp_source.xhtml#l00040">QuantizedLstmInputParams::m_RecurrentToCellWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00028">QuantizedLstmParameters::m_RecurrentToForgetWeights</a>, <a class="el" href="_quantized_lstm_params_8hpp_source.xhtml#l00039">QuantizedLstmInputParams::m_RecurrentToForgetWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00026">QuantizedLstmParameters::m_RecurrentToInputWeights</a>, <a class="el" href="_quantized_lstm_params_8hpp_source.xhtml#l00038">QuantizedLstmInputParams::m_RecurrentToInputWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00032">QuantizedLstmParameters::m_RecurrentToOutputWeights</a>, <a class="el" href="_quantized_lstm_params_8hpp_source.xhtml#l00041">QuantizedLstmInputParams::m_RecurrentToOutputWeights</a>, and <a class="el" href="classarmnn_1_1_i_layer_visitor.xhtml#acb1bac244973743d460064c1e0d816fd">ILayerVisitor::VisitQuantizedLstmLayer()</a>.</p>
376<div class="fragment"><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160;{</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; QuantizedLstmInputParams inputParams;</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160;</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; <span class="comment">// InputToX weight tensors</span></div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; ConstTensor inputToInputWeightsTensor;</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; {</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; ConstTensor inputToInputWeightsTensorCopy(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a>-&gt;GetTensorInfo(),</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a>-&gt;Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; inputToInputWeightsTensor = inputToInputWeightsTensorCopy;</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; inputParams.m_InputToInputWeights = &amp;inputToInputWeightsTensor;</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; }</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160;</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; ConstTensor inputToForgetWeightsTensor;</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; {</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; ConstTensor inputToForgetWeightsTensorCopy(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a>-&gt;GetTensorInfo(),</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a>-&gt;Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; inputToForgetWeightsTensor = inputToForgetWeightsTensorCopy;</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; inputParams.m_InputToForgetWeights = &amp;inputToForgetWeightsTensor;</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; }</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160;</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; ConstTensor inputToCellWeightsTensor;</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; {</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; ConstTensor inputToCellWeightsTensorCopy(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a>-&gt;GetTensorInfo(),</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a>-&gt;Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; inputToCellWeightsTensor = inputToCellWeightsTensorCopy;</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; inputParams.m_InputToCellWeights = &amp;inputToCellWeightsTensor;</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; }</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160;</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; ConstTensor inputToOutputWeightsTensor;</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; {</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; ConstTensor inputToOutputWeightsTensorCopy(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a>-&gt;GetTensorInfo(),</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a>-&gt;Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; inputToOutputWeightsTensor = inputToOutputWeightsTensorCopy;</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; inputParams.m_InputToOutputWeights = &amp;inputToOutputWeightsTensor;</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; }</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160;</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; <span class="comment">// RecurrentToX weight tensors</span></div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160; ConstTensor recurrentToInputWeightsTensor;</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; {</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160; ConstTensor recurrentToInputWeightsTensorCopy(</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160; <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a>-&gt;GetTensorInfo(),</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a>-&gt;Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; recurrentToInputWeightsTensor = recurrentToInputWeightsTensorCopy;</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; inputParams.m_RecurrentToInputWeights = &amp;recurrentToInputWeightsTensor;</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; }</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160;</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; ConstTensor recurrentToForgetWeightsTensor;</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; {</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; ConstTensor recurrentToForgetWeightsTensorCopy(</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a>-&gt;GetTensorInfo(),</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a>-&gt;Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160; recurrentToForgetWeightsTensor = recurrentToForgetWeightsTensorCopy;</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; inputParams.m_RecurrentToForgetWeights = &amp;recurrentToForgetWeightsTensor;</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; }</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160;</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160; ConstTensor recurrentToCellWeightsTensor;</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160; {</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160; ConstTensor recurrentToCellWeightsTensorCopy(</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160; <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a>-&gt;GetTensorInfo(),</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160; <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a>-&gt;Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160; recurrentToCellWeightsTensor = recurrentToCellWeightsTensorCopy;</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160; inputParams.m_RecurrentToCellWeights = &amp;recurrentToCellWeightsTensor;</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; }</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160;</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160; ConstTensor recurrentToOutputWeightsTensor;</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160; {</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; ConstTensor recurrentToOutputWeightsTensorCopy(</div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a>-&gt;GetTensorInfo(),</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160; <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a>-&gt;Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160; recurrentToOutputWeightsTensor = recurrentToOutputWeightsTensorCopy;</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160; inputParams.m_RecurrentToOutputWeights = &amp;recurrentToOutputWeightsTensor;</div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160; }</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160;</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; <span class="comment">// Bias tensors</span></div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160; ConstTensor inputGateBiasTensor;</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160; {</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160; ConstTensor inputGateBiasTensorCopy(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a>-&gt;GetTensorInfo(),</div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160; <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a>-&gt;Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160; inputGateBiasTensor = inputGateBiasTensorCopy;</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160; inputParams.m_InputGateBias = &amp;inputGateBiasTensor;</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160; }</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160;</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160; ConstTensor forgetGateBiasTensor;</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160; {</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160; ConstTensor forgetGateBiasTensorCopy(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a>-&gt;GetTensorInfo(),</div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160; <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a>-&gt;Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160; forgetGateBiasTensor = forgetGateBiasTensorCopy;</div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160; inputParams.m_ForgetGateBias = &amp;forgetGateBiasTensor;</div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160; }</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160;</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160; ConstTensor cellBiasTensor;</div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160; {</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160; ConstTensor cellBiasTensorCopy(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a>-&gt;GetTensorInfo(),</div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160; <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a>-&gt;Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160; cellBiasTensor = cellBiasTensorCopy;</div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160; inputParams.m_CellBias = &amp;cellBiasTensor;</div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160; }</div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160;</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160; ConstTensor outputGateBiasTensor;</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a> != <span class="keyword">nullptr</span>)</div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160; {</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>&#160; ConstTensor outputGateBiasCopy(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a>-&gt;GetTensorInfo(),</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a>-&gt;Map(<span class="keyword">true</span>));</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160; outputGateBiasTensor = outputGateBiasCopy;</div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160; inputParams.m_OutputGateBias = &amp;outputGateBiasTensor;</div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160; }</div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160;</div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160; visitor.VisitQuantizedLstmLayer(<span class="keyword">this</span>, inputParams, <a class="code" href="classarmnn_1_1_layer.xhtml#a7ddf0cf6f620d59c10e63495ace795d0">GetName</a>());</div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160;}</div><div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a6e8971757790a032e5936da7847ba14b"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a6e8971757790a032e5936da7847ba14b">armnn::QuantizedLstmParameters::m_RecurrentToInputWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00026">QuantizedLstmLayer.hpp:26</a></div></div>
377<div class="ttc" id="classarmnn_1_1_quantized_lstm_layer_xhtml_ad3c37b52145c3cf1b4856c0df008a468"><div class="ttname"><a href="classarmnn_1_1_quantized_lstm_layer.xhtml#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.xhtml#l00049">QuantizedLstmLayer.hpp:49</a></div></div>
378<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a5a0d8af26a6aad1e5be521ea7dc550eb"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a5a0d8af26a6aad1e5be521ea7dc550eb">armnn::QuantizedLstmParameters::m_InputToForgetWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00019">QuantizedLstmLayer.hpp:19</a></div></div>
379<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a91dda74af4085ae43913746ad817795a"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a91dda74af4085ae43913746ad817795a">armnn::QuantizedLstmParameters::m_RecurrentToOutputWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00032">QuantizedLstmLayer.hpp:32</a></div></div>
380<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a4d731c5e73638c7cf7e63f65e9f8b550"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a4d731c5e73638c7cf7e63f65e9f8b550">armnn::QuantizedLstmParameters::m_InputToInputWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00017">QuantizedLstmLayer.hpp:17</a></div></div>
381<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a3d5f129421bbe6479a66d4ed1356bf68"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a3d5f129421bbe6479a66d4ed1356bf68">armnn::QuantizedLstmParameters::m_RecurrentToForgetWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00028">QuantizedLstmLayer.hpp:28</a></div></div>
382<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a9945bc99f8a7400c0724117e29cb3abb"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a9945bc99f8a7400c0724117e29cb3abb">armnn::QuantizedLstmParameters::m_InputGateBias</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00035">QuantizedLstmLayer.hpp:35</a></div></div>
383<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a51255889cbc063130a3d691c1781c5d3"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a51255889cbc063130a3d691c1781c5d3">armnn::QuantizedLstmParameters::m_CellBias</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00039">QuantizedLstmLayer.hpp:39</a></div></div>
384<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a0e0e17d5b494993407cb75d614455ddd"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a0e0e17d5b494993407cb75d614455ddd">armnn::QuantizedLstmParameters::m_ForgetGateBias</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00037">QuantizedLstmLayer.hpp:37</a></div></div>
385<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_aacb55e0992b6781a7bd3225ab6e6bb2f"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#aacb55e0992b6781a7bd3225ab6e6bb2f">armnn::QuantizedLstmParameters::m_OutputGateBias</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00041">QuantizedLstmLayer.hpp:41</a></div></div>
386<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a14ab2bc78421c417c4f97a65b0bd78f9"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a14ab2bc78421c417c4f97a65b0bd78f9">armnn::QuantizedLstmParameters::m_InputToCellWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00021">QuantizedLstmLayer.hpp:21</a></div></div>
387<div class="ttc" id="classarmnn_1_1_layer_xhtml_a7ddf0cf6f620d59c10e63495ace795d0"><div class="ttname"><a href="classarmnn_1_1_layer.xhtml#a7ddf0cf6f620d59c10e63495ace795d0">armnn::Layer::GetName</a></div><div class="ttdeci">const char * GetName() const override</div><div class="ttdoc">Returns the name of the layer. </div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.xhtml#l00305">Layer.hpp:305</a></div></div>
388<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_ae8d897b8d282f25a6eb784c4aaa98df6"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#ae8d897b8d282f25a6eb784c4aaa98df6">armnn::QuantizedLstmParameters::m_InputToOutputWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00023">QuantizedLstmLayer.hpp:23</a></div></div>
389<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a6e8c3db3c5474f0760553ff93fbc39e6"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a6e8c3db3c5474f0760553ff93fbc39e6">armnn::QuantizedLstmParameters::m_RecurrentToCellWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00030">QuantizedLstmLayer.hpp:30</a></div></div>
390</div><!-- fragment -->
391</div>
392</div>
393<a id="a08edea9423b6da5da174ce5269f6e28b"></a>
394<h2 class="memtitle"><span class="permalink"><a href="#a08edea9423b6da5da174ce5269f6e28b">&#9670;&nbsp;</a></span>Clone()</h2>
395
396<div class="memitem">
397<div class="memproto">
398<table class="mlabels">
399 <tr>
400 <td class="mlabels-left">
401 <table class="memname">
402 <tr>
403 <td class="memname"><a class="el" href="classarmnn_1_1_quantized_lstm_layer.xhtml">QuantizedLstmLayer</a> * Clone </td>
404 <td>(</td>
405 <td class="paramtype"><a class="el" href="classarmnn_1_1_graph.xhtml">Graph</a> &amp;&#160;</td>
406 <td class="paramname"><em>graph</em></td><td>)</td>
407 <td> const</td>
408 </tr>
409 </table>
410 </td>
411 <td class="mlabels-right">
412<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
413 </tr>
414</table>
415</div><div class="memdoc">
416
417<p>Creates a dynamically-allocated copy of this layer. </p>
418<dl class="params"><dt>Parameters</dt><dd>
419 <table class="params">
420 <tr><td class="paramdir">[in]</td><td class="paramname">graph</td><td>The graph into which this layer is being cloned. </td></tr>
421 </table>
422 </dd>
423</dl>
424
425<p>Implements <a class="el" href="classarmnn_1_1_layer.xhtml#ae89ff455503aa106d00bf34103d2f2e0">Layer</a>.</p>
426
427<p class="definition">Definition at line <a class="el" href="_quantized_lstm_layer_8cpp_source.xhtml#l00045">45</a> of file <a class="el" href="_quantized_lstm_layer_8cpp_source.xhtml">QuantizedLstmLayer.cpp</a>.</p>
428
429<p class="reference">References <a class="el" href="_layer_8hpp_source.xhtml#l00305">Layer::GetName()</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00039">QuantizedLstmParameters::m_CellBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00037">QuantizedLstmParameters::m_ForgetGateBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00035">QuantizedLstmParameters::m_InputGateBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00021">QuantizedLstmParameters::m_InputToCellWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00019">QuantizedLstmParameters::m_InputToForgetWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00017">QuantizedLstmParameters::m_InputToInputWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00023">QuantizedLstmParameters::m_InputToOutputWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00041">QuantizedLstmParameters::m_OutputGateBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00049">QuantizedLstmLayer::m_QuantizedLstmParameters</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00030">QuantizedLstmParameters::m_RecurrentToCellWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00028">QuantizedLstmParameters::m_RecurrentToForgetWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00026">QuantizedLstmParameters::m_RecurrentToInputWeights</a>, and <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00032">QuantizedLstmParameters::m_RecurrentToOutputWeights</a>.</p>
430<div class="fragment"><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;{</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <span class="keyword">auto</span> layer = CloneBase&lt;QuantizedLstmLayer&gt;(graph, <a class="code" href="classarmnn_1_1_layer.xhtml#a7ddf0cf6f620d59c10e63495ace795d0">GetName</a>());</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; layer-&gt;m_QuantizedLstmParameters.m_InputToInputWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a> ?</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; std::make_unique&lt;ScopedCpuTensorHandle&gt;(*<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; layer-&gt;m_QuantizedLstmParameters.m_InputToForgetWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a> ?</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; std::make_unique&lt;ScopedCpuTensorHandle&gt;(*<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; layer-&gt;m_QuantizedLstmParameters.m_InputToCellWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a> ?</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; std::make_unique&lt;ScopedCpuTensorHandle&gt;(*<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; layer-&gt;m_QuantizedLstmParameters.m_InputToOutputWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a> ?</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; std::make_unique&lt;ScopedCpuTensorHandle&gt;(*<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; layer-&gt;m_QuantizedLstmParameters.m_RecurrentToInputWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a> ?</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; std::make_unique&lt;ScopedCpuTensorHandle&gt;(*<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; layer-&gt;m_QuantizedLstmParameters.m_RecurrentToForgetWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; ? std::make_unique&lt;ScopedCpuTensorHandle&gt;(*<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; layer-&gt;m_QuantizedLstmParameters.m_RecurrentToCellWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a> ?</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; std::make_unique&lt;ScopedCpuTensorHandle&gt;(*<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; layer-&gt;m_QuantizedLstmParameters.m_RecurrentToOutputWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a></div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; ? std::make_unique&lt;ScopedCpuTensorHandle&gt;(*<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; layer-&gt;m_QuantizedLstmParameters.m_InputGateBias = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a> ?</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; std::make_unique&lt;ScopedCpuTensorHandle&gt;(*<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; layer-&gt;m_QuantizedLstmParameters.m_ForgetGateBias = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a> ?</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; std::make_unique&lt;ScopedCpuTensorHandle&gt;(*<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; layer-&gt;m_QuantizedLstmParameters.m_CellBias = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a> ?</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; std::make_unique&lt;ScopedCpuTensorHandle&gt;(*<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; layer-&gt;m_QuantizedLstmParameters.m_OutputGateBias = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a> ?</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; std::make_unique&lt;ScopedCpuTensorHandle&gt;(*<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a>) : <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <span class="keywordflow">return</span> std::move(layer);</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;}</div><div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a6e8971757790a032e5936da7847ba14b"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a6e8971757790a032e5936da7847ba14b">armnn::QuantizedLstmParameters::m_RecurrentToInputWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00026">QuantizedLstmLayer.hpp:26</a></div></div>
431<div class="ttc" id="classarmnn_1_1_quantized_lstm_layer_xhtml_ad3c37b52145c3cf1b4856c0df008a468"><div class="ttname"><a href="classarmnn_1_1_quantized_lstm_layer.xhtml#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.xhtml#l00049">QuantizedLstmLayer.hpp:49</a></div></div>
432<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a5a0d8af26a6aad1e5be521ea7dc550eb"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a5a0d8af26a6aad1e5be521ea7dc550eb">armnn::QuantizedLstmParameters::m_InputToForgetWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00019">QuantizedLstmLayer.hpp:19</a></div></div>
433<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a91dda74af4085ae43913746ad817795a"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a91dda74af4085ae43913746ad817795a">armnn::QuantizedLstmParameters::m_RecurrentToOutputWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00032">QuantizedLstmLayer.hpp:32</a></div></div>
434<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a4d731c5e73638c7cf7e63f65e9f8b550"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a4d731c5e73638c7cf7e63f65e9f8b550">armnn::QuantizedLstmParameters::m_InputToInputWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00017">QuantizedLstmLayer.hpp:17</a></div></div>
435<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a3d5f129421bbe6479a66d4ed1356bf68"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a3d5f129421bbe6479a66d4ed1356bf68">armnn::QuantizedLstmParameters::m_RecurrentToForgetWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00028">QuantizedLstmLayer.hpp:28</a></div></div>
436<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a9945bc99f8a7400c0724117e29cb3abb"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a9945bc99f8a7400c0724117e29cb3abb">armnn::QuantizedLstmParameters::m_InputGateBias</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00035">QuantizedLstmLayer.hpp:35</a></div></div>
437<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a51255889cbc063130a3d691c1781c5d3"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a51255889cbc063130a3d691c1781c5d3">armnn::QuantizedLstmParameters::m_CellBias</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00039">QuantizedLstmLayer.hpp:39</a></div></div>
438<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a0e0e17d5b494993407cb75d614455ddd"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a0e0e17d5b494993407cb75d614455ddd">armnn::QuantizedLstmParameters::m_ForgetGateBias</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00037">QuantizedLstmLayer.hpp:37</a></div></div>
439<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_aacb55e0992b6781a7bd3225ab6e6bb2f"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#aacb55e0992b6781a7bd3225ab6e6bb2f">armnn::QuantizedLstmParameters::m_OutputGateBias</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00041">QuantizedLstmLayer.hpp:41</a></div></div>
440<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a14ab2bc78421c417c4f97a65b0bd78f9"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a14ab2bc78421c417c4f97a65b0bd78f9">armnn::QuantizedLstmParameters::m_InputToCellWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00021">QuantizedLstmLayer.hpp:21</a></div></div>
441<div class="ttc" id="classarmnn_1_1_layer_xhtml_a7ddf0cf6f620d59c10e63495ace795d0"><div class="ttname"><a href="classarmnn_1_1_layer.xhtml#a7ddf0cf6f620d59c10e63495ace795d0">armnn::Layer::GetName</a></div><div class="ttdeci">const char * GetName() const override</div><div class="ttdoc">Returns the name of the layer. </div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.xhtml#l00305">Layer.hpp:305</a></div></div>
442<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_ae8d897b8d282f25a6eb784c4aaa98df6"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#ae8d897b8d282f25a6eb784c4aaa98df6">armnn::QuantizedLstmParameters::m_InputToOutputWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00023">QuantizedLstmLayer.hpp:23</a></div></div>
443<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a6e8c3db3c5474f0760553ff93fbc39e6"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a6e8c3db3c5474f0760553ff93fbc39e6">armnn::QuantizedLstmParameters::m_RecurrentToCellWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00030">QuantizedLstmLayer.hpp:30</a></div></div>
444</div><!-- fragment -->
445</div>
446</div>
447<a id="adfa912d0c4c6c00f1af2cbfa799572b7"></a>
448<h2 class="memtitle"><span class="permalink"><a href="#adfa912d0c4c6c00f1af2cbfa799572b7">&#9670;&nbsp;</a></span>CreateWorkload()</h2>
449
450<div class="memitem">
451<div class="memproto">
452<table class="mlabels">
453 <tr>
454 <td class="mlabels-left">
455 <table class="memname">
456 <tr>
457 <td class="memname">std::unique_ptr&lt; <a class="el" href="classarmnn_1_1_i_workload.xhtml">IWorkload</a> &gt; CreateWorkload </td>
458 <td>(</td>
459 <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">IWorkloadFactory</a> &amp;&#160;</td>
460 <td class="paramname"><em>factory</em></td><td>)</td>
461 <td> const</td>
462 </tr>
463 </table>
464 </td>
465 <td class="mlabels-right">
466<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
467 </tr>
468</table>
469</div><div class="memdoc">
470
471<p>Makes a workload for the QuantizedLstm type. </p>
472<dl class="params"><dt>Parameters</dt><dd>
473 <table class="params">
474 <tr><td class="paramdir">[in]</td><td class="paramname">graph</td><td>The graph where this layer can be found. </td></tr>
475 <tr><td class="paramdir">[in]</td><td class="paramname">factory</td><td>The workload factory which will create the workload. </td></tr>
476 </table>
477 </dd>
478</dl>
479<dl class="section return"><dt>Returns</dt><dd>A pointer to the created workload, or nullptr if not created. </dd></dl>
480
481<p>Implements <a class="el" href="classarmnn_1_1_layer.xhtml#a08d1e10a45f15cd0bd02557be35a3864">Layer</a>.</p>
482
483<p class="definition">Definition at line <a class="el" href="_quantized_lstm_layer_8cpp_source.xhtml#l00022">22</a> of file <a class="el" href="_quantized_lstm_layer_8cpp_source.xhtml">QuantizedLstmLayer.cpp</a>.</p>
484
485<p class="reference">References <a class="el" href="_workload_factory_8cpp_source.xhtml#l01364">IWorkloadFactory::CreateQuantizedLstm()</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00039">QuantizedLstmParameters::m_CellBias</a>, <a class="el" href="_workload_data_8hpp_source.xhtml#l00543">QuantizedLstmQueueDescriptor::m_CellBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00037">QuantizedLstmParameters::m_ForgetGateBias</a>, <a class="el" href="_workload_data_8hpp_source.xhtml#l00542">QuantizedLstmQueueDescriptor::m_ForgetGateBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00035">QuantizedLstmParameters::m_InputGateBias</a>, <a class="el" href="_workload_data_8hpp_source.xhtml#l00541">QuantizedLstmQueueDescriptor::m_InputGateBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00021">QuantizedLstmParameters::m_InputToCellWeights</a>, <a class="el" href="_workload_data_8hpp_source.xhtml#l00533">QuantizedLstmQueueDescriptor::m_InputToCellWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00019">QuantizedLstmParameters::m_InputToForgetWeights</a>, <a class="el" href="_workload_data_8hpp_source.xhtml#l00532">QuantizedLstmQueueDescriptor::m_InputToForgetWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00017">QuantizedLstmParameters::m_InputToInputWeights</a>, <a class="el" href="_workload_data_8hpp_source.xhtml#l00531">QuantizedLstmQueueDescriptor::m_InputToInputWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00023">QuantizedLstmParameters::m_InputToOutputWeights</a>, <a class="el" href="_workload_data_8hpp_source.xhtml#l00534">QuantizedLstmQueueDescriptor::m_InputToOutputWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00041">QuantizedLstmParameters::m_OutputGateBias</a>, <a class="el" href="_workload_data_8hpp_source.xhtml#l00544">QuantizedLstmQueueDescriptor::m_OutputGateBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00049">QuantizedLstmLayer::m_QuantizedLstmParameters</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00030">QuantizedLstmParameters::m_RecurrentToCellWeights</a>, <a class="el" href="_workload_data_8hpp_source.xhtml#l00538">QuantizedLstmQueueDescriptor::m_RecurrentToCellWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00028">QuantizedLstmParameters::m_RecurrentToForgetWeights</a>, <a class="el" href="_workload_data_8hpp_source.xhtml#l00537">QuantizedLstmQueueDescriptor::m_RecurrentToForgetWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00026">QuantizedLstmParameters::m_RecurrentToInputWeights</a>, <a class="el" href="_workload_data_8hpp_source.xhtml#l00536">QuantizedLstmQueueDescriptor::m_RecurrentToInputWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00032">QuantizedLstmParameters::m_RecurrentToOutputWeights</a>, <a class="el" href="_workload_data_8hpp_source.xhtml#l00539">QuantizedLstmQueueDescriptor::m_RecurrentToOutputWeights</a>, and <a class="el" href="_layer_8hpp_source.xhtml#l00351">Layer::PrepInfoAndDesc()</a>.</p>
486<div class="fragment"><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;{</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; QuantizedLstmQueueDescriptor descriptor;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; <span class="comment">// QuantizedLstmLayer parameters - there are no optional params</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; descriptor.m_InputToInputWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a>.get();</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; descriptor.m_InputToForgetWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a>.get();</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; descriptor.m_InputToCellWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a>.get();</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; descriptor.m_InputToOutputWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a>.get();</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; descriptor.m_RecurrentToInputWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a>.get();</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; descriptor.m_RecurrentToForgetWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a>.get();</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; descriptor.m_RecurrentToCellWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a>.get();</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; descriptor.m_RecurrentToOutputWeights = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a>.get();</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; descriptor.m_InputGateBias = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a>.get();</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; descriptor.m_ForgetGateBias = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a>.get();</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; descriptor.m_CellBias = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a>.get();</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; descriptor.m_OutputGateBias = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a>.get();</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <span class="keywordflow">return</span> factory.CreateQuantizedLstm(descriptor, <a class="code" href="classarmnn_1_1_layer.xhtml#a30a858b2b26d651a066537e499fbf40d">PrepInfoAndDesc</a>(descriptor));</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;}</div><div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a6e8971757790a032e5936da7847ba14b"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a6e8971757790a032e5936da7847ba14b">armnn::QuantizedLstmParameters::m_RecurrentToInputWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00026">QuantizedLstmLayer.hpp:26</a></div></div>
487<div class="ttc" id="classarmnn_1_1_quantized_lstm_layer_xhtml_ad3c37b52145c3cf1b4856c0df008a468"><div class="ttname"><a href="classarmnn_1_1_quantized_lstm_layer.xhtml#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.xhtml#l00049">QuantizedLstmLayer.hpp:49</a></div></div>
488<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a5a0d8af26a6aad1e5be521ea7dc550eb"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a5a0d8af26a6aad1e5be521ea7dc550eb">armnn::QuantizedLstmParameters::m_InputToForgetWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00019">QuantizedLstmLayer.hpp:19</a></div></div>
489<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a91dda74af4085ae43913746ad817795a"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a91dda74af4085ae43913746ad817795a">armnn::QuantizedLstmParameters::m_RecurrentToOutputWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00032">QuantizedLstmLayer.hpp:32</a></div></div>
490<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a4d731c5e73638c7cf7e63f65e9f8b550"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a4d731c5e73638c7cf7e63f65e9f8b550">armnn::QuantizedLstmParameters::m_InputToInputWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00017">QuantizedLstmLayer.hpp:17</a></div></div>
491<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a3d5f129421bbe6479a66d4ed1356bf68"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a3d5f129421bbe6479a66d4ed1356bf68">armnn::QuantizedLstmParameters::m_RecurrentToForgetWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00028">QuantizedLstmLayer.hpp:28</a></div></div>
492<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a9945bc99f8a7400c0724117e29cb3abb"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a9945bc99f8a7400c0724117e29cb3abb">armnn::QuantizedLstmParameters::m_InputGateBias</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00035">QuantizedLstmLayer.hpp:35</a></div></div>
493<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a51255889cbc063130a3d691c1781c5d3"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a51255889cbc063130a3d691c1781c5d3">armnn::QuantizedLstmParameters::m_CellBias</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00039">QuantizedLstmLayer.hpp:39</a></div></div>
494<div class="ttc" id="classarmnn_1_1_layer_xhtml_a30a858b2b26d651a066537e499fbf40d"><div class="ttname"><a href="classarmnn_1_1_layer.xhtml#a30a858b2b26d651a066537e499fbf40d">armnn::Layer::PrepInfoAndDesc</a></div><div class="ttdeci">WorkloadInfo PrepInfoAndDesc(QueueDescriptor &amp;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.xhtml#l00351">Layer.hpp:351</a></div></div>
495<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a0e0e17d5b494993407cb75d614455ddd"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a0e0e17d5b494993407cb75d614455ddd">armnn::QuantizedLstmParameters::m_ForgetGateBias</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00037">QuantizedLstmLayer.hpp:37</a></div></div>
496<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_aacb55e0992b6781a7bd3225ab6e6bb2f"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#aacb55e0992b6781a7bd3225ab6e6bb2f">armnn::QuantizedLstmParameters::m_OutputGateBias</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00041">QuantizedLstmLayer.hpp:41</a></div></div>
497<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a14ab2bc78421c417c4f97a65b0bd78f9"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a14ab2bc78421c417c4f97a65b0bd78f9">armnn::QuantizedLstmParameters::m_InputToCellWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00021">QuantizedLstmLayer.hpp:21</a></div></div>
498<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_ae8d897b8d282f25a6eb784c4aaa98df6"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#ae8d897b8d282f25a6eb784c4aaa98df6">armnn::QuantizedLstmParameters::m_InputToOutputWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00023">QuantizedLstmLayer.hpp:23</a></div></div>
499<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a6e8c3db3c5474f0760553ff93fbc39e6"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a6e8c3db3c5474f0760553ff93fbc39e6">armnn::QuantizedLstmParameters::m_RecurrentToCellWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00030">QuantizedLstmLayer.hpp:30</a></div></div>
500</div><!-- fragment -->
501</div>
502</div>
503<a id="abe659a5afa7523f5dbc04bcba9b31f1a"></a>
504<h2 class="memtitle"><span class="permalink"><a href="#abe659a5afa7523f5dbc04bcba9b31f1a">&#9670;&nbsp;</a></span>GetConstantTensorsByRef()</h2>
505
506<div class="memitem">
507<div class="memproto">
508<table class="mlabels">
509 <tr>
510 <td class="mlabels-left">
511 <table class="memname">
512 <tr>
513 <td class="memname"><a class="el" href="classarmnn_1_1_layer.xhtml#a585d59ec610af46a76487fd6c1c55ac1">Layer::ConstantTensors</a> GetConstantTensorsByRef </td>
514 <td>(</td>
515 <td class="paramname"></td><td>)</td>
516 <td></td>
517 </tr>
518 </table>
519 </td>
520 <td class="mlabels-right">
521<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
522 </tr>
523</table>
524</div><div class="memdoc">
525
526<p>Retrieve the handles to the constant values stored by the layer. </p>
527<dl class="section return"><dt>Returns</dt><dd>A vector of the constant tensors stored by this layer. </dd></dl>
528
529<p>Reimplemented from <a class="el" href="classarmnn_1_1_layer.xhtml#afbeac2d77ecaadc3e303a163b4146961">Layer</a>.</p>
530
531<p class="definition">Definition at line <a class="el" href="_quantized_lstm_layer_8cpp_source.xhtml#l00147">147</a> of file <a class="el" href="_quantized_lstm_layer_8cpp_source.xhtml">QuantizedLstmLayer.cpp</a>.</p>
532
533<p class="reference">References <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00039">QuantizedLstmParameters::m_CellBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00037">QuantizedLstmParameters::m_ForgetGateBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00035">QuantizedLstmParameters::m_InputGateBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00021">QuantizedLstmParameters::m_InputToCellWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00019">QuantizedLstmParameters::m_InputToForgetWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00017">QuantizedLstmParameters::m_InputToInputWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00023">QuantizedLstmParameters::m_InputToOutputWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00041">QuantizedLstmParameters::m_OutputGateBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00049">QuantizedLstmLayer::m_QuantizedLstmParameters</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00030">QuantizedLstmParameters::m_RecurrentToCellWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00028">QuantizedLstmParameters::m_RecurrentToForgetWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00026">QuantizedLstmParameters::m_RecurrentToInputWeights</a>, and <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00032">QuantizedLstmParameters::m_RecurrentToOutputWeights</a>.</p>
534<div class="fragment"><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160;{</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; <span class="keywordflow">return</span></div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; {</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a>,</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a>,</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a>,</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a>,</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160;</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a>,</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a>,</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a>,</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a>,</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160;</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a>,</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a>,</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a>,</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a></div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; };</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160;}</div><div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a6e8971757790a032e5936da7847ba14b"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a6e8971757790a032e5936da7847ba14b">armnn::QuantizedLstmParameters::m_RecurrentToInputWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00026">QuantizedLstmLayer.hpp:26</a></div></div>
535<div class="ttc" id="classarmnn_1_1_quantized_lstm_layer_xhtml_ad3c37b52145c3cf1b4856c0df008a468"><div class="ttname"><a href="classarmnn_1_1_quantized_lstm_layer.xhtml#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.xhtml#l00049">QuantizedLstmLayer.hpp:49</a></div></div>
536<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a5a0d8af26a6aad1e5be521ea7dc550eb"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a5a0d8af26a6aad1e5be521ea7dc550eb">armnn::QuantizedLstmParameters::m_InputToForgetWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00019">QuantizedLstmLayer.hpp:19</a></div></div>
537<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a91dda74af4085ae43913746ad817795a"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a91dda74af4085ae43913746ad817795a">armnn::QuantizedLstmParameters::m_RecurrentToOutputWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00032">QuantizedLstmLayer.hpp:32</a></div></div>
538<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a4d731c5e73638c7cf7e63f65e9f8b550"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a4d731c5e73638c7cf7e63f65e9f8b550">armnn::QuantizedLstmParameters::m_InputToInputWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00017">QuantizedLstmLayer.hpp:17</a></div></div>
539<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a3d5f129421bbe6479a66d4ed1356bf68"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a3d5f129421bbe6479a66d4ed1356bf68">armnn::QuantizedLstmParameters::m_RecurrentToForgetWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00028">QuantizedLstmLayer.hpp:28</a></div></div>
540<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a9945bc99f8a7400c0724117e29cb3abb"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a9945bc99f8a7400c0724117e29cb3abb">armnn::QuantizedLstmParameters::m_InputGateBias</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00035">QuantizedLstmLayer.hpp:35</a></div></div>
541<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a51255889cbc063130a3d691c1781c5d3"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a51255889cbc063130a3d691c1781c5d3">armnn::QuantizedLstmParameters::m_CellBias</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00039">QuantizedLstmLayer.hpp:39</a></div></div>
542<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a0e0e17d5b494993407cb75d614455ddd"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a0e0e17d5b494993407cb75d614455ddd">armnn::QuantizedLstmParameters::m_ForgetGateBias</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00037">QuantizedLstmLayer.hpp:37</a></div></div>
543<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_aacb55e0992b6781a7bd3225ab6e6bb2f"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#aacb55e0992b6781a7bd3225ab6e6bb2f">armnn::QuantizedLstmParameters::m_OutputGateBias</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00041">QuantizedLstmLayer.hpp:41</a></div></div>
544<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a14ab2bc78421c417c4f97a65b0bd78f9"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a14ab2bc78421c417c4f97a65b0bd78f9">armnn::QuantizedLstmParameters::m_InputToCellWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00021">QuantizedLstmLayer.hpp:21</a></div></div>
545<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_ae8d897b8d282f25a6eb784c4aaa98df6"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#ae8d897b8d282f25a6eb784c4aaa98df6">armnn::QuantizedLstmParameters::m_InputToOutputWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00023">QuantizedLstmLayer.hpp:23</a></div></div>
546<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a6e8c3db3c5474f0760553ff93fbc39e6"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a6e8c3db3c5474f0760553ff93fbc39e6">armnn::QuantizedLstmParameters::m_RecurrentToCellWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00030">QuantizedLstmLayer.hpp:30</a></div></div>
547</div><!-- fragment -->
548</div>
549</div>
550<a id="a65ca562c882ad619684445a1402f415a"></a>
551<h2 class="memtitle"><span class="permalink"><a href="#a65ca562c882ad619684445a1402f415a">&#9670;&nbsp;</a></span>InferOutputShapes()</h2>
552
553<div class="memitem">
554<div class="memproto">
555<table class="mlabels">
556 <tr>
557 <td class="mlabels-left">
558 <table class="memname">
559 <tr>
560 <td class="memname">std::vector&lt; <a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a> &gt; InferOutputShapes </td>
561 <td>(</td>
562 <td class="paramtype">const std::vector&lt; <a class="el" href="classarmnn_1_1_tensor_shape.xhtml">TensorShape</a> &gt; &amp;&#160;</td>
563 <td class="paramname"><em>inputShapes</em></td><td>)</td>
564 <td> const</td>
565 </tr>
566 </table>
567 </td>
568 <td class="mlabels-right">
569<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
570 </tr>
571</table>
572</div><div class="memdoc">
573
574<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>
575<dl class="params"><dt>Parameters</dt><dd>
576 <table class="params">
577 <tr><td class="paramdir">[in]</td><td class="paramname">inputShapes</td><td>The input shapes layer has. </td></tr>
578 </table>
579 </dd>
580</dl>
581<dl class="section return"><dt>Returns</dt><dd>A vector to the inferred output shape. </dd></dl>
582
583<p>Reimplemented from <a class="el" href="classarmnn_1_1_layer.xhtml#a65ca562c882ad619684445a1402f415a">Layer</a>.</p>
584
585<p class="definition">Definition at line <a class="el" href="_quantized_lstm_layer_8cpp_source.xhtml#l00079">79</a> of file <a class="el" href="_quantized_lstm_layer_8cpp_source.xhtml">QuantizedLstmLayer.cpp</a>.</p>
586
587<p class="reference">Referenced by <a class="el" href="_infer_output_tests_8hpp_source.xhtml#l00534">QuantizedLstmInferOutputShapeImpl()</a>, and <a class="el" href="_quantized_lstm_layer_8cpp_source.xhtml#l00094">QuantizedLstmLayer::ValidateTensorShapesFromInputs()</a>.</p>
588<div class="fragment"><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;{</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; BOOST_ASSERT(inputShapes.size() == 3);</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; <span class="comment">// Get input values for validation</span></div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <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>&#160; <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>&#160;</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; std::vector&lt;TensorShape&gt; outShapes;</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; outShapes.push_back(TensorShape({numBatches, outputSize})); <span class="comment">// cellStateOut</span></div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; outShapes.push_back(TensorShape({numBatches, outputSize})); <span class="comment">// output</span></div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; <span class="keywordflow">return</span> outShapes;</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;}</div></div><!-- fragment -->
589</div>
590</div>
591<a id="a8c8f543d7e9729362c266d12ec169966"></a>
592<h2 class="memtitle"><span class="permalink"><a href="#a8c8f543d7e9729362c266d12ec169966">&#9670;&nbsp;</a></span>ValidateTensorShapesFromInputs()</h2>
593
594<div class="memitem">
595<div class="memproto">
596<table class="mlabels">
597 <tr>
598 <td class="mlabels-left">
599 <table class="memname">
600 <tr>
601 <td class="memname">void ValidateTensorShapesFromInputs </td>
602 <td>(</td>
603 <td class="paramname"></td><td>)</td>
604 <td></td>
605 </tr>
606 </table>
607 </td>
608 <td class="mlabels-right">
609<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
610 </tr>
611</table>
612</div><div class="memdoc">
613
614<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.xhtml">QuantizedLstmLayer</a>. </p>
615
616<p>Implements <a class="el" href="classarmnn_1_1_layer.xhtml#a84ff600212ba26e665de9b978ec896a4">Layer</a>.</p>
617
618<p class="definition">Definition at line <a class="el" href="_quantized_lstm_layer_8cpp_source.xhtml#l00094">94</a> of file <a class="el" href="_quantized_lstm_layer_8cpp_source.xhtml">QuantizedLstmLayer.cpp</a>.</p>
619
620<p class="reference">References <a class="el" href="_exceptions_8hpp_source.xhtml#l00192">CHECK_LOCATION</a>, <a class="el" href="_layer_8hpp_source.xhtml#l00199">InputSlot::GetConnection()</a>, <a class="el" href="_layer_8hpp_source.xhtml#l00310">Layer::GetInputSlot()</a>, <a class="el" href="_layer_8hpp_source.xhtml#l00312">Layer::GetOutputSlot()</a>, <a class="el" href="_tensor_8hpp_source.xhtml#l00088">TensorInfo::GetShape()</a>, <a class="el" href="classarmnn_1_1_i_output_slot.xhtml#a9943775a364fc4ab53b85ac88f311886">IOutputSlot::GetTensorInfo()</a>, <a class="el" href="_layer_8cpp_source.xhtml#l00063">OutputSlot::GetTensorInfo()</a>, <a class="el" href="_quantized_lstm_layer_8cpp_source.xhtml#l00079">QuantizedLstmLayer::InferOutputShapes()</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00039">QuantizedLstmParameters::m_CellBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00037">QuantizedLstmParameters::m_ForgetGateBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00035">QuantizedLstmParameters::m_InputGateBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00021">QuantizedLstmParameters::m_InputToCellWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00019">QuantizedLstmParameters::m_InputToForgetWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00017">QuantizedLstmParameters::m_InputToInputWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00023">QuantizedLstmParameters::m_InputToOutputWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00041">QuantizedLstmParameters::m_OutputGateBias</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00049">QuantizedLstmLayer::m_QuantizedLstmParameters</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00030">QuantizedLstmParameters::m_RecurrentToCellWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00028">QuantizedLstmParameters::m_RecurrentToForgetWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00026">QuantizedLstmParameters::m_RecurrentToInputWeights</a>, <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00032">QuantizedLstmParameters::m_RecurrentToOutputWeights</a>, and <a class="el" href="_layer_8cpp_source.xhtml#l00338">Layer::VerifyLayerConnections()</a>.</p>
621<div class="fragment"><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;{</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; <a class="code" href="classarmnn_1_1_layer.xhtml#a0607e36e88f38c34c71c663164b76776">VerifyLayerConnections</a>(3, <a class="code" href="_exceptions_8hpp.xhtml#aa3be76aec4ce713822a5ea1ecbb7bc61">CHECK_LOCATION</a>());</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; <span class="keyword">auto</span> inferredShapes = <a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#a65ca562c882ad619684445a1402f415a">InferOutputShapes</a>(</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; {</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <a class="code" href="classarmnn_1_1_layer.xhtml#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(0).<a class="code" href="classarmnn_1_1_input_slot.xhtml#a3153abb7c0c0a84629079b2fac7db54f">GetConnection</a>()-&gt;<a class="code" href="classarmnn_1_1_i_output_slot.xhtml#a9943775a364fc4ab53b85ac88f311886">GetTensorInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.xhtml#a8b5d0f8a24e9d9238f412260a552acf8">GetShape</a>(), <span class="comment">// input</span></div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; <a class="code" href="classarmnn_1_1_layer.xhtml#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(1).<a class="code" href="classarmnn_1_1_input_slot.xhtml#a3153abb7c0c0a84629079b2fac7db54f">GetConnection</a>()-&gt;<a class="code" href="classarmnn_1_1_i_output_slot.xhtml#a9943775a364fc4ab53b85ac88f311886">GetTensorInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.xhtml#a8b5d0f8a24e9d9238f412260a552acf8">GetShape</a>(), <span class="comment">// previousCellStateIn</span></div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; <a class="code" href="classarmnn_1_1_layer.xhtml#acf8b8e23bf647836592982f97088d375">GetInputSlot</a>(2).<a class="code" href="classarmnn_1_1_input_slot.xhtml#a3153abb7c0c0a84629079b2fac7db54f">GetConnection</a>()-&gt;<a class="code" href="classarmnn_1_1_i_output_slot.xhtml#a9943775a364fc4ab53b85ac88f311886">GetTensorInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.xhtml#a8b5d0f8a24e9d9238f412260a552acf8">GetShape</a>() <span class="comment">// previousOutputIn</span></div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; });</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; BOOST_ASSERT(inferredShapes.size() == 2);</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160;</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; <span class="comment">// Check weights and bias for nullptr</span></div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a4d731c5e73638c7cf7e63f65e9f8b550">m_InputToInputWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <span class="stringliteral">&quot;QuantizedLstmLayer: m_QuantizedLstmParameters.m_InputToInputWeights should not be null.&quot;</span>);</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a5a0d8af26a6aad1e5be521ea7dc550eb">m_InputToForgetWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; <span class="stringliteral">&quot;QuantizedLstmLayer: m_QuantizedLstmParameters.m_InputToForgetWeights should not be null.&quot;</span>);</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a14ab2bc78421c417c4f97a65b0bd78f9">m_InputToCellWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; <span class="stringliteral">&quot;QuantizedLstmLayer: m_QuantizedLstmParameters.m_InputToCellWeights should not be null.&quot;</span>);</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#ae8d897b8d282f25a6eb784c4aaa98df6">m_InputToOutputWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; <span class="stringliteral">&quot;QuantizedLstmLayer: m_QuantizedLstmParameters.m_InputToOutputWeights should not be null.&quot;</span>);</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160;</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a6e8971757790a032e5936da7847ba14b">m_RecurrentToInputWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; <span class="stringliteral">&quot;QuantizedLstmLayer: m_QuantizedLstmParameters.m_RecurrentToInputWeights should not be null.&quot;</span>);</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a3d5f129421bbe6479a66d4ed1356bf68">m_RecurrentToForgetWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; <span class="stringliteral">&quot;QuantizedLstmLayer: m_QuantizedLstmParameters.m_RecurrentToForgetWeights should not be null.&quot;</span>);</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a6e8c3db3c5474f0760553ff93fbc39e6">m_RecurrentToCellWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; <span class="stringliteral">&quot;QuantizedLstmLayer: m_QuantizedLstmParameters.m_RecurrentToCellWeights should not be null.&quot;</span>);</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a91dda74af4085ae43913746ad817795a">m_RecurrentToOutputWeights</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; <span class="stringliteral">&quot;QuantizedLstmLayer: m_QuantizedLstmParameters.m_RecurrentToOutputWeights should not be null.&quot;</span>);</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160;</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a9945bc99f8a7400c0724117e29cb3abb">m_InputGateBias</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; <span class="stringliteral">&quot;QuantizedLstmLayer: m_QuantizedLstmParameters.m_InputGateBias should not be null.&quot;</span>);</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a0e0e17d5b494993407cb75d614455ddd">m_ForgetGateBias</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; <span class="stringliteral">&quot;QuantizedLstmLayer: m_QuantizedLstmParameters.m_ForgetGateBias should not be null.&quot;</span>);</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a51255889cbc063130a3d691c1781c5d3">m_CellBias</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; <span class="stringliteral">&quot;QuantizedLstmLayer: m_QuantizedLstmParameters.m_CellBias should not be null.&quot;</span>);</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; BOOST_ASSERT_MSG(<a class="code" href="classarmnn_1_1_quantized_lstm_layer.xhtml#ad3c37b52145c3cf1b4856c0df008a468">m_QuantizedLstmParameters</a>.<a class="code" href="structarmnn_1_1_quantized_lstm_parameters.xhtml#aacb55e0992b6781a7bd3225ab6e6bb2f">m_OutputGateBias</a> != <span class="keyword">nullptr</span>,</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; <span class="stringliteral">&quot;QuantizedLstmLayer: m_QuantizedLstmParameters.m_OutputGateBias should not be null.&quot;</span>);</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160;</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; <span class="comment">// Check output TensorShape(s) match inferred shape</span></div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; ConditionalThrowIfNotEqual&lt;LayerValidationException&gt;(</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; <span class="stringliteral">&quot;QuantizedLstmLayer: TensorShape set on OutputSlot[0] does not match the inferred shape.&quot;</span>,</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; <a class="code" href="classarmnn_1_1_layer.xhtml#a0e36688a43c35668d8db5257274c68fe">GetOutputSlot</a>(0).<a class="code" href="classarmnn_1_1_output_slot.xhtml#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.xhtml#a8b5d0f8a24e9d9238f412260a552acf8">GetShape</a>(),</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; inferredShapes[0]);</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160;</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; ConditionalThrowIfNotEqual&lt;LayerValidationException&gt;(</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; <span class="stringliteral">&quot;QuantizedLstmLayer: TensorShape set on OutputSlot[1] does not match the inferred shape.&quot;</span>,</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; <a class="code" href="classarmnn_1_1_layer.xhtml#a0e36688a43c35668d8db5257274c68fe">GetOutputSlot</a>(1).<a class="code" href="classarmnn_1_1_output_slot.xhtml#ada2ad7d1caeeb4ef6195c8925fad6a65">GetTensorInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.xhtml#a8b5d0f8a24e9d9238f412260a552acf8">GetShape</a>(),</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; inferredShapes[1]);</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160;}</div><div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a6e8971757790a032e5936da7847ba14b"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a6e8971757790a032e5936da7847ba14b">armnn::QuantizedLstmParameters::m_RecurrentToInputWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00026">QuantizedLstmLayer.hpp:26</a></div></div>
622<div class="ttc" id="classarmnn_1_1_quantized_lstm_layer_xhtml_ad3c37b52145c3cf1b4856c0df008a468"><div class="ttname"><a href="classarmnn_1_1_quantized_lstm_layer.xhtml#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.xhtml#l00049">QuantizedLstmLayer.hpp:49</a></div></div>
623<div class="ttc" id="classarmnn_1_1_tensor_info_xhtml_a8b5d0f8a24e9d9238f412260a552acf8"><div class="ttname"><a href="classarmnn_1_1_tensor_info.xhtml#a8b5d0f8a24e9d9238f412260a552acf8">armnn::TensorInfo::GetShape</a></div><div class="ttdeci">const TensorShape &amp; GetShape() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.xhtml#l00088">Tensor.hpp:88</a></div></div>
624<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a5a0d8af26a6aad1e5be521ea7dc550eb"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a5a0d8af26a6aad1e5be521ea7dc550eb">armnn::QuantizedLstmParameters::m_InputToForgetWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00019">QuantizedLstmLayer.hpp:19</a></div></div>
625<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a91dda74af4085ae43913746ad817795a"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a91dda74af4085ae43913746ad817795a">armnn::QuantizedLstmParameters::m_RecurrentToOutputWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00032">QuantizedLstmLayer.hpp:32</a></div></div>
626<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a4d731c5e73638c7cf7e63f65e9f8b550"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a4d731c5e73638c7cf7e63f65e9f8b550">armnn::QuantizedLstmParameters::m_InputToInputWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00017">QuantizedLstmLayer.hpp:17</a></div></div>
627<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a3d5f129421bbe6479a66d4ed1356bf68"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a3d5f129421bbe6479a66d4ed1356bf68">armnn::QuantizedLstmParameters::m_RecurrentToForgetWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00028">QuantizedLstmLayer.hpp:28</a></div></div>
628<div class="ttc" id="classarmnn_1_1_input_slot_xhtml_a3153abb7c0c0a84629079b2fac7db54f"><div class="ttname"><a href="classarmnn_1_1_input_slot.xhtml#a3153abb7c0c0a84629079b2fac7db54f">armnn::InputSlot::GetConnection</a></div><div class="ttdeci">const IOutputSlot * GetConnection() const override</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.xhtml#l00199">Layer.hpp:199</a></div></div>
629<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a9945bc99f8a7400c0724117e29cb3abb"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a9945bc99f8a7400c0724117e29cb3abb">armnn::QuantizedLstmParameters::m_InputGateBias</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00035">QuantizedLstmLayer.hpp:35</a></div></div>
630<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a51255889cbc063130a3d691c1781c5d3"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a51255889cbc063130a3d691c1781c5d3">armnn::QuantizedLstmParameters::m_CellBias</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00039">QuantizedLstmLayer.hpp:39</a></div></div>
631<div class="ttc" id="classarmnn_1_1_layer_xhtml_a0607e36e88f38c34c71c663164b76776"><div class="ttname"><a href="classarmnn_1_1_layer.xhtml#a0607e36e88f38c34c71c663164b76776">armnn::Layer::VerifyLayerConnections</a></div><div class="ttdeci">void VerifyLayerConnections(unsigned int expectedConnections, const CheckLocation &amp;location) const</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8cpp_source.xhtml#l00338">Layer.cpp:338</a></div></div>
632<div class="ttc" id="classarmnn_1_1_layer_xhtml_acf8b8e23bf647836592982f97088d375"><div class="ttname"><a href="classarmnn_1_1_layer.xhtml#acf8b8e23bf647836592982f97088d375">armnn::Layer::GetInputSlot</a></div><div class="ttdeci">const InputSlot &amp; GetInputSlot(unsigned int index) const override</div><div class="ttdoc">Get a const input slot handle by slot index. </div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.xhtml#l00310">Layer.hpp:310</a></div></div>
633<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a0e0e17d5b494993407cb75d614455ddd"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a0e0e17d5b494993407cb75d614455ddd">armnn::QuantizedLstmParameters::m_ForgetGateBias</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00037">QuantizedLstmLayer.hpp:37</a></div></div>
634<div class="ttc" id="_exceptions_8hpp_xhtml_aa3be76aec4ce713822a5ea1ecbb7bc61"><div class="ttname"><a href="_exceptions_8hpp.xhtml#aa3be76aec4ce713822a5ea1ecbb7bc61">CHECK_LOCATION</a></div><div class="ttdeci">#define CHECK_LOCATION()</div><div class="ttdef"><b>Definition:</b> <a href="_exceptions_8hpp_source.xhtml#l00192">Exceptions.hpp:192</a></div></div>
635<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_aacb55e0992b6781a7bd3225ab6e6bb2f"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#aacb55e0992b6781a7bd3225ab6e6bb2f">armnn::QuantizedLstmParameters::m_OutputGateBias</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00041">QuantizedLstmLayer.hpp:41</a></div></div>
636<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a14ab2bc78421c417c4f97a65b0bd78f9"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a14ab2bc78421c417c4f97a65b0bd78f9">armnn::QuantizedLstmParameters::m_InputToCellWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00021">QuantizedLstmLayer.hpp:21</a></div></div>
637<div class="ttc" id="classarmnn_1_1_layer_xhtml_a0e36688a43c35668d8db5257274c68fe"><div class="ttname"><a href="classarmnn_1_1_layer.xhtml#a0e36688a43c35668d8db5257274c68fe">armnn::Layer::GetOutputSlot</a></div><div class="ttdeci">const OutputSlot &amp; GetOutputSlot(unsigned int index=0) const override</div><div class="ttdoc">Get the const output slot handle by slot index. </div><div class="ttdef"><b>Definition:</b> <a href="_layer_8hpp_source.xhtml#l00312">Layer.hpp:312</a></div></div>
638<div class="ttc" id="classarmnn_1_1_i_output_slot_xhtml_a9943775a364fc4ab53b85ac88f311886"><div class="ttname"><a href="classarmnn_1_1_i_output_slot.xhtml#a9943775a364fc4ab53b85ac88f311886">armnn::IOutputSlot::GetTensorInfo</a></div><div class="ttdeci">virtual const TensorInfo &amp; GetTensorInfo() const =0</div></div>
639<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_ae8d897b8d282f25a6eb784c4aaa98df6"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#ae8d897b8d282f25a6eb784c4aaa98df6">armnn::QuantizedLstmParameters::m_InputToOutputWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00023">QuantizedLstmLayer.hpp:23</a></div></div>
640<div class="ttc" id="structarmnn_1_1_quantized_lstm_parameters_xhtml_a6e8c3db3c5474f0760553ff93fbc39e6"><div class="ttname"><a href="structarmnn_1_1_quantized_lstm_parameters.xhtml#a6e8c3db3c5474f0760553ff93fbc39e6">armnn::QuantizedLstmParameters::m_RecurrentToCellWeights</a></div><div class="ttdeci">std::unique_ptr&lt; ScopedCpuTensorHandle &gt; 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.xhtml#l00030">QuantizedLstmLayer.hpp:30</a></div></div>
641<div class="ttc" id="classarmnn_1_1_output_slot_xhtml_ada2ad7d1caeeb4ef6195c8925fad6a65"><div class="ttname"><a href="classarmnn_1_1_output_slot.xhtml#ada2ad7d1caeeb4ef6195c8925fad6a65">armnn::OutputSlot::GetTensorInfo</a></div><div class="ttdeci">const TensorInfo &amp; GetTensorInfo() const override</div><div class="ttdef"><b>Definition:</b> <a href="_layer_8cpp_source.xhtml#l00063">Layer.cpp:63</a></div></div>
642<div class="ttc" id="classarmnn_1_1_quantized_lstm_layer_xhtml_a65ca562c882ad619684445a1402f415a"><div class="ttname"><a href="classarmnn_1_1_quantized_lstm_layer.xhtml#a65ca562c882ad619684445a1402f415a">armnn::QuantizedLstmLayer::InferOutputShapes</a></div><div class="ttdeci">std::vector&lt; TensorShape &gt; InferOutputShapes(const std::vector&lt; TensorShape &gt; &amp;inputShapes) const override</div><div class="ttdoc">By default returns inputShapes if the number of inputs are equal to number of outputs, otherwise infers the output shapes from given input shapes and layer properties. </div><div class="ttdef"><b>Definition:</b> <a href="_quantized_lstm_layer_8cpp_source.xhtml#l00079">QuantizedLstmLayer.cpp:79</a></div></div>
643</div><!-- fragment -->
644</div>
645</div>
646<h2 class="groupheader">Member Data Documentation</h2>
647<a id="ad3c37b52145c3cf1b4856c0df008a468"></a>
648<h2 class="memtitle"><span class="permalink"><a href="#ad3c37b52145c3cf1b4856c0df008a468">&#9670;&nbsp;</a></span>m_QuantizedLstmParameters</h2>
649
650<div class="memitem">
651<div class="memproto">
652 <table class="memname">
653 <tr>
654 <td class="memname"><a class="el" href="structarmnn_1_1_quantized_lstm_parameters.xhtml">QuantizedLstmParameters</a> m_QuantizedLstmParameters</td>
655 </tr>
656 </table>
657</div><div class="memdoc">
658
659<p class="definition">Definition at line <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml#l00049">49</a> of file <a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml">QuantizedLstmLayer.hpp</a>.</p>
660
661<p class="reference">Referenced by <a class="el" href="_quantized_lstm_layer_8cpp_source.xhtml#l00168">QuantizedLstmLayer::Accept()</a>, <a class="el" href="_network_8cpp_source.xhtml#l01636">Network::AddQuantizedLstmLayer()</a>, <a class="el" href="_quantized_lstm_layer_8cpp_source.xhtml#l00045">QuantizedLstmLayer::Clone()</a>, <a class="el" href="_quantized_lstm_layer_8cpp_source.xhtml#l00022">QuantizedLstmLayer::CreateWorkload()</a>, <a class="el" href="_quantized_lstm_layer_8cpp_source.xhtml#l00147">QuantizedLstmLayer::GetConstantTensorsByRef()</a>, and <a class="el" href="_quantized_lstm_layer_8cpp_source.xhtml#l00094">QuantizedLstmLayer::ValidateTensorShapesFromInputs()</a>.</p>
662
663</div>
664</div>
665<hr/>The documentation for this class was generated from the following files:<ul>
666<li>src/armnn/layers/<a class="el" href="_quantized_lstm_layer_8hpp_source.xhtml">QuantizedLstmLayer.hpp</a></li>
667<li>src/armnn/layers/<a class="el" href="_quantized_lstm_layer_8cpp_source.xhtml">QuantizedLstmLayer.cpp</a></li>
668</ul>
669</div><!-- contents -->
670</div><!-- doc-content -->
671<!-- start footer part -->
672<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
673 <ul>
674 <li class="navelem"><a class="el" href="namespacearmnn.xhtml">armnn</a></li><li class="navelem"><a class="el" href="classarmnn_1_1_quantized_lstm_layer.xhtml">QuantizedLstmLayer</a></li>
675 <li class="footer">Generated on Fri Mar 13 2020 16:09:19 for ArmNN by
676 <a href="http://www.doxygen.org/index.html">
677 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
678 </ul>
679</div>
680</body>
681</html>