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/PadTestImpl.hpp 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('_pad_test_impl_8hpp.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">PadTestImpl.hpp File Reference</div> </div> |
| 101 | </div><!--header--> |
| 102 | <div class="contents"> |
| 103 | <div class="textblock"><code>#include "<a class="el" href="_layer_test_result_8hpp_source.xhtml">LayerTestResult.hpp</a>"</code><br /> |
| 104 | <code>#include <<a class="el" href="_resolve_type_8hpp_source.xhtml">ResolveType.hpp</a>></code><br /> |
| 105 | <code>#include <<a class="el" href="_types_8hpp_source.xhtml">armnn/Types.hpp</a>></code><br /> |
| 106 | <code>#include <<a class="el" href="include_2armnn_2backends_2_i_backend_internal_8hpp_source.xhtml">armnn/backends/IBackendInternal.hpp</a>></code><br /> |
| 107 | <code>#include <<a class="el" href="_workload_factory_8hpp_source.xhtml">backendsCommon/WorkloadFactory.hpp</a>></code><br /> |
| 108 | </div> |
| 109 | <p><a href="_pad_test_impl_8hpp_source.xhtml">Go to the source code of this file.</a></p> |
| 110 | <table class="memberdecls"> |
| 111 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> |
| 112 | Functions</h2></td></tr> |
| 113 | <tr class="memitem:a227a98a0681875f6a4af1b4e2154b1c0"><td class="memTemplParams" colspan="2">template<armnn::DataType ArmnnType, typename T = armnn::ResolveType<ArmnnType>> </td></tr> |
| 114 | <tr class="memitem:a227a98a0681875f6a4af1b4e2154b1c0"><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="_pad_test_impl_8hpp.xhtml#a227a98a0681875f6a4af1b4e2154b1c0">Pad2dTestCommon</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, float qScale, int32_t qOffset, const float customPaddingValue=0.0f)</td></tr> |
| 115 | <tr class="separator:a227a98a0681875f6a4af1b4e2154b1c0"><td class="memSeparator" colspan="2"> </td></tr> |
| 116 | <tr class="memitem:a106adefa1af15bdc68068403d7e93cd3"><td class="memTemplParams" colspan="2">template<armnn::DataType ArmnnType, typename T = armnn::ResolveType<ArmnnType>> </td></tr> |
| 117 | <tr class="memitem:a106adefa1af15bdc68068403d7e93cd3"><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="_pad_test_impl_8hpp.xhtml#a106adefa1af15bdc68068403d7e93cd3">Pad3dTestCommon</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, float qScale, int32_t qOffset)</td></tr> |
| 118 | <tr class="separator:a106adefa1af15bdc68068403d7e93cd3"><td class="memSeparator" colspan="2"> </td></tr> |
| 119 | <tr class="memitem:a878a628bade11abc79cf8160c518a244"><td class="memTemplParams" colspan="2">template<armnn::DataType ArmnnType, typename T = armnn::ResolveType<ArmnnType>> </td></tr> |
| 120 | <tr class="memitem:a878a628bade11abc79cf8160c518a244"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a>< T, 4 > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="_pad_test_impl_8hpp.xhtml#a878a628bade11abc79cf8160c518a244">Pad4dTestCommon</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, float qScale, int32_t qOffset)</td></tr> |
| 121 | <tr class="separator:a878a628bade11abc79cf8160c518a244"><td class="memSeparator" colspan="2"> </td></tr> |
| 122 | <tr class="memitem:af9c6d2cdf6ad5b749e618ccc6fb43311"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a>< uint8_t, 2 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_pad_test_impl_8hpp.xhtml#af9c6d2cdf6ad5b749e618ccc6fb43311">PadUint82dTest</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> |
| 123 | <tr class="separator:af9c6d2cdf6ad5b749e618ccc6fb43311"><td class="memSeparator" colspan="2"> </td></tr> |
| 124 | <tr class="memitem:a07b74f034f52a7c5dae44a74efb8019e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a>< uint8_t, 2 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_pad_test_impl_8hpp.xhtml#a07b74f034f52a7c5dae44a74efb8019e">PadUint82dCustomPaddingTest</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> |
| 125 | <tr class="separator:a07b74f034f52a7c5dae44a74efb8019e"><td class="memSeparator" colspan="2"> </td></tr> |
| 126 | <tr class="memitem:abffbd2fd1db993ecf50344cf530c21b5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a>< uint8_t, 3 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_pad_test_impl_8hpp.xhtml#abffbd2fd1db993ecf50344cf530c21b5">PadUint83dTest</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> |
| 127 | <tr class="separator:abffbd2fd1db993ecf50344cf530c21b5"><td class="memSeparator" colspan="2"> </td></tr> |
| 128 | <tr class="memitem:a00264a85539177528b812af3df9a664a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a>< uint8_t, 4 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_pad_test_impl_8hpp.xhtml#a00264a85539177528b812af3df9a664a">PadUint84dTest</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> |
| 129 | <tr class="separator:a00264a85539177528b812af3df9a664a"><td class="memSeparator" colspan="2"> </td></tr> |
| 130 | <tr class="memitem:a25fabb1639914c21d6704cb4d38a9c84"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a>< float, 2 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_pad_test_impl_8hpp.xhtml#a25fabb1639914c21d6704cb4d38a9c84">PadFloat322dTest</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> |
| 131 | <tr class="separator:a25fabb1639914c21d6704cb4d38a9c84"><td class="memSeparator" colspan="2"> </td></tr> |
| 132 | <tr class="memitem:aaa52b691f1734bf8ed1b983a4ccb9e7c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a>< float, 2 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_pad_test_impl_8hpp.xhtml#aaa52b691f1734bf8ed1b983a4ccb9e7c">PadFloat322dCustomPaddingTest</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> |
| 133 | <tr class="separator:aaa52b691f1734bf8ed1b983a4ccb9e7c"><td class="memSeparator" colspan="2"> </td></tr> |
| 134 | <tr class="memitem:affbb9e1924205682a80918a3ee91df3f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a>< float, 3 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_pad_test_impl_8hpp.xhtml#affbb9e1924205682a80918a3ee91df3f">PadFloat323dTest</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> |
| 135 | <tr class="separator:affbb9e1924205682a80918a3ee91df3f"><td class="memSeparator" colspan="2"> </td></tr> |
| 136 | <tr class="memitem:a154b1f8adf21e8e368d27882d02c0abd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a>< float, 4 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_pad_test_impl_8hpp.xhtml#a154b1f8adf21e8e368d27882d02c0abd">PadFloat324dTest</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> |
| 137 | <tr class="separator:a154b1f8adf21e8e368d27882d02c0abd"><td class="memSeparator" colspan="2"> </td></tr> |
| 138 | <tr class="memitem:a70d112117aab76605b514d71ff653d60"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a>< <a class="el" href="classarmnn_1_1_b_float16.xhtml">armnn::BFloat16</a>, 2 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_pad_test_impl_8hpp.xhtml#a70d112117aab76605b514d71ff653d60">PadBFloat162dTest</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> |
| 139 | <tr class="separator:a70d112117aab76605b514d71ff653d60"><td class="memSeparator" colspan="2"> </td></tr> |
| 140 | <tr class="memitem:a4051f0cadac34f005ccac2567ea22d28"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a>< <a class="el" href="classarmnn_1_1_b_float16.xhtml">armnn::BFloat16</a>, 2 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_pad_test_impl_8hpp.xhtml#a4051f0cadac34f005ccac2567ea22d28">PadBFloat162dCustomPaddingTest</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> |
| 141 | <tr class="separator:a4051f0cadac34f005ccac2567ea22d28"><td class="memSeparator" colspan="2"> </td></tr> |
| 142 | <tr class="memitem:ac5f18107061e75d2e1fa378b514c3269"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a>< <a class="el" href="classarmnn_1_1_b_float16.xhtml">armnn::BFloat16</a>, 3 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_pad_test_impl_8hpp.xhtml#ac5f18107061e75d2e1fa378b514c3269">PadBFloat163dTest</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> |
| 143 | <tr class="separator:ac5f18107061e75d2e1fa378b514c3269"><td class="memSeparator" colspan="2"> </td></tr> |
| 144 | <tr class="memitem:a7622686da55a20be40afff518e661355"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a>< <a class="el" href="classarmnn_1_1_b_float16.xhtml">armnn::BFloat16</a>, 4 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_pad_test_impl_8hpp.xhtml#a7622686da55a20be40afff518e661355">PadBFloat164dTest</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> |
| 145 | <tr class="separator:a7622686da55a20be40afff518e661355"><td class="memSeparator" colspan="2"> </td></tr> |
| 146 | </table> |
| 147 | <h2 class="groupheader">Function Documentation</h2> |
| 148 | <a id="a227a98a0681875f6a4af1b4e2154b1c0"></a> |
| 149 | <h2 class="memtitle"><span class="permalink"><a href="#a227a98a0681875f6a4af1b4e2154b1c0">◆ </a></span>Pad2dTestCommon()</h2> |
| 150 | |
| 151 | <div class="memitem"> |
| 152 | <div class="memproto"> |
| 153 | <table class="memname"> |
| 154 | <tr> |
| 155 | <td class="memname"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a><T, 2> Pad2dTestCommon </td> |
| 156 | <td>(</td> |
| 157 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> & </td> |
| 158 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 159 | </tr> |
| 160 | <tr> |
| 161 | <td class="paramkey"></td> |
| 162 | <td></td> |
| 163 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 164 | <td class="paramname"><em>memoryManager</em>, </td> |
| 165 | </tr> |
| 166 | <tr> |
| 167 | <td class="paramkey"></td> |
| 168 | <td></td> |
| 169 | <td class="paramtype">float </td> |
| 170 | <td class="paramname"><em>qScale</em>, </td> |
| 171 | </tr> |
| 172 | <tr> |
| 173 | <td class="paramkey"></td> |
| 174 | <td></td> |
| 175 | <td class="paramtype">int32_t </td> |
| 176 | <td class="paramname"><em>qOffset</em>, </td> |
| 177 | </tr> |
| 178 | <tr> |
| 179 | <td class="paramkey"></td> |
| 180 | <td></td> |
| 181 | <td class="paramtype">const float </td> |
| 182 | <td class="paramname"><em>customPaddingValue</em> = <code>0.0f</code> </td> |
| 183 | </tr> |
| 184 | <tr> |
| 185 | <td></td> |
| 186 | <td>)</td> |
| 187 | <td></td><td></td> |
| 188 | </tr> |
| 189 | </table> |
| 190 | </div><div class="memdoc"> |
| 191 | |
| 192 | <p class="definition">Definition at line <a class="el" href="_pad_test_impl_8cpp_source.xhtml#l00020">20</a> of file <a class="el" href="_pad_test_impl_8cpp_source.xhtml">PadTestImpl.cpp</a>.</p> |
| 193 | |
| 194 | <p class="reference">References <a class="el" href="_tensor_copy_utils_8cpp_source.xhtml#l00014">CopyDataFromITensorHandle()</a>, <a class="el" href="_tensor_copy_utils_8cpp_source.xhtml#l00009">CopyDataToITensorHandle()</a>, <a class="el" href="_workload_factory_8cpp_source.xhtml#l01328">IWorkloadFactory::CreatePad()</a>, <a class="el" href="classarmnn_1_1_i_workload_factory.xhtml#a15c140be4ddceffee16436f009d3ed94">IWorkloadFactory::CreateTensorHandle()</a>, <a class="el" href="_ignore_unused_8hpp_source.xhtml#l00014">armnn::IgnoreUnused()</a>, <a class="el" href="_descriptors_8hpp_source.xhtml#l00920">PadDescriptor::m_PadList</a>, <a class="el" href="_descriptors_8hpp_source.xhtml#l00923">PadDescriptor::m_PadValue</a>, <a class="el" href="_workload_data_8hpp_source.xhtml#l00049">QueueDescriptorWithParameters< LayerDescriptor >::m_Parameters</a>, <a class="el" href="_layer_test_result_8hpp_source.xhtml#l00040">LayerTestResult< T, n >::output</a>, and <a class="el" href="_layer_test_result_8hpp_source.xhtml#l00041">LayerTestResult< T, n >::outputExpected</a>.</p> |
| 195 | <div class="fragment"><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> {</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <a class="code" href="namespacearmnn.xhtml#a44affeeb090c3c6a3062830562672e84">IgnoreUnused</a>(memoryManager);</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_tensor_shape.xhtml">armnn::TensorShape</a> inputShape{ 3, 3 };</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_tensor_shape.xhtml">armnn::TensorShape</a> outputShape{ 7, 7 };</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="keyword">const</span> <a class="code" href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a> inputTensorInfo(inputShape, ArmnnType, qScale, qOffset);</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a> outputTensorInfo(outputShape, ArmnnType, qScale, qOffset);</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  std::vector<T> inputValues = armnnUtils::QuantizedVector<T>(</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  {</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="comment">// Height (3) x Width (3)</span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  4, 8, 6,</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  7, 4, 4,</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  3, 2, 4</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  },</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  qScale, qOffset);</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> </div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keyword">auto</span> p = customPaddingValue;</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  std::vector<T> expectedOutputValues = armnnUtils::QuantizedVector<T>(</div><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>  p, p, p, p, p, p, p,</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  p, p, p, p, p, p, p,</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  p, p, 4, 8, 6, p, p,</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  p, p, 7, 4, 4, p, p,</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  p, p, 3, 2, 4, p, p,</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  p, p, p, p, p, p, p,</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  p, p, p, p, p, p, p</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>  qScale, qOffset);</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keyword">auto</span> inputTensor = MakeTensor<T, 2>(inputTensorInfo, std::vector<T>(inputValues));</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>  <a class="code" href="struct_layer_test_result.xhtml">LayerTestResult<T, 2></a> result(outputTensorInfo);</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  result.outputExpected = MakeTensor<T, 2>(outputTensorInfo, std::vector<T>(expectedOutputValues));</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>  std::unique_ptr<armnn::ITensorHandle> inputHandle = workloadFactory.<a class="code" href="classarmnn_1_1_i_workload_factory.xhtml#a15c140be4ddceffee16436f009d3ed94">CreateTensorHandle</a>(inputTensorInfo);</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  std::unique_ptr<armnn::ITensorHandle> outputHandle = workloadFactory.<a class="code" href="classarmnn_1_1_i_workload_factory.xhtml#a15c140be4ddceffee16436f009d3ed94">CreateTensorHandle</a>(outputTensorInfo);</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span> </div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <a class="code" href="structarmnn_1_1_pad_queue_descriptor.xhtml">armnn::PadQueueDescriptor</a> descriptor;</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> </div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  std::vector<std::pair<unsigned int, unsigned int>> padList;</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  padList.push_back(std::pair<unsigned int, unsigned int>(2,2));</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  padList.push_back(std::pair<unsigned int, unsigned int>(2,2));</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> </div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  descriptor.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.xhtml#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>.<a class="code" href="structarmnn_1_1_pad_descriptor.xhtml#a85f98c94e11f65a6b73f831735c040f3">m_PadList</a> = padList;</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  descriptor.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.xhtml#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>.<a class="code" href="structarmnn_1_1_pad_descriptor.xhtml#a410fa919f78af0f0f100bd1594eca4ab">m_PadValue</a> = customPaddingValue;</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <a class="code" href="structarmnn_1_1_workload_info.xhtml">armnn::WorkloadInfo</a> <a class="code" href="namespacearmnn.xhtml#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>;</div><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>  AddInputToWorkload(descriptor, info, inputTensorInfo, inputHandle.get());</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  AddOutputToWorkload(descriptor, info, outputTensorInfo, outputHandle.get());</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> </div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  std::unique_ptr<armnn::IWorkload> workload = workloadFactory.<a class="code" href="classarmnn_1_1_i_workload_factory.xhtml#ab0c956e4a638d0a2777ecb71953f7e27">CreatePad</a>(descriptor, info);</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>  inputHandle->Allocate();</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  outputHandle->Allocate();</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>  <a class="code" href="_tensor_copy_utils_8cpp.xhtml#ae15f1a3c55d2db87683577de9fa4437c">CopyDataToITensorHandle</a>(inputHandle.get(), &inputTensor[0][0]);</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>  workload->PostAllocationConfigure();</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  workload->Execute();</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>  <a class="code" href="_tensor_copy_utils_8cpp.xhtml#a99b626c58a926dc7d6df78d22ec186c8">CopyDataFromITensorHandle</a>(&result.output[0][0], outputHandle.get());</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> </div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keywordflow">return</span> result;</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> }</div><div class="ttc" id="structarmnn_1_1_pad_descriptor_xhtml_a410fa919f78af0f0f100bd1594eca4ab"><div class="ttname"><a href="structarmnn_1_1_pad_descriptor.xhtml#a410fa919f78af0f0f100bd1594eca4ab">armnn::PadDescriptor::m_PadValue</a></div><div class="ttdeci">float m_PadValue</div><div class="ttdoc">Optional value to use for padding, defaults to 0. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.xhtml#l00923">Descriptors.hpp:923</a></div></div> |
| 196 | <div class="ttc" id="classarmnn_1_1_tensor_info_xhtml"><div class="ttname"><a href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.xhtml#l00053">Tensor.hpp:53</a></div></div> |
| 197 | <div class="ttc" id="structarmnn_1_1_pad_descriptor_xhtml_a85f98c94e11f65a6b73f831735c040f3"><div class="ttname"><a href="structarmnn_1_1_pad_descriptor.xhtml#a85f98c94e11f65a6b73f831735c040f3">armnn::PadDescriptor::m_PadList</a></div><div class="ttdeci">std::vector< std::pair< unsigned int, unsigned int > > m_PadList</div><div class="ttdoc">Specifies the padding for input dimension. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.xhtml#l00920">Descriptors.hpp:920</a></div></div> |
| 198 | <div class="ttc" id="namespacearmnn_xhtml_a44affeeb090c3c6a3062830562672e84"><div class="ttname"><a href="namespacearmnn.xhtml#a44affeeb090c3c6a3062830562672e84">armnn::IgnoreUnused</a></div><div class="ttdeci">void IgnoreUnused(Ts &&...)</div><div class="ttdef"><b>Definition:</b> <a href="_ignore_unused_8hpp_source.xhtml#l00014">IgnoreUnused.hpp:14</a></div></div> |
| 199 | <div class="ttc" id="classarmnn_1_1_tensor_shape_xhtml"><div class="ttname"><a href="classarmnn_1_1_tensor_shape.xhtml">armnn::TensorShape</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.xhtml#l00020">Tensor.hpp:20</a></div></div> |
| 200 | <div class="ttc" id="structarmnn_1_1_queue_descriptor_with_parameters_xhtml_aad91b9bbf7aa365d304febe79a3d1333"><div class="ttname"><a href="structarmnn_1_1_queue_descriptor_with_parameters.xhtml#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.xhtml#l00049">WorkloadData.hpp:49</a></div></div> |
| 201 | <div class="ttc" id="structarmnn_1_1_pad_queue_descriptor_xhtml"><div class="ttname"><a href="structarmnn_1_1_pad_queue_descriptor.xhtml">armnn::PadQueueDescriptor</a></div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.xhtml#l00252">WorkloadData.hpp:252</a></div></div> |
| 202 | <div class="ttc" id="classarmnn_1_1_i_workload_factory_xhtml_ab0c956e4a638d0a2777ecb71953f7e27"><div class="ttname"><a href="classarmnn_1_1_i_workload_factory.xhtml#ab0c956e4a638d0a2777ecb71953f7e27">armnn::IWorkloadFactory::CreatePad</a></div><div class="ttdeci">virtual std::unique_ptr< IWorkload > CreatePad(const PadQueueDescriptor &descriptor, const WorkloadInfo &Info) const</div><div class="ttdef"><b>Definition:</b> <a href="_workload_factory_8cpp_source.xhtml#l01328">WorkloadFactory.cpp:1328</a></div></div> |
| 203 | <div class="ttc" id="_tensor_copy_utils_8cpp_xhtml_a99b626c58a926dc7d6df78d22ec186c8"><div class="ttname"><a href="_tensor_copy_utils_8cpp.xhtml#a99b626c58a926dc7d6df78d22ec186c8">CopyDataFromITensorHandle</a></div><div class="ttdeci">void CopyDataFromITensorHandle(void *memory, const armnn::ITensorHandle *tensorHandle)</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_copy_utils_8cpp_source.xhtml#l00014">TensorCopyUtils.cpp:14</a></div></div> |
| 204 | <div class="ttc" id="classarmnn_1_1_i_workload_factory_xhtml_a15c140be4ddceffee16436f009d3ed94"><div class="ttname"><a href="classarmnn_1_1_i_workload_factory.xhtml#a15c140be4ddceffee16436f009d3ed94">armnn::IWorkloadFactory::CreateTensorHandle</a></div><div class="ttdeci">virtual std::unique_ptr< ITensorHandle > CreateTensorHandle(const TensorInfo &tensorInfo, const bool IsMemoryManaged=true) const =0</div></div> |
| 205 | <div class="ttc" id="namespacearmnn_xhtml_a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c"><div class="ttname"><a href="namespacearmnn.xhtml#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">armnn::BoostLogSeverityMapping::info</a></div></div> |
| 206 | <div class="ttc" id="structarmnn_1_1_workload_info_xhtml"><div class="ttname"><a href="structarmnn_1_1_workload_info.xhtml">armnn::WorkloadInfo</a></div><div class="ttdoc">Contains information about inputs and outputs to a layer. </div><div class="ttdef"><b>Definition:</b> <a href="include_2armnn_2backends_2_workload_info_8hpp_source.xhtml#l00016">WorkloadInfo.hpp:16</a></div></div> |
| 207 | <div class="ttc" id="struct_layer_test_result_xhtml"><div class="ttname"><a href="struct_layer_test_result.xhtml">LayerTestResult</a></div><div class="ttdef"><b>Definition:</b> <a href="_layer_test_result_8hpp_source.xhtml#l00029">LayerTestResult.hpp:29</a></div></div> |
| 208 | <div class="ttc" id="_tensor_copy_utils_8cpp_xhtml_ae15f1a3c55d2db87683577de9fa4437c"><div class="ttname"><a href="_tensor_copy_utils_8cpp.xhtml#ae15f1a3c55d2db87683577de9fa4437c">CopyDataToITensorHandle</a></div><div class="ttdeci">void CopyDataToITensorHandle(armnn::ITensorHandle *tensorHandle, const void *memory)</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_copy_utils_8cpp_source.xhtml#l00009">TensorCopyUtils.cpp:9</a></div></div> |
| 209 | </div><!-- fragment --> |
| 210 | </div> |
| 211 | </div> |
| 212 | <a id="a106adefa1af15bdc68068403d7e93cd3"></a> |
| 213 | <h2 class="memtitle"><span class="permalink"><a href="#a106adefa1af15bdc68068403d7e93cd3">◆ </a></span>Pad3dTestCommon()</h2> |
| 214 | |
| 215 | <div class="memitem"> |
| 216 | <div class="memproto"> |
| 217 | <table class="memname"> |
| 218 | <tr> |
| 219 | <td class="memname"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a><T, 3> Pad3dTestCommon </td> |
| 220 | <td>(</td> |
| 221 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> & </td> |
| 222 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 223 | </tr> |
| 224 | <tr> |
| 225 | <td class="paramkey"></td> |
| 226 | <td></td> |
| 227 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 228 | <td class="paramname"><em>memoryManager</em>, </td> |
| 229 | </tr> |
| 230 | <tr> |
| 231 | <td class="paramkey"></td> |
| 232 | <td></td> |
| 233 | <td class="paramtype">float </td> |
| 234 | <td class="paramname"><em>qScale</em>, </td> |
| 235 | </tr> |
| 236 | <tr> |
| 237 | <td class="paramkey"></td> |
| 238 | <td></td> |
| 239 | <td class="paramtype">int32_t </td> |
| 240 | <td class="paramname"><em>qOffset</em> </td> |
| 241 | </tr> |
| 242 | <tr> |
| 243 | <td></td> |
| 244 | <td>)</td> |
| 245 | <td></td><td></td> |
| 246 | </tr> |
| 247 | </table> |
| 248 | </div><div class="memdoc"> |
| 249 | |
| 250 | <p class="definition">Definition at line <a class="el" href="_pad_test_impl_8cpp_source.xhtml#l00093">93</a> of file <a class="el" href="_pad_test_impl_8cpp_source.xhtml">PadTestImpl.cpp</a>.</p> |
| 251 | |
| 252 | <p class="reference">References <a class="el" href="_tensor_copy_utils_8cpp_source.xhtml#l00014">CopyDataFromITensorHandle()</a>, <a class="el" href="_tensor_copy_utils_8cpp_source.xhtml#l00009">CopyDataToITensorHandle()</a>, <a class="el" href="_workload_factory_8cpp_source.xhtml#l01328">IWorkloadFactory::CreatePad()</a>, <a class="el" href="classarmnn_1_1_i_workload_factory.xhtml#a15c140be4ddceffee16436f009d3ed94">IWorkloadFactory::CreateTensorHandle()</a>, <a class="el" href="_ignore_unused_8hpp_source.xhtml#l00014">armnn::IgnoreUnused()</a>, <a class="el" href="_descriptors_8hpp_source.xhtml#l00920">PadDescriptor::m_PadList</a>, <a class="el" href="_workload_data_8hpp_source.xhtml#l00049">QueueDescriptorWithParameters< LayerDescriptor >::m_Parameters</a>, <a class="el" href="_layer_test_result_8hpp_source.xhtml#l00040">LayerTestResult< T, n >::output</a>, and <a class="el" href="_layer_test_result_8hpp_source.xhtml#l00041">LayerTestResult< T, n >::outputExpected</a>.</p> |
| 253 | <div class="fragment"><div class="line"><a name="l00098"></a><span class="lineno"> 98</span> {</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <a class="code" href="namespacearmnn.xhtml#a44affeeb090c3c6a3062830562672e84">IgnoreUnused</a>(memoryManager);</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_tensor_shape.xhtml">armnn::TensorShape</a> inputShape{ 2, 2, 2 };</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_tensor_shape.xhtml">armnn::TensorShape</a> outputShape{ 3, 5, 6 };</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span> </div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a> inputTensorInfo(inputShape, ArmnnType, qScale, qOffset);</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a> outputTensorInfo(outputShape, ArmnnType, qScale, qOffset);</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span> </div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  std::vector<T> inputValues = armnnUtils::QuantizedVector<T>(</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  {</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="comment">// Channel 0, Height (2) x Width (2)</span></div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  0, 4,</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  2, 5,</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>  <span class="comment">// Channel 1, Height (2) x Width (2)</span></div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  6, 1,</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  5, 2</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  },</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  qScale, qOffset);</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span> </div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  std::vector<T> expectedOutputValues = armnnUtils::QuantizedVector<T>(</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>  0, 0, 0, 0, 0, 0,</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  0, 0, 0, 0, 0, 0,</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  0, 0, 0, 4, 0, 0,</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  0, 0, 2, 5, 0, 0,</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  0, 0, 0, 0, 0, 0,</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>  0, 0, 0, 0, 0, 0,</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  0, 0, 0, 0, 0, 0,</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  0, 0, 6, 1, 0, 0,</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  0, 0, 5, 2, 0, 0,</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  0, 0, 0, 0, 0, 0,</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span> </div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  0, 0, 0, 0, 0, 0,</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  0, 0, 0, 0, 0, 0,</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  0, 0, 0, 0, 0, 0,</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  0, 0, 0, 0, 0, 0,</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  0, 0, 0, 0, 0, 0</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  },</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  qScale, qOffset);</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span> </div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="keyword">auto</span> inputTensor = MakeTensor<T, 3>(inputTensorInfo, std::vector<T>(inputValues));</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span> </div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <a class="code" href="struct_layer_test_result.xhtml">LayerTestResult<T, 3></a> result(outputTensorInfo);</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  result.outputExpected = MakeTensor<T, 3>(outputTensorInfo, std::vector<T>(expectedOutputValues));</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span> </div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  std::unique_ptr<armnn::ITensorHandle> inputHandle = workloadFactory.<a class="code" href="classarmnn_1_1_i_workload_factory.xhtml#a15c140be4ddceffee16436f009d3ed94">CreateTensorHandle</a>(inputTensorInfo);</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  std::unique_ptr<armnn::ITensorHandle> outputHandle = workloadFactory.<a class="code" href="classarmnn_1_1_i_workload_factory.xhtml#a15c140be4ddceffee16436f009d3ed94">CreateTensorHandle</a>(outputTensorInfo);</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="structarmnn_1_1_pad_queue_descriptor.xhtml">armnn::PadQueueDescriptor</a> descriptor;</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span> </div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  std::vector<std::pair<unsigned int, unsigned int>> PadList;</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  PadList.push_back(std::pair<unsigned int, unsigned int>(0,1));</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  PadList.push_back(std::pair<unsigned int, unsigned int>(2,1));</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  PadList.push_back(std::pair<unsigned int, unsigned int>(2,2));</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span> </div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  descriptor.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.xhtml#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>.<a class="code" href="structarmnn_1_1_pad_descriptor.xhtml#a85f98c94e11f65a6b73f831735c040f3">m_PadList</a> = PadList;</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <a class="code" href="structarmnn_1_1_workload_info.xhtml">armnn::WorkloadInfo</a> <a class="code" href="namespacearmnn.xhtml#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>;</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span> </div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  AddInputToWorkload(descriptor, info, inputTensorInfo, inputHandle.get());</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  AddOutputToWorkload(descriptor, info, outputTensorInfo, outputHandle.get());</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span> </div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  std::unique_ptr<armnn::IWorkload> workload = workloadFactory.<a class="code" href="classarmnn_1_1_i_workload_factory.xhtml#ab0c956e4a638d0a2777ecb71953f7e27">CreatePad</a>(descriptor, info);</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>  inputHandle->Allocate();</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  outputHandle->Allocate();</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span> </div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <a class="code" href="_tensor_copy_utils_8cpp.xhtml#ae15f1a3c55d2db87683577de9fa4437c">CopyDataToITensorHandle</a>(inputHandle.get(), &inputTensor[0][0][0]);</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span> </div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  workload->PostAllocationConfigure();</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  workload->Execute();</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span> </div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <a class="code" href="_tensor_copy_utils_8cpp.xhtml#a99b626c58a926dc7d6df78d22ec186c8">CopyDataFromITensorHandle</a>(&result.output[0][0][0], outputHandle.get());</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span> </div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="keywordflow">return</span> result;</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span> }</div><div class="ttc" id="classarmnn_1_1_tensor_info_xhtml"><div class="ttname"><a href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.xhtml#l00053">Tensor.hpp:53</a></div></div> |
| 254 | <div class="ttc" id="structarmnn_1_1_pad_descriptor_xhtml_a85f98c94e11f65a6b73f831735c040f3"><div class="ttname"><a href="structarmnn_1_1_pad_descriptor.xhtml#a85f98c94e11f65a6b73f831735c040f3">armnn::PadDescriptor::m_PadList</a></div><div class="ttdeci">std::vector< std::pair< unsigned int, unsigned int > > m_PadList</div><div class="ttdoc">Specifies the padding for input dimension. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.xhtml#l00920">Descriptors.hpp:920</a></div></div> |
| 255 | <div class="ttc" id="namespacearmnn_xhtml_a44affeeb090c3c6a3062830562672e84"><div class="ttname"><a href="namespacearmnn.xhtml#a44affeeb090c3c6a3062830562672e84">armnn::IgnoreUnused</a></div><div class="ttdeci">void IgnoreUnused(Ts &&...)</div><div class="ttdef"><b>Definition:</b> <a href="_ignore_unused_8hpp_source.xhtml#l00014">IgnoreUnused.hpp:14</a></div></div> |
| 256 | <div class="ttc" id="classarmnn_1_1_tensor_shape_xhtml"><div class="ttname"><a href="classarmnn_1_1_tensor_shape.xhtml">armnn::TensorShape</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.xhtml#l00020">Tensor.hpp:20</a></div></div> |
| 257 | <div class="ttc" id="structarmnn_1_1_queue_descriptor_with_parameters_xhtml_aad91b9bbf7aa365d304febe79a3d1333"><div class="ttname"><a href="structarmnn_1_1_queue_descriptor_with_parameters.xhtml#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.xhtml#l00049">WorkloadData.hpp:49</a></div></div> |
| 258 | <div class="ttc" id="structarmnn_1_1_pad_queue_descriptor_xhtml"><div class="ttname"><a href="structarmnn_1_1_pad_queue_descriptor.xhtml">armnn::PadQueueDescriptor</a></div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.xhtml#l00252">WorkloadData.hpp:252</a></div></div> |
| 259 | <div class="ttc" id="classarmnn_1_1_i_workload_factory_xhtml_ab0c956e4a638d0a2777ecb71953f7e27"><div class="ttname"><a href="classarmnn_1_1_i_workload_factory.xhtml#ab0c956e4a638d0a2777ecb71953f7e27">armnn::IWorkloadFactory::CreatePad</a></div><div class="ttdeci">virtual std::unique_ptr< IWorkload > CreatePad(const PadQueueDescriptor &descriptor, const WorkloadInfo &Info) const</div><div class="ttdef"><b>Definition:</b> <a href="_workload_factory_8cpp_source.xhtml#l01328">WorkloadFactory.cpp:1328</a></div></div> |
| 260 | <div class="ttc" id="_tensor_copy_utils_8cpp_xhtml_a99b626c58a926dc7d6df78d22ec186c8"><div class="ttname"><a href="_tensor_copy_utils_8cpp.xhtml#a99b626c58a926dc7d6df78d22ec186c8">CopyDataFromITensorHandle</a></div><div class="ttdeci">void CopyDataFromITensorHandle(void *memory, const armnn::ITensorHandle *tensorHandle)</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_copy_utils_8cpp_source.xhtml#l00014">TensorCopyUtils.cpp:14</a></div></div> |
| 261 | <div class="ttc" id="classarmnn_1_1_i_workload_factory_xhtml_a15c140be4ddceffee16436f009d3ed94"><div class="ttname"><a href="classarmnn_1_1_i_workload_factory.xhtml#a15c140be4ddceffee16436f009d3ed94">armnn::IWorkloadFactory::CreateTensorHandle</a></div><div class="ttdeci">virtual std::unique_ptr< ITensorHandle > CreateTensorHandle(const TensorInfo &tensorInfo, const bool IsMemoryManaged=true) const =0</div></div> |
| 262 | <div class="ttc" id="namespacearmnn_xhtml_a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c"><div class="ttname"><a href="namespacearmnn.xhtml#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">armnn::BoostLogSeverityMapping::info</a></div></div> |
| 263 | <div class="ttc" id="structarmnn_1_1_workload_info_xhtml"><div class="ttname"><a href="structarmnn_1_1_workload_info.xhtml">armnn::WorkloadInfo</a></div><div class="ttdoc">Contains information about inputs and outputs to a layer. </div><div class="ttdef"><b>Definition:</b> <a href="include_2armnn_2backends_2_workload_info_8hpp_source.xhtml#l00016">WorkloadInfo.hpp:16</a></div></div> |
| 264 | <div class="ttc" id="struct_layer_test_result_xhtml"><div class="ttname"><a href="struct_layer_test_result.xhtml">LayerTestResult</a></div><div class="ttdef"><b>Definition:</b> <a href="_layer_test_result_8hpp_source.xhtml#l00029">LayerTestResult.hpp:29</a></div></div> |
| 265 | <div class="ttc" id="_tensor_copy_utils_8cpp_xhtml_ae15f1a3c55d2db87683577de9fa4437c"><div class="ttname"><a href="_tensor_copy_utils_8cpp.xhtml#ae15f1a3c55d2db87683577de9fa4437c">CopyDataToITensorHandle</a></div><div class="ttdeci">void CopyDataToITensorHandle(armnn::ITensorHandle *tensorHandle, const void *memory)</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_copy_utils_8cpp_source.xhtml#l00009">TensorCopyUtils.cpp:9</a></div></div> |
| 266 | </div><!-- fragment --> |
| 267 | </div> |
| 268 | </div> |
| 269 | <a id="a878a628bade11abc79cf8160c518a244"></a> |
| 270 | <h2 class="memtitle"><span class="permalink"><a href="#a878a628bade11abc79cf8160c518a244">◆ </a></span>Pad4dTestCommon()</h2> |
| 271 | |
| 272 | <div class="memitem"> |
| 273 | <div class="memproto"> |
| 274 | <table class="memname"> |
| 275 | <tr> |
| 276 | <td class="memname"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a><T, 4> Pad4dTestCommon </td> |
| 277 | <td>(</td> |
| 278 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> & </td> |
| 279 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 280 | </tr> |
| 281 | <tr> |
| 282 | <td class="paramkey"></td> |
| 283 | <td></td> |
| 284 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 285 | <td class="paramname"><em>memoryManager</em>, </td> |
| 286 | </tr> |
| 287 | <tr> |
| 288 | <td class="paramkey"></td> |
| 289 | <td></td> |
| 290 | <td class="paramtype">float </td> |
| 291 | <td class="paramname"><em>qScale</em>, </td> |
| 292 | </tr> |
| 293 | <tr> |
| 294 | <td class="paramkey"></td> |
| 295 | <td></td> |
| 296 | <td class="paramtype">int32_t </td> |
| 297 | <td class="paramname"><em>qOffset</em> </td> |
| 298 | </tr> |
| 299 | <tr> |
| 300 | <td></td> |
| 301 | <td>)</td> |
| 302 | <td></td><td></td> |
| 303 | </tr> |
| 304 | </table> |
| 305 | </div><div class="memdoc"> |
| 306 | |
| 307 | <p class="definition">Definition at line <a class="el" href="_pad_test_impl_8cpp_source.xhtml#l00177">177</a> of file <a class="el" href="_pad_test_impl_8cpp_source.xhtml">PadTestImpl.cpp</a>.</p> |
| 308 | |
| 309 | <p class="reference">References <a class="el" href="_tensor_copy_utils_8cpp_source.xhtml#l00014">CopyDataFromITensorHandle()</a>, <a class="el" href="_tensor_copy_utils_8cpp_source.xhtml#l00009">CopyDataToITensorHandle()</a>, <a class="el" href="_workload_factory_8cpp_source.xhtml#l01328">IWorkloadFactory::CreatePad()</a>, <a class="el" href="classarmnn_1_1_i_workload_factory.xhtml#a15c140be4ddceffee16436f009d3ed94">IWorkloadFactory::CreateTensorHandle()</a>, <a class="el" href="_ignore_unused_8hpp_source.xhtml#l00014">armnn::IgnoreUnused()</a>, <a class="el" href="_descriptors_8hpp_source.xhtml#l00920">PadDescriptor::m_PadList</a>, <a class="el" href="_workload_data_8hpp_source.xhtml#l00049">QueueDescriptorWithParameters< LayerDescriptor >::m_Parameters</a>, <a class="el" href="_layer_test_result_8hpp_source.xhtml#l00040">LayerTestResult< T, n >::output</a>, and <a class="el" href="_layer_test_result_8hpp_source.xhtml#l00041">LayerTestResult< T, n >::outputExpected</a>.</p> |
| 310 | <div class="fragment"><div class="line"><a name="l00182"></a><span class="lineno"> 182</span> {</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <a class="code" href="namespacearmnn.xhtml#a44affeeb090c3c6a3062830562672e84">IgnoreUnused</a>(memoryManager);</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_tensor_shape.xhtml">armnn::TensorShape</a> inputShape{ 2, 2, 3, 2 };</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_tensor_shape.xhtml">armnn::TensorShape</a> outputShape{ 4, 5, 7, 4 };</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>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a> inputTensorInfo(inputShape, ArmnnType, qScale, qOffset);</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a> outputTensorInfo(outputShape, ArmnnType, qScale, qOffset);</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span> </div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  std::vector<T> inputValues = armnnUtils::QuantizedVector<T>(</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>  <span class="comment">// Batch 0, Channel 0, Height (3) x Width (2)</span></div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  0, 1,</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  2, 3,</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  4, 5,</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span> </div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="comment">// Batch 0, Channel 1, Height (3) x Width (2)</span></div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  6, 7,</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  8, 9,</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  10, 11,</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span> </div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <span class="comment">// Batch 1, Channel 0, Height (3) x Width (2)</span></div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  12, 13,</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  14, 15,</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  16, 17,</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span> </div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <span class="comment">// Batch 1, Channel 1, Height (3) x Width (2)</span></div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  18, 19,</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  20, 21,</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  22, 23</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  },</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  qScale, qOffset);</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span> </div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  std::vector<T> expectedOutputValues = armnnUtils::QuantizedVector<T>(</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  {</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  0, 0, 0, 0,</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  0, 0, 0, 0,</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  0, 0, 0, 0,</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  0, 0, 0, 0,</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  0, 0, 0, 0,</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  0, 0, 0, 0,</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  0, 0, 0, 0,</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span> </div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  0, 0, 0, 0,</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  0, 0, 0, 0,</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  0, 0, 0, 0,</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  0, 0, 0, 0,</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  0, 0, 0, 0,</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  0, 0, 0, 0,</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  0, 0, 0, 0,</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span> </div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  0, 0, 0, 0,</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  0, 0, 0, 0,</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  0, 0, 0, 0,</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  0, 0, 0, 0,</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  0, 0, 0, 0,</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  0, 0, 0, 0,</div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  0, 0, 0, 0,</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span> </div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  0, 0, 0, 0,</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  0, 0, 0, 0,</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  0, 0, 0, 0,</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  0, 0, 0, 0,</div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  0, 0, 0, 0,</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  0, 0, 0, 0,</div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  0, 0, 0, 0,</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span> </div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  0, 0, 0, 0,</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  0, 0, 0, 0,</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  0, 0, 0, 0,</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  0, 0, 0, 0,</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  0, 0, 0, 0,</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  0, 0, 0, 0,</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  0, 0, 0, 0,</div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span> </div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  0, 0, 0, 0,</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  0, 0, 0, 0,</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  0, 0, 0, 0,</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  0, 0, 0, 0,</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  0, 0, 0, 0,</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  0, 0, 0, 0,</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  0, 0, 0, 0,</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span> </div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  0, 0, 0, 0,</div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  0, 0, 0, 0,</div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  0, 0, 0, 0,</div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  0, 0, 0, 0,</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  0, 0, 0, 0,</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  0, 0, 0, 0,</div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  0, 0, 0, 0,</div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span> </div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  0, 0, 0, 0,</div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  0, 0, 0, 0,</div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  0, 0, 0, 0,</div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  0, 0, 1, 0,</div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  0, 2, 3, 0,</div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  0, 4, 5, 0,</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  0, 0, 0, 0,</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span> </div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  0, 0, 0, 0,</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  0, 0, 0, 0,</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  0, 0, 0, 0,</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  0, 6, 7, 0,</div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  0, 8, 9, 0,</div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  0, 10, 11, 0,</div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  0, 0, 0, 0,</div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span> </div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  0, 0, 0, 0,</div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  0, 0, 0, 0,</div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  0, 0, 0, 0,</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  0, 0, 0, 0,</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  0, 0, 0, 0,</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  0, 0, 0, 0,</div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  0, 0, 0, 0,</div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span> </div><div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  0, 0, 0, 0,</div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  0, 0, 0, 0,</div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  0, 0, 0, 0,</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  0, 0, 0, 0,</div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  0, 0, 0, 0,</div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  0, 0, 0, 0,</div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  0, 0, 0, 0,</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span> </div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  0, 0, 0, 0,</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  0, 0, 0, 0,</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  0, 0, 0, 0,</div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  0, 0, 0, 0,</div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  0, 0, 0, 0,</div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  0, 0, 0, 0,</div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  0, 0, 0, 0,</div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span> </div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  0, 0, 0, 0,</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  0, 0, 0, 0,</div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  0, 0, 0, 0,</div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  0, 12, 13, 0,</div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  0, 14, 15, 0,</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  0, 16, 17, 0,</div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  0, 0, 0, 0,</div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span> </div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  0, 0, 0, 0,</div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  0, 0, 0, 0,</div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  0, 0, 0, 0,</div><div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  0, 18, 19, 0,</div><div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  0, 20, 21, 0,</div><div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  0, 22, 23, 0,</div><div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  0, 0, 0, 0,</div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span> </div><div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  0, 0, 0, 0,</div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  0, 0, 0, 0,</div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  0, 0, 0, 0,</div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  0, 0, 0, 0,</div><div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  0, 0, 0, 0,</div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  0, 0, 0, 0,</div><div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  0, 0, 0, 0,</div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span> </div><div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  0, 0, 0, 0,</div><div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  0, 0, 0, 0,</div><div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  0, 0, 0, 0,</div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  0, 0, 0, 0,</div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span>  0, 0, 0, 0,</div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span>  0, 0, 0, 0,</div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span>  0, 0, 0, 0,</div><div class="line"><a name="l00343"></a><span class="lineno"> 343</span> </div><div class="line"><a name="l00344"></a><span class="lineno"> 344</span>  0, 0, 0, 0,</div><div class="line"><a name="l00345"></a><span class="lineno"> 345</span>  0, 0, 0, 0,</div><div class="line"><a name="l00346"></a><span class="lineno"> 346</span>  0, 0, 0, 0,</div><div class="line"><a name="l00347"></a><span class="lineno"> 347</span>  0, 0, 0, 0,</div><div class="line"><a name="l00348"></a><span class="lineno"> 348</span>  0, 0, 0, 0,</div><div class="line"><a name="l00349"></a><span class="lineno"> 349</span>  0, 0, 0, 0,</div><div class="line"><a name="l00350"></a><span class="lineno"> 350</span>  0, 0, 0, 0,</div><div class="line"><a name="l00351"></a><span class="lineno"> 351</span> </div><div class="line"><a name="l00352"></a><span class="lineno"> 352</span>  0, 0, 0, 0,</div><div class="line"><a name="l00353"></a><span class="lineno"> 353</span>  0, 0, 0, 0,</div><div class="line"><a name="l00354"></a><span class="lineno"> 354</span>  0, 0, 0, 0,</div><div class="line"><a name="l00355"></a><span class="lineno"> 355</span>  0, 0, 0, 0,</div><div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  0, 0, 0, 0,</div><div class="line"><a name="l00357"></a><span class="lineno"> 357</span>  0, 0, 0, 0,</div><div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  0, 0, 0, 0,</div><div class="line"><a name="l00359"></a><span class="lineno"> 359</span> </div><div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  0, 0, 0, 0,</div><div class="line"><a name="l00361"></a><span class="lineno"> 361</span>  0, 0, 0, 0,</div><div class="line"><a name="l00362"></a><span class="lineno"> 362</span>  0, 0, 0, 0,</div><div class="line"><a name="l00363"></a><span class="lineno"> 363</span>  0, 0, 0, 0,</div><div class="line"><a name="l00364"></a><span class="lineno"> 364</span>  0, 0, 0, 0,</div><div class="line"><a name="l00365"></a><span class="lineno"> 365</span>  0, 0, 0, 0,</div><div class="line"><a name="l00366"></a><span class="lineno"> 366</span>  0, 0, 0, 0,</div><div class="line"><a name="l00367"></a><span class="lineno"> 367</span> </div><div class="line"><a name="l00368"></a><span class="lineno"> 368</span>  0, 0, 0, 0,</div><div class="line"><a name="l00369"></a><span class="lineno"> 369</span>  0, 0, 0, 0,</div><div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  0, 0, 0, 0,</div><div class="line"><a name="l00371"></a><span class="lineno"> 371</span>  0, 0, 0, 0,</div><div class="line"><a name="l00372"></a><span class="lineno"> 372</span>  0, 0, 0, 0,</div><div class="line"><a name="l00373"></a><span class="lineno"> 373</span>  0, 0, 0, 0,</div><div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  0, 0, 0, 0</div><div class="line"><a name="l00375"></a><span class="lineno"> 375</span>  },</div><div class="line"><a name="l00376"></a><span class="lineno"> 376</span>  qScale, qOffset);</div><div class="line"><a name="l00377"></a><span class="lineno"> 377</span> </div><div class="line"><a name="l00378"></a><span class="lineno"> 378</span>  <span class="keyword">auto</span> inputTensor = MakeTensor<T, 4>(inputTensorInfo, std::vector<T>(inputValues));</div><div class="line"><a name="l00379"></a><span class="lineno"> 379</span> </div><div class="line"><a name="l00380"></a><span class="lineno"> 380</span>  <a class="code" href="struct_layer_test_result.xhtml">LayerTestResult<T, 4></a> result(outputTensorInfo);</div><div class="line"><a name="l00381"></a><span class="lineno"> 381</span>  result.outputExpected = MakeTensor<T, 4>(outputTensorInfo, std::vector<T>(expectedOutputValues));</div><div class="line"><a name="l00382"></a><span class="lineno"> 382</span> </div><div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  std::unique_ptr<armnn::ITensorHandle> inputHandle = workloadFactory.<a class="code" href="classarmnn_1_1_i_workload_factory.xhtml#a15c140be4ddceffee16436f009d3ed94">CreateTensorHandle</a>(inputTensorInfo);</div><div class="line"><a name="l00384"></a><span class="lineno"> 384</span>  std::unique_ptr<armnn::ITensorHandle> outputHandle = workloadFactory.<a class="code" href="classarmnn_1_1_i_workload_factory.xhtml#a15c140be4ddceffee16436f009d3ed94">CreateTensorHandle</a>(outputTensorInfo);</div><div class="line"><a name="l00385"></a><span class="lineno"> 385</span> </div><div class="line"><a name="l00386"></a><span class="lineno"> 386</span>  <a class="code" href="structarmnn_1_1_pad_queue_descriptor.xhtml">armnn::PadQueueDescriptor</a> descriptor;</div><div class="line"><a name="l00387"></a><span class="lineno"> 387</span> </div><div class="line"><a name="l00388"></a><span class="lineno"> 388</span>  std::vector<std::pair<unsigned int, unsigned int>> PadList;</div><div class="line"><a name="l00389"></a><span class="lineno"> 389</span>  PadList.push_back(std::pair<unsigned int, unsigned int>(1,1));</div><div class="line"><a name="l00390"></a><span class="lineno"> 390</span>  PadList.push_back(std::pair<unsigned int, unsigned int>(2,1));</div><div class="line"><a name="l00391"></a><span class="lineno"> 391</span>  PadList.push_back(std::pair<unsigned int, unsigned int>(3,1));</div><div class="line"><a name="l00392"></a><span class="lineno"> 392</span>  PadList.push_back(std::pair<unsigned int, unsigned int>(1,1));</div><div class="line"><a name="l00393"></a><span class="lineno"> 393</span> </div><div class="line"><a name="l00394"></a><span class="lineno"> 394</span>  descriptor.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.xhtml#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>.<a class="code" href="structarmnn_1_1_pad_descriptor.xhtml#a85f98c94e11f65a6b73f831735c040f3">m_PadList</a> = PadList;</div><div class="line"><a name="l00395"></a><span class="lineno"> 395</span>  <a class="code" href="structarmnn_1_1_workload_info.xhtml">armnn::WorkloadInfo</a> <a class="code" href="namespacearmnn.xhtml#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>;</div><div class="line"><a name="l00396"></a><span class="lineno"> 396</span> </div><div class="line"><a name="l00397"></a><span class="lineno"> 397</span>  AddInputToWorkload(descriptor, info, inputTensorInfo, inputHandle.get());</div><div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  AddOutputToWorkload(descriptor, info, outputTensorInfo, outputHandle.get());</div><div class="line"><a name="l00399"></a><span class="lineno"> 399</span> </div><div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  std::unique_ptr<armnn::IWorkload> workload = workloadFactory.<a class="code" href="classarmnn_1_1_i_workload_factory.xhtml#ab0c956e4a638d0a2777ecb71953f7e27">CreatePad</a>(descriptor, info);</div><div class="line"><a name="l00401"></a><span class="lineno"> 401</span> </div><div class="line"><a name="l00402"></a><span class="lineno"> 402</span>  inputHandle->Allocate();</div><div class="line"><a name="l00403"></a><span class="lineno"> 403</span>  outputHandle->Allocate();</div><div class="line"><a name="l00404"></a><span class="lineno"> 404</span> </div><div class="line"><a name="l00405"></a><span class="lineno"> 405</span>  <a class="code" href="_tensor_copy_utils_8cpp.xhtml#ae15f1a3c55d2db87683577de9fa4437c">CopyDataToITensorHandle</a>(inputHandle.get(), &inputTensor[0][0][0][0]);</div><div class="line"><a name="l00406"></a><span class="lineno"> 406</span> </div><div class="line"><a name="l00407"></a><span class="lineno"> 407</span>  workload->PostAllocationConfigure();</div><div class="line"><a name="l00408"></a><span class="lineno"> 408</span>  workload->Execute();</div><div class="line"><a name="l00409"></a><span class="lineno"> 409</span> </div><div class="line"><a name="l00410"></a><span class="lineno"> 410</span>  <a class="code" href="_tensor_copy_utils_8cpp.xhtml#a99b626c58a926dc7d6df78d22ec186c8">CopyDataFromITensorHandle</a>(&result.output[0][0][0][0], outputHandle.get());</div><div class="line"><a name="l00411"></a><span class="lineno"> 411</span> </div><div class="line"><a name="l00412"></a><span class="lineno"> 412</span>  <span class="keywordflow">return</span> result;</div><div class="line"><a name="l00413"></a><span class="lineno"> 413</span> }</div><div class="ttc" id="classarmnn_1_1_tensor_info_xhtml"><div class="ttname"><a href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.xhtml#l00053">Tensor.hpp:53</a></div></div> |
| 311 | <div class="ttc" id="structarmnn_1_1_pad_descriptor_xhtml_a85f98c94e11f65a6b73f831735c040f3"><div class="ttname"><a href="structarmnn_1_1_pad_descriptor.xhtml#a85f98c94e11f65a6b73f831735c040f3">armnn::PadDescriptor::m_PadList</a></div><div class="ttdeci">std::vector< std::pair< unsigned int, unsigned int > > m_PadList</div><div class="ttdoc">Specifies the padding for input dimension. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.xhtml#l00920">Descriptors.hpp:920</a></div></div> |
| 312 | <div class="ttc" id="namespacearmnn_xhtml_a44affeeb090c3c6a3062830562672e84"><div class="ttname"><a href="namespacearmnn.xhtml#a44affeeb090c3c6a3062830562672e84">armnn::IgnoreUnused</a></div><div class="ttdeci">void IgnoreUnused(Ts &&...)</div><div class="ttdef"><b>Definition:</b> <a href="_ignore_unused_8hpp_source.xhtml#l00014">IgnoreUnused.hpp:14</a></div></div> |
| 313 | <div class="ttc" id="classarmnn_1_1_tensor_shape_xhtml"><div class="ttname"><a href="classarmnn_1_1_tensor_shape.xhtml">armnn::TensorShape</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.xhtml#l00020">Tensor.hpp:20</a></div></div> |
| 314 | <div class="ttc" id="structarmnn_1_1_queue_descriptor_with_parameters_xhtml_aad91b9bbf7aa365d304febe79a3d1333"><div class="ttname"><a href="structarmnn_1_1_queue_descriptor_with_parameters.xhtml#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.xhtml#l00049">WorkloadData.hpp:49</a></div></div> |
| 315 | <div class="ttc" id="structarmnn_1_1_pad_queue_descriptor_xhtml"><div class="ttname"><a href="structarmnn_1_1_pad_queue_descriptor.xhtml">armnn::PadQueueDescriptor</a></div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.xhtml#l00252">WorkloadData.hpp:252</a></div></div> |
| 316 | <div class="ttc" id="classarmnn_1_1_i_workload_factory_xhtml_ab0c956e4a638d0a2777ecb71953f7e27"><div class="ttname"><a href="classarmnn_1_1_i_workload_factory.xhtml#ab0c956e4a638d0a2777ecb71953f7e27">armnn::IWorkloadFactory::CreatePad</a></div><div class="ttdeci">virtual std::unique_ptr< IWorkload > CreatePad(const PadQueueDescriptor &descriptor, const WorkloadInfo &Info) const</div><div class="ttdef"><b>Definition:</b> <a href="_workload_factory_8cpp_source.xhtml#l01328">WorkloadFactory.cpp:1328</a></div></div> |
| 317 | <div class="ttc" id="_tensor_copy_utils_8cpp_xhtml_a99b626c58a926dc7d6df78d22ec186c8"><div class="ttname"><a href="_tensor_copy_utils_8cpp.xhtml#a99b626c58a926dc7d6df78d22ec186c8">CopyDataFromITensorHandle</a></div><div class="ttdeci">void CopyDataFromITensorHandle(void *memory, const armnn::ITensorHandle *tensorHandle)</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_copy_utils_8cpp_source.xhtml#l00014">TensorCopyUtils.cpp:14</a></div></div> |
| 318 | <div class="ttc" id="classarmnn_1_1_i_workload_factory_xhtml_a15c140be4ddceffee16436f009d3ed94"><div class="ttname"><a href="classarmnn_1_1_i_workload_factory.xhtml#a15c140be4ddceffee16436f009d3ed94">armnn::IWorkloadFactory::CreateTensorHandle</a></div><div class="ttdeci">virtual std::unique_ptr< ITensorHandle > CreateTensorHandle(const TensorInfo &tensorInfo, const bool IsMemoryManaged=true) const =0</div></div> |
| 319 | <div class="ttc" id="namespacearmnn_xhtml_a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c"><div class="ttname"><a href="namespacearmnn.xhtml#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">armnn::BoostLogSeverityMapping::info</a></div></div> |
| 320 | <div class="ttc" id="structarmnn_1_1_workload_info_xhtml"><div class="ttname"><a href="structarmnn_1_1_workload_info.xhtml">armnn::WorkloadInfo</a></div><div class="ttdoc">Contains information about inputs and outputs to a layer. </div><div class="ttdef"><b>Definition:</b> <a href="include_2armnn_2backends_2_workload_info_8hpp_source.xhtml#l00016">WorkloadInfo.hpp:16</a></div></div> |
| 321 | <div class="ttc" id="struct_layer_test_result_xhtml"><div class="ttname"><a href="struct_layer_test_result.xhtml">LayerTestResult</a></div><div class="ttdef"><b>Definition:</b> <a href="_layer_test_result_8hpp_source.xhtml#l00029">LayerTestResult.hpp:29</a></div></div> |
| 322 | <div class="ttc" id="_tensor_copy_utils_8cpp_xhtml_ae15f1a3c55d2db87683577de9fa4437c"><div class="ttname"><a href="_tensor_copy_utils_8cpp.xhtml#ae15f1a3c55d2db87683577de9fa4437c">CopyDataToITensorHandle</a></div><div class="ttdeci">void CopyDataToITensorHandle(armnn::ITensorHandle *tensorHandle, const void *memory)</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_copy_utils_8cpp_source.xhtml#l00009">TensorCopyUtils.cpp:9</a></div></div> |
| 323 | </div><!-- fragment --> |
| 324 | </div> |
| 325 | </div> |
| 326 | <a id="a4051f0cadac34f005ccac2567ea22d28"></a> |
| 327 | <h2 class="memtitle"><span class="permalink"><a href="#a4051f0cadac34f005ccac2567ea22d28">◆ </a></span>PadBFloat162dCustomPaddingTest()</h2> |
| 328 | |
| 329 | <div class="memitem"> |
| 330 | <div class="memproto"> |
| 331 | <table class="memname"> |
| 332 | <tr> |
| 333 | <td class="memname"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a><<a class="el" href="classarmnn_1_1_b_float16.xhtml">armnn::BFloat16</a>, 2> PadBFloat162dCustomPaddingTest </td> |
| 334 | <td>(</td> |
| 335 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> & </td> |
| 336 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 337 | </tr> |
| 338 | <tr> |
| 339 | <td class="paramkey"></td> |
| 340 | <td></td> |
| 341 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 342 | <td class="paramname"><em>memoryManager</em> </td> |
| 343 | </tr> |
| 344 | <tr> |
| 345 | <td></td> |
| 346 | <td>)</td> |
| 347 | <td></td><td></td> |
| 348 | </tr> |
| 349 | </table> |
| 350 | </div><div class="memdoc"> |
| 351 | |
| 352 | <p class="definition">Definition at line <a class="el" href="_pad_test_impl_8cpp_source.xhtml#l00508">508</a> of file <a class="el" href="_pad_test_impl_8cpp_source.xhtml">PadTestImpl.cpp</a>.</p> |
| 353 | <div class="fragment"><div class="line"><a name="l00511"></a><span class="lineno"> 511</span> {</div><div class="line"><a name="l00512"></a><span class="lineno"> 512</span>  <span class="keywordflow">return</span> Pad2dTestCommon<armnn::DataType::BFloat16>(workloadFactory, memoryManager, 0.0f, 0, 1.0f);</div><div class="line"><a name="l00513"></a><span class="lineno"> 513</span> }</div></div><!-- fragment --> |
| 354 | </div> |
| 355 | </div> |
| 356 | <a id="a70d112117aab76605b514d71ff653d60"></a> |
| 357 | <h2 class="memtitle"><span class="permalink"><a href="#a70d112117aab76605b514d71ff653d60">◆ </a></span>PadBFloat162dTest()</h2> |
| 358 | |
| 359 | <div class="memitem"> |
| 360 | <div class="memproto"> |
| 361 | <table class="memname"> |
| 362 | <tr> |
| 363 | <td class="memname"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a><<a class="el" href="classarmnn_1_1_b_float16.xhtml">armnn::BFloat16</a>, 2> PadBFloat162dTest </td> |
| 364 | <td>(</td> |
| 365 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> & </td> |
| 366 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 367 | </tr> |
| 368 | <tr> |
| 369 | <td class="paramkey"></td> |
| 370 | <td></td> |
| 371 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 372 | <td class="paramname"><em>memoryManager</em> </td> |
| 373 | </tr> |
| 374 | <tr> |
| 375 | <td></td> |
| 376 | <td>)</td> |
| 377 | <td></td><td></td> |
| 378 | </tr> |
| 379 | </table> |
| 380 | </div><div class="memdoc"> |
| 381 | |
| 382 | <p class="definition">Definition at line <a class="el" href="_pad_test_impl_8cpp_source.xhtml#l00501">501</a> of file <a class="el" href="_pad_test_impl_8cpp_source.xhtml">PadTestImpl.cpp</a>.</p> |
| 383 | <div class="fragment"><div class="line"><a name="l00504"></a><span class="lineno"> 504</span> {</div><div class="line"><a name="l00505"></a><span class="lineno"> 505</span>  <span class="keywordflow">return</span> Pad2dTestCommon<armnn::DataType::BFloat16>(workloadFactory, memoryManager, 0.0f, 0);</div><div class="line"><a name="l00506"></a><span class="lineno"> 506</span> }</div></div><!-- fragment --> |
| 384 | </div> |
| 385 | </div> |
| 386 | <a id="ac5f18107061e75d2e1fa378b514c3269"></a> |
| 387 | <h2 class="memtitle"><span class="permalink"><a href="#ac5f18107061e75d2e1fa378b514c3269">◆ </a></span>PadBFloat163dTest()</h2> |
| 388 | |
| 389 | <div class="memitem"> |
| 390 | <div class="memproto"> |
| 391 | <table class="memname"> |
| 392 | <tr> |
| 393 | <td class="memname"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a><<a class="el" href="classarmnn_1_1_b_float16.xhtml">armnn::BFloat16</a>, 3> PadBFloat163dTest </td> |
| 394 | <td>(</td> |
| 395 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> & </td> |
| 396 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 397 | </tr> |
| 398 | <tr> |
| 399 | <td class="paramkey"></td> |
| 400 | <td></td> |
| 401 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 402 | <td class="paramname"><em>memoryManager</em> </td> |
| 403 | </tr> |
| 404 | <tr> |
| 405 | <td></td> |
| 406 | <td>)</td> |
| 407 | <td></td><td></td> |
| 408 | </tr> |
| 409 | </table> |
| 410 | </div><div class="memdoc"> |
| 411 | |
| 412 | <p class="definition">Definition at line <a class="el" href="_pad_test_impl_8cpp_source.xhtml#l00515">515</a> of file <a class="el" href="_pad_test_impl_8cpp_source.xhtml">PadTestImpl.cpp</a>.</p> |
| 413 | <div class="fragment"><div class="line"><a name="l00518"></a><span class="lineno"> 518</span> {</div><div class="line"><a name="l00519"></a><span class="lineno"> 519</span>  <span class="keywordflow">return</span> Pad3dTestCommon<armnn::DataType::BFloat16>(workloadFactory, memoryManager, 0.0f, 0);</div><div class="line"><a name="l00520"></a><span class="lineno"> 520</span> }</div></div><!-- fragment --> |
| 414 | </div> |
| 415 | </div> |
| 416 | <a id="a7622686da55a20be40afff518e661355"></a> |
| 417 | <h2 class="memtitle"><span class="permalink"><a href="#a7622686da55a20be40afff518e661355">◆ </a></span>PadBFloat164dTest()</h2> |
| 418 | |
| 419 | <div class="memitem"> |
| 420 | <div class="memproto"> |
| 421 | <table class="memname"> |
| 422 | <tr> |
| 423 | <td class="memname"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a><<a class="el" href="classarmnn_1_1_b_float16.xhtml">armnn::BFloat16</a>, 4> PadBFloat164dTest </td> |
| 424 | <td>(</td> |
| 425 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> & </td> |
| 426 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 427 | </tr> |
| 428 | <tr> |
| 429 | <td class="paramkey"></td> |
| 430 | <td></td> |
| 431 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 432 | <td class="paramname"><em>memoryManager</em> </td> |
| 433 | </tr> |
| 434 | <tr> |
| 435 | <td></td> |
| 436 | <td>)</td> |
| 437 | <td></td><td></td> |
| 438 | </tr> |
| 439 | </table> |
| 440 | </div><div class="memdoc"> |
| 441 | |
| 442 | <p class="definition">Definition at line <a class="el" href="_pad_test_impl_8cpp_source.xhtml#l00522">522</a> of file <a class="el" href="_pad_test_impl_8cpp_source.xhtml">PadTestImpl.cpp</a>.</p> |
| 443 | <div class="fragment"><div class="line"><a name="l00525"></a><span class="lineno"> 525</span> {</div><div class="line"><a name="l00526"></a><span class="lineno"> 526</span>  <span class="keywordflow">return</span> Pad4dTestCommon<armnn::DataType::BFloat16>(workloadFactory, memoryManager, 0.0f, 0);</div><div class="line"><a name="l00527"></a><span class="lineno"> 527</span> }</div></div><!-- fragment --> |
| 444 | </div> |
| 445 | </div> |
| 446 | <a id="aaa52b691f1734bf8ed1b983a4ccb9e7c"></a> |
| 447 | <h2 class="memtitle"><span class="permalink"><a href="#aaa52b691f1734bf8ed1b983a4ccb9e7c">◆ </a></span>PadFloat322dCustomPaddingTest()</h2> |
| 448 | |
| 449 | <div class="memitem"> |
| 450 | <div class="memproto"> |
| 451 | <table class="memname"> |
| 452 | <tr> |
| 453 | <td class="memname"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a><float, 2> PadFloat322dCustomPaddingTest </td> |
| 454 | <td>(</td> |
| 455 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> & </td> |
| 456 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 457 | </tr> |
| 458 | <tr> |
| 459 | <td class="paramkey"></td> |
| 460 | <td></td> |
| 461 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 462 | <td class="paramname"><em>memoryManager</em> </td> |
| 463 | </tr> |
| 464 | <tr> |
| 465 | <td></td> |
| 466 | <td>)</td> |
| 467 | <td></td><td></td> |
| 468 | </tr> |
| 469 | </table> |
| 470 | </div><div class="memdoc"> |
| 471 | |
| 472 | <p class="definition">Definition at line <a class="el" href="_pad_test_impl_8cpp_source.xhtml#l00480">480</a> of file <a class="el" href="_pad_test_impl_8cpp_source.xhtml">PadTestImpl.cpp</a>.</p> |
| 473 | <div class="fragment"><div class="line"><a name="l00483"></a><span class="lineno"> 483</span> {</div><div class="line"><a name="l00484"></a><span class="lineno"> 484</span>  <span class="keywordflow">return</span> Pad2dTestCommon<armnn::DataType::Float32>(workloadFactory, memoryManager, 0.0f, 0, 1.0f);</div><div class="line"><a name="l00485"></a><span class="lineno"> 485</span> }</div></div><!-- fragment --> |
| 474 | </div> |
| 475 | </div> |
| 476 | <a id="a25fabb1639914c21d6704cb4d38a9c84"></a> |
| 477 | <h2 class="memtitle"><span class="permalink"><a href="#a25fabb1639914c21d6704cb4d38a9c84">◆ </a></span>PadFloat322dTest()</h2> |
| 478 | |
| 479 | <div class="memitem"> |
| 480 | <div class="memproto"> |
| 481 | <table class="memname"> |
| 482 | <tr> |
| 483 | <td class="memname"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a><float, 2> PadFloat322dTest </td> |
| 484 | <td>(</td> |
| 485 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> & </td> |
| 486 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 487 | </tr> |
| 488 | <tr> |
| 489 | <td class="paramkey"></td> |
| 490 | <td></td> |
| 491 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 492 | <td class="paramname"><em>memoryManager</em> </td> |
| 493 | </tr> |
| 494 | <tr> |
| 495 | <td></td> |
| 496 | <td>)</td> |
| 497 | <td></td><td></td> |
| 498 | </tr> |
| 499 | </table> |
| 500 | </div><div class="memdoc"> |
| 501 | |
| 502 | <p class="definition">Definition at line <a class="el" href="_pad_test_impl_8cpp_source.xhtml#l00473">473</a> of file <a class="el" href="_pad_test_impl_8cpp_source.xhtml">PadTestImpl.cpp</a>.</p> |
| 503 | <div class="fragment"><div class="line"><a name="l00476"></a><span class="lineno"> 476</span> {</div><div class="line"><a name="l00477"></a><span class="lineno"> 477</span>  <span class="keywordflow">return</span> Pad2dTestCommon<armnn::DataType::Float32>(workloadFactory, memoryManager, 0.0f, 0);</div><div class="line"><a name="l00478"></a><span class="lineno"> 478</span> }</div></div><!-- fragment --> |
| 504 | </div> |
| 505 | </div> |
| 506 | <a id="affbb9e1924205682a80918a3ee91df3f"></a> |
| 507 | <h2 class="memtitle"><span class="permalink"><a href="#affbb9e1924205682a80918a3ee91df3f">◆ </a></span>PadFloat323dTest()</h2> |
| 508 | |
| 509 | <div class="memitem"> |
| 510 | <div class="memproto"> |
| 511 | <table class="memname"> |
| 512 | <tr> |
| 513 | <td class="memname"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a><float, 3> PadFloat323dTest </td> |
| 514 | <td>(</td> |
| 515 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> & </td> |
| 516 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 517 | </tr> |
| 518 | <tr> |
| 519 | <td class="paramkey"></td> |
| 520 | <td></td> |
| 521 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 522 | <td class="paramname"><em>memoryManager</em> </td> |
| 523 | </tr> |
| 524 | <tr> |
| 525 | <td></td> |
| 526 | <td>)</td> |
| 527 | <td></td><td></td> |
| 528 | </tr> |
| 529 | </table> |
| 530 | </div><div class="memdoc"> |
| 531 | |
| 532 | <p class="definition">Definition at line <a class="el" href="_pad_test_impl_8cpp_source.xhtml#l00487">487</a> of file <a class="el" href="_pad_test_impl_8cpp_source.xhtml">PadTestImpl.cpp</a>.</p> |
| 533 | <div class="fragment"><div class="line"><a name="l00490"></a><span class="lineno"> 490</span> {</div><div class="line"><a name="l00491"></a><span class="lineno"> 491</span>  <span class="keywordflow">return</span> Pad3dTestCommon<armnn::DataType::Float32>(workloadFactory, memoryManager, 0.0f, 0);</div><div class="line"><a name="l00492"></a><span class="lineno"> 492</span> }</div></div><!-- fragment --> |
| 534 | </div> |
| 535 | </div> |
| 536 | <a id="a154b1f8adf21e8e368d27882d02c0abd"></a> |
| 537 | <h2 class="memtitle"><span class="permalink"><a href="#a154b1f8adf21e8e368d27882d02c0abd">◆ </a></span>PadFloat324dTest()</h2> |
| 538 | |
| 539 | <div class="memitem"> |
| 540 | <div class="memproto"> |
| 541 | <table class="memname"> |
| 542 | <tr> |
| 543 | <td class="memname"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a><float, 4> PadFloat324dTest </td> |
| 544 | <td>(</td> |
| 545 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> & </td> |
| 546 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 547 | </tr> |
| 548 | <tr> |
| 549 | <td class="paramkey"></td> |
| 550 | <td></td> |
| 551 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 552 | <td class="paramname"><em>memoryManager</em> </td> |
| 553 | </tr> |
| 554 | <tr> |
| 555 | <td></td> |
| 556 | <td>)</td> |
| 557 | <td></td><td></td> |
| 558 | </tr> |
| 559 | </table> |
| 560 | </div><div class="memdoc"> |
| 561 | |
| 562 | <p class="definition">Definition at line <a class="el" href="_pad_test_impl_8cpp_source.xhtml#l00494">494</a> of file <a class="el" href="_pad_test_impl_8cpp_source.xhtml">PadTestImpl.cpp</a>.</p> |
| 563 | <div class="fragment"><div class="line"><a name="l00497"></a><span class="lineno"> 497</span> {</div><div class="line"><a name="l00498"></a><span class="lineno"> 498</span>  <span class="keywordflow">return</span> Pad4dTestCommon<armnn::DataType::Float32>(workloadFactory, memoryManager, 0.0f, 0);</div><div class="line"><a name="l00499"></a><span class="lineno"> 499</span> }</div></div><!-- fragment --> |
| 564 | </div> |
| 565 | </div> |
| 566 | <a id="a07b74f034f52a7c5dae44a74efb8019e"></a> |
| 567 | <h2 class="memtitle"><span class="permalink"><a href="#a07b74f034f52a7c5dae44a74efb8019e">◆ </a></span>PadUint82dCustomPaddingTest()</h2> |
| 568 | |
| 569 | <div class="memitem"> |
| 570 | <div class="memproto"> |
| 571 | <table class="memname"> |
| 572 | <tr> |
| 573 | <td class="memname"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a><uint8_t, 2> PadUint82dCustomPaddingTest </td> |
| 574 | <td>(</td> |
| 575 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> & </td> |
| 576 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 577 | </tr> |
| 578 | <tr> |
| 579 | <td class="paramkey"></td> |
| 580 | <td></td> |
| 581 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 582 | <td class="paramname"><em>memoryManager</em> </td> |
| 583 | </tr> |
| 584 | <tr> |
| 585 | <td></td> |
| 586 | <td>)</td> |
| 587 | <td></td><td></td> |
| 588 | </tr> |
| 589 | </table> |
| 590 | </div><div class="memdoc"> |
| 591 | |
| 592 | <p class="definition">Definition at line <a class="el" href="_pad_test_impl_8cpp_source.xhtml#l00452">452</a> of file <a class="el" href="_pad_test_impl_8cpp_source.xhtml">PadTestImpl.cpp</a>.</p> |
| 593 | <div class="fragment"><div class="line"><a name="l00455"></a><span class="lineno"> 455</span> {</div><div class="line"><a name="l00456"></a><span class="lineno"> 456</span>  <span class="keywordflow">return</span> Pad2dTestCommon<armnn::DataType::QAsymmU8>(workloadFactory, memoryManager, 1.0f, 0, 1.0f);</div><div class="line"><a name="l00457"></a><span class="lineno"> 457</span> }</div></div><!-- fragment --> |
| 594 | </div> |
| 595 | </div> |
| 596 | <a id="af9c6d2cdf6ad5b749e618ccc6fb43311"></a> |
| 597 | <h2 class="memtitle"><span class="permalink"><a href="#af9c6d2cdf6ad5b749e618ccc6fb43311">◆ </a></span>PadUint82dTest()</h2> |
| 598 | |
| 599 | <div class="memitem"> |
| 600 | <div class="memproto"> |
| 601 | <table class="memname"> |
| 602 | <tr> |
| 603 | <td class="memname"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a><uint8_t, 2> PadUint82dTest </td> |
| 604 | <td>(</td> |
| 605 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> & </td> |
| 606 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 607 | </tr> |
| 608 | <tr> |
| 609 | <td class="paramkey"></td> |
| 610 | <td></td> |
| 611 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 612 | <td class="paramname"><em>memoryManager</em> </td> |
| 613 | </tr> |
| 614 | <tr> |
| 615 | <td></td> |
| 616 | <td>)</td> |
| 617 | <td></td><td></td> |
| 618 | </tr> |
| 619 | </table> |
| 620 | </div><div class="memdoc"> |
| 621 | |
| 622 | <p class="definition">Definition at line <a class="el" href="_pad_test_impl_8cpp_source.xhtml#l00445">445</a> of file <a class="el" href="_pad_test_impl_8cpp_source.xhtml">PadTestImpl.cpp</a>.</p> |
| 623 | <div class="fragment"><div class="line"><a name="l00448"></a><span class="lineno"> 448</span> {</div><div class="line"><a name="l00449"></a><span class="lineno"> 449</span>  <span class="keywordflow">return</span> Pad2dTestCommon<armnn::DataType::QAsymmU8>(workloadFactory, memoryManager, 1.0f, 0);</div><div class="line"><a name="l00450"></a><span class="lineno"> 450</span> }</div></div><!-- fragment --> |
| 624 | </div> |
| 625 | </div> |
| 626 | <a id="abffbd2fd1db993ecf50344cf530c21b5"></a> |
| 627 | <h2 class="memtitle"><span class="permalink"><a href="#abffbd2fd1db993ecf50344cf530c21b5">◆ </a></span>PadUint83dTest()</h2> |
| 628 | |
| 629 | <div class="memitem"> |
| 630 | <div class="memproto"> |
| 631 | <table class="memname"> |
| 632 | <tr> |
| 633 | <td class="memname"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a><uint8_t, 3> PadUint83dTest </td> |
| 634 | <td>(</td> |
| 635 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> & </td> |
| 636 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 637 | </tr> |
| 638 | <tr> |
| 639 | <td class="paramkey"></td> |
| 640 | <td></td> |
| 641 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 642 | <td class="paramname"><em>memoryManager</em> </td> |
| 643 | </tr> |
| 644 | <tr> |
| 645 | <td></td> |
| 646 | <td>)</td> |
| 647 | <td></td><td></td> |
| 648 | </tr> |
| 649 | </table> |
| 650 | </div><div class="memdoc"> |
| 651 | |
| 652 | <p class="definition">Definition at line <a class="el" href="_pad_test_impl_8cpp_source.xhtml#l00459">459</a> of file <a class="el" href="_pad_test_impl_8cpp_source.xhtml">PadTestImpl.cpp</a>.</p> |
| 653 | <div class="fragment"><div class="line"><a name="l00462"></a><span class="lineno"> 462</span> {</div><div class="line"><a name="l00463"></a><span class="lineno"> 463</span>  <span class="keywordflow">return</span> Pad3dTestCommon<armnn::DataType::QAsymmU8>(workloadFactory, memoryManager, 1.0f, 0);</div><div class="line"><a name="l00464"></a><span class="lineno"> 464</span> }</div></div><!-- fragment --> |
| 654 | </div> |
| 655 | </div> |
| 656 | <a id="a00264a85539177528b812af3df9a664a"></a> |
| 657 | <h2 class="memtitle"><span class="permalink"><a href="#a00264a85539177528b812af3df9a664a">◆ </a></span>PadUint84dTest()</h2> |
| 658 | |
| 659 | <div class="memitem"> |
| 660 | <div class="memproto"> |
| 661 | <table class="memname"> |
| 662 | <tr> |
| 663 | <td class="memname"><a class="el" href="struct_layer_test_result.xhtml">LayerTestResult</a><uint8_t, 4> PadUint84dTest </td> |
| 664 | <td>(</td> |
| 665 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.xhtml">armnn::IWorkloadFactory</a> & </td> |
| 666 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 667 | </tr> |
| 668 | <tr> |
| 669 | <td class="paramkey"></td> |
| 670 | <td></td> |
| 671 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.xhtml#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 672 | <td class="paramname"><em>memoryManager</em> </td> |
| 673 | </tr> |
| 674 | <tr> |
| 675 | <td></td> |
| 676 | <td>)</td> |
| 677 | <td></td><td></td> |
| 678 | </tr> |
| 679 | </table> |
| 680 | </div><div class="memdoc"> |
| 681 | |
| 682 | <p class="definition">Definition at line <a class="el" href="_pad_test_impl_8cpp_source.xhtml#l00466">466</a> of file <a class="el" href="_pad_test_impl_8cpp_source.xhtml">PadTestImpl.cpp</a>.</p> |
| 683 | <div class="fragment"><div class="line"><a name="l00469"></a><span class="lineno"> 469</span> {</div><div class="line"><a name="l00470"></a><span class="lineno"> 470</span>  <span class="keywordflow">return</span> Pad4dTestCommon<armnn::DataType::QAsymmU8>(workloadFactory, memoryManager, 1.0f, 0);</div><div class="line"><a name="l00471"></a><span class="lineno"> 471</span> }</div></div><!-- fragment --> |
| 684 | </div> |
| 685 | </div> |
| 686 | </div><!-- contents --> |
| 687 | </div><!-- doc-content --> |
| 688 | <!-- start footer part --> |
| 689 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 690 | <ul> |
| 691 | <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="_pad_test_impl_8hpp.xhtml">PadTestImpl.hpp</a></li> |
| 692 | <li class="footer">Generated on Fri Mar 13 2020 16:09:14 for ArmNN by |
| 693 | <a href="http://www.doxygen.org/index.html"> |
| 694 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 695 | </ul> |
| 696 | </div> |
| 697 | </body> |
| 698 | </html> |