IVGCVSW-3726 Upload ArmNN Doxygen files
* Upload current ArmNN Doxygen files
Signed-off-by: Ryan OShea <Ryan.OShea2@arm.com>
Change-Id: I8989ed16ee40a99a4495b100bd009cf3e24a7285
diff --git a/Documentation/_lstm_utils_8cpp.xhtml b/Documentation/_lstm_utils_8cpp.xhtml
new file mode 100644
index 0000000..19eda5f
--- /dev/null
+++ b/Documentation/_lstm_utils_8cpp.xhtml
@@ -0,0 +1,849 @@
+<!-- Copyright (c) 2020 ARM Limited. -->
+<!-- -->
+<!-- SPDX-License-Identifier: MIT -->
+<!-- -->
+<!-- HTML header for doxygen 1.8.13-->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="robots" content="NOINDEX, NOFOLLOW" />
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>ArmNN: src/backends/reference/workloads/LstmUtils.cpp File Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="navtree.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="resize.js"></script>
+<script type="text/javascript" src="navtreedata.js"></script>
+<script type="text/javascript" src="navtree.js"></script>
+<script type="text/javascript">
+ $(document).ready(initResizable);
+</script>
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="search/searchdata.js"></script>
+<script type="text/javascript" src="search/search.js"></script>
+<script type="text/x-mathjax-config">
+ MathJax.Hub.Config({
+ extensions: ["tex2jax.js"],
+ jax: ["input/TeX","output/HTML-CSS"],
+});
+</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+<link href="stylesheet.css" rel="stylesheet" type="text/css"/>
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 10rem; margin-top: .5rem; margin-left 10px"/>
+ <td style="padding-left: 0.5em;">
+ <div id="projectname">
+  <span id="projectnumber">20.02</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript">
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
+</script>
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',true,false,'search.php','Search');
+ $(document).ready(function() { init_search(); });
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div id="side-nav" class="ui-resizable side-nav-resizable">
+ <div id="nav-tree">
+ <div id="nav-tree-contents">
+ <div id="nav-sync" class="sync"></div>
+ </div>
+ </div>
+ <div id="splitbar" style="-moz-user-select:none;"
+ class="ui-resizable-handle">
+ </div>
+</div>
+<script type="text/javascript">
+$(document).ready(function(){initNavTree('_lstm_utils_8cpp.xhtml','');});
+</script>
+<div id="doc-content">
+<!-- window showing the filter options -->
+<div id="MSearchSelectWindow"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ onkeydown="return searchBox.OnSearchSelectKey(event)">
+</div>
+
+<!-- iframe showing the search results (closed by default) -->
+<div id="MSearchResultsWindow">
+<iframe src="javascript:void(0)" frameborder="0"
+ name="MSearchResults" id="MSearchResults">
+</iframe>
+</div>
+
+<div class="header">
+ <div class="summary">
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">LstmUtils.cpp File Reference</div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="textblock"><code>#include "<a class="el" href="_lstm_utils_8hpp_source.xhtml">LstmUtils.hpp</a>"</code><br />
+<code>#include "<a class="el" href="_base_iterator_8hpp_source.xhtml">BaseIterator.hpp</a>"</code><br />
+<code>#include <<a class="el" href="_cpu_tensor_handle_8hpp_source.xhtml">backendsCommon/CpuTensorHandle.hpp</a>></code><br />
+</div>
+<p><a href="_lstm_utils_8cpp_source.xhtml">Go to the source code of this file.</a></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:a389c4bbafd0fff7060cbb183f20a2134"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="_lstm_utils_8cpp.xhtml#a389c4bbafd0fff7060cbb183f20a2134">VectorBatchVectorAdd</a> (<a class="el" href="classarmnn_1_1_decoder.xhtml">armnn::Decoder</a>< float > &vector, uint32_t vSize, <a class="el" href="classarmnn_1_1_decoder.xhtml">armnn::Decoder</a>< float > &batchVector, uint32_t nBatch, <a class="el" href="classarmnn_1_1_encoder.xhtml">armnn::Encoder</a>< float > &outResult)</td></tr>
+<tr class="separator:a389c4bbafd0fff7060cbb183f20a2134"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a0ed27dd6d6125a06bf654080f4184360"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="_lstm_utils_8cpp.xhtml#a0ed27dd6d6125a06bf654080f4184360">MeanStddevNormalization</a> (<a class="el" href="classarmnn_1_1_decoder.xhtml">armnn::Decoder</a>< float > &input_vector, <a class="el" href="classarmnn_1_1_encoder.xhtml">armnn::Encoder</a>< float > &output_vector, uint32_t v_size, uint32_t n_batch, float normalization_epsilon)</td></tr>
+<tr class="separator:a0ed27dd6d6125a06bf654080f4184360"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a4c20bc573b70e89327b334f924da97b5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="_lstm_utils_8cpp.xhtml#a4c20bc573b70e89327b334f924da97b5">ZeroVector</a> (<a class="el" href="classarmnn_1_1_encoder.xhtml">armnn::Encoder</a>< float > &vector, uint32_t vSize)</td></tr>
+<tr class="separator:a4c20bc573b70e89327b334f924da97b5"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ab93a2c78551c3d3aba8ddcafb792a36d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="_lstm_utils_8cpp.xhtml#ab93a2c78551c3d3aba8ddcafb792a36d">MatrixBatchVectorMultiplyAccumulate</a> (<a class="el" href="classarmnn_1_1_decoder.xhtml">armnn::Decoder</a>< float > &matrix, uint32_t mRows, uint32_t mCols, <a class="el" href="classarmnn_1_1_decoder.xhtml">armnn::Decoder</a>< float > &vector, uint32_t nBatch, <a class="el" href="classarmnn_1_1_encoder.xhtml">armnn::Encoder</a>< float > &outResult)</td></tr>
+<tr class="separator:ab93a2c78551c3d3aba8ddcafb792a36d"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a8c4a96233c9b62c76d611316da11124b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="_lstm_utils_8cpp.xhtml#a8c4a96233c9b62c76d611316da11124b">VectorBatchVectorAssign</a> (<a class="el" href="classarmnn_1_1_decoder.xhtml">armnn::Decoder</a>< float > &vector, uint32_t vSize, uint32_t nBatch, <a class="el" href="classarmnn_1_1_encoder.xhtml">armnn::Encoder</a>< float > &outBatchVector)</td></tr>
+<tr class="separator:a8c4a96233c9b62c76d611316da11124b"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a796323e16216b880043dc5ebbaa2372b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="_lstm_utils_8cpp.xhtml#a796323e16216b880043dc5ebbaa2372b">VectorBatchVectorCwiseProductAccumulate</a> (<a class="el" href="classarmnn_1_1_decoder.xhtml">armnn::Decoder</a>< float > &vector, uint32_t vSize, <a class="el" href="classarmnn_1_1_decoder.xhtml">armnn::Decoder</a>< float > &batchVector, uint32_t nBatch, <a class="el" href="classarmnn_1_1_encoder.xhtml">armnn::Encoder</a>< float > &outResult)</td></tr>
+<tr class="separator:a796323e16216b880043dc5ebbaa2372b"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a1d7ad9698b02282a57fdb17b3af745f9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="_lstm_utils_8cpp.xhtml#a1d7ad9698b02282a57fdb17b3af745f9">VectorBatchVectorCwiseProduct</a> (<a class="el" href="classarmnn_1_1_decoder.xhtml">armnn::Decoder</a>< float > &vector, uint32_t vSize, <a class="el" href="classarmnn_1_1_decoder.xhtml">armnn::Decoder</a>< float > &batchVector, uint32_t nBatch, <a class="el" href="classarmnn_1_1_encoder.xhtml">armnn::Encoder</a>< float > &outResult)</td></tr>
+<tr class="separator:a1d7ad9698b02282a57fdb17b3af745f9"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:aca7bd1dff180b6a5de894537f8220793"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="_lstm_utils_8cpp.xhtml#aca7bd1dff180b6a5de894537f8220793">Sub1Vector</a> (<a class="el" href="classarmnn_1_1_decoder.xhtml">armnn::Decoder</a>< float > &vector, uint32_t vSize, <a class="el" href="classarmnn_1_1_encoder.xhtml">armnn::Encoder</a>< float > &result)</td></tr>
+<tr class="separator:aca7bd1dff180b6a5de894537f8220793"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a5b81dc0a1a9a2bccab8bb79dfa3e77b7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="_lstm_utils_8cpp.xhtml#a5b81dc0a1a9a2bccab8bb79dfa3e77b7">VectorVectorCwiseProduct</a> (<a class="el" href="classarmnn_1_1_decoder.xhtml">armnn::Decoder</a>< float > &vector1, <a class="el" href="classarmnn_1_1_decoder.xhtml">armnn::Decoder</a>< float > &vector2, uint32_t vSize, <a class="el" href="classarmnn_1_1_encoder.xhtml">armnn::Encoder</a>< float > &outResult)</td></tr>
+<tr class="separator:a5b81dc0a1a9a2bccab8bb79dfa3e77b7"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a2e653f948d93f4177f267a7b1b4ed47d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="_lstm_utils_8cpp.xhtml#a2e653f948d93f4177f267a7b1b4ed47d">VectorVectorCwiseProductAccumulate</a> (<a class="el" href="classarmnn_1_1_decoder.xhtml">armnn::Decoder</a>< float > &vector1, <a class="el" href="classarmnn_1_1_decoder.xhtml">armnn::Decoder</a>< float > &vector2, uint32_t vSize, <a class="el" href="classarmnn_1_1_encoder.xhtml">armnn::Encoder</a>< float > &outResult)</td></tr>
+<tr class="separator:a2e653f948d93f4177f267a7b1b4ed47d"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ad5b8e4843a3b303d5b56c0a70dbfd1bf"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="_lstm_utils_8cpp.xhtml#ad5b8e4843a3b303d5b56c0a70dbfd1bf">Clip</a> (float f, float absLimit)</td></tr>
+<tr class="separator:ad5b8e4843a3b303d5b56c0a70dbfd1bf"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a117781e8e9b7321722bbdd8ff74b484a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="_lstm_utils_8cpp.xhtml#a117781e8e9b7321722bbdd8ff74b484a">ClipVector</a> (<a class="el" href="classarmnn_1_1_decoder.xhtml">armnn::Decoder</a>< float > &vector, uint32_t vSize, float absLimit, <a class="el" href="classarmnn_1_1_encoder.xhtml">armnn::Encoder</a>< float > &outResult)</td></tr>
+<tr class="separator:a117781e8e9b7321722bbdd8ff74b484a"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a00d8a623c04f1120f6fee3fe38d1cee9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="_lstm_utils_8cpp.xhtml#a00d8a623c04f1120f6fee3fe38d1cee9">CopyVector</a> (<a class="el" href="classarmnn_1_1_decoder.xhtml">armnn::Decoder</a>< float > &vector, uint32_t vSize, <a class="el" href="classarmnn_1_1_encoder.xhtml">armnn::Encoder</a>< float > &outResult)</td></tr>
+<tr class="separator:a00d8a623c04f1120f6fee3fe38d1cee9"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:afc83b9418e9721cee21de245cb8533de"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="_lstm_utils_8cpp.xhtml#afc83b9418e9721cee21de245cb8533de">SetActivationParameters</a> (uint32_t activation, <a class="el" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9ea">armnn::ActivationFunction</a> &outArmnnActivation, float &outA, float &outB)</td></tr>
+<tr class="separator:afc83b9418e9721cee21de245cb8533de"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a1aef5d233d1f569f34d6c36bdf5ae9e5"><td class="memItemLeft" align="right" valign="top">std::unique_ptr< <a class="el" href="classarmnn_1_1_scoped_cpu_tensor_handle.xhtml">armnn::ScopedCpuTensorHandle</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="_lstm_utils_8cpp.xhtml#a1aef5d233d1f569f34d6c36bdf5ae9e5">AssignScopedCpuTensorHandle</a> (const <a class="el" href="classarmnn_1_1_const_cpu_tensor_handle.xhtml">armnn::ConstCpuTensorHandle</a> *ptr)</td></tr>
+<tr class="separator:a1aef5d233d1f569f34d6c36bdf5ae9e5"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="a1aef5d233d1f569f34d6c36bdf5ae9e5"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a1aef5d233d1f569f34d6c36bdf5ae9e5">◆ </a></span>AssignScopedCpuTensorHandle()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">std::unique_ptr<<a class="el" href="classarmnn_1_1_scoped_cpu_tensor_handle.xhtml">armnn::ScopedCpuTensorHandle</a>> AssignScopedCpuTensorHandle </td>
+ <td>(</td>
+ <td class="paramtype">const <a class="el" href="classarmnn_1_1_const_cpu_tensor_handle.xhtml">armnn::ConstCpuTensorHandle</a> * </td>
+ <td class="paramname"><em>ptr</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_lstm_utils_8cpp_source.xhtml#l00299">299</a> of file <a class="el" href="_lstm_utils_8cpp_source.xhtml">LstmUtils.cpp</a>.</p>
+<div class="fragment"><div class="line"><a name="l00300"></a><span class="lineno"> 300</span> {</div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  <span class="keywordflow">if</span> (!ptr)</div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  {</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  <span class="keywordflow">return</span> <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  }</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span> </div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  <span class="keywordflow">return</span> std::make_unique<armnn::ScopedCpuTensorHandle>(*ptr);</div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span> }</div></div><!-- fragment -->
+</div>
+</div>
+<a id="ad5b8e4843a3b303d5b56c0a70dbfd1bf"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ad5b8e4843a3b303d5b56c0a70dbfd1bf">◆ </a></span>Clip()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">float Clip </td>
+ <td>(</td>
+ <td class="paramtype">float </td>
+ <td class="paramname"><em>f</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">float </td>
+ <td class="paramname"><em>absLimit</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_lstm_utils_8cpp_source.xhtml#l00221">221</a> of file <a class="el" href="_lstm_utils_8cpp_source.xhtml">LstmUtils.cpp</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_lstm_utils_8cpp_source.xhtml#l00229">ClipVector()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00223"></a><span class="lineno"> 223</span> {</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  <span class="keywordtype">float</span> result = (absLimit < f) ? absLimit : f;</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  result = (-absLimit > result) ? -absLimit : result;</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  <span class="keywordflow">return</span> result;</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span> }</div></div><!-- fragment -->
+</div>
+</div>
+<a id="a117781e8e9b7321722bbdd8ff74b484a"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a117781e8e9b7321722bbdd8ff74b484a">◆ </a></span>ClipVector()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void ClipVector </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="classarmnn_1_1_decoder.xhtml">armnn::Decoder</a>< float > & </td>
+ <td class="paramname"><em>vector</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t </td>
+ <td class="paramname"><em>vSize</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">float </td>
+ <td class="paramname"><em>absLimit</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="classarmnn_1_1_encoder.xhtml">armnn::Encoder</a>< float > & </td>
+ <td class="paramname"><em>outResult</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_lstm_utils_8cpp_source.xhtml#l00229">229</a> of file <a class="el" href="_lstm_utils_8cpp_source.xhtml">LstmUtils.cpp</a>.</p>
+
+<p class="reference">References <a class="el" href="_lstm_utils_8cpp_source.xhtml#l00221">Clip()</a>, <a class="el" href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">Decoder< IType >::Get()</a>, and <a class="el" href="classarmnn_1_1_encoder.xhtml#ae3b62b846a9c239f332830b9e36030eb">Encoder< IType >::Set()</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_ref_lstm_workload_8cpp_source.xhtml#l00041">RefLstmWorkload::Execute()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00233"></a><span class="lineno"> 233</span> {</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  <span class="keywordflow">for</span> (uint32_t v = 0; v < vSize; v++)</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  {</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  outResult.<a class="code" href="classarmnn_1_1_encoder.xhtml#ae3b62b846a9c239f332830b9e36030eb">Set</a>(<a class="code" href="_lstm_utils_8cpp.xhtml#ad5b8e4843a3b303d5b56c0a70dbfd1bf">Clip</a>(vector.<a class="code" href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">Get</a>(), absLimit));</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  ++vector;</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  ++outResult;</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  }</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  vector -= vSize;</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  outResult -= vSize;</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span> }</div><div class="ttc" id="classarmnn_1_1_encoder_xhtml_ae3b62b846a9c239f332830b9e36030eb"><div class="ttname"><a href="classarmnn_1_1_encoder.xhtml#ae3b62b846a9c239f332830b9e36030eb">armnn::Encoder::Set</a></div><div class="ttdeci">virtual void Set(IType right)=0</div></div>
+<div class="ttc" id="classarmnn_1_1_decoder_xhtml_ac729108381e2340bea12877971713ecb"><div class="ttname"><a href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">armnn::Decoder::Get</a></div><div class="ttdeci">virtual IType Get() const =0</div></div>
+<div class="ttc" id="_lstm_utils_8cpp_xhtml_ad5b8e4843a3b303d5b56c0a70dbfd1bf"><div class="ttname"><a href="_lstm_utils_8cpp.xhtml#ad5b8e4843a3b303d5b56c0a70dbfd1bf">Clip</a></div><div class="ttdeci">float Clip(float f, float absLimit)</div><div class="ttdef"><b>Definition:</b> <a href="_lstm_utils_8cpp_source.xhtml#l00221">LstmUtils.cpp:221</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="a00d8a623c04f1120f6fee3fe38d1cee9"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a00d8a623c04f1120f6fee3fe38d1cee9">◆ </a></span>CopyVector()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void CopyVector </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="classarmnn_1_1_decoder.xhtml">armnn::Decoder</a>< float > & </td>
+ <td class="paramname"><em>vector</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t </td>
+ <td class="paramname"><em>vSize</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="classarmnn_1_1_encoder.xhtml">armnn::Encoder</a>< float > & </td>
+ <td class="paramname"><em>outResult</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_lstm_utils_8cpp_source.xhtml#l00244">244</a> of file <a class="el" href="_lstm_utils_8cpp_source.xhtml">LstmUtils.cpp</a>.</p>
+
+<p class="reference">References <a class="el" href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">Decoder< IType >::Get()</a>, and <a class="el" href="classarmnn_1_1_encoder.xhtml#ae3b62b846a9c239f332830b9e36030eb">Encoder< IType >::Set()</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_ref_lstm_workload_8cpp_source.xhtml#l00041">RefLstmWorkload::Execute()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00247"></a><span class="lineno"> 247</span> {</div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  <span class="keywordflow">for</span> (uint32_t v = 0; v < vSize; v++)</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  {</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  outResult.<a class="code" href="classarmnn_1_1_encoder.xhtml#ae3b62b846a9c239f332830b9e36030eb">Set</a>(vector.<a class="code" href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">Get</a>());</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  ++outResult;</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  ++vector;</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  }</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  outResult -= vSize;</div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  vector -= vSize;</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span> }</div><div class="ttc" id="classarmnn_1_1_encoder_xhtml_ae3b62b846a9c239f332830b9e36030eb"><div class="ttname"><a href="classarmnn_1_1_encoder.xhtml#ae3b62b846a9c239f332830b9e36030eb">armnn::Encoder::Set</a></div><div class="ttdeci">virtual void Set(IType right)=0</div></div>
+<div class="ttc" id="classarmnn_1_1_decoder_xhtml_ac729108381e2340bea12877971713ecb"><div class="ttname"><a href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">armnn::Decoder::Get</a></div><div class="ttdeci">virtual IType Get() const =0</div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="ab93a2c78551c3d3aba8ddcafb792a36d"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#ab93a2c78551c3d3aba8ddcafb792a36d">◆ </a></span>MatrixBatchVectorMultiplyAccumulate()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void MatrixBatchVectorMultiplyAccumulate </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="classarmnn_1_1_decoder.xhtml">armnn::Decoder</a>< float > & </td>
+ <td class="paramname"><em>matrix</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t </td>
+ <td class="paramname"><em>mRows</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t </td>
+ <td class="paramname"><em>mCols</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="classarmnn_1_1_decoder.xhtml">armnn::Decoder</a>< float > & </td>
+ <td class="paramname"><em>vector</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t </td>
+ <td class="paramname"><em>nBatch</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="classarmnn_1_1_encoder.xhtml">armnn::Encoder</a>< float > & </td>
+ <td class="paramname"><em>outResult</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_lstm_utils_8cpp_source.xhtml#l00087">87</a> of file <a class="el" href="_lstm_utils_8cpp_source.xhtml">LstmUtils.cpp</a>.</p>
+
+<p class="reference">References <a class="el" href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">Decoder< IType >::Get()</a>, <a class="el" href="classarmnn_1_1_encoder.xhtml#ac729108381e2340bea12877971713ecb">Encoder< IType >::Get()</a>, and <a class="el" href="classarmnn_1_1_encoder.xhtml#ae3b62b846a9c239f332830b9e36030eb">Encoder< IType >::Set()</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_ref_lstm_workload_8cpp_source.xhtml#l00041">RefLstmWorkload::Execute()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> {</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keywordflow">for</span> (uint32_t b = 0; b < nBatch; b++)</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  {</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keywordflow">for</span> (uint32_t r = 0; r < mRows; r++)</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  {</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  vector += b * mCols;</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keywordflow">for</span> (uint32_t c = 0; c < mCols; c++)</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  {</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  outResult.<a class="code" href="classarmnn_1_1_encoder.xhtml#ae3b62b846a9c239f332830b9e36030eb">Set</a>(outResult.<a class="code" href="classarmnn_1_1_encoder.xhtml#ac729108381e2340bea12877971713ecb">Get</a>() + matrix.<a class="code" href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">Get</a>() * vector.<a class="code" href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">Get</a>());</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  ++matrix;</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  ++vector;</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  }</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  outResult += 1;</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  vector -= (b+1) * mCols;</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  }</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  matrix -= (mRows * mCols);</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  }</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  outResult -= (mRows * nBatch);</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span> }</div><div class="ttc" id="classarmnn_1_1_encoder_xhtml_ae3b62b846a9c239f332830b9e36030eb"><div class="ttname"><a href="classarmnn_1_1_encoder.xhtml#ae3b62b846a9c239f332830b9e36030eb">armnn::Encoder::Set</a></div><div class="ttdeci">virtual void Set(IType right)=0</div></div>
+<div class="ttc" id="classarmnn_1_1_decoder_xhtml_ac729108381e2340bea12877971713ecb"><div class="ttname"><a href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">armnn::Decoder::Get</a></div><div class="ttdeci">virtual IType Get() const =0</div></div>
+<div class="ttc" id="classarmnn_1_1_encoder_xhtml_ac729108381e2340bea12877971713ecb"><div class="ttname"><a href="classarmnn_1_1_encoder.xhtml#ac729108381e2340bea12877971713ecb">armnn::Encoder::Get</a></div><div class="ttdeci">virtual IType Get() const =0</div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="a0ed27dd6d6125a06bf654080f4184360"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a0ed27dd6d6125a06bf654080f4184360">◆ </a></span>MeanStddevNormalization()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void MeanStddevNormalization </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="classarmnn_1_1_decoder.xhtml">armnn::Decoder</a>< float > & </td>
+ <td class="paramname"><em>input_vector</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="classarmnn_1_1_encoder.xhtml">armnn::Encoder</a>< float > & </td>
+ <td class="paramname"><em>output_vector</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t </td>
+ <td class="paramname"><em>v_size</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t </td>
+ <td class="paramname"><em>n_batch</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">float </td>
+ <td class="paramname"><em>normalization_epsilon</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_lstm_utils_8cpp_source.xhtml#l00040">40</a> of file <a class="el" href="_lstm_utils_8cpp_source.xhtml">LstmUtils.cpp</a>.</p>
+
+<p class="reference">References <a class="el" href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">Decoder< IType >::Get()</a>, and <a class="el" href="classarmnn_1_1_encoder.xhtml#ae3b62b846a9c239f332830b9e36030eb">Encoder< IType >::Set()</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_ref_lstm_workload_8cpp_source.xhtml#l00041">RefLstmWorkload::Execute()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> {</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keywordflow">for</span> (uint32_t batch = 0; batch < n_batch; ++batch) {</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keywordtype">float</span> sum = 0.0f;</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keywordtype">float</span> sum_sq = 0.0f;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keywordflow">for</span> (uint32_t i = 0; i < v_size; ++i) {</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  sum += input_vector.<a class="code" href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">Get</a>();</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  sum_sq += input_vector.<a class="code" href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">Get</a>() * input_vector.<a class="code" href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">Get</a>();</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  ++input_vector;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  }</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  input_vector -= v_size;</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keyword">const</span> <span class="keywordtype">float</span> mean = sum / <span class="keyword">static_cast<</span><span class="keywordtype">float</span><span class="keyword">></span>(v_size);</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keywordtype">float</span> stddev_inv = 0.0f;</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keyword">const</span> <span class="keywordtype">float</span> variance = sum_sq / <span class="keyword">static_cast<</span><span class="keywordtype">float</span><span class="keyword">></span>(v_size) - mean * mean;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordflow">if</span> (variance == 0) {</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  stddev_inv = 1.0f / std::sqrt(normalization_epsilon);</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  stddev_inv = 1.0f / std::sqrt(variance);</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  }</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> </div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keywordflow">for</span> (uint32_t i = 0; i < v_size; ++i) {</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  output_vector.<a class="code" href="classarmnn_1_1_encoder.xhtml#ae3b62b846a9c239f332830b9e36030eb">Set</a>((input_vector.<a class="code" href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">Get</a>() - mean) * stddev_inv);</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  ++output_vector;</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  ++input_vector;</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  }</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="comment">// Don't reset iterator to handle next batch</span></div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  }</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  output_vector -= v_size * n_batch;</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  input_vector -= v_size * n_batch;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> }</div><div class="ttc" id="classarmnn_1_1_encoder_xhtml_ae3b62b846a9c239f332830b9e36030eb"><div class="ttname"><a href="classarmnn_1_1_encoder.xhtml#ae3b62b846a9c239f332830b9e36030eb">armnn::Encoder::Set</a></div><div class="ttdeci">virtual void Set(IType right)=0</div></div>
+<div class="ttc" id="classarmnn_1_1_decoder_xhtml_ac729108381e2340bea12877971713ecb"><div class="ttname"><a href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">armnn::Decoder::Get</a></div><div class="ttdeci">virtual IType Get() const =0</div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="afc83b9418e9721cee21de245cb8533de"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#afc83b9418e9721cee21de245cb8533de">◆ </a></span>SetActivationParameters()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void SetActivationParameters </td>
+ <td>(</td>
+ <td class="paramtype">uint32_t </td>
+ <td class="paramname"><em>activation</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9ea">armnn::ActivationFunction</a> & </td>
+ <td class="paramname"><em>outArmnnActivation</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">float & </td>
+ <td class="paramname"><em>outA</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">float & </td>
+ <td class="paramname"><em>outB</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_lstm_utils_8cpp_source.xhtml#l00258">258</a> of file <a class="el" href="_lstm_utils_8cpp_source.xhtml">LstmUtils.cpp</a>.</p>
+
+<p class="reference">References <a class="el" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaabc5a0f0d6e7cf7fca73299dcd46c0f0d">armnn::BoundedReLu</a>, <a class="el" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa3d90c0a5ab3fcf8e6f6608cb3d3a1559">armnn::ReLu</a>, <a class="el" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa21eebb164e4b8b9bcf64fdb4d8d5dff4">armnn::Sigmoid</a>, and <a class="el" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa23b68da1de2b77d74da9da2635722a3e">armnn::TanH</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_ref_lstm_workload_8cpp_source.xhtml#l00041">RefLstmWorkload::Execute()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00262"></a><span class="lineno"> 262</span> {</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  <span class="keywordflow">switch</span> (activation)</div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  {</div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  <span class="keywordflow">case</span> 0: <span class="comment">// None</span></div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  outA = 0;</div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  outB = 0;</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span> </div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  <span class="keywordflow">case</span> 1: <span class="comment">// Relu</span></div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  outArmnnActivation = <a class="code" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa3d90c0a5ab3fcf8e6f6608cb3d3a1559">armnn::ActivationFunction::ReLu</a>;</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  outA = 0;</div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  outB = 0;</div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span> </div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  <span class="keywordflow">case</span> 3: <span class="comment">// Relu6</span></div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  outArmnnActivation = <a class="code" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaabc5a0f0d6e7cf7fca73299dcd46c0f0d">armnn::ActivationFunction::BoundedReLu</a>;</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  outA = 6;</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  outB = 0;</div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span> </div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  <span class="keywordflow">case</span> 4: <span class="comment">// Tanh</span></div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  outArmnnActivation = <a class="code" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa23b68da1de2b77d74da9da2635722a3e">armnn::ActivationFunction::TanH</a>;</div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  outA = 1;</div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  outB = 1;</div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span> </div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  <span class="keywordflow">case</span> 6: <span class="comment">// Sigmoid</span></div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  outArmnnActivation = <a class="code" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa21eebb164e4b8b9bcf64fdb4d8d5dff4">armnn::ActivationFunction::Sigmoid</a>;</div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  outA = 0;</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  outB = 0;</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  <span class="keywordflow">return</span>;</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span> </div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  <span class="keywordflow">default</span>:</div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  <span class="keywordflow">throw</span> <a class="code" href="classarmnn_1_1_exception.xhtml">armnn::Exception</a>(<span class="stringliteral">"Unsupported activation function: "</span> + std::to_string(activation));</div><div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  }</div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span> }</div><div class="ttc" id="namespacearmnn_xhtml_a56297e0f7b215eea46c818cb7528d9eaa3d90c0a5ab3fcf8e6f6608cb3d3a1559"><div class="ttname"><a href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa3d90c0a5ab3fcf8e6f6608cb3d3a1559">armnn::ActivationFunction::ReLu</a></div></div>
+<div class="ttc" id="namespacearmnn_xhtml_a56297e0f7b215eea46c818cb7528d9eaa21eebb164e4b8b9bcf64fdb4d8d5dff4"><div class="ttname"><a href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa21eebb164e4b8b9bcf64fdb4d8d5dff4">armnn::ActivationFunction::Sigmoid</a></div></div>
+<div class="ttc" id="namespacearmnn_xhtml_a56297e0f7b215eea46c818cb7528d9eaabc5a0f0d6e7cf7fca73299dcd46c0f0d"><div class="ttname"><a href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaabc5a0f0d6e7cf7fca73299dcd46c0f0d">armnn::ActivationFunction::BoundedReLu</a></div><div class="ttdoc">min(a, max(b, input)) ReLu1 & ReLu6. </div></div>
+<div class="ttc" id="classarmnn_1_1_exception_xhtml"><div class="ttname"><a href="classarmnn_1_1_exception.xhtml">armnn::Exception</a></div><div class="ttdoc">Base class for all ArmNN exceptions so that users can filter to just those. </div><div class="ttdef"><b>Definition:</b> <a href="_exceptions_8hpp_source.xhtml#l00046">Exceptions.hpp:46</a></div></div>
+<div class="ttc" id="namespacearmnn_xhtml_a56297e0f7b215eea46c818cb7528d9eaa23b68da1de2b77d74da9da2635722a3e"><div class="ttname"><a href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa23b68da1de2b77d74da9da2635722a3e">armnn::ActivationFunction::TanH</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="aca7bd1dff180b6a5de894537f8220793"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#aca7bd1dff180b6a5de894537f8220793">◆ </a></span>Sub1Vector()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void Sub1Vector </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="classarmnn_1_1_decoder.xhtml">armnn::Decoder</a>< float > & </td>
+ <td class="paramname"><em>vector</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t </td>
+ <td class="paramname"><em>vSize</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="classarmnn_1_1_encoder.xhtml">armnn::Encoder</a>< float > & </td>
+ <td class="paramname"><em>result</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_lstm_utils_8cpp_source.xhtml#l00173">173</a> of file <a class="el" href="_lstm_utils_8cpp_source.xhtml">LstmUtils.cpp</a>.</p>
+
+<p class="reference">References <a class="el" href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">Decoder< IType >::Get()</a>, and <a class="el" href="classarmnn_1_1_encoder.xhtml#ae3b62b846a9c239f332830b9e36030eb">Encoder< IType >::Set()</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_ref_lstm_workload_8cpp_source.xhtml#l00041">RefLstmWorkload::Execute()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00176"></a><span class="lineno"> 176</span> {</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="keywordflow">for</span> (uint32_t v = 0; v < vSize; v++)</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  {</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  result.<a class="code" href="classarmnn_1_1_encoder.xhtml#ae3b62b846a9c239f332830b9e36030eb">Set</a>(1.0f - vector.<a class="code" href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">Get</a>());</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  ++vector;</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  ++result;</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  }</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  vector -= vSize;</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  result -= vSize;</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span> }</div><div class="ttc" id="classarmnn_1_1_encoder_xhtml_ae3b62b846a9c239f332830b9e36030eb"><div class="ttname"><a href="classarmnn_1_1_encoder.xhtml#ae3b62b846a9c239f332830b9e36030eb">armnn::Encoder::Set</a></div><div class="ttdeci">virtual void Set(IType right)=0</div></div>
+<div class="ttc" id="classarmnn_1_1_decoder_xhtml_ac729108381e2340bea12877971713ecb"><div class="ttname"><a href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">armnn::Decoder::Get</a></div><div class="ttdeci">virtual IType Get() const =0</div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="a389c4bbafd0fff7060cbb183f20a2134"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a389c4bbafd0fff7060cbb183f20a2134">◆ </a></span>VectorBatchVectorAdd()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void VectorBatchVectorAdd </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="classarmnn_1_1_decoder.xhtml">armnn::Decoder</a>< float > & </td>
+ <td class="paramname"><em>vector</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t </td>
+ <td class="paramname"><em>vSize</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="classarmnn_1_1_decoder.xhtml">armnn::Decoder</a>< float > & </td>
+ <td class="paramname"><em>batchVector</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t </td>
+ <td class="paramname"><em>nBatch</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="classarmnn_1_1_encoder.xhtml">armnn::Encoder</a>< float > & </td>
+ <td class="paramname"><em>outResult</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_lstm_utils_8cpp_source.xhtml#l00016">16</a> of file <a class="el" href="_lstm_utils_8cpp_source.xhtml">LstmUtils.cpp</a>.</p>
+
+<p class="reference">References <a class="el" href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">Decoder< IType >::Get()</a>, and <a class="el" href="classarmnn_1_1_encoder.xhtml#ae3b62b846a9c239f332830b9e36030eb">Encoder< IType >::Set()</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_ref_lstm_workload_8cpp_source.xhtml#l00041">RefLstmWorkload::Execute()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> {</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <span class="keywordflow">for</span> (uint32_t b = 0; b < nBatch; b++)</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  {</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <span class="keywordflow">for</span> (uint32_t v = 0; v < vSize; v++)</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  {</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  outResult.<a class="code" href="classarmnn_1_1_encoder.xhtml#ae3b62b846a9c239f332830b9e36030eb">Set</a>(batchVector.<a class="code" href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">Get</a>() + vector.<a class="code" href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">Get</a>());</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  ++outResult;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  ++vector;</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  ++batchVector;</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  }</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  vector -= vSize;</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  }</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  batchVector -= vSize * nBatch;</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  outResult -= vSize * nBatch;</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> }</div><div class="ttc" id="classarmnn_1_1_encoder_xhtml_ae3b62b846a9c239f332830b9e36030eb"><div class="ttname"><a href="classarmnn_1_1_encoder.xhtml#ae3b62b846a9c239f332830b9e36030eb">armnn::Encoder::Set</a></div><div class="ttdeci">virtual void Set(IType right)=0</div></div>
+<div class="ttc" id="classarmnn_1_1_decoder_xhtml_ac729108381e2340bea12877971713ecb"><div class="ttname"><a href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">armnn::Decoder::Get</a></div><div class="ttdeci">virtual IType Get() const =0</div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="a8c4a96233c9b62c76d611316da11124b"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a8c4a96233c9b62c76d611316da11124b">◆ </a></span>VectorBatchVectorAssign()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void VectorBatchVectorAssign </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="classarmnn_1_1_decoder.xhtml">armnn::Decoder</a>< float > & </td>
+ <td class="paramname"><em>vector</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t </td>
+ <td class="paramname"><em>vSize</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t </td>
+ <td class="paramname"><em>nBatch</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="classarmnn_1_1_encoder.xhtml">armnn::Encoder</a>< float > & </td>
+ <td class="paramname"><em>outBatchVector</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_lstm_utils_8cpp_source.xhtml#l00113">113</a> of file <a class="el" href="_lstm_utils_8cpp_source.xhtml">LstmUtils.cpp</a>.</p>
+
+<p class="reference">References <a class="el" href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">Decoder< IType >::Get()</a>, and <a class="el" href="classarmnn_1_1_encoder.xhtml#ae3b62b846a9c239f332830b9e36030eb">Encoder< IType >::Set()</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_ref_lstm_workload_8cpp_source.xhtml#l00041">RefLstmWorkload::Execute()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00117"></a><span class="lineno"> 117</span> {</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keywordflow">for</span> (uint32_t b = 0; b < nBatch; b++)</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  {</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="keywordflow">for</span> (uint32_t v = 0; v < vSize; v++)</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  {</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  outBatchVector.<a class="code" href="classarmnn_1_1_encoder.xhtml#ae3b62b846a9c239f332830b9e36030eb">Set</a>(vector.<a class="code" href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">Get</a>());</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  ++outBatchVector;</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  ++vector;</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  }</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  vector -= vSize;</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  }</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  outBatchVector -= (nBatch * vSize);</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span> }</div><div class="ttc" id="classarmnn_1_1_encoder_xhtml_ae3b62b846a9c239f332830b9e36030eb"><div class="ttname"><a href="classarmnn_1_1_encoder.xhtml#ae3b62b846a9c239f332830b9e36030eb">armnn::Encoder::Set</a></div><div class="ttdeci">virtual void Set(IType right)=0</div></div>
+<div class="ttc" id="classarmnn_1_1_decoder_xhtml_ac729108381e2340bea12877971713ecb"><div class="ttname"><a href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">armnn::Decoder::Get</a></div><div class="ttdeci">virtual IType Get() const =0</div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="a1d7ad9698b02282a57fdb17b3af745f9"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a1d7ad9698b02282a57fdb17b3af745f9">◆ </a></span>VectorBatchVectorCwiseProduct()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void VectorBatchVectorCwiseProduct </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="classarmnn_1_1_decoder.xhtml">armnn::Decoder</a>< float > & </td>
+ <td class="paramname"><em>vector</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t </td>
+ <td class="paramname"><em>vSize</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="classarmnn_1_1_decoder.xhtml">armnn::Decoder</a>< float > & </td>
+ <td class="paramname"><em>batchVector</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t </td>
+ <td class="paramname"><em>nBatch</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="classarmnn_1_1_encoder.xhtml">armnn::Encoder</a>< float > & </td>
+ <td class="paramname"><em>outResult</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_lstm_utils_8cpp_source.xhtml#l00152">152</a> of file <a class="el" href="_lstm_utils_8cpp_source.xhtml">LstmUtils.cpp</a>.</p>
+
+<p class="reference">References <a class="el" href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">Decoder< IType >::Get()</a>, and <a class="el" href="classarmnn_1_1_encoder.xhtml#ae3b62b846a9c239f332830b9e36030eb">Encoder< IType >::Set()</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_ref_lstm_workload_8cpp_source.xhtml#l00041">RefLstmWorkload::Execute()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00157"></a><span class="lineno"> 157</span> {</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <span class="keywordflow">for</span> (uint32_t b = 0; b < nBatch; b++)</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  {</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <span class="keywordflow">for</span> (uint32_t v = 0; v < vSize; v++)</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  {</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  outResult.<a class="code" href="classarmnn_1_1_encoder.xhtml#ae3b62b846a9c239f332830b9e36030eb">Set</a>(vector.<a class="code" href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">Get</a>() * batchVector.<a class="code" href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">Get</a>());</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  ++outResult;</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  ++vector;</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  ++batchVector;</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  }</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  vector -= vSize;</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  }</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  batchVector -= vSize * nBatch;</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  outResult -= vSize * nBatch;</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span> }</div><div class="ttc" id="classarmnn_1_1_encoder_xhtml_ae3b62b846a9c239f332830b9e36030eb"><div class="ttname"><a href="classarmnn_1_1_encoder.xhtml#ae3b62b846a9c239f332830b9e36030eb">armnn::Encoder::Set</a></div><div class="ttdeci">virtual void Set(IType right)=0</div></div>
+<div class="ttc" id="classarmnn_1_1_decoder_xhtml_ac729108381e2340bea12877971713ecb"><div class="ttname"><a href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">armnn::Decoder::Get</a></div><div class="ttdeci">virtual IType Get() const =0</div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="a796323e16216b880043dc5ebbaa2372b"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a796323e16216b880043dc5ebbaa2372b">◆ </a></span>VectorBatchVectorCwiseProductAccumulate()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void VectorBatchVectorCwiseProductAccumulate </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="classarmnn_1_1_decoder.xhtml">armnn::Decoder</a>< float > & </td>
+ <td class="paramname"><em>vector</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t </td>
+ <td class="paramname"><em>vSize</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="classarmnn_1_1_decoder.xhtml">armnn::Decoder</a>< float > & </td>
+ <td class="paramname"><em>batchVector</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t </td>
+ <td class="paramname"><em>nBatch</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="classarmnn_1_1_encoder.xhtml">armnn::Encoder</a>< float > & </td>
+ <td class="paramname"><em>outResult</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_lstm_utils_8cpp_source.xhtml#l00131">131</a> of file <a class="el" href="_lstm_utils_8cpp_source.xhtml">LstmUtils.cpp</a>.</p>
+
+<p class="reference">References <a class="el" href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">Decoder< IType >::Get()</a>, <a class="el" href="classarmnn_1_1_encoder.xhtml#ac729108381e2340bea12877971713ecb">Encoder< IType >::Get()</a>, and <a class="el" href="classarmnn_1_1_encoder.xhtml#ae3b62b846a9c239f332830b9e36030eb">Encoder< IType >::Set()</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_ref_lstm_workload_8cpp_source.xhtml#l00041">RefLstmWorkload::Execute()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00136"></a><span class="lineno"> 136</span> {</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="keywordflow">for</span> (uint32_t b = 0; b < nBatch; b++)</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  {</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="keywordflow">for</span> (uint32_t v = 0; v < vSize; v++)</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  {</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  outResult.<a class="code" href="classarmnn_1_1_encoder.xhtml#ae3b62b846a9c239f332830b9e36030eb">Set</a>(outResult.<a class="code" href="classarmnn_1_1_encoder.xhtml#ac729108381e2340bea12877971713ecb">Get</a>() + vector.<a class="code" href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">Get</a>() * batchVector.<a class="code" href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">Get</a>());</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  ++outResult;</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  ++vector;</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  ++batchVector;</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  }</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  vector -= vSize;</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  }</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  batchVector -= vSize * nBatch;</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  outResult -= vSize * nBatch;</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span> }</div><div class="ttc" id="classarmnn_1_1_encoder_xhtml_ae3b62b846a9c239f332830b9e36030eb"><div class="ttname"><a href="classarmnn_1_1_encoder.xhtml#ae3b62b846a9c239f332830b9e36030eb">armnn::Encoder::Set</a></div><div class="ttdeci">virtual void Set(IType right)=0</div></div>
+<div class="ttc" id="classarmnn_1_1_decoder_xhtml_ac729108381e2340bea12877971713ecb"><div class="ttname"><a href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">armnn::Decoder::Get</a></div><div class="ttdeci">virtual IType Get() const =0</div></div>
+<div class="ttc" id="classarmnn_1_1_encoder_xhtml_ac729108381e2340bea12877971713ecb"><div class="ttname"><a href="classarmnn_1_1_encoder.xhtml#ac729108381e2340bea12877971713ecb">armnn::Encoder::Get</a></div><div class="ttdeci">virtual IType Get() const =0</div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="a5b81dc0a1a9a2bccab8bb79dfa3e77b7"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a5b81dc0a1a9a2bccab8bb79dfa3e77b7">◆ </a></span>VectorVectorCwiseProduct()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void VectorVectorCwiseProduct </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="classarmnn_1_1_decoder.xhtml">armnn::Decoder</a>< float > & </td>
+ <td class="paramname"><em>vector1</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="classarmnn_1_1_decoder.xhtml">armnn::Decoder</a>< float > & </td>
+ <td class="paramname"><em>vector2</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t </td>
+ <td class="paramname"><em>vSize</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="classarmnn_1_1_encoder.xhtml">armnn::Encoder</a>< float > & </td>
+ <td class="paramname"><em>outResult</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_lstm_utils_8cpp_source.xhtml#l00187">187</a> of file <a class="el" href="_lstm_utils_8cpp_source.xhtml">LstmUtils.cpp</a>.</p>
+
+<p class="reference">References <a class="el" href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">Decoder< IType >::Get()</a>, and <a class="el" href="classarmnn_1_1_encoder.xhtml#ae3b62b846a9c239f332830b9e36030eb">Encoder< IType >::Set()</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_ref_lstm_workload_8cpp_source.xhtml#l00041">RefLstmWorkload::Execute()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00191"></a><span class="lineno"> 191</span> {</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="keywordflow">for</span> (uint32_t v = 0; v < vSize; v++)</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  {</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  outResult.<a class="code" href="classarmnn_1_1_encoder.xhtml#ae3b62b846a9c239f332830b9e36030eb">Set</a>(vector1.<a class="code" href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">Get</a>() * vector2.<a class="code" href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">Get</a>());</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  ++outResult;</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  ++vector1;</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  ++vector2;</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  }</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  outResult -= vSize;</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  vector1 -= vSize;</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  vector2 -= vSize;</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span> }</div><div class="ttc" id="classarmnn_1_1_encoder_xhtml_ae3b62b846a9c239f332830b9e36030eb"><div class="ttname"><a href="classarmnn_1_1_encoder.xhtml#ae3b62b846a9c239f332830b9e36030eb">armnn::Encoder::Set</a></div><div class="ttdeci">virtual void Set(IType right)=0</div></div>
+<div class="ttc" id="classarmnn_1_1_decoder_xhtml_ac729108381e2340bea12877971713ecb"><div class="ttname"><a href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">armnn::Decoder::Get</a></div><div class="ttdeci">virtual IType Get() const =0</div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="a2e653f948d93f4177f267a7b1b4ed47d"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a2e653f948d93f4177f267a7b1b4ed47d">◆ </a></span>VectorVectorCwiseProductAccumulate()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void VectorVectorCwiseProductAccumulate </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="classarmnn_1_1_decoder.xhtml">armnn::Decoder</a>< float > & </td>
+ <td class="paramname"><em>vector1</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="classarmnn_1_1_decoder.xhtml">armnn::Decoder</a>< float > & </td>
+ <td class="paramname"><em>vector2</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t </td>
+ <td class="paramname"><em>vSize</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype"><a class="el" href="classarmnn_1_1_encoder.xhtml">armnn::Encoder</a>< float > & </td>
+ <td class="paramname"><em>outResult</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_lstm_utils_8cpp_source.xhtml#l00204">204</a> of file <a class="el" href="_lstm_utils_8cpp_source.xhtml">LstmUtils.cpp</a>.</p>
+
+<p class="reference">References <a class="el" href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">Decoder< IType >::Get()</a>, <a class="el" href="classarmnn_1_1_encoder.xhtml#ac729108381e2340bea12877971713ecb">Encoder< IType >::Get()</a>, and <a class="el" href="classarmnn_1_1_encoder.xhtml#ae3b62b846a9c239f332830b9e36030eb">Encoder< IType >::Set()</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_ref_lstm_workload_8cpp_source.xhtml#l00041">RefLstmWorkload::Execute()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00208"></a><span class="lineno"> 208</span> {</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  <span class="keywordflow">for</span> (uint32_t v = 0; v < vSize; v++)</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  {</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  outResult.<a class="code" href="classarmnn_1_1_encoder.xhtml#ae3b62b846a9c239f332830b9e36030eb">Set</a>(outResult.<a class="code" href="classarmnn_1_1_encoder.xhtml#ac729108381e2340bea12877971713ecb">Get</a>() + vector1.<a class="code" href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">Get</a>() * vector2.<a class="code" href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">Get</a>());</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  ++outResult;</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  ++vector1;</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  ++vector2;</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  }</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  outResult -= vSize;</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  vector1 -= vSize;</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  vector2 -= vSize;</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span> }</div><div class="ttc" id="classarmnn_1_1_encoder_xhtml_ae3b62b846a9c239f332830b9e36030eb"><div class="ttname"><a href="classarmnn_1_1_encoder.xhtml#ae3b62b846a9c239f332830b9e36030eb">armnn::Encoder::Set</a></div><div class="ttdeci">virtual void Set(IType right)=0</div></div>
+<div class="ttc" id="classarmnn_1_1_decoder_xhtml_ac729108381e2340bea12877971713ecb"><div class="ttname"><a href="classarmnn_1_1_decoder.xhtml#ac729108381e2340bea12877971713ecb">armnn::Decoder::Get</a></div><div class="ttdeci">virtual IType Get() const =0</div></div>
+<div class="ttc" id="classarmnn_1_1_encoder_xhtml_ac729108381e2340bea12877971713ecb"><div class="ttname"><a href="classarmnn_1_1_encoder.xhtml#ac729108381e2340bea12877971713ecb">armnn::Encoder::Get</a></div><div class="ttdeci">virtual IType Get() const =0</div></div>
+</div><!-- fragment -->
+</div>
+</div>
+<a id="a4c20bc573b70e89327b334f924da97b5"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#a4c20bc573b70e89327b334f924da97b5">◆ </a></span>ZeroVector()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">void ZeroVector </td>
+ <td>(</td>
+ <td class="paramtype"><a class="el" href="classarmnn_1_1_encoder.xhtml">armnn::Encoder</a>< float > & </td>
+ <td class="paramname"><em>vector</em>, </td>
+ </tr>
+ <tr>
+ <td class="paramkey"></td>
+ <td></td>
+ <td class="paramtype">uint32_t </td>
+ <td class="paramname"><em>vSize</em> </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>)</td>
+ <td></td><td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_lstm_utils_8cpp_source.xhtml#l00076">76</a> of file <a class="el" href="_lstm_utils_8cpp_source.xhtml">LstmUtils.cpp</a>.</p>
+
+<p class="reference">References <a class="el" href="classarmnn_1_1_encoder.xhtml#ae3b62b846a9c239f332830b9e36030eb">Encoder< IType >::Set()</a>.</p>
+
+<p class="reference">Referenced by <a class="el" href="_ref_lstm_workload_8cpp_source.xhtml#l00041">RefLstmWorkload::Execute()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> {</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keywordflow">for</span> (uint32_t v = 0; v < vSize; v++)</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  {</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  vector.<a class="code" href="classarmnn_1_1_encoder.xhtml#ae3b62b846a9c239f332830b9e36030eb">Set</a>(0.0f);</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  ++vector;</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  }</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  vector -= vSize;</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> }</div><div class="ttc" id="classarmnn_1_1_encoder_xhtml_ae3b62b846a9c239f332830b9e36030eb"><div class="ttname"><a href="classarmnn_1_1_encoder.xhtml#ae3b62b846a9c239f332830b9e36030eb">armnn::Encoder::Set</a></div><div class="ttdeci">virtual void Set(IType right)=0</div></div>
+</div><!-- fragment -->
+</div>
+</div>
+</div><!-- contents -->
+</div><!-- doc-content -->
+<!-- start footer part -->
+<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
+ <ul>
+ <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.xhtml">src</a></li><li class="navelem"><a class="el" href="dir_0f3cdec46afbc61a1ded8e1687c9c9a0.xhtml">backends</a></li><li class="navelem"><a class="el" href="dir_efae4012d0e357ebeaba7d02491d70e5.xhtml">reference</a></li><li class="navelem"><a class="el" href="dir_d2f3b8e2e64df3181ebe92efcc0a3012.xhtml">workloads</a></li><li class="navelem"><a class="el" href="_lstm_utils_8cpp.xhtml">LstmUtils.cpp</a></li>
+ <li class="footer">Generated on Fri Mar 13 2020 16:09:15 for ArmNN by
+ <a href="http://www.doxygen.org/index.html">
+ <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
+ </ul>
+</div>
+</body>
+</html>