diff options
author | Ryan OShea <Ryan.OShea2@arm.com> | 2020-03-13 16:26:19 +0000 |
---|---|---|
committer | Ryan OShea <Ryan.OShea2@arm.com> | 2020-03-13 16:26:19 +0000 |
commit | de36e4a9c299028e792c3a5bd99ad0816d806077 (patch) | |
tree | 6c71d89db68da1033bb422253cee2970580ed692 /Documentation/_lstm_test_impl_8hpp.html | |
parent | 78b26f024641e763c7252198339c83bad8c0982f (diff) | |
download | armnn-de36e4a9c299028e792c3a5bd99ad0816d806077.tar.gz |
IVGCVSW-3726 Upload ArmNN Doxygen files
* Upload current ArmNN Doxygen files
Signed-off-by: Ryan OShea <Ryan.OShea2@arm.com>
Change-Id: I8989ed16ee40a99a4495b100bd009cf3e24a7285
Diffstat (limited to 'Documentation/_lstm_test_impl_8hpp.html')
-rw-r--r-- | Documentation/_lstm_test_impl_8hpp.html | 458 |
1 files changed, 458 insertions, 0 deletions
diff --git a/Documentation/_lstm_test_impl_8hpp.html b/Documentation/_lstm_test_impl_8hpp.html new file mode 100644 index 0000000000..cad81b6a46 --- /dev/null +++ b/Documentation/_lstm_test_impl_8hpp.html @@ -0,0 +1,458 @@ +<!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="viewport" content="width=device-width, initial-scale=1"/> +<title>ArmNN: src/backends/backendsCommon/test/layerTests/LstmTestImpl.hpp 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> +<link href="doxygen.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;"> + <td id="projectalign" style="padding-left: 0.5em;"> + <div id="projectname">ArmNN +  <span id="projectnumber">NotReleased</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_test_impl_8hpp.html','');}); +</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">LstmTestImpl.hpp File Reference</div> </div> +</div><!--header--> +<div class="contents"> +<div class="textblock"><code>#include "<a class="el" href="_layer_test_result_8hpp_source.html">LayerTestResult.hpp</a>"</code><br /> +<code>#include <<a class="el" href="include_2armnn_2backends_2_i_backend_internal_8hpp_source.html">armnn/backends/IBackendInternal.hpp</a>></code><br /> +<code>#include <<a class="el" href="_workload_factory_8hpp_source.html">backendsCommon/WorkloadFactory.hpp</a>></code><br /> +</div> +<p><a href="_lstm_test_impl_8hpp_source.html">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:ae5aae49a1e7c7ff2cb80cba1ae421ea6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< float, 2 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_lstm_test_impl_8hpp.html#ae5aae49a1e7c7ff2cb80cba1ae421ea6">LstmLayerFloat32WithCifgWithPeepholeNoProjectionTest</a> (<a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager)</td></tr> +<tr class="separator:ae5aae49a1e7c7ff2cb80cba1ae421ea6"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:aec44c163ed62de4b5c9bd573cb7f7b3e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< float, 2 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_lstm_test_impl_8hpp.html#aec44c163ed62de4b5c9bd573cb7f7b3e">LstmLayerFloat32NoCifgNoPeepholeNoProjectionTest</a> (<a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager)</td></tr> +<tr class="separator:aec44c163ed62de4b5c9bd573cb7f7b3e"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:ac53b419b4aa942d611bcc973afdd7716"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< float, 2 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_lstm_test_impl_8hpp.html#ac53b419b4aa942d611bcc973afdd7716">LstmLayerFloat32NoCifgWithPeepholeWithProjectionTest</a> (<a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager)</td></tr> +<tr class="separator:ac53b419b4aa942d611bcc973afdd7716"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a9901861134e17a59931e45a4137ddb39"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< float, 2 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_lstm_test_impl_8hpp.html#a9901861134e17a59931e45a4137ddb39">LstmLayerFloat32NoCifgWithPeepholeWithProjectionWithLayerNormTest</a> (<a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager)</td></tr> +<tr class="separator:a9901861134e17a59931e45a4137ddb39"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a52b75282b3f67fd2e1063eb93ad28441"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< int16_t, 2 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_lstm_test_impl_8hpp.html#a52b75282b3f67fd2e1063eb93ad28441">LstmLayerInt16NoCifgNoPeepholeNoProjectionTest</a> (<a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager)</td></tr> +<tr class="separator:a52b75282b3f67fd2e1063eb93ad28441"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a99aca3dec6d8a2eedfc40570fc34ecfb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< int16_t, 2 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_lstm_test_impl_8hpp.html#a99aca3dec6d8a2eedfc40570fc34ecfb">LstmLayerInt16WithCifgWithPeepholeNoProjectionTest</a> (<a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager)</td></tr> +<tr class="separator:a99aca3dec6d8a2eedfc40570fc34ecfb"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:acbc18f78670dccdd94e0cbb04627b9aa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< int16_t, 2 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_lstm_test_impl_8hpp.html#acbc18f78670dccdd94e0cbb04627b9aa">LstmLayerInt16NoCifgWithPeepholeWithProjectionTest</a> (<a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager)</td></tr> +<tr class="separator:acbc18f78670dccdd94e0cbb04627b9aa"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a9c20ecb007b2beacc8c4fa05778eb450"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< int16_t, 2 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_lstm_test_impl_8hpp.html#a9c20ecb007b2beacc8c4fa05778eb450">LstmLayerInt16NoCifgNoPeepholeNoProjectionInt16ConstantTest</a> (<a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager)</td></tr> +<tr class="separator:a9c20ecb007b2beacc8c4fa05778eb450"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a03b7b4da7af98cb4fa9bbecb785ce5dd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< uint8_t, 2 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_lstm_test_impl_8hpp.html#a03b7b4da7af98cb4fa9bbecb785ce5dd">QuantizedLstmTest</a> (<a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager)</td></tr> +<tr class="separator:a03b7b4da7af98cb4fa9bbecb785ce5dd"><td class="memSeparator" colspan="2"> </td></tr> +</table> +<h2 class="groupheader">Function Documentation</h2> +<a id="aec44c163ed62de4b5c9bd573cb7f7b3e"></a> +<h2 class="memtitle"><span class="permalink"><a href="#aec44c163ed62de4b5c9bd573cb7f7b3e">◆ </a></span>LstmLayerFloat32NoCifgNoPeepholeNoProjectionTest()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a><float, 2> LstmLayerFloat32NoCifgNoPeepholeNoProjectionTest </td> + <td>(</td> + <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> + <td class="paramname"><em>workloadFactory</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> + <td class="paramname"><em>memoryManager</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_test_impl_8cpp_source.html#l01926">1926</a> of file <a class="el" href="_lstm_test_impl_8cpp_source.html">LstmTestImpl.cpp</a>.</p> + +<p class="reference">References <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::Float32</a>.</p> + +<p class="reference">Referenced by <a class="el" href="_ref_layer_tests_8cpp_source.html#l01057">BOOST_AUTO_TEST_CASE()</a>.</p> +<div class="fragment"><div class="line"><a name="l01929"></a><span class="lineno"> 1929</span> {</div><div class="line"><a name="l01930"></a><span class="lineno"> 1930</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> inputDesc({2, 2}, <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>);</div><div class="line"><a name="l01931"></a><span class="lineno"> 1931</span>  boost::multi_array<float, 2> input = MakeTensor<float, 2>(inputDesc, std::vector<float>(</div><div class="line"><a name="l01932"></a><span class="lineno"> 1932</span>  {2., 3., 3., 4.}));</div><div class="line"><a name="l01933"></a><span class="lineno"> 1933</span> </div><div class="line"><a name="l01934"></a><span class="lineno"> 1934</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> outputDesc({2, 4}, <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>);</div><div class="line"><a name="l01935"></a><span class="lineno"> 1935</span>  boost::multi_array<float, 2> expectedOutput = MakeTensor<float, 2>(outputDesc, std::vector<float>(</div><div class="line"><a name="l01936"></a><span class="lineno"> 1936</span>  {{-0.02973187f, 0.1229473f, 0.20885126f, -0.15358765f,</div><div class="line"><a name="l01937"></a><span class="lineno"> 1937</span>  -0.0185422f, 0.11281417f, 0.24466537f, -0.1826292f}}));</div><div class="line"><a name="l01938"></a><span class="lineno"> 1938</span> </div><div class="line"><a name="l01939"></a><span class="lineno"> 1939</span>  <span class="keywordflow">return</span> LstmNoCifgNoPeepholeNoProjectionTestImpl<armnn::DataType::Float32>(</div><div class="line"><a name="l01940"></a><span class="lineno"> 1940</span>  workloadFactory, memoryManager, input, expectedOutput);</div><div class="line"><a name="l01941"></a><span class="lineno"> 1941</span> }</div><div class="ttc" id="classarmnn_1_1_tensor_info_html"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00053">Tensor.hpp:53</a></div></div> +<div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a></div></div> +</div><!-- fragment --> +</div> +</div> +<a id="ac53b419b4aa942d611bcc973afdd7716"></a> +<h2 class="memtitle"><span class="permalink"><a href="#ac53b419b4aa942d611bcc973afdd7716">◆ </a></span>LstmLayerFloat32NoCifgWithPeepholeWithProjectionTest()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a><float, 2> LstmLayerFloat32NoCifgWithPeepholeWithProjectionTest </td> + <td>(</td> + <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> + <td class="paramname"><em>workloadFactory</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> + <td class="paramname"><em>memoryManager</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_test_impl_8cpp_source.html#l01904">1904</a> of file <a class="el" href="_lstm_test_impl_8cpp_source.html">LstmTestImpl.cpp</a>.</p> + +<p class="reference">References <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::Float32</a>.</p> + +<p class="reference">Referenced by <a class="el" href="_ref_layer_tests_8cpp_source.html#l01057">BOOST_AUTO_TEST_CASE()</a>.</p> +<div class="fragment"><div class="line"><a name="l01907"></a><span class="lineno"> 1907</span> {</div><div class="line"><a name="l01908"></a><span class="lineno"> 1908</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> inputDesc({ 2, 5 }, <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>);</div><div class="line"><a name="l01909"></a><span class="lineno"> 1909</span>  boost::multi_array<float, 2> input = MakeTensor<float, 2>(inputDesc, std::vector<float>(</div><div class="line"><a name="l01910"></a><span class="lineno"> 1910</span>  {0.787926f, 0.151646f, 0.071352f, 0.118426f, 0.458058f,</div><div class="line"><a name="l01911"></a><span class="lineno"> 1911</span>  0.295743f, 0.544053f, 0.690064f, 0.858138f, 0.497181f}));</div><div class="line"><a name="l01912"></a><span class="lineno"> 1912</span> </div><div class="line"><a name="l01913"></a><span class="lineno"> 1913</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> outputDesc({ 2, 16 }, <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>);</div><div class="line"><a name="l01914"></a><span class="lineno"> 1914</span>  boost::multi_array<float, 2> expectedOutput = MakeTensor<float, 2>(outputDesc, std::vector<float>(</div><div class="line"><a name="l01915"></a><span class="lineno"> 1915</span>  {-0.00396806f, 0.029352f, -0.00279226f, 0.0159977f, -0.00835576f,</div><div class="line"><a name="l01916"></a><span class="lineno"> 1916</span>  -0.0211779f, 0.0283512f, -0.0114597f, 0.00907307f, -0.0244004f,</div><div class="line"><a name="l01917"></a><span class="lineno"> 1917</span>  -0.0152191f, -0.0259063f, 0.00914318f, 0.00415118f, 0.017147f,</div><div class="line"><a name="l01918"></a><span class="lineno"> 1918</span>  0.0134203f, -0.013869f, 0.0287268f, -0.00334693f, 0.00733398f, -0.0287926f,</div><div class="line"><a name="l01919"></a><span class="lineno"> 1919</span>  -0.0186926f, 0.0193662f, -0.0115437f, 0.00422612f, -0.0345232f,</div><div class="line"><a name="l01920"></a><span class="lineno"> 1920</span>  0.00223253f, -0.00957321f, 0.0210624f, 0.013331f, 0.0150954f,</div><div class="line"><a name="l01921"></a><span class="lineno"> 1921</span>  0.02168f}));</div><div class="line"><a name="l01922"></a><span class="lineno"> 1922</span>  <span class="keywordflow">return</span> LstmLayerNoCifgWithPeepholeWithProjectionTestImpl<armnn::DataType::Float32>(</div><div class="line"><a name="l01923"></a><span class="lineno"> 1923</span>  workloadFactory, memoryManager, input, expectedOutput);</div><div class="line"><a name="l01924"></a><span class="lineno"> 1924</span> }</div><div class="ttc" id="classarmnn_1_1_tensor_info_html"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00053">Tensor.hpp:53</a></div></div> +<div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a></div></div> +</div><!-- fragment --> +</div> +</div> +<a id="a9901861134e17a59931e45a4137ddb39"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a9901861134e17a59931e45a4137ddb39">◆ </a></span>LstmLayerFloat32NoCifgWithPeepholeWithProjectionWithLayerNormTest()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a><float, 2> LstmLayerFloat32NoCifgWithPeepholeWithProjectionWithLayerNormTest </td> + <td>(</td> + <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> + <td class="paramname"><em>workloadFactory</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> + <td class="paramname"><em>memoryManager</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_test_impl_8cpp_source.html#l01943">1943</a> of file <a class="el" href="_lstm_test_impl_8cpp_source.html">LstmTestImpl.cpp</a>.</p> + +<p class="reference">References <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::Float32</a>.</p> + +<p class="reference">Referenced by <a class="el" href="_ref_layer_tests_8cpp_source.html#l01057">BOOST_AUTO_TEST_CASE()</a>.</p> +<div class="fragment"><div class="line"><a name="l01946"></a><span class="lineno"> 1946</span> {</div><div class="line"><a name="l01947"></a><span class="lineno"> 1947</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> inputDesc({ 2, 5 }, <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>);</div><div class="line"><a name="l01948"></a><span class="lineno"> 1948</span>  boost::multi_array<float, 2> input = MakeTensor<float, 2>(inputDesc, std::vector<float>(</div><div class="line"><a name="l01949"></a><span class="lineno"> 1949</span>  {0.7f, 0.8f, 0.1f, 0.2f, 0.3f, <span class="comment">//batch 0</span></div><div class="line"><a name="l01950"></a><span class="lineno"> 1950</span>  0.3f, 0.2f, 0.9f, 0.8f, 0.1f})); <span class="comment">//batch 1</span></div><div class="line"><a name="l01951"></a><span class="lineno"> 1951</span> </div><div class="line"><a name="l01952"></a><span class="lineno"> 1952</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> outputDesc({ 2, 3 }, <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>);</div><div class="line"><a name="l01953"></a><span class="lineno"> 1953</span>  boost::multi_array<float, 2> expectedOutput = MakeTensor<float, 2>(outputDesc, std::vector<float>(</div><div class="line"><a name="l01954"></a><span class="lineno"> 1954</span>  { 0.0244077f, 0.128027f, -0.00170918f, <span class="comment">//batch 0</span></div><div class="line"><a name="l01955"></a><span class="lineno"> 1955</span>  -0.00692428f, 0.0848741f, 0.063445f})); <span class="comment">//batch 1</span></div><div class="line"><a name="l01956"></a><span class="lineno"> 1956</span>  <span class="keywordflow">return</span> LstmLayerNoCifgWithPeepholeWithProjectionWithLayerNormTestImpl<armnn::DataType::Float32>(</div><div class="line"><a name="l01957"></a><span class="lineno"> 1957</span>  workloadFactory, memoryManager, input, expectedOutput);</div><div class="line"><a name="l01958"></a><span class="lineno"> 1958</span> }</div><div class="ttc" id="classarmnn_1_1_tensor_info_html"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00053">Tensor.hpp:53</a></div></div> +<div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a></div></div> +</div><!-- fragment --> +</div> +</div> +<a id="ae5aae49a1e7c7ff2cb80cba1ae421ea6"></a> +<h2 class="memtitle"><span class="permalink"><a href="#ae5aae49a1e7c7ff2cb80cba1ae421ea6">◆ </a></span>LstmLayerFloat32WithCifgWithPeepholeNoProjectionTest()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a><float, 2> LstmLayerFloat32WithCifgWithPeepholeNoProjectionTest </td> + <td>(</td> + <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> + <td class="paramname"><em>workloadFactory</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> + <td class="paramname"><em>memoryManager</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_test_impl_8cpp_source.html#l01888">1888</a> of file <a class="el" href="_lstm_test_impl_8cpp_source.html">LstmTestImpl.cpp</a>.</p> + +<p class="reference">References <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::Float32</a>.</p> + +<p class="reference">Referenced by <a class="el" href="_ref_layer_tests_8cpp_source.html#l01057">BOOST_AUTO_TEST_CASE()</a>.</p> +<div class="fragment"><div class="line"><a name="l01891"></a><span class="lineno"> 1891</span> {</div><div class="line"><a name="l01892"></a><span class="lineno"> 1892</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> inputDesc({ 2, 2 }, <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>);</div><div class="line"><a name="l01893"></a><span class="lineno"> 1893</span>  boost::multi_array<float, 2> input = MakeTensor<float, 2>(inputDesc, std::vector<float>(</div><div class="line"><a name="l01894"></a><span class="lineno"> 1894</span>  { 2., 3., 3., 4. }));</div><div class="line"><a name="l01895"></a><span class="lineno"> 1895</span> </div><div class="line"><a name="l01896"></a><span class="lineno"> 1896</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> outputDesc({ 2, 4 }, <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>);</div><div class="line"><a name="l01897"></a><span class="lineno"> 1897</span>  boost::multi_array<float, 2> expectedOutput = MakeTensor<float, 2>(outputDesc, std::vector<float>(</div><div class="line"><a name="l01898"></a><span class="lineno"> 1898</span>  {-0.36444446f, -0.00352185f, 0.12886585f, -0.05163646f,</div><div class="line"><a name="l01899"></a><span class="lineno"> 1899</span>  -0.42734814f, -0.00478661f, 0.13455015f, -0.03560682f}));</div><div class="line"><a name="l01900"></a><span class="lineno"> 1900</span>  <span class="keywordflow">return</span> LstmLayerWithCifgWithPeepholeNoProjectionTestImpl<armnn::DataType::Float32>(</div><div class="line"><a name="l01901"></a><span class="lineno"> 1901</span>  workloadFactory, memoryManager, input, expectedOutput);</div><div class="line"><a name="l01902"></a><span class="lineno"> 1902</span> }</div><div class="ttc" id="classarmnn_1_1_tensor_info_html"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00053">Tensor.hpp:53</a></div></div> +<div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a></div></div> +</div><!-- fragment --> +</div> +</div> +<a id="a9c20ecb007b2beacc8c4fa05778eb450"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a9c20ecb007b2beacc8c4fa05778eb450">◆ </a></span>LstmLayerInt16NoCifgNoPeepholeNoProjectionInt16ConstantTest()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a><int16_t, 2> LstmLayerInt16NoCifgNoPeepholeNoProjectionInt16ConstantTest </td> + <td>(</td> + <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> + <td class="paramname"><em>workloadFactory</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> + <td class="paramname"><em>memoryManager</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_test_impl_8cpp_source.html#l02063">2063</a> of file <a class="el" href="_lstm_test_impl_8cpp_source.html">LstmTestImpl.cpp</a>.</p> + +<p class="reference">References <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::QSymmS16</a>.</p> + +<p class="reference">Referenced by <a class="el" href="_ref_layer_tests_8cpp_source.html#l01057">BOOST_AUTO_TEST_CASE()</a>.</p> +<div class="fragment"><div class="line"><a name="l02066"></a><span class="lineno"> 2066</span> {</div><div class="line"><a name="l02067"></a><span class="lineno"> 2067</span>  <span class="keyword">const</span> <span class="keywordtype">float</span> qScale = 1.0f;</div><div class="line"><a name="l02068"></a><span class="lineno"> 2068</span>  <span class="keyword">const</span> int32_t qOffset = 0;</div><div class="line"><a name="l02069"></a><span class="lineno"> 2069</span> </div><div class="line"><a name="l02070"></a><span class="lineno"> 2070</span>  <span class="keyword">const</span> <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6">armnn::DataType</a> datatype = <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::DataType::QSymmS16</a>; <span class="comment">// datatype & constants set to QSymm16</span></div><div class="line"><a name="l02071"></a><span class="lineno"> 2071</span> </div><div class="line"><a name="l02072"></a><span class="lineno"> 2072</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> inputDesc({2, 2}, datatype);</div><div class="line"><a name="l02073"></a><span class="lineno"> 2073</span>  boost::multi_array<int16_t , 2> input =</div><div class="line"><a name="l02074"></a><span class="lineno"> 2074</span>  MakeTensor<int16_t , 2>(inputDesc,</div><div class="line"><a name="l02075"></a><span class="lineno"> 2075</span>  armnnUtils::QuantizedVector<int16_t>({ 2.f, 3.f, 3.f, 4.f }, qScale, qOffset));</div><div class="line"><a name="l02076"></a><span class="lineno"> 2076</span> </div><div class="line"><a name="l02077"></a><span class="lineno"> 2077</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> outputDesc({2, 4}, datatype);</div><div class="line"><a name="l02078"></a><span class="lineno"> 2078</span>  boost::multi_array<int16_t, 2> expectedOutput =</div><div class="line"><a name="l02079"></a><span class="lineno"> 2079</span>  MakeTensor<int16_t, 2>(</div><div class="line"><a name="l02080"></a><span class="lineno"> 2080</span>  outputDesc,</div><div class="line"><a name="l02081"></a><span class="lineno"> 2081</span>  armnnUtils::QuantizedVector<int16_t>(</div><div class="line"><a name="l02082"></a><span class="lineno"> 2082</span>  {</div><div class="line"><a name="l02083"></a><span class="lineno"> 2083</span>  -0.02973187f, 0.12294730f, 0.20885126f, -0.15358765f,</div><div class="line"><a name="l02084"></a><span class="lineno"> 2084</span>  -0.01854220f, 0.11281417f, 0.24466537f, -0.18262920f</div><div class="line"><a name="l02085"></a><span class="lineno"> 2085</span>  },</div><div class="line"><a name="l02086"></a><span class="lineno"> 2086</span>  qScale, qOffset));</div><div class="line"><a name="l02087"></a><span class="lineno"> 2087</span> </div><div class="line"><a name="l02088"></a><span class="lineno"> 2088</span>  <span class="keywordflow">return</span> LstmNoCifgNoPeepholeNoProjectionTestImpl<datatype>(</div><div class="line"><a name="l02089"></a><span class="lineno"> 2089</span>  workloadFactory, memoryManager, input, expectedOutput, qScale, qOffset, datatype);</div><div class="line"><a name="l02090"></a><span class="lineno"> 2090</span> }</div><div class="ttc" id="classarmnn_1_1_tensor_info_html"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00053">Tensor.hpp:53</a></div></div> +<div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::DataType::QSymmS16</a></div></div> +<div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6">armnn::DataType</a></div><div class="ttdeci">DataType</div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.html#l00032">Types.hpp:32</a></div></div> +</div><!-- fragment --> +</div> +</div> +<a id="a52b75282b3f67fd2e1063eb93ad28441"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a52b75282b3f67fd2e1063eb93ad28441">◆ </a></span>LstmLayerInt16NoCifgNoPeepholeNoProjectionTest()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a><int16_t, 2> LstmLayerInt16NoCifgNoPeepholeNoProjectionTest </td> + <td>(</td> + <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> + <td class="paramname"><em>workloadFactory</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> + <td class="paramname"><em>memoryManager</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_test_impl_8cpp_source.html#l01960">1960</a> of file <a class="el" href="_lstm_test_impl_8cpp_source.html">LstmTestImpl.cpp</a>.</p> + +<p class="reference">References <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::QAsymmU8</a>, and <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::QSymmS16</a>.</p> + +<p class="reference">Referenced by <a class="el" href="_ref_layer_tests_8cpp_source.html#l01057">BOOST_AUTO_TEST_CASE()</a>.</p> +<div class="fragment"><div class="line"><a name="l01963"></a><span class="lineno"> 1963</span> {</div><div class="line"><a name="l01964"></a><span class="lineno"> 1964</span>  <span class="keyword">const</span> <span class="keywordtype">float</span> qScale = 1.0f;</div><div class="line"><a name="l01965"></a><span class="lineno"> 1965</span>  <span class="keyword">const</span> int32_t qOffset = 0;</div><div class="line"><a name="l01966"></a><span class="lineno"> 1966</span> </div><div class="line"><a name="l01967"></a><span class="lineno"> 1967</span>  <span class="keyword">const</span> <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6">armnn::DataType</a> datatype = <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::DataType::QSymmS16</a>;</div><div class="line"><a name="l01968"></a><span class="lineno"> 1968</span>  <span class="keyword">const</span> <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6">armnn::DataType</a> constantDatatype = <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::DataType::QAsymmU8</a>;</div><div class="line"><a name="l01969"></a><span class="lineno"> 1969</span> </div><div class="line"><a name="l01970"></a><span class="lineno"> 1970</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> inputDesc({2, 2}, datatype);</div><div class="line"><a name="l01971"></a><span class="lineno"> 1971</span>  boost::multi_array<int16_t , 2> input = MakeTensor<int16_t , 2>(</div><div class="line"><a name="l01972"></a><span class="lineno"> 1972</span>  inputDesc,</div><div class="line"><a name="l01973"></a><span class="lineno"> 1973</span>  armnnUtils::QuantizedVector<int16_t>({ 2.f, 3.f, 3.f, 4.f }, qScale, qOffset));</div><div class="line"><a name="l01974"></a><span class="lineno"> 1974</span> </div><div class="line"><a name="l01975"></a><span class="lineno"> 1975</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> outputDesc({2, 4}, datatype);</div><div class="line"><a name="l01976"></a><span class="lineno"> 1976</span>  boost::multi_array<int16_t, 2> expectedOutput = MakeTensor<int16_t, 2>(</div><div class="line"><a name="l01977"></a><span class="lineno"> 1977</span>  outputDesc,</div><div class="line"><a name="l01978"></a><span class="lineno"> 1978</span>  armnnUtils::QuantizedVector<int16_t>(</div><div class="line"><a name="l01979"></a><span class="lineno"> 1979</span>  {</div><div class="line"><a name="l01980"></a><span class="lineno"> 1980</span>  -0.02973187f, 0.12294730f, 0.20885126f, -0.15358765f,</div><div class="line"><a name="l01981"></a><span class="lineno"> 1981</span>  -0.01854220f, 0.11281417f, 0.24466537f, -0.18262920f</div><div class="line"><a name="l01982"></a><span class="lineno"> 1982</span>  },</div><div class="line"><a name="l01983"></a><span class="lineno"> 1983</span>  qScale, qOffset));</div><div class="line"><a name="l01984"></a><span class="lineno"> 1984</span> </div><div class="line"><a name="l01985"></a><span class="lineno"> 1985</span>  <span class="keywordflow">return</span> LstmNoCifgNoPeepholeNoProjectionTestImpl<datatype>(</div><div class="line"><a name="l01986"></a><span class="lineno"> 1986</span>  workloadFactory, memoryManager, input, expectedOutput, qScale, qOffset, constantDatatype);</div><div class="line"><a name="l01987"></a><span class="lineno"> 1987</span> </div><div class="line"><a name="l01988"></a><span class="lineno"> 1988</span> }</div><div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::DataType::QAsymmU8</a></div></div> +<div class="ttc" id="classarmnn_1_1_tensor_info_html"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00053">Tensor.hpp:53</a></div></div> +<div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::DataType::QSymmS16</a></div></div> +<div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6">armnn::DataType</a></div><div class="ttdeci">DataType</div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.html#l00032">Types.hpp:32</a></div></div> +</div><!-- fragment --> +</div> +</div> +<a id="acbc18f78670dccdd94e0cbb04627b9aa"></a> +<h2 class="memtitle"><span class="permalink"><a href="#acbc18f78670dccdd94e0cbb04627b9aa">◆ </a></span>LstmLayerInt16NoCifgWithPeepholeWithProjectionTest()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a><int16_t, 2> LstmLayerInt16NoCifgWithPeepholeWithProjectionTest </td> + <td>(</td> + <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> + <td class="paramname"><em>workloadFactory</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> + <td class="paramname"><em>memoryManager</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_test_impl_8cpp_source.html#l02021">2021</a> of file <a class="el" href="_lstm_test_impl_8cpp_source.html">LstmTestImpl.cpp</a>.</p> + +<p class="reference">References <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::QAsymmU8</a>, and <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::QSymmS16</a>.</p> + +<p class="reference">Referenced by <a class="el" href="_ref_layer_tests_8cpp_source.html#l01057">BOOST_AUTO_TEST_CASE()</a>.</p> +<div class="fragment"><div class="line"><a name="l02024"></a><span class="lineno"> 2024</span> {</div><div class="line"><a name="l02025"></a><span class="lineno"> 2025</span>  <span class="keyword">const</span> <span class="keywordtype">float</span> qScale = 2.0f;</div><div class="line"><a name="l02026"></a><span class="lineno"> 2026</span>  <span class="keyword">const</span> int32_t qOffset = 0;</div><div class="line"><a name="l02027"></a><span class="lineno"> 2027</span> </div><div class="line"><a name="l02028"></a><span class="lineno"> 2028</span>  <span class="keyword">const</span> <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6">armnn::DataType</a> datatype = <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::DataType::QSymmS16</a>;</div><div class="line"><a name="l02029"></a><span class="lineno"> 2029</span>  <span class="keyword">const</span> <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6">armnn::DataType</a> constantDatatype = <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::DataType::QAsymmU8</a>;</div><div class="line"><a name="l02030"></a><span class="lineno"> 2030</span> </div><div class="line"><a name="l02031"></a><span class="lineno"> 2031</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> inputDesc({ 2, 5 }, datatype);</div><div class="line"><a name="l02032"></a><span class="lineno"> 2032</span>  boost::multi_array<int16_t, 2> input =</div><div class="line"><a name="l02033"></a><span class="lineno"> 2033</span>  MakeTensor<int16_t, 2>(</div><div class="line"><a name="l02034"></a><span class="lineno"> 2034</span>  inputDesc,</div><div class="line"><a name="l02035"></a><span class="lineno"> 2035</span>  armnnUtils::QuantizedVector<int16_t>(</div><div class="line"><a name="l02036"></a><span class="lineno"> 2036</span>  {</div><div class="line"><a name="l02037"></a><span class="lineno"> 2037</span>  0.787926f, 0.151646f, 0.071352f, 0.118426f, 0.458058f,</div><div class="line"><a name="l02038"></a><span class="lineno"> 2038</span>  0.295743f, 0.544053f, 0.690064f, 0.858138f, 0.497181f</div><div class="line"><a name="l02039"></a><span class="lineno"> 2039</span>  },</div><div class="line"><a name="l02040"></a><span class="lineno"> 2040</span>  qScale, qOffset));</div><div class="line"><a name="l02041"></a><span class="lineno"> 2041</span> </div><div class="line"><a name="l02042"></a><span class="lineno"> 2042</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> outputDesc({ 2, 16 }, datatype);</div><div class="line"><a name="l02043"></a><span class="lineno"> 2043</span>  boost::multi_array<int16_t, 2> expectedOutput =</div><div class="line"><a name="l02044"></a><span class="lineno"> 2044</span>  MakeTensor<int16_t, 2>(</div><div class="line"><a name="l02045"></a><span class="lineno"> 2045</span>  outputDesc,</div><div class="line"><a name="l02046"></a><span class="lineno"> 2046</span>  armnnUtils::QuantizedVector<int16_t>(</div><div class="line"><a name="l02047"></a><span class="lineno"> 2047</span>  {</div><div class="line"><a name="l02048"></a><span class="lineno"> 2048</span>  -0.00396806f, 0.02935200f, -0.00279226f, 0.01599770f,</div><div class="line"><a name="l02049"></a><span class="lineno"> 2049</span>  -0.00835576f, -0.02117790f, 0.02835120f, -0.01145970f,</div><div class="line"><a name="l02050"></a><span class="lineno"> 2050</span>  0.00907307f, -0.02440040f, -0.01521910f, -0.02590630f,</div><div class="line"><a name="l02051"></a><span class="lineno"> 2051</span>  0.00914318f, 0.00415118f, 0.01714700f, 0.01342030f,</div><div class="line"><a name="l02052"></a><span class="lineno"> 2052</span>  -0.01386900f, 0.02872680f, -0.00334693f, 0.00733398f,</div><div class="line"><a name="l02053"></a><span class="lineno"> 2053</span>  -0.02879260f, -0.01869260f, 0.01936620f, -0.01154370f,</div><div class="line"><a name="l02054"></a><span class="lineno"> 2054</span>  0.00422612f, -0.03452320f, 0.00223253f, -0.00957321f,</div><div class="line"><a name="l02055"></a><span class="lineno"> 2055</span>  0.02106240f, 0.01333100f, 0.01509540f, 0.02168000f</div><div class="line"><a name="l02056"></a><span class="lineno"> 2056</span>  },</div><div class="line"><a name="l02057"></a><span class="lineno"> 2057</span>  qScale, qOffset));</div><div class="line"><a name="l02058"></a><span class="lineno"> 2058</span> </div><div class="line"><a name="l02059"></a><span class="lineno"> 2059</span>  <span class="keywordflow">return</span> LstmLayerNoCifgWithPeepholeWithProjectionTestImpl<datatype>(</div><div class="line"><a name="l02060"></a><span class="lineno"> 2060</span>  workloadFactory, memoryManager, input, expectedOutput, qScale, qOffset, constantDatatype);</div><div class="line"><a name="l02061"></a><span class="lineno"> 2061</span> }</div><div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::DataType::QAsymmU8</a></div></div> +<div class="ttc" id="classarmnn_1_1_tensor_info_html"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00053">Tensor.hpp:53</a></div></div> +<div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::DataType::QSymmS16</a></div></div> +<div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6">armnn::DataType</a></div><div class="ttdeci">DataType</div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.html#l00032">Types.hpp:32</a></div></div> +</div><!-- fragment --> +</div> +</div> +<a id="a99aca3dec6d8a2eedfc40570fc34ecfb"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a99aca3dec6d8a2eedfc40570fc34ecfb">◆ </a></span>LstmLayerInt16WithCifgWithPeepholeNoProjectionTest()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a><int16_t, 2> LstmLayerInt16WithCifgWithPeepholeNoProjectionTest </td> + <td>(</td> + <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> + <td class="paramname"><em>workloadFactory</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> + <td class="paramname"><em>memoryManager</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_test_impl_8cpp_source.html#l01990">1990</a> of file <a class="el" href="_lstm_test_impl_8cpp_source.html">LstmTestImpl.cpp</a>.</p> + +<p class="reference">References <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::QAsymmU8</a>, and <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::QSymmS16</a>.</p> + +<p class="reference">Referenced by <a class="el" href="_ref_layer_tests_8cpp_source.html#l01057">BOOST_AUTO_TEST_CASE()</a>.</p> +<div class="fragment"><div class="line"><a name="l01993"></a><span class="lineno"> 1993</span> {</div><div class="line"><a name="l01994"></a><span class="lineno"> 1994</span>  <span class="keyword">const</span> <span class="keywordtype">float</span> qScale = 1.0f;</div><div class="line"><a name="l01995"></a><span class="lineno"> 1995</span>  <span class="keyword">const</span> int32_t qOffset = 0;</div><div class="line"><a name="l01996"></a><span class="lineno"> 1996</span> </div><div class="line"><a name="l01997"></a><span class="lineno"> 1997</span>  <span class="keyword">const</span> <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6">armnn::DataType</a> datatype = <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::DataType::QSymmS16</a>;</div><div class="line"><a name="l01998"></a><span class="lineno"> 1998</span>  <span class="keyword">const</span> <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6">armnn::DataType</a> constantDatatype = <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::DataType::QAsymmU8</a>;</div><div class="line"><a name="l01999"></a><span class="lineno"> 1999</span> </div><div class="line"><a name="l02000"></a><span class="lineno"> 2000</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> inputDesc({ 2, 2 }, datatype);</div><div class="line"><a name="l02001"></a><span class="lineno"> 2001</span>  boost::multi_array<int16_t, 2> input =</div><div class="line"><a name="l02002"></a><span class="lineno"> 2002</span>  MakeTensor<int16_t, 2>(</div><div class="line"><a name="l02003"></a><span class="lineno"> 2003</span>  inputDesc,</div><div class="line"><a name="l02004"></a><span class="lineno"> 2004</span>  armnnUtils::QuantizedVector<int16_t>({ 2.f, 3.f, 3.f, 4.f }, qScale, qOffset));</div><div class="line"><a name="l02005"></a><span class="lineno"> 2005</span> </div><div class="line"><a name="l02006"></a><span class="lineno"> 2006</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> outputDesc({ 2, 4 }, datatype);</div><div class="line"><a name="l02007"></a><span class="lineno"> 2007</span>  boost::multi_array<int16_t, 2> expectedOutput =</div><div class="line"><a name="l02008"></a><span class="lineno"> 2008</span>  MakeTensor<int16_t, 2>(</div><div class="line"><a name="l02009"></a><span class="lineno"> 2009</span>  outputDesc,</div><div class="line"><a name="l02010"></a><span class="lineno"> 2010</span>  armnnUtils::QuantizedVector<int16_t>(</div><div class="line"><a name="l02011"></a><span class="lineno"> 2011</span>  {</div><div class="line"><a name="l02012"></a><span class="lineno"> 2012</span>  -0.36444446f, -0.00352185f, 0.12886585f, -0.05163646f,</div><div class="line"><a name="l02013"></a><span class="lineno"> 2013</span>  -0.42734814f, -0.00478661f, 0.13455015f, -0.03560682f</div><div class="line"><a name="l02014"></a><span class="lineno"> 2014</span>  },</div><div class="line"><a name="l02015"></a><span class="lineno"> 2015</span>  qScale, qOffset));</div><div class="line"><a name="l02016"></a><span class="lineno"> 2016</span> </div><div class="line"><a name="l02017"></a><span class="lineno"> 2017</span>  <span class="keywordflow">return</span> LstmLayerWithCifgWithPeepholeNoProjectionTestImpl<datatype>(</div><div class="line"><a name="l02018"></a><span class="lineno"> 2018</span>  workloadFactory, memoryManager, input, expectedOutput, qScale, qOffset, constantDatatype);</div><div class="line"><a name="l02019"></a><span class="lineno"> 2019</span> }</div><div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::DataType::QAsymmU8</a></div></div> +<div class="ttc" id="classarmnn_1_1_tensor_info_html"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00053">Tensor.hpp:53</a></div></div> +<div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::DataType::QSymmS16</a></div></div> +<div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6">armnn::DataType</a></div><div class="ttdeci">DataType</div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.html#l00032">Types.hpp:32</a></div></div> +</div><!-- fragment --> +</div> +</div> +<a id="a03b7b4da7af98cb4fa9bbecb785ce5dd"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a03b7b4da7af98cb4fa9bbecb785ce5dd">◆ </a></span>QuantizedLstmTest()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a><uint8_t, 2> QuantizedLstmTest </td> + <td>(</td> + <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> + <td class="paramname"><em>workloadFactory</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> + <td class="paramname"><em>memoryManager</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_test_impl_8cpp_source.html#l02096">2096</a> of file <a class="el" href="_lstm_test_impl_8cpp_source.html">LstmTestImpl.cpp</a>.</p> + +<p class="reference">References <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::QAsymmU8</a>.</p> +<div class="fragment"><div class="line"><a name="l02099"></a><span class="lineno"> 2099</span> {</div><div class="line"><a name="l02100"></a><span class="lineno"> 2100</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> inputDesc({2, 2}, <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::DataType::QAsymmU8</a>);</div><div class="line"><a name="l02101"></a><span class="lineno"> 2101</span>  boost::multi_array<uint8_t, 2> input = MakeTensor<uint8_t, 2>(inputDesc, std::vector<uint8_t>(</div><div class="line"><a name="l02102"></a><span class="lineno"> 2102</span>  {166, 179, 50, 150}));</div><div class="line"><a name="l02103"></a><span class="lineno"> 2103</span> </div><div class="line"><a name="l02104"></a><span class="lineno"> 2104</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> outputDesc({2, 4}, <a class="code" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::DataType::QAsymmU8</a>);</div><div class="line"><a name="l02105"></a><span class="lineno"> 2105</span>  boost::multi_array<uint8_t, 2> expectedOutput = MakeTensor<uint8_t, 2>(outputDesc, std::vector<uint8_t>(</div><div class="line"><a name="l02106"></a><span class="lineno"> 2106</span>  {140, 151, 146, 112, 136, 156, 142, 112 }));</div><div class="line"><a name="l02107"></a><span class="lineno"> 2107</span> </div><div class="line"><a name="l02108"></a><span class="lineno"> 2108</span>  <span class="keywordflow">return</span> QuantizedLstmTestImpl(workloadFactory, memoryManager, input, expectedOutput);</div><div class="line"><a name="l02109"></a><span class="lineno"> 2109</span> }</div><div class="ttc" id="namespacearmnn_html_ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e"><div class="ttname"><a href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::DataType::QAsymmU8</a></div></div> +<div class="ttc" id="classarmnn_1_1_tensor_info_html"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00053">Tensor.hpp:53</a></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.html">src</a></li><li class="navelem"><a class="el" href="dir_0f3cdec46afbc61a1ded8e1687c9c9a0.html">backends</a></li><li class="navelem"><a class="el" href="dir_797a213d7d01b98ef12d53b0820ea64e.html">backendsCommon</a></li><li class="navelem"><a class="el" href="dir_28bfe507f7e135bdae07c2a6b7f66696.html">test</a></li><li class="navelem"><a class="el" href="dir_99a30439342d160875b21dac3498ad7f.html">layerTests</a></li><li class="navelem"><a class="el" href="_lstm_test_impl_8hpp.html">LstmTestImpl.hpp</a></li> + <li class="footer">Generated on Fri Mar 13 2020 16:07:00 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> |