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/_log_softmax_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/_log_softmax_test_impl_8hpp.html')
-rw-r--r-- | Documentation/_log_softmax_test_impl_8hpp.html | 276 |
1 files changed, 276 insertions, 0 deletions
diff --git a/Documentation/_log_softmax_test_impl_8hpp.html b/Documentation/_log_softmax_test_impl_8hpp.html new file mode 100644 index 0000000000..e1049200e6 --- /dev/null +++ b/Documentation/_log_softmax_test_impl_8hpp.html @@ -0,0 +1,276 @@ +<!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/LogSoftmaxTestImpl.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('_log_softmax_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">LogSoftmaxTestImpl.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="_resolve_type_8hpp_source.html">ResolveType.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="_log_softmax_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:a43d9a2ddae53c0ce8d39131e199ea281"><td class="memTemplParams" colspan="2">template<armnn::DataType ArmnnType, typename T = armnn::ResolveType<ArmnnType>> </td></tr> +<tr class="memitem:a43d9a2ddae53c0ce8d39131e199ea281"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< T, 4 > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="_log_softmax_test_impl_8hpp.html#a43d9a2ddae53c0ce8d39131e199ea281">LogSoftmaxTest1</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:a43d9a2ddae53c0ce8d39131e199ea281"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:aae56886d29ed5fa981f5df156bb651df"><td class="memTemplParams" colspan="2">template<armnn::DataType ArmnnType, typename T = armnn::ResolveType<ArmnnType>> </td></tr> +<tr class="memitem:aae56886d29ed5fa981f5df156bb651df"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< T, 4 > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="_log_softmax_test_impl_8hpp.html#aae56886d29ed5fa981f5df156bb651df">LogSoftmaxTest2</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:aae56886d29ed5fa981f5df156bb651df"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a5f3566cdee1e8d80fe647d3535f491c4"><td class="memTemplParams" colspan="2">template<armnn::DataType ArmnnType, typename T = armnn::ResolveType<ArmnnType>> </td></tr> +<tr class="memitem:a5f3566cdee1e8d80fe647d3535f491c4"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< T, 4 > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="_log_softmax_test_impl_8hpp.html#a5f3566cdee1e8d80fe647d3535f491c4">LogSoftmaxTest3</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:a5f3566cdee1e8d80fe647d3535f491c4"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:af332c6b74251f903ef775d9788c44f7d"><td class="memTemplParams" colspan="2">template<armnn::DataType ArmnnType, typename T = armnn::ResolveType<ArmnnType>> </td></tr> +<tr class="memitem:af332c6b74251f903ef775d9788c44f7d"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< T, 4 > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="_log_softmax_test_impl_8hpp.html#af332c6b74251f903ef775d9788c44f7d">LogSoftmaxTest4</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:af332c6b74251f903ef775d9788c44f7d"><td class="memSeparator" colspan="2"> </td></tr> +</table> +<h2 class="groupheader">Function Documentation</h2> +<a id="a43d9a2ddae53c0ce8d39131e199ea281"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a43d9a2ddae53c0ce8d39131e199ea281">◆ </a></span>LogSoftmaxTest1()</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><T, 4> LogSoftmaxTest1 </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="_log_softmax_test_impl_8cpp_source.html#l00070">70</a> of file <a class="el" href="_log_softmax_test_impl_8cpp_source.html">LogSoftmaxTestImpl.cpp</a>.</p> + +<p class="reference">References <a class="el" href="_descriptors_8hpp_source.html#l00138">SoftmaxDescriptor::m_Axis</a>, <a class="el" href="_descriptors_8hpp_source.html#l00136">SoftmaxDescriptor::m_Beta</a>, and <a class="el" href="_workload_data_8hpp_source.html#l00049">QueueDescriptorWithParameters< LayerDescriptor >::m_Parameters</a>.</p> +<div class="fragment"><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> {</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_tensor_shape.html">armnn::TensorShape</a> inputOutputShape{1, 1, 2, 4};</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> </div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> inputTensorInfo(inputOutputShape, ArmnnType);</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> outputTensorInfo(inputOutputShape, ArmnnType);</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> </div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  std::vector<float> inputValues</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>  0.f, -6.f, 2.f, 4.f,</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  3.f, -2.f, 10.f, 1.f</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> </div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  std::vector<float> expectedOutputValues</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  {</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  -4.14297f, -10.14297f, -2.14297f, -0.14297f,</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  -7.00104f, -12.00104f, -0.00105f, -9.00104f</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  };</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> </div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <a class="code" href="structarmnn_1_1_log_softmax_queue_descriptor.html">armnn::LogSoftmaxQueueDescriptor</a> descriptor;</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  descriptor.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>.<a class="code" href="structarmnn_1_1_softmax_descriptor.html#a8275d51ef9a584feb95726ea0522f6e5">m_Beta</a> = 1.0f; <span class="comment">// default beta</span></div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  descriptor.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>.<a class="code" href="structarmnn_1_1_softmax_descriptor.html#a214c3636fdf0ea5bac8edb42d0e6c7f0">m_Axis</a> = -1; <span class="comment">// default axis</span></div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> </div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keywordflow">return</span> LogSoftmaxTestImpl<ArmnnType, 4>(</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  workloadFactory,</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  memoryManager,</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  inputTensorInfo,</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  outputTensorInfo,</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  inputValues,</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  expectedOutputValues,</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  descriptor);</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span> }</div><div class="ttc" id="structarmnn_1_1_queue_descriptor_with_parameters_html_aad91b9bbf7aa365d304febe79a3d1333"><div class="ttname"><a href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">armnn::QueueDescriptorWithParameters::m_Parameters</a></div><div class="ttdeci">LayerDescriptor m_Parameters</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00049">WorkloadData.hpp:49</a></div></div> +<div class="ttc" id="structarmnn_1_1_log_softmax_queue_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_log_softmax_queue_descriptor.html">armnn::LogSoftmaxQueueDescriptor</a></div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00321">WorkloadData.hpp:321</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="structarmnn_1_1_softmax_descriptor_html_a8275d51ef9a584feb95726ea0522f6e5"><div class="ttname"><a href="structarmnn_1_1_softmax_descriptor.html#a8275d51ef9a584feb95726ea0522f6e5">armnn::SoftmaxDescriptor::m_Beta</a></div><div class="ttdeci">float m_Beta</div><div class="ttdoc">Exponentiation value. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00136">Descriptors.hpp:136</a></div></div> +<div class="ttc" id="classarmnn_1_1_tensor_shape_html"><div class="ttname"><a href="classarmnn_1_1_tensor_shape.html">armnn::TensorShape</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00020">Tensor.hpp:20</a></div></div> +<div class="ttc" id="structarmnn_1_1_softmax_descriptor_html_a214c3636fdf0ea5bac8edb42d0e6c7f0"><div class="ttname"><a href="structarmnn_1_1_softmax_descriptor.html#a214c3636fdf0ea5bac8edb42d0e6c7f0">armnn::SoftmaxDescriptor::m_Axis</a></div><div class="ttdeci">int m_Axis</div><div class="ttdoc">Scalar, defaulted to the last index (-1), specifying the dimension the activation will be performed o...</div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00138">Descriptors.hpp:138</a></div></div> +</div><!-- fragment --> +</div> +</div> +<a id="aae56886d29ed5fa981f5df156bb651df"></a> +<h2 class="memtitle"><span class="permalink"><a href="#aae56886d29ed5fa981f5df156bb651df">◆ </a></span>LogSoftmaxTest2()</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><T, 4> LogSoftmaxTest2 </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="_log_softmax_test_impl_8cpp_source.html#l00106">106</a> of file <a class="el" href="_log_softmax_test_impl_8cpp_source.html">LogSoftmaxTestImpl.cpp</a>.</p> + +<p class="reference">References <a class="el" href="_descriptors_8hpp_source.html#l00138">SoftmaxDescriptor::m_Axis</a>, <a class="el" href="_descriptors_8hpp_source.html#l00136">SoftmaxDescriptor::m_Beta</a>, and <a class="el" href="_workload_data_8hpp_source.html#l00049">QueueDescriptorWithParameters< LayerDescriptor >::m_Parameters</a>.</p> +<div class="fragment"><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>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_tensor_shape.html">armnn::TensorShape</a> inputOutputShape{1, 1, 2, 4};</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span> </div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> inputTensorInfo(inputOutputShape, ArmnnType);</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> outputTensorInfo(inputOutputShape, ArmnnType);</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span> </div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  std::vector<float> inputValues</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  {</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  0.f, -6.f, 2.f, 4.f,</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  3.f, -2.f, 10.f, 1.f</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> </div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  std::vector<float> expectedOutputValues</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  {</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  -4.14297f, -10.14297f, -2.14297f, -0.14297f,</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  -7.00104f, -12.00104f, -0.00105f, -9.00104f</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  };</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span> </div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <a class="code" href="structarmnn_1_1_log_softmax_queue_descriptor.html">armnn::LogSoftmaxQueueDescriptor</a> descriptor;</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  descriptor.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>.<a class="code" href="structarmnn_1_1_softmax_descriptor.html#a8275d51ef9a584feb95726ea0522f6e5">m_Beta</a> = 1.0f; <span class="comment">// default beta</span></div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  descriptor.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>.<a class="code" href="structarmnn_1_1_softmax_descriptor.html#a214c3636fdf0ea5bac8edb42d0e6c7f0">m_Axis</a> = 3; <span class="comment">// positive axis</span></div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span> </div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="keywordflow">return</span> LogSoftmaxTestImpl<ArmnnType, 4>(</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  workloadFactory,</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  memoryManager,</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  inputTensorInfo,</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  outputTensorInfo,</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  inputValues,</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  expectedOutputValues,</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  descriptor);</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span> }</div><div class="ttc" id="structarmnn_1_1_queue_descriptor_with_parameters_html_aad91b9bbf7aa365d304febe79a3d1333"><div class="ttname"><a href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">armnn::QueueDescriptorWithParameters::m_Parameters</a></div><div class="ttdeci">LayerDescriptor m_Parameters</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00049">WorkloadData.hpp:49</a></div></div> +<div class="ttc" id="structarmnn_1_1_log_softmax_queue_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_log_softmax_queue_descriptor.html">armnn::LogSoftmaxQueueDescriptor</a></div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00321">WorkloadData.hpp:321</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="structarmnn_1_1_softmax_descriptor_html_a8275d51ef9a584feb95726ea0522f6e5"><div class="ttname"><a href="structarmnn_1_1_softmax_descriptor.html#a8275d51ef9a584feb95726ea0522f6e5">armnn::SoftmaxDescriptor::m_Beta</a></div><div class="ttdeci">float m_Beta</div><div class="ttdoc">Exponentiation value. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00136">Descriptors.hpp:136</a></div></div> +<div class="ttc" id="classarmnn_1_1_tensor_shape_html"><div class="ttname"><a href="classarmnn_1_1_tensor_shape.html">armnn::TensorShape</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00020">Tensor.hpp:20</a></div></div> +<div class="ttc" id="structarmnn_1_1_softmax_descriptor_html_a214c3636fdf0ea5bac8edb42d0e6c7f0"><div class="ttname"><a href="structarmnn_1_1_softmax_descriptor.html#a214c3636fdf0ea5bac8edb42d0e6c7f0">armnn::SoftmaxDescriptor::m_Axis</a></div><div class="ttdeci">int m_Axis</div><div class="ttdoc">Scalar, defaulted to the last index (-1), specifying the dimension the activation will be performed o...</div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00138">Descriptors.hpp:138</a></div></div> +</div><!-- fragment --> +</div> +</div> +<a id="a5f3566cdee1e8d80fe647d3535f491c4"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a5f3566cdee1e8d80fe647d3535f491c4">◆ </a></span>LogSoftmaxTest3()</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><T, 4> LogSoftmaxTest3 </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="_log_softmax_test_impl_8cpp_source.html#l00142">142</a> of file <a class="el" href="_log_softmax_test_impl_8cpp_source.html">LogSoftmaxTestImpl.cpp</a>.</p> + +<p class="reference">References <a class="el" href="_descriptors_8hpp_source.html#l00138">SoftmaxDescriptor::m_Axis</a>, <a class="el" href="_descriptors_8hpp_source.html#l00136">SoftmaxDescriptor::m_Beta</a>, and <a class="el" href="_workload_data_8hpp_source.html#l00049">QueueDescriptorWithParameters< LayerDescriptor >::m_Parameters</a>.</p> +<div class="fragment"><div class="line"><a name="l00145"></a><span class="lineno"> 145</span> {</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_tensor_shape.html">armnn::TensorShape</a> inputOutputShape{1, 1, 2, 4};</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>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> inputTensorInfo(inputOutputShape, ArmnnType);</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> outputTensorInfo(inputOutputShape, ArmnnType);</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span> </div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  std::vector<float> inputValues</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  {</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  0.0f, -0.6f, 0.2f, 0.4f,</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  0.3f, -0.2f, 1.0f, 0.1f</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  };</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span> </div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  std::vector<float> expectedOutputValues</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  {</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  -4.14297f, -10.14297f, -2.14297f, -0.14297f,</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  -7.00104f, -12.00104f, -0.00105f, -9.00104f</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> </div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <a class="code" href="structarmnn_1_1_log_softmax_queue_descriptor.html">armnn::LogSoftmaxQueueDescriptor</a> descriptor;</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  descriptor.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>.<a class="code" href="structarmnn_1_1_softmax_descriptor.html#a8275d51ef9a584feb95726ea0522f6e5">m_Beta</a> = 10.0f; <span class="comment">// non-default beta</span></div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  descriptor.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>.<a class="code" href="structarmnn_1_1_softmax_descriptor.html#a214c3636fdf0ea5bac8edb42d0e6c7f0">m_Axis</a> = 3; <span class="comment">// positive axis</span></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>  <span class="keywordflow">return</span> LogSoftmaxTestImpl<ArmnnType, 4>(</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  workloadFactory,</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  memoryManager,</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  inputTensorInfo,</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  outputTensorInfo,</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  inputValues,</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  expectedOutputValues,</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  descriptor);</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span> }</div><div class="ttc" id="structarmnn_1_1_queue_descriptor_with_parameters_html_aad91b9bbf7aa365d304febe79a3d1333"><div class="ttname"><a href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">armnn::QueueDescriptorWithParameters::m_Parameters</a></div><div class="ttdeci">LayerDescriptor m_Parameters</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00049">WorkloadData.hpp:49</a></div></div> +<div class="ttc" id="structarmnn_1_1_log_softmax_queue_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_log_softmax_queue_descriptor.html">armnn::LogSoftmaxQueueDescriptor</a></div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00321">WorkloadData.hpp:321</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="structarmnn_1_1_softmax_descriptor_html_a8275d51ef9a584feb95726ea0522f6e5"><div class="ttname"><a href="structarmnn_1_1_softmax_descriptor.html#a8275d51ef9a584feb95726ea0522f6e5">armnn::SoftmaxDescriptor::m_Beta</a></div><div class="ttdeci">float m_Beta</div><div class="ttdoc">Exponentiation value. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00136">Descriptors.hpp:136</a></div></div> +<div class="ttc" id="classarmnn_1_1_tensor_shape_html"><div class="ttname"><a href="classarmnn_1_1_tensor_shape.html">armnn::TensorShape</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00020">Tensor.hpp:20</a></div></div> +<div class="ttc" id="structarmnn_1_1_softmax_descriptor_html_a214c3636fdf0ea5bac8edb42d0e6c7f0"><div class="ttname"><a href="structarmnn_1_1_softmax_descriptor.html#a214c3636fdf0ea5bac8edb42d0e6c7f0">armnn::SoftmaxDescriptor::m_Axis</a></div><div class="ttdeci">int m_Axis</div><div class="ttdoc">Scalar, defaulted to the last index (-1), specifying the dimension the activation will be performed o...</div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00138">Descriptors.hpp:138</a></div></div> +</div><!-- fragment --> +</div> +</div> +<a id="af332c6b74251f903ef775d9788c44f7d"></a> +<h2 class="memtitle"><span class="permalink"><a href="#af332c6b74251f903ef775d9788c44f7d">◆ </a></span>LogSoftmaxTest4()</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><T, 4> LogSoftmaxTest4 </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="_log_softmax_test_impl_8cpp_source.html#l00178">178</a> of file <a class="el" href="_log_softmax_test_impl_8cpp_source.html">LogSoftmaxTestImpl.cpp</a>.</p> + +<p class="reference">References <a class="el" href="_descriptors_8hpp_source.html#l00138">SoftmaxDescriptor::m_Axis</a>, <a class="el" href="_descriptors_8hpp_source.html#l00136">SoftmaxDescriptor::m_Beta</a>, and <a class="el" href="_workload_data_8hpp_source.html#l00049">QueueDescriptorWithParameters< LayerDescriptor >::m_Parameters</a>.</p> +<div class="fragment"><div class="line"><a name="l00181"></a><span class="lineno"> 181</span> {</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_tensor_shape.html">armnn::TensorShape</a> inputOutputShape{1, 1, 2, 4};</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span> </div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> inputTensorInfo(inputOutputShape, ArmnnType);</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> outputTensorInfo(inputOutputShape, ArmnnType);</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span> </div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  std::vector<float> inputValues</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  {</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  0.f, -6.f, 2.f, 4.f,</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  3.f, -2.f, 10.f, 1.f</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  };</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span> </div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  std::vector<float> expectedOutputValues</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  {</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  -3.048587f, -4.018149f, -8.000336f, -0.048587f,</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  -0.048587f, -0.018149f, -0.000335f, -3.048587f</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  };</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>  <a class="code" href="structarmnn_1_1_log_softmax_queue_descriptor.html">armnn::LogSoftmaxQueueDescriptor</a> descriptor;</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  descriptor.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>.<a class="code" href="structarmnn_1_1_softmax_descriptor.html#a8275d51ef9a584feb95726ea0522f6e5">m_Beta</a> = 1.0f; <span class="comment">// default beta</span></div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  descriptor.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>.<a class="code" href="structarmnn_1_1_softmax_descriptor.html#a214c3636fdf0ea5bac8edb42d0e6c7f0">m_Axis</a> = -2; <span class="comment">// negative axis</span></div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span> </div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <span class="keywordflow">return</span> LogSoftmaxTestImpl<ArmnnType, 4>(</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  workloadFactory,</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  memoryManager,</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  inputTensorInfo,</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  outputTensorInfo,</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  inputValues,</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  expectedOutputValues,</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  descriptor);</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span> }</div><div class="ttc" id="structarmnn_1_1_queue_descriptor_with_parameters_html_aad91b9bbf7aa365d304febe79a3d1333"><div class="ttname"><a href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">armnn::QueueDescriptorWithParameters::m_Parameters</a></div><div class="ttdeci">LayerDescriptor m_Parameters</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00049">WorkloadData.hpp:49</a></div></div> +<div class="ttc" id="structarmnn_1_1_log_softmax_queue_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_log_softmax_queue_descriptor.html">armnn::LogSoftmaxQueueDescriptor</a></div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00321">WorkloadData.hpp:321</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="structarmnn_1_1_softmax_descriptor_html_a8275d51ef9a584feb95726ea0522f6e5"><div class="ttname"><a href="structarmnn_1_1_softmax_descriptor.html#a8275d51ef9a584feb95726ea0522f6e5">armnn::SoftmaxDescriptor::m_Beta</a></div><div class="ttdeci">float m_Beta</div><div class="ttdoc">Exponentiation value. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00136">Descriptors.hpp:136</a></div></div> +<div class="ttc" id="classarmnn_1_1_tensor_shape_html"><div class="ttname"><a href="classarmnn_1_1_tensor_shape.html">armnn::TensorShape</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00020">Tensor.hpp:20</a></div></div> +<div class="ttc" id="structarmnn_1_1_softmax_descriptor_html_a214c3636fdf0ea5bac8edb42d0e6c7f0"><div class="ttname"><a href="structarmnn_1_1_softmax_descriptor.html#a214c3636fdf0ea5bac8edb42d0e6c7f0">armnn::SoftmaxDescriptor::m_Axis</a></div><div class="ttdeci">int m_Axis</div><div class="ttdoc">Scalar, defaulted to the last index (-1), specifying the dimension the activation will be performed o...</div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00138">Descriptors.hpp:138</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="_log_softmax_test_impl_8hpp.html">LogSoftmaxTestImpl.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> |