Ryan OShea | de36e4a | 2020-03-13 16:26:19 +0000 | [diff] [blame] | 1 | <!-- Copyright (c) 2020 ARM Limited. --> |
| 2 | <!-- --> |
| 3 | <!-- SPDX-License-Identifier: MIT --> |
| 4 | <!-- --> |
| 5 | <!-- HTML header for doxygen 1.8.13--> |
| 6 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 7 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 8 | <head> |
| 9 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| 10 | <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| 11 | <meta name="generator" content="Doxygen 1.8.13"/> |
| 12 | <meta name="robots" content="NOINDEX, NOFOLLOW" /> |
| 13 | <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| 14 | <title>ArmNN: src/backends/backendsCommon/test/layerTests/AbsTestImpl.cpp File Reference</title> |
| 15 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 16 | <script type="text/javascript" src="jquery.js"></script> |
| 17 | <script type="text/javascript" src="dynsections.js"></script> |
| 18 | <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| 19 | <script type="text/javascript" src="resize.js"></script> |
| 20 | <script type="text/javascript" src="navtreedata.js"></script> |
| 21 | <script type="text/javascript" src="navtree.js"></script> |
| 22 | <script type="text/javascript"> |
| 23 | $(document).ready(initResizable); |
| 24 | </script> |
| 25 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 26 | <script type="text/javascript" src="search/searchdata.js"></script> |
| 27 | <script type="text/javascript" src="search/search.js"></script> |
| 28 | <script type="text/x-mathjax-config"> |
| 29 | MathJax.Hub.Config({ |
| 30 | extensions: ["tex2jax.js"], |
| 31 | jax: ["input/TeX","output/HTML-CSS"], |
| 32 | }); |
| 33 | </script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script> |
| 34 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 35 | <link href="stylesheet.css" rel="stylesheet" type="text/css"/> |
| 36 | </head> |
| 37 | <body> |
| 38 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 39 | <div id="titlearea"> |
| 40 | <table cellspacing="0" cellpadding="0"> |
| 41 | <tbody> |
| 42 | <tr style="height: 56px;"> |
| 43 | <img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 10rem; margin-top: .5rem; margin-left 10px"/> |
| 44 | <td style="padding-left: 0.5em;"> |
| 45 | <div id="projectname"> |
| 46 |  <span id="projectnumber">20.02</span> |
| 47 | </div> |
| 48 | </td> |
| 49 | </tr> |
| 50 | </tbody> |
| 51 | </table> |
| 52 | </div> |
| 53 | <!-- end header part --> |
| 54 | <!-- Generated by Doxygen 1.8.13 --> |
| 55 | <script type="text/javascript"> |
| 56 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 57 | </script> |
| 58 | <script type="text/javascript" src="menudata.js"></script> |
| 59 | <script type="text/javascript" src="menu.js"></script> |
| 60 | <script type="text/javascript"> |
| 61 | $(function() { |
| 62 | initMenu('',true,false,'search.php','Search'); |
| 63 | $(document).ready(function() { init_search(); }); |
| 64 | }); |
| 65 | </script> |
| 66 | <div id="main-nav"></div> |
| 67 | </div><!-- top --> |
| 68 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 69 | <div id="nav-tree"> |
| 70 | <div id="nav-tree-contents"> |
| 71 | <div id="nav-sync" class="sync"></div> |
| 72 | </div> |
| 73 | </div> |
| 74 | <div id="splitbar" style="-moz-user-select:none;" |
| 75 | class="ui-resizable-handle"> |
| 76 | </div> |
| 77 | </div> |
| 78 | <script type="text/javascript"> |
| 79 | $(document).ready(function(){initNavTree('_abs_test_impl_8cpp.xhtml','');}); |
| 80 | </script> |
| 81 | <div id="doc-content"> |
| 82 | <!-- window showing the filter options --> |
| 83 | <div id="MSearchSelectWindow" |
| 84 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 85 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 86 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| 87 | </div> |
| 88 | |
| 89 | <!-- iframe showing the search results (closed by default) --> |
| 90 | <div id="MSearchResultsWindow"> |
| 91 | <iframe src="javascript:void(0)" frameborder="0" |
| 92 | name="MSearchResults" id="MSearchResults"> |
| 93 | </iframe> |
| 94 | </div> |
| 95 | |
| 96 | <div class="header"> |
| 97 | <div class="summary"> |
| 98 | <a href="#func-members">Functions</a> </div> |
| 99 | <div class="headertitle"> |
| 100 | <div class="title">AbsTestImpl.cpp File Reference</div> </div> |
| 101 | </div><!--header--> |
| 102 | <div class="contents"> |
| 103 | <div class="textblock"><code>#include "<a class="el" href="_abs_test_impl_8hpp_source.xhtml">AbsTestImpl.hpp</a>"</code><br /> |
| 104 | <code>#include "<a class="el" href="_elementwise_unary_test_impl_8hpp_source.xhtml">ElementwiseUnaryTestImpl.hpp</a>"</code><br /> |
| 105 | </div> |
| 106 | <p><a href="_abs_test_impl_8cpp_source.xhtml">Go to the source code of this file.</a></p> |
| 107 | <table class="memberdecls"> |
| 108 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> |
| 109 | Functions</h2></td></tr> |
| 110 | <tr class="memitem:a9d1980473dc382b0a840e54c63524cc3"><td class="memTemplParams" colspan="2">template<armnn::DataType ArmnnType, typename T > </td></tr> |
| 111 | <tr class="memitem:a9d1980473dc382b0a840e54c63524cc3"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a>< T, 2 > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="_abs_test_impl_8cpp.xhtml#a9d1980473dc382b0a840e54c63524cc3">Abs2dTest</a> (<a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager)</td></tr> |
| 112 | <tr class="separator:a9d1980473dc382b0a840e54c63524cc3"><td class="memSeparator" colspan="2"> </td></tr> |
| 113 | <tr class="memitem:a2fc5839a20265070a0e5c9c3d4527218"><td class="memTemplParams" colspan="2">template<armnn::DataType ArmnnType, typename T > </td></tr> |
| 114 | <tr class="memitem:a2fc5839a20265070a0e5c9c3d4527218"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a>< T, 3 > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="_abs_test_impl_8cpp.xhtml#a2fc5839a20265070a0e5c9c3d4527218">Abs3dTest</a> (<a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager)</td></tr> |
| 115 | <tr class="separator:a2fc5839a20265070a0e5c9c3d4527218"><td class="memSeparator" colspan="2"> </td></tr> |
| 116 | <tr class="memitem:a42d603bfb2ab47753dc345621a0ef86e"><td class="memTemplParams" colspan="2">template<armnn::DataType ArmnnType, typename T > </td></tr> |
| 117 | <tr class="memitem:a42d603bfb2ab47753dc345621a0ef86e"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a>< T, 2 > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="_abs_test_impl_8cpp.xhtml#a42d603bfb2ab47753dc345621a0ef86e">AbsZeroTest</a> (<a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager)</td></tr> |
| 118 | <tr class="separator:a42d603bfb2ab47753dc345621a0ef86e"><td class="memSeparator" colspan="2"> </td></tr> |
| 119 | <tr class="memitem:ac6228495ce083985f40b847cfbabd1e3"><td class="memItemLeft" align="right" valign="top">template <a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a>< <a class="el" href="namespacearmnn.xhtml#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a> >, 2 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_abs_test_impl_8cpp.xhtml#ac6228495ce083985f40b847cfbabd1e3">Abs2dTest< armnn::DataType::Float32 ></a> (<a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager)</td></tr> |
| 120 | <tr class="separator:ac6228495ce083985f40b847cfbabd1e3"><td class="memSeparator" colspan="2"> </td></tr> |
| 121 | <tr class="memitem:acd29d32f042478ea9b02653f19d4025d"><td class="memItemLeft" align="right" valign="top">template <a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a>< <a class="el" href="namespacearmnn.xhtml#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a> >, 2 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_abs_test_impl_8cpp.xhtml#acd29d32f042478ea9b02653f19d4025d">Abs2dTest< armnn::DataType::Float16 ></a> (<a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager)</td></tr> |
| 122 | <tr class="separator:acd29d32f042478ea9b02653f19d4025d"><td class="memSeparator" colspan="2"> </td></tr> |
| 123 | <tr class="memitem:a868250ee91c040701d64013a3d50c139"><td class="memItemLeft" align="right" valign="top">template <a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a>< <a class="el" href="namespacearmnn.xhtml#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::DataType::QAsymmU8</a> >, 2 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_abs_test_impl_8cpp.xhtml#a868250ee91c040701d64013a3d50c139">Abs2dTest< armnn::DataType::QAsymmU8 ></a> (<a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager)</td></tr> |
| 124 | <tr class="separator:a868250ee91c040701d64013a3d50c139"><td class="memSeparator" colspan="2"> </td></tr> |
| 125 | <tr class="memitem:abcff4bd61bbed066e1d7361b870abb7c"><td class="memItemLeft" align="right" valign="top">template <a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a>< <a class="el" href="namespacearmnn.xhtml#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::DataType::QSymmS16</a> >, 2 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_abs_test_impl_8cpp.xhtml#abcff4bd61bbed066e1d7361b870abb7c">Abs2dTest< armnn::DataType::QSymmS16 ></a> (<a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager)</td></tr> |
| 126 | <tr class="separator:abcff4bd61bbed066e1d7361b870abb7c"><td class="memSeparator" colspan="2"> </td></tr> |
| 127 | <tr class="memitem:a0db935da1bcda876948088ab2e075c9d"><td class="memItemLeft" align="right" valign="top">template <a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a>< <a class="el" href="namespacearmnn.xhtml#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a> >, 3 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_abs_test_impl_8cpp.xhtml#a0db935da1bcda876948088ab2e075c9d">Abs3dTest< armnn::DataType::Float32 ></a> (<a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager)</td></tr> |
| 128 | <tr class="separator:a0db935da1bcda876948088ab2e075c9d"><td class="memSeparator" colspan="2"> </td></tr> |
| 129 | <tr class="memitem:a5ad3959a2f3743c88ba436a0c3b8da0f"><td class="memItemLeft" align="right" valign="top">template <a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a>< <a class="el" href="namespacearmnn.xhtml#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a> >, 3 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_abs_test_impl_8cpp.xhtml#a5ad3959a2f3743c88ba436a0c3b8da0f">Abs3dTest< armnn::DataType::Float16 ></a> (<a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager)</td></tr> |
| 130 | <tr class="separator:a5ad3959a2f3743c88ba436a0c3b8da0f"><td class="memSeparator" colspan="2"> </td></tr> |
| 131 | <tr class="memitem:ac7a7123f3a5fc3a138a8e133ffd8ffef"><td class="memItemLeft" align="right" valign="top">template <a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a>< <a class="el" href="namespacearmnn.xhtml#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::DataType::QAsymmU8</a> >, 3 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_abs_test_impl_8cpp.xhtml#ac7a7123f3a5fc3a138a8e133ffd8ffef">Abs3dTest< armnn::DataType::QAsymmU8 ></a> (<a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager)</td></tr> |
| 132 | <tr class="separator:ac7a7123f3a5fc3a138a8e133ffd8ffef"><td class="memSeparator" colspan="2"> </td></tr> |
| 133 | <tr class="memitem:ab3e1a22c27c1d456adcd532184c78ba0"><td class="memItemLeft" align="right" valign="top">template <a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a>< <a class="el" href="namespacearmnn.xhtml#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::DataType::QSymmS16</a> >, 3 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_abs_test_impl_8cpp.xhtml#ab3e1a22c27c1d456adcd532184c78ba0">Abs3dTest< armnn::DataType::QSymmS16 ></a> (<a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager)</td></tr> |
| 134 | <tr class="separator:ab3e1a22c27c1d456adcd532184c78ba0"><td class="memSeparator" colspan="2"> </td></tr> |
| 135 | <tr class="memitem:a5c8fa3058b1850148a9b5dd842f9c821"><td class="memItemLeft" align="right" valign="top">template <a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a>< <a class="el" href="namespacearmnn.xhtml#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a> >, 2 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_abs_test_impl_8cpp.xhtml#a5c8fa3058b1850148a9b5dd842f9c821">AbsZeroTest< armnn::DataType::Float32 ></a> (<a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager)</td></tr> |
| 136 | <tr class="separator:a5c8fa3058b1850148a9b5dd842f9c821"><td class="memSeparator" colspan="2"> </td></tr> |
| 137 | <tr class="memitem:a4f2d8436e97dbc2c7df87f7513f72bf2"><td class="memItemLeft" align="right" valign="top">template <a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a>< <a class="el" href="namespacearmnn.xhtml#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a> >, 2 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_abs_test_impl_8cpp.xhtml#a4f2d8436e97dbc2c7df87f7513f72bf2">AbsZeroTest< armnn::DataType::Float16 ></a> (<a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager)</td></tr> |
| 138 | <tr class="separator:a4f2d8436e97dbc2c7df87f7513f72bf2"><td class="memSeparator" colspan="2"> </td></tr> |
| 139 | </table> |
| 140 | <h2 class="groupheader">Function Documentation</h2> |
| 141 | <a id="a9d1980473dc382b0a840e54c63524cc3"></a> |
| 142 | <h2 class="memtitle"><span class="permalink"><a href="#a9d1980473dc382b0a840e54c63524cc3">◆ </a></span>Abs2dTest()</h2> |
| 143 | |
| 144 | <div class="memitem"> |
| 145 | <div class="memproto"> |
| 146 | <table class="memname"> |
| 147 | <tr> |
| 148 | <td class="memname"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a><T, 2> Abs2dTest </td> |
| 149 | <td>(</td> |
| 150 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> & </td> |
| 151 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 152 | </tr> |
| 153 | <tr> |
| 154 | <td class="paramkey"></td> |
| 155 | <td></td> |
| 156 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 157 | <td class="paramname"><em>memoryManager</em> </td> |
| 158 | </tr> |
| 159 | <tr> |
| 160 | <td></td> |
| 161 | <td>)</td> |
| 162 | <td></td><td></td> |
| 163 | </tr> |
| 164 | </table> |
| 165 | </div><div class="memdoc"> |
| 166 | |
| 167 | <p class="definition">Definition at line <a class="el" href="_abs_test_impl_8cpp_source.xhtml#l00011">11</a> of file <a class="el" href="_abs_test_impl_8cpp_source.xhtml">AbsTestImpl.cpp</a>.</p> |
| 168 | |
| 169 | <p class="reference">References <a class="el" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa1e34af023adeb7d5f484f8eb4b9826b6">armnn::Abs</a>.</p> |
| 170 | <div class="fragment"><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> {</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> inputShape[] = { 2, 2 };</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  std::vector<float> inputValues</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  {</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  -0.1f, 0.2f,</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  0.3f, -0.4f</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  };</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="comment">// Calculate output values for input.</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <span class="keyword">auto</span> f = [](<span class="keywordtype">float</span> value)</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  {</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="keywordflow">return</span> std::abs(value);</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  };</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  std::vector<float> expectedOutputValues(inputValues.size());</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  std::transform(inputValues.begin(), inputValues.end(), expectedOutputValues.begin(), f);</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keywordflow">return</span> ElementwiseUnaryTestHelper<2, ArmnnType>(</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  workloadFactory,</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  memoryManager,</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <a class="code" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa1e34af023adeb7d5f484f8eb4b9826b6">armnn::UnaryOperation::Abs</a>,</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  inputShape,</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  inputValues,</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  inputShape,</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  expectedOutputValues);</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> }</div><div class="ttc" id="namespacearmnn_xhtml_a56297e0f7b215eea46c818cb7528d9eaa1e34af023adeb7d5f484f8eb4b9826b6"><div class="ttname"><a href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa1e34af023adeb7d5f484f8eb4b9826b6">armnn::ActivationFunction::Abs</a></div></div> |
| 171 | </div><!-- fragment --> |
| 172 | </div> |
| 173 | </div> |
| 174 | <a id="acd29d32f042478ea9b02653f19d4025d"></a> |
| 175 | <h2 class="memtitle"><span class="permalink"><a href="#acd29d32f042478ea9b02653f19d4025d">◆ </a></span>Abs2dTest< armnn::DataType::Float16 >()</h2> |
| 176 | |
| 177 | <div class="memitem"> |
| 178 | <div class="memproto"> |
| 179 | <table class="memname"> |
| 180 | <tr> |
| 181 | <td class="memname">template <a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a><<a class="el" href="namespacearmnn.xhtml#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a><<a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a>>, 2> <a class="el" href="_abs_test_impl_8hpp.xhtml#a9d1980473dc382b0a840e54c63524cc3">Abs2dTest</a>< <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a> > </td> |
| 182 | <td>(</td> |
| 183 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> & </td> |
| 184 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 185 | </tr> |
| 186 | <tr> |
| 187 | <td class="paramkey"></td> |
| 188 | <td></td> |
| 189 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 190 | <td class="paramname"><em>memoryManager</em> </td> |
| 191 | </tr> |
| 192 | <tr> |
| 193 | <td></td> |
| 194 | <td>)</td> |
| 195 | <td></td><td></td> |
| 196 | </tr> |
| 197 | </table> |
| 198 | </div><div class="memdoc"> |
| 199 | |
| 200 | </div> |
| 201 | </div> |
| 202 | <a id="ac6228495ce083985f40b847cfbabd1e3"></a> |
| 203 | <h2 class="memtitle"><span class="permalink"><a href="#ac6228495ce083985f40b847cfbabd1e3">◆ </a></span>Abs2dTest< armnn::DataType::Float32 >()</h2> |
| 204 | |
| 205 | <div class="memitem"> |
| 206 | <div class="memproto"> |
| 207 | <table class="memname"> |
| 208 | <tr> |
| 209 | <td class="memname">template <a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a><<a class="el" href="namespacearmnn.xhtml#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a><<a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>>, 2> <a class="el" href="_abs_test_impl_8hpp.xhtml#a9d1980473dc382b0a840e54c63524cc3">Abs2dTest</a>< <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a> > </td> |
| 210 | <td>(</td> |
| 211 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> & </td> |
| 212 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 213 | </tr> |
| 214 | <tr> |
| 215 | <td class="paramkey"></td> |
| 216 | <td></td> |
| 217 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 218 | <td class="paramname"><em>memoryManager</em> </td> |
| 219 | </tr> |
| 220 | <tr> |
| 221 | <td></td> |
| 222 | <td>)</td> |
| 223 | <td></td><td></td> |
| 224 | </tr> |
| 225 | </table> |
| 226 | </div><div class="memdoc"> |
| 227 | |
| 228 | </div> |
| 229 | </div> |
| 230 | <a id="a868250ee91c040701d64013a3d50c139"></a> |
| 231 | <h2 class="memtitle"><span class="permalink"><a href="#a868250ee91c040701d64013a3d50c139">◆ </a></span>Abs2dTest< armnn::DataType::QAsymmU8 >()</h2> |
| 232 | |
| 233 | <div class="memitem"> |
| 234 | <div class="memproto"> |
| 235 | <table class="memname"> |
| 236 | <tr> |
| 237 | <td class="memname">template <a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a><<a class="el" href="namespacearmnn.xhtml#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a><<a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::DataType::QAsymmU8</a>>, 2> <a class="el" href="_abs_test_impl_8hpp.xhtml#a9d1980473dc382b0a840e54c63524cc3">Abs2dTest</a>< <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::DataType::QAsymmU8</a> > </td> |
| 238 | <td>(</td> |
| 239 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> & </td> |
| 240 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 241 | </tr> |
| 242 | <tr> |
| 243 | <td class="paramkey"></td> |
| 244 | <td></td> |
| 245 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 246 | <td class="paramname"><em>memoryManager</em> </td> |
| 247 | </tr> |
| 248 | <tr> |
| 249 | <td></td> |
| 250 | <td>)</td> |
| 251 | <td></td><td></td> |
| 252 | </tr> |
| 253 | </table> |
| 254 | </div><div class="memdoc"> |
| 255 | |
| 256 | </div> |
| 257 | </div> |
| 258 | <a id="abcff4bd61bbed066e1d7361b870abb7c"></a> |
| 259 | <h2 class="memtitle"><span class="permalink"><a href="#abcff4bd61bbed066e1d7361b870abb7c">◆ </a></span>Abs2dTest< armnn::DataType::QSymmS16 >()</h2> |
| 260 | |
| 261 | <div class="memitem"> |
| 262 | <div class="memproto"> |
| 263 | <table class="memname"> |
| 264 | <tr> |
| 265 | <td class="memname">template <a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a><<a class="el" href="namespacearmnn.xhtml#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a><<a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::DataType::QSymmS16</a>>, 2> <a class="el" href="_abs_test_impl_8hpp.xhtml#a9d1980473dc382b0a840e54c63524cc3">Abs2dTest</a>< <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::DataType::QSymmS16</a> > </td> |
| 266 | <td>(</td> |
| 267 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> & </td> |
| 268 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 269 | </tr> |
| 270 | <tr> |
| 271 | <td class="paramkey"></td> |
| 272 | <td></td> |
| 273 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 274 | <td class="paramname"><em>memoryManager</em> </td> |
| 275 | </tr> |
| 276 | <tr> |
| 277 | <td></td> |
| 278 | <td>)</td> |
| 279 | <td></td><td></td> |
| 280 | </tr> |
| 281 | </table> |
| 282 | </div><div class="memdoc"> |
| 283 | |
| 284 | </div> |
| 285 | </div> |
| 286 | <a id="a2fc5839a20265070a0e5c9c3d4527218"></a> |
| 287 | <h2 class="memtitle"><span class="permalink"><a href="#a2fc5839a20265070a0e5c9c3d4527218">◆ </a></span>Abs3dTest()</h2> |
| 288 | |
| 289 | <div class="memitem"> |
| 290 | <div class="memproto"> |
| 291 | <table class="memname"> |
| 292 | <tr> |
| 293 | <td class="memname"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a><T, 3> Abs3dTest </td> |
| 294 | <td>(</td> |
| 295 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> & </td> |
| 296 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 297 | </tr> |
| 298 | <tr> |
| 299 | <td class="paramkey"></td> |
| 300 | <td></td> |
| 301 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 302 | <td class="paramname"><em>memoryManager</em> </td> |
| 303 | </tr> |
| 304 | <tr> |
| 305 | <td></td> |
| 306 | <td>)</td> |
| 307 | <td></td><td></td> |
| 308 | </tr> |
| 309 | </table> |
| 310 | </div><div class="memdoc"> |
| 311 | |
| 312 | <p class="definition">Definition at line <a class="el" href="_abs_test_impl_8cpp_source.xhtml#l00042">42</a> of file <a class="el" href="_abs_test_impl_8cpp_source.xhtml">AbsTestImpl.cpp</a>.</p> |
| 313 | |
| 314 | <p class="reference">References <a class="el" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa1e34af023adeb7d5f484f8eb4b9826b6">armnn::Abs</a>.</p> |
| 315 | <div class="fragment"><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> {</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> inputShape[] = { 3, 1, 2 };</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  std::vector<float> inputValues</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  {</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  -0.1f, -0.2f, -0.3f,</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  0.1f, 0.2f, 0.3f</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  };</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keyword">auto</span> f = [](<span class="keywordtype">float</span> value)</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  {</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keywordflow">return</span> std::abs(value);</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  };</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  std::vector<float>expectedOutputValues(inputValues.size());</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  std::transform(inputValues.begin(), inputValues.end(), expectedOutputValues.begin(), f);</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> </div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keywordflow">return</span> ElementwiseUnaryTestHelper<3, ArmnnType>(</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  workloadFactory,</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  memoryManager,</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <a class="code" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa1e34af023adeb7d5f484f8eb4b9826b6">armnn::UnaryOperation::Abs</a>,</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  inputShape,</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  inputValues,</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  inputShape,</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  expectedOutputValues);</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> }</div><div class="ttc" id="namespacearmnn_xhtml_a56297e0f7b215eea46c818cb7528d9eaa1e34af023adeb7d5f484f8eb4b9826b6"><div class="ttname"><a href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa1e34af023adeb7d5f484f8eb4b9826b6">armnn::ActivationFunction::Abs</a></div></div> |
| 316 | </div><!-- fragment --> |
| 317 | </div> |
| 318 | </div> |
| 319 | <a id="a5ad3959a2f3743c88ba436a0c3b8da0f"></a> |
| 320 | <h2 class="memtitle"><span class="permalink"><a href="#a5ad3959a2f3743c88ba436a0c3b8da0f">◆ </a></span>Abs3dTest< armnn::DataType::Float16 >()</h2> |
| 321 | |
| 322 | <div class="memitem"> |
| 323 | <div class="memproto"> |
| 324 | <table class="memname"> |
| 325 | <tr> |
| 326 | <td class="memname">template <a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a><<a class="el" href="namespacearmnn.xhtml#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a><<a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a>>, 3> <a class="el" href="_abs_test_impl_8hpp.xhtml#a2fc5839a20265070a0e5c9c3d4527218">Abs3dTest</a>< <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a> > </td> |
| 327 | <td>(</td> |
| 328 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> & </td> |
| 329 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 330 | </tr> |
| 331 | <tr> |
| 332 | <td class="paramkey"></td> |
| 333 | <td></td> |
| 334 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 335 | <td class="paramname"><em>memoryManager</em> </td> |
| 336 | </tr> |
| 337 | <tr> |
| 338 | <td></td> |
| 339 | <td>)</td> |
| 340 | <td></td><td></td> |
| 341 | </tr> |
| 342 | </table> |
| 343 | </div><div class="memdoc"> |
| 344 | |
| 345 | </div> |
| 346 | </div> |
| 347 | <a id="a0db935da1bcda876948088ab2e075c9d"></a> |
| 348 | <h2 class="memtitle"><span class="permalink"><a href="#a0db935da1bcda876948088ab2e075c9d">◆ </a></span>Abs3dTest< armnn::DataType::Float32 >()</h2> |
| 349 | |
| 350 | <div class="memitem"> |
| 351 | <div class="memproto"> |
| 352 | <table class="memname"> |
| 353 | <tr> |
| 354 | <td class="memname">template <a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a><<a class="el" href="namespacearmnn.xhtml#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a><<a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>>, 3> <a class="el" href="_abs_test_impl_8hpp.xhtml#a2fc5839a20265070a0e5c9c3d4527218">Abs3dTest</a>< <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a> > </td> |
| 355 | <td>(</td> |
| 356 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> & </td> |
| 357 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 358 | </tr> |
| 359 | <tr> |
| 360 | <td class="paramkey"></td> |
| 361 | <td></td> |
| 362 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 363 | <td class="paramname"><em>memoryManager</em> </td> |
| 364 | </tr> |
| 365 | <tr> |
| 366 | <td></td> |
| 367 | <td>)</td> |
| 368 | <td></td><td></td> |
| 369 | </tr> |
| 370 | </table> |
| 371 | </div><div class="memdoc"> |
| 372 | |
| 373 | </div> |
| 374 | </div> |
| 375 | <a id="ac7a7123f3a5fc3a138a8e133ffd8ffef"></a> |
| 376 | <h2 class="memtitle"><span class="permalink"><a href="#ac7a7123f3a5fc3a138a8e133ffd8ffef">◆ </a></span>Abs3dTest< armnn::DataType::QAsymmU8 >()</h2> |
| 377 | |
| 378 | <div class="memitem"> |
| 379 | <div class="memproto"> |
| 380 | <table class="memname"> |
| 381 | <tr> |
| 382 | <td class="memname">template <a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a><<a class="el" href="namespacearmnn.xhtml#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a><<a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::DataType::QAsymmU8</a>>, 3> <a class="el" href="_abs_test_impl_8hpp.xhtml#a2fc5839a20265070a0e5c9c3d4527218">Abs3dTest</a>< <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::DataType::QAsymmU8</a> > </td> |
| 383 | <td>(</td> |
| 384 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> & </td> |
| 385 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 386 | </tr> |
| 387 | <tr> |
| 388 | <td class="paramkey"></td> |
| 389 | <td></td> |
| 390 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 391 | <td class="paramname"><em>memoryManager</em> </td> |
| 392 | </tr> |
| 393 | <tr> |
| 394 | <td></td> |
| 395 | <td>)</td> |
| 396 | <td></td><td></td> |
| 397 | </tr> |
| 398 | </table> |
| 399 | </div><div class="memdoc"> |
| 400 | |
| 401 | </div> |
| 402 | </div> |
| 403 | <a id="ab3e1a22c27c1d456adcd532184c78ba0"></a> |
| 404 | <h2 class="memtitle"><span class="permalink"><a href="#ab3e1a22c27c1d456adcd532184c78ba0">◆ </a></span>Abs3dTest< armnn::DataType::QSymmS16 >()</h2> |
| 405 | |
| 406 | <div class="memitem"> |
| 407 | <div class="memproto"> |
| 408 | <table class="memname"> |
| 409 | <tr> |
| 410 | <td class="memname">template <a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a><<a class="el" href="namespacearmnn.xhtml#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a><<a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::DataType::QSymmS16</a>>, 3> <a class="el" href="_abs_test_impl_8hpp.xhtml#a2fc5839a20265070a0e5c9c3d4527218">Abs3dTest</a>< <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::DataType::QSymmS16</a> > </td> |
| 411 | <td>(</td> |
| 412 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> & </td> |
| 413 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 414 | </tr> |
| 415 | <tr> |
| 416 | <td class="paramkey"></td> |
| 417 | <td></td> |
| 418 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 419 | <td class="paramname"><em>memoryManager</em> </td> |
| 420 | </tr> |
| 421 | <tr> |
| 422 | <td></td> |
| 423 | <td>)</td> |
| 424 | <td></td><td></td> |
| 425 | </tr> |
| 426 | </table> |
| 427 | </div><div class="memdoc"> |
| 428 | |
| 429 | </div> |
| 430 | </div> |
| 431 | <a id="a42d603bfb2ab47753dc345621a0ef86e"></a> |
| 432 | <h2 class="memtitle"><span class="permalink"><a href="#a42d603bfb2ab47753dc345621a0ef86e">◆ </a></span>AbsZeroTest()</h2> |
| 433 | |
| 434 | <div class="memitem"> |
| 435 | <div class="memproto"> |
| 436 | <table class="memname"> |
| 437 | <tr> |
| 438 | <td class="memname"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a><T, 2> AbsZeroTest </td> |
| 439 | <td>(</td> |
| 440 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> & </td> |
| 441 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 442 | </tr> |
| 443 | <tr> |
| 444 | <td class="paramkey"></td> |
| 445 | <td></td> |
| 446 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 447 | <td class="paramname"><em>memoryManager</em> </td> |
| 448 | </tr> |
| 449 | <tr> |
| 450 | <td></td> |
| 451 | <td>)</td> |
| 452 | <td></td><td></td> |
| 453 | </tr> |
| 454 | </table> |
| 455 | </div><div class="memdoc"> |
| 456 | |
| 457 | <p class="definition">Definition at line <a class="el" href="_abs_test_impl_8cpp_source.xhtml#l00072">72</a> of file <a class="el" href="_abs_test_impl_8cpp_source.xhtml">AbsTestImpl.cpp</a>.</p> |
| 458 | |
| 459 | <p class="reference">References <a class="el" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa1e34af023adeb7d5f484f8eb4b9826b6">armnn::Abs</a>.</p> |
| 460 | <div class="fragment"><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> {</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> inputShape[] = { 1, 2 };</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> </div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  std::vector<float> inputValues</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  {</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  0.f, -0.f</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  };</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  std::vector<float> expectedOutputValues</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>  0.f, 0.f</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> </div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keywordflow">return</span> ElementwiseUnaryTestHelper<2, ArmnnType>(</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  workloadFactory,</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  memoryManager,</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <a class="code" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa1e34af023adeb7d5f484f8eb4b9826b6">armnn::UnaryOperation::Abs</a>,</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  inputShape,</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  inputValues,</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  inputShape,</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  expectedOutputValues);</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span> }</div><div class="ttc" id="namespacearmnn_xhtml_a56297e0f7b215eea46c818cb7528d9eaa1e34af023adeb7d5f484f8eb4b9826b6"><div class="ttname"><a href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaa1e34af023adeb7d5f484f8eb4b9826b6">armnn::ActivationFunction::Abs</a></div></div> |
| 461 | </div><!-- fragment --> |
| 462 | </div> |
| 463 | </div> |
| 464 | <a id="a4f2d8436e97dbc2c7df87f7513f72bf2"></a> |
| 465 | <h2 class="memtitle"><span class="permalink"><a href="#a4f2d8436e97dbc2c7df87f7513f72bf2">◆ </a></span>AbsZeroTest< armnn::DataType::Float16 >()</h2> |
| 466 | |
| 467 | <div class="memitem"> |
| 468 | <div class="memproto"> |
| 469 | <table class="memname"> |
| 470 | <tr> |
| 471 | <td class="memname">template <a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a><<a class="el" href="namespacearmnn.xhtml#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a><<a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a>>, 2> <a class="el" href="_abs_test_impl_8hpp.xhtml#a42d603bfb2ab47753dc345621a0ef86e">AbsZeroTest</a>< <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a> > </td> |
| 472 | <td>(</td> |
| 473 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> & </td> |
| 474 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 475 | </tr> |
| 476 | <tr> |
| 477 | <td class="paramkey"></td> |
| 478 | <td></td> |
| 479 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 480 | <td class="paramname"><em>memoryManager</em> </td> |
| 481 | </tr> |
| 482 | <tr> |
| 483 | <td></td> |
| 484 | <td>)</td> |
| 485 | <td></td><td></td> |
| 486 | </tr> |
| 487 | </table> |
| 488 | </div><div class="memdoc"> |
| 489 | |
| 490 | </div> |
| 491 | </div> |
| 492 | <a id="a5c8fa3058b1850148a9b5dd842f9c821"></a> |
| 493 | <h2 class="memtitle"><span class="permalink"><a href="#a5c8fa3058b1850148a9b5dd842f9c821">◆ </a></span>AbsZeroTest< armnn::DataType::Float32 >()</h2> |
| 494 | |
| 495 | <div class="memitem"> |
| 496 | <div class="memproto"> |
| 497 | <table class="memname"> |
| 498 | <tr> |
| 499 | <td class="memname">template <a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a><<a class="el" href="namespacearmnn.xhtml#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a><<a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>>, 2> <a class="el" href="_abs_test_impl_8hpp.xhtml#a42d603bfb2ab47753dc345621a0ef86e">AbsZeroTest</a>< <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a> > </td> |
| 500 | <td>(</td> |
| 501 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> & </td> |
| 502 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 503 | </tr> |
| 504 | <tr> |
| 505 | <td class="paramkey"></td> |
| 506 | <td></td> |
| 507 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 508 | <td class="paramname"><em>memoryManager</em> </td> |
| 509 | </tr> |
| 510 | <tr> |
| 511 | <td></td> |
| 512 | <td>)</td> |
| 513 | <td></td><td></td> |
| 514 | </tr> |
| 515 | </table> |
| 516 | </div><div class="memdoc"> |
| 517 | |
| 518 | </div> |
| 519 | </div> |
| 520 | </div><!-- contents --> |
| 521 | </div><!-- doc-content --> |
| 522 | <!-- start footer part --> |
| 523 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 524 | <ul> |
| 525 | <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.xhtml">src</a></li><li class="navelem"><a class="el" href="dir_0f3cdec46afbc61a1ded8e1687c9c9a0.xhtml">backends</a></li><li class="navelem"><a class="el" href="dir_797a213d7d01b98ef12d53b0820ea64e.xhtml">backendsCommon</a></li><li class="navelem"><a class="el" href="dir_28bfe507f7e135bdae07c2a6b7f66696.xhtml">test</a></li><li class="navelem"><a class="el" href="dir_99a30439342d160875b21dac3498ad7f.xhtml">layerTests</a></li><li class="navelem"><a class="el" href="_abs_test_impl_8cpp.xhtml">AbsTestImpl.cpp</a></li> |
| 526 | <li class="footer">Generated on Fri Mar 13 2020 16:09:14 for ArmNN by |
| 527 | <a href="http://www.doxygen.org/index.html"> |
| 528 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 529 | </ul> |
| 530 | </div> |
| 531 | </body> |
| 532 | </html> |