Ryan OShea | de36e4a | 2020-03-13 16:26:19 +0000 | [diff] [blame] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 3 | <head> |
| 4 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| 6 | <meta name="generator" content="Doxygen 1.8.13"/> |
| 7 | <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| 8 | <title>ArmNN: src/backends/backendsCommon/test/layerTests/DepthToSpaceTestImpl.cpp File Reference</title> |
| 9 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 10 | <script type="text/javascript" src="jquery.js"></script> |
| 11 | <script type="text/javascript" src="dynsections.js"></script> |
| 12 | <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| 13 | <script type="text/javascript" src="resize.js"></script> |
| 14 | <script type="text/javascript" src="navtreedata.js"></script> |
| 15 | <script type="text/javascript" src="navtree.js"></script> |
| 16 | <script type="text/javascript"> |
| 17 | $(document).ready(initResizable); |
| 18 | </script> |
| 19 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 20 | <script type="text/javascript" src="search/searchdata.js"></script> |
| 21 | <script type="text/javascript" src="search/search.js"></script> |
| 22 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 23 | </head> |
| 24 | <body> |
| 25 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 26 | <div id="titlearea"> |
| 27 | <table cellspacing="0" cellpadding="0"> |
| 28 | <tbody> |
| 29 | <tr style="height: 56px;"> |
| 30 | <td id="projectalign" style="padding-left: 0.5em;"> |
| 31 | <div id="projectname">ArmNN |
| 32 |  <span id="projectnumber">NotReleased</span> |
| 33 | </div> |
| 34 | </td> |
| 35 | </tr> |
| 36 | </tbody> |
| 37 | </table> |
| 38 | </div> |
| 39 | <!-- end header part --> |
| 40 | <!-- Generated by Doxygen 1.8.13 --> |
| 41 | <script type="text/javascript"> |
| 42 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 43 | </script> |
| 44 | <script type="text/javascript" src="menudata.js"></script> |
| 45 | <script type="text/javascript" src="menu.js"></script> |
| 46 | <script type="text/javascript"> |
| 47 | $(function() { |
| 48 | initMenu('',true,false,'search.php','Search'); |
| 49 | $(document).ready(function() { init_search(); }); |
| 50 | }); |
| 51 | </script> |
| 52 | <div id="main-nav"></div> |
| 53 | </div><!-- top --> |
| 54 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 55 | <div id="nav-tree"> |
| 56 | <div id="nav-tree-contents"> |
| 57 | <div id="nav-sync" class="sync"></div> |
| 58 | </div> |
| 59 | </div> |
| 60 | <div id="splitbar" style="-moz-user-select:none;" |
| 61 | class="ui-resizable-handle"> |
| 62 | </div> |
| 63 | </div> |
| 64 | <script type="text/javascript"> |
| 65 | $(document).ready(function(){initNavTree('_depth_to_space_test_impl_8cpp.html','');}); |
| 66 | </script> |
| 67 | <div id="doc-content"> |
| 68 | <!-- window showing the filter options --> |
| 69 | <div id="MSearchSelectWindow" |
| 70 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 71 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 72 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| 73 | </div> |
| 74 | |
| 75 | <!-- iframe showing the search results (closed by default) --> |
| 76 | <div id="MSearchResultsWindow"> |
| 77 | <iframe src="javascript:void(0)" frameborder="0" |
| 78 | name="MSearchResults" id="MSearchResults"> |
| 79 | </iframe> |
| 80 | </div> |
| 81 | |
| 82 | <div class="header"> |
| 83 | <div class="summary"> |
| 84 | <a href="#func-members">Functions</a> </div> |
| 85 | <div class="headertitle"> |
| 86 | <div class="title">DepthToSpaceTestImpl.cpp File Reference</div> </div> |
| 87 | </div><!--header--> |
| 88 | <div class="contents"> |
| 89 | <div class="textblock"><code>#include "<a class="el" href="_depth_to_space_test_impl_8hpp_source.html">DepthToSpaceTestImpl.hpp</a>"</code><br /> |
| 90 | <code>#include <<a class="el" href="_quantize_helper_8hpp_source.html">QuantizeHelper.hpp</a>></code><br /> |
| 91 | <code>#include <<a class="el" href="_data_layout_utils_8hpp_source.html">backendsCommon/test/DataLayoutUtils.hpp</a>></code><br /> |
| 92 | <code>#include <<a class="el" href="_tensor_copy_utils_8hpp_source.html">backendsCommon/test/TensorCopyUtils.hpp</a>></code><br /> |
| 93 | <code>#include <<a class="el" href="_workload_test_utils_8hpp_source.html">backendsCommon/test/WorkloadTestUtils.hpp</a>></code><br /> |
| 94 | <code>#include <<a class="el" href="_tensor_helpers_8hpp_source.html">test/TensorHelpers.hpp</a>></code><br /> |
| 95 | </div> |
| 96 | <p><a href="_depth_to_space_test_impl_8cpp_source.html">Go to the source code of this file.</a></p> |
| 97 | <table class="memberdecls"> |
| 98 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> |
| 99 | Functions</h2></td></tr> |
| 100 | <tr class="memitem:ab24c4e3bbd4afb21d1e25f32a773284c"><td class="memTemplParams" colspan="2">template<armnn::DataType ArmnnType, typename T > </td></tr> |
| 101 | <tr class="memitem:ab24c4e3bbd4afb21d1e25f32a773284c"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< T, 4 > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="_depth_to_space_test_impl_8cpp.html#ab24c4e3bbd4afb21d1e25f32a773284c">DepthToSpaceTest1</a> (<a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager, <a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> dataLayout)</td></tr> |
| 102 | <tr class="separator:ab24c4e3bbd4afb21d1e25f32a773284c"><td class="memSeparator" colspan="2"> </td></tr> |
| 103 | <tr class="memitem:a06c0011e886eec8e9b99ddd399e86d2b"><td class="memTemplParams" colspan="2">template<armnn::DataType ArmnnType, typename T > </td></tr> |
| 104 | <tr class="memitem:a06c0011e886eec8e9b99ddd399e86d2b"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< T, 4 > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="_depth_to_space_test_impl_8cpp.html#a06c0011e886eec8e9b99ddd399e86d2b">DepthToSpaceTest2</a> (<a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager, <a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> dataLayout)</td></tr> |
| 105 | <tr class="separator:a06c0011e886eec8e9b99ddd399e86d2b"><td class="memSeparator" colspan="2"> </td></tr> |
| 106 | <tr class="memitem:a8eb3eae48bedad36e4cf57184d7eb3e1"><td class="memTemplParams" colspan="2">template<armnn::DataType ArmnnType, typename T > </td></tr> |
| 107 | <tr class="memitem:a8eb3eae48bedad36e4cf57184d7eb3e1"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< T, 4 > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="_depth_to_space_test_impl_8cpp.html#a8eb3eae48bedad36e4cf57184d7eb3e1">DepthToSpaceTest3</a> (<a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager, <a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> dataLayout)</td></tr> |
| 108 | <tr class="separator:a8eb3eae48bedad36e4cf57184d7eb3e1"><td class="memSeparator" colspan="2"> </td></tr> |
| 109 | <tr class="memitem:a594e4320ad4571c07b95622d7846e4a5"><td class="memTemplParams" colspan="2">template<armnn::DataType ArmnnType, typename T > </td></tr> |
| 110 | <tr class="memitem:a594e4320ad4571c07b95622d7846e4a5"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< T, 4 > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="_depth_to_space_test_impl_8cpp.html#a594e4320ad4571c07b95622d7846e4a5">DepthToSpaceTest4</a> (<a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager, <a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> dataLayout)</td></tr> |
| 111 | <tr class="separator:a594e4320ad4571c07b95622d7846e4a5"><td class="memSeparator" colspan="2"> </td></tr> |
| 112 | <tr class="memitem:a30d281701fa5d325211c1073c3160c63"><td class="memItemLeft" align="right" valign="top">template <a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< <a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a> >, 4 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_depth_to_space_test_impl_8cpp.html#a30d281701fa5d325211c1073c3160c63">DepthToSpaceTest1< armnn::DataType::Float32 ></a> (<a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager, <a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> dataLayout)</td></tr> |
| 113 | <tr class="separator:a30d281701fa5d325211c1073c3160c63"><td class="memSeparator" colspan="2"> </td></tr> |
| 114 | <tr class="memitem:ab820aeaf2f6a8e0a01c78ba92801f34c"><td class="memItemLeft" align="right" valign="top">template <a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< <a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a> >, 4 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_depth_to_space_test_impl_8cpp.html#ab820aeaf2f6a8e0a01c78ba92801f34c">DepthToSpaceTest2< armnn::DataType::Float32 ></a> (<a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager, <a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> dataLayout)</td></tr> |
| 115 | <tr class="separator:ab820aeaf2f6a8e0a01c78ba92801f34c"><td class="memSeparator" colspan="2"> </td></tr> |
| 116 | <tr class="memitem:ac56627aa965014bfc027d2e95bcc29df"><td class="memItemLeft" align="right" valign="top">template <a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< <a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a> >, 4 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_depth_to_space_test_impl_8cpp.html#ac56627aa965014bfc027d2e95bcc29df">DepthToSpaceTest3< armnn::DataType::Float32 ></a> (<a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager, <a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> dataLayout)</td></tr> |
| 117 | <tr class="separator:ac56627aa965014bfc027d2e95bcc29df"><td class="memSeparator" colspan="2"> </td></tr> |
| 118 | <tr class="memitem:a3306abab5c2c3b5e452083b6a48fd8ea"><td class="memItemLeft" align="right" valign="top">template <a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< <a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a> >, 4 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_depth_to_space_test_impl_8cpp.html#a3306abab5c2c3b5e452083b6a48fd8ea">DepthToSpaceTest4< armnn::DataType::Float32 ></a> (<a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager, <a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> dataLayout)</td></tr> |
| 119 | <tr class="separator:a3306abab5c2c3b5e452083b6a48fd8ea"><td class="memSeparator" colspan="2"> </td></tr> |
| 120 | <tr class="memitem:aea56cb17706fd5743369bd3bd9a9828c"><td class="memItemLeft" align="right" valign="top">template <a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< <a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a> >, 4 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_depth_to_space_test_impl_8cpp.html#aea56cb17706fd5743369bd3bd9a9828c">DepthToSpaceTest1< armnn::DataType::Float16 ></a> (<a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager, <a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> dataLayout)</td></tr> |
| 121 | <tr class="separator:aea56cb17706fd5743369bd3bd9a9828c"><td class="memSeparator" colspan="2"> </td></tr> |
| 122 | <tr class="memitem:a06c224a0689e080bb651e3ab32da7b30"><td class="memItemLeft" align="right" valign="top">template <a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< <a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a> >, 4 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_depth_to_space_test_impl_8cpp.html#a06c224a0689e080bb651e3ab32da7b30">DepthToSpaceTest2< armnn::DataType::Float16 ></a> (<a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager, <a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> dataLayout)</td></tr> |
| 123 | <tr class="separator:a06c224a0689e080bb651e3ab32da7b30"><td class="memSeparator" colspan="2"> </td></tr> |
| 124 | <tr class="memitem:a39dba4867548a330e78e0c7347cfbb09"><td class="memItemLeft" align="right" valign="top">template <a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< <a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a> >, 4 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_depth_to_space_test_impl_8cpp.html#a39dba4867548a330e78e0c7347cfbb09">DepthToSpaceTest3< armnn::DataType::Float16 ></a> (<a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager, <a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> dataLayout)</td></tr> |
| 125 | <tr class="separator:a39dba4867548a330e78e0c7347cfbb09"><td class="memSeparator" colspan="2"> </td></tr> |
| 126 | <tr class="memitem:ac9bd97aefdbec8d0ad58009ca8f73700"><td class="memItemLeft" align="right" valign="top">template <a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< <a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a> >, 4 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_depth_to_space_test_impl_8cpp.html#ac9bd97aefdbec8d0ad58009ca8f73700">DepthToSpaceTest4< armnn::DataType::Float16 ></a> (<a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager, <a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> dataLayout)</td></tr> |
| 127 | <tr class="separator:ac9bd97aefdbec8d0ad58009ca8f73700"><td class="memSeparator" colspan="2"> </td></tr> |
| 128 | <tr class="memitem:a5bc2f858a97479db89b8efbbce6944d9"><td class="memItemLeft" align="right" valign="top">template <a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< <a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::DataType::QAsymmU8</a> >, 4 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_depth_to_space_test_impl_8cpp.html#a5bc2f858a97479db89b8efbbce6944d9">DepthToSpaceTest1< armnn::DataType::QAsymmU8 ></a> (<a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager, <a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> dataLayout)</td></tr> |
| 129 | <tr class="separator:a5bc2f858a97479db89b8efbbce6944d9"><td class="memSeparator" colspan="2"> </td></tr> |
| 130 | <tr class="memitem:a3ad687c99210eb055918a1c190f6267a"><td class="memItemLeft" align="right" valign="top">template <a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< <a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::DataType::QAsymmU8</a> >, 4 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_depth_to_space_test_impl_8cpp.html#a3ad687c99210eb055918a1c190f6267a">DepthToSpaceTest2< armnn::DataType::QAsymmU8 ></a> (<a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager, <a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> dataLayout)</td></tr> |
| 131 | <tr class="separator:a3ad687c99210eb055918a1c190f6267a"><td class="memSeparator" colspan="2"> </td></tr> |
| 132 | <tr class="memitem:a9571167f63c02d26d711b9a54a4fe477"><td class="memItemLeft" align="right" valign="top">template <a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< <a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::DataType::QAsymmU8</a> >, 4 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_depth_to_space_test_impl_8cpp.html#a9571167f63c02d26d711b9a54a4fe477">DepthToSpaceTest3< armnn::DataType::QAsymmU8 ></a> (<a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager, <a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> dataLayout)</td></tr> |
| 133 | <tr class="separator:a9571167f63c02d26d711b9a54a4fe477"><td class="memSeparator" colspan="2"> </td></tr> |
| 134 | <tr class="memitem:a06d1e0661e3a5ef2297890fd083d11e6"><td class="memItemLeft" align="right" valign="top">template <a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< <a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::DataType::QAsymmU8</a> >, 4 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_depth_to_space_test_impl_8cpp.html#a06d1e0661e3a5ef2297890fd083d11e6">DepthToSpaceTest4< armnn::DataType::QAsymmU8 ></a> (<a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager, <a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> dataLayout)</td></tr> |
| 135 | <tr class="separator:a06d1e0661e3a5ef2297890fd083d11e6"><td class="memSeparator" colspan="2"> </td></tr> |
| 136 | <tr class="memitem:a8274ae3232af21d3c49c90b7191058ae"><td class="memItemLeft" align="right" valign="top">template <a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< <a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::DataType::QSymmS16</a> >, 4 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_depth_to_space_test_impl_8cpp.html#a8274ae3232af21d3c49c90b7191058ae">DepthToSpaceTest1< armnn::DataType::QSymmS16 ></a> (<a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager, <a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> dataLayout)</td></tr> |
| 137 | <tr class="separator:a8274ae3232af21d3c49c90b7191058ae"><td class="memSeparator" colspan="2"> </td></tr> |
| 138 | <tr class="memitem:a68ae8d9608016025cd9fab95010e23bd"><td class="memItemLeft" align="right" valign="top">template <a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< <a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::DataType::QSymmS16</a> >, 4 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_depth_to_space_test_impl_8cpp.html#a68ae8d9608016025cd9fab95010e23bd">DepthToSpaceTest2< armnn::DataType::QSymmS16 ></a> (<a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager, <a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> dataLayout)</td></tr> |
| 139 | <tr class="separator:a68ae8d9608016025cd9fab95010e23bd"><td class="memSeparator" colspan="2"> </td></tr> |
| 140 | <tr class="memitem:ad3c00b75776ce492fc0c0056a256dd3e"><td class="memItemLeft" align="right" valign="top">template <a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< <a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::DataType::QSymmS16</a> >, 4 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_depth_to_space_test_impl_8cpp.html#ad3c00b75776ce492fc0c0056a256dd3e">DepthToSpaceTest3< armnn::DataType::QSymmS16 ></a> (<a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager, <a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> dataLayout)</td></tr> |
| 141 | <tr class="separator:ad3c00b75776ce492fc0c0056a256dd3e"><td class="memSeparator" colspan="2"> </td></tr> |
| 142 | <tr class="memitem:ab571d803a28c09173dae02c1078cf73a"><td class="memItemLeft" align="right" valign="top">template <a class="el" href="struct_layer_test_result.html">LayerTestResult</a>< <a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a>< <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::DataType::QSymmS16</a> >, 4 > </td><td class="memItemRight" valign="bottom"><a class="el" href="_depth_to_space_test_impl_8cpp.html#ab571d803a28c09173dae02c1078cf73a">DepthToSpaceTest4< armnn::DataType::QSymmS16 ></a> (<a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> &workloadFactory, const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> &memoryManager, <a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> dataLayout)</td></tr> |
| 143 | <tr class="separator:ab571d803a28c09173dae02c1078cf73a"><td class="memSeparator" colspan="2"> </td></tr> |
| 144 | </table> |
| 145 | <h2 class="groupheader">Function Documentation</h2> |
| 146 | <a id="ab24c4e3bbd4afb21d1e25f32a773284c"></a> |
| 147 | <h2 class="memtitle"><span class="permalink"><a href="#ab24c4e3bbd4afb21d1e25f32a773284c">◆ </a></span>DepthToSpaceTest1()</h2> |
| 148 | |
| 149 | <div class="memitem"> |
| 150 | <div class="memproto"> |
| 151 | <table class="memname"> |
| 152 | <tr> |
| 153 | <td class="memname"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a><T, 4> DepthToSpaceTest1 </td> |
| 154 | <td>(</td> |
| 155 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> |
| 156 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 157 | </tr> |
| 158 | <tr> |
| 159 | <td class="paramkey"></td> |
| 160 | <td></td> |
| 161 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 162 | <td class="paramname"><em>memoryManager</em>, </td> |
| 163 | </tr> |
| 164 | <tr> |
| 165 | <td class="paramkey"></td> |
| 166 | <td></td> |
| 167 | <td class="paramtype"><a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> </td> |
| 168 | <td class="paramname"><em>dataLayout</em> </td> |
| 169 | </tr> |
| 170 | <tr> |
| 171 | <td></td> |
| 172 | <td>)</td> |
| 173 | <td></td><td></td> |
| 174 | </tr> |
| 175 | </table> |
| 176 | </div><div class="memdoc"> |
| 177 | |
| 178 | <p class="definition">Definition at line <a class="el" href="_depth_to_space_test_impl_8cpp_source.html#l00077">77</a> of file <a class="el" href="_depth_to_space_test_impl_8cpp_source.html">DepthToSpaceTestImpl.cpp</a>.</p> |
| 179 | |
| 180 | <p class="reference">References <a class="el" href="_descriptors_8hpp_source.html#l00827">SpaceToDepthDescriptor::m_BlockSize</a>, <a class="el" href="_descriptors_8hpp_source.html#l00830">SpaceToDepthDescriptor::m_DataLayout</a>, and <a class="el" href="_workload_data_8hpp_source.html#l00049">QueueDescriptorWithParameters< LayerDescriptor >::m_Parameters</a>.</p> |
| 181 | <div class="fragment"><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>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> inputShape[] = { 1, 1, 1, 8 };</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> outputShape[] = { 1, 2, 2, 2 };</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> </div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="comment">// in:</span></div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="comment">// [[[[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]]]]</span></div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="comment">//</span></div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="comment">// out:</span></div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="comment">// [[[[1, 2, 3], [4, 5, 6]],</span></div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="comment">// [[7, 8, 9], [10, 11, 12]]]]</span></div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> </div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  std::vector<float> input = { 1.f, 2.f, 3.f, 4.f, 5.f, 6.f, 7.f, 8.f };</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  std::vector<float> expectedOutput = input;</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> </div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <a class="code" href="structarmnn_1_1_depth_to_space_queue_descriptor.html">armnn::DepthToSpaceQueueDescriptor</a> desc;</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  desc.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>.<a class="code" href="structarmnn_1_1_space_to_depth_descriptor.html#a6089e1ca91914015777ea780a513131a">m_DataLayout</a> = dataLayout;</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  desc.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>.<a class="code" href="structarmnn_1_1_space_to_depth_descriptor.html#a6c6b8957f1e176867e5fb05b1a1a1486">m_BlockSize</a> = 2;</div><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="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> inputInfo(4, inputShape, ArmnnType);</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> outputInfo(4, outputShape, ArmnnType);</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span> </div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keywordflow">return</span> DepthToSpaceTestImpl<T>(workloadFactory, memoryManager, inputInfo, outputInfo, input, expectedOutput, desc);</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span> }</div><div class="ttc" id="structarmnn_1_1_space_to_depth_descriptor_html_a6089e1ca91914015777ea780a513131a"><div class="ttname"><a href="structarmnn_1_1_space_to_depth_descriptor.html#a6089e1ca91914015777ea780a513131a">armnn::SpaceToDepthDescriptor::m_DataLayout</a></div><div class="ttdeci">DataLayout m_DataLayout</div><div class="ttdoc">The data layout to be used (NCHW, NHWC). </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00830">Descriptors.hpp:830</a></div></div> |
| 182 | <div class="ttc" id="structarmnn_1_1_queue_descriptor_with_parameters_html_aad91b9bbf7aa365d304febe79a3d1333"><div class="ttname"><a href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">armnn::QueueDescriptorWithParameters::m_Parameters</a></div><div class="ttdeci">LayerDescriptor m_Parameters</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00049">WorkloadData.hpp:49</a></div></div> |
| 183 | <div class="ttc" id="classarmnn_1_1_tensor_info_html"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00053">Tensor.hpp:53</a></div></div> |
| 184 | <div class="ttc" id="structarmnn_1_1_depth_to_space_queue_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_depth_to_space_queue_descriptor.html">armnn::DepthToSpaceQueueDescriptor</a></div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00554">WorkloadData.hpp:554</a></div></div> |
| 185 | <div class="ttc" id="structarmnn_1_1_space_to_depth_descriptor_html_a6c6b8957f1e176867e5fb05b1a1a1486"><div class="ttname"><a href="structarmnn_1_1_space_to_depth_descriptor.html#a6c6b8957f1e176867e5fb05b1a1a1486">armnn::SpaceToDepthDescriptor::m_BlockSize</a></div><div class="ttdeci">unsigned int m_BlockSize</div><div class="ttdoc">Scalar specifying the input block size. It must be >= 1. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00827">Descriptors.hpp:827</a></div></div> |
| 186 | </div><!-- fragment --> |
| 187 | </div> |
| 188 | </div> |
| 189 | <a id="aea56cb17706fd5743369bd3bd9a9828c"></a> |
| 190 | <h2 class="memtitle"><span class="permalink"><a href="#aea56cb17706fd5743369bd3bd9a9828c">◆ </a></span>DepthToSpaceTest1< armnn::DataType::Float16 >()</h2> |
| 191 | |
| 192 | <div class="memitem"> |
| 193 | <div class="memproto"> |
| 194 | <table class="memname"> |
| 195 | <tr> |
| 196 | <td class="memname">template <a class="el" href="struct_layer_test_result.html">LayerTestResult</a><<a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a><<a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a>>, 4> <a class="el" href="_depth_to_space_test_impl_8hpp.html#ab24c4e3bbd4afb21d1e25f32a773284c">DepthToSpaceTest1</a>< <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a> > </td> |
| 197 | <td>(</td> |
| 198 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> |
| 199 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 200 | </tr> |
| 201 | <tr> |
| 202 | <td class="paramkey"></td> |
| 203 | <td></td> |
| 204 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 205 | <td class="paramname"><em>memoryManager</em>, </td> |
| 206 | </tr> |
| 207 | <tr> |
| 208 | <td class="paramkey"></td> |
| 209 | <td></td> |
| 210 | <td class="paramtype"><a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> </td> |
| 211 | <td class="paramname"><em>dataLayout</em> </td> |
| 212 | </tr> |
| 213 | <tr> |
| 214 | <td></td> |
| 215 | <td>)</td> |
| 216 | <td></td><td></td> |
| 217 | </tr> |
| 218 | </table> |
| 219 | </div><div class="memdoc"> |
| 220 | |
| 221 | </div> |
| 222 | </div> |
| 223 | <a id="a30d281701fa5d325211c1073c3160c63"></a> |
| 224 | <h2 class="memtitle"><span class="permalink"><a href="#a30d281701fa5d325211c1073c3160c63">◆ </a></span>DepthToSpaceTest1< armnn::DataType::Float32 >()</h2> |
| 225 | |
| 226 | <div class="memitem"> |
| 227 | <div class="memproto"> |
| 228 | <table class="memname"> |
| 229 | <tr> |
| 230 | <td class="memname">template <a class="el" href="struct_layer_test_result.html">LayerTestResult</a><<a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a><<a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>>, 4> <a class="el" href="_depth_to_space_test_impl_8hpp.html#ab24c4e3bbd4afb21d1e25f32a773284c">DepthToSpaceTest1</a>< <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a> > </td> |
| 231 | <td>(</td> |
| 232 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> |
| 233 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 234 | </tr> |
| 235 | <tr> |
| 236 | <td class="paramkey"></td> |
| 237 | <td></td> |
| 238 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 239 | <td class="paramname"><em>memoryManager</em>, </td> |
| 240 | </tr> |
| 241 | <tr> |
| 242 | <td class="paramkey"></td> |
| 243 | <td></td> |
| 244 | <td class="paramtype"><a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> </td> |
| 245 | <td class="paramname"><em>dataLayout</em> </td> |
| 246 | </tr> |
| 247 | <tr> |
| 248 | <td></td> |
| 249 | <td>)</td> |
| 250 | <td></td><td></td> |
| 251 | </tr> |
| 252 | </table> |
| 253 | </div><div class="memdoc"> |
| 254 | |
| 255 | </div> |
| 256 | </div> |
| 257 | <a id="a5bc2f858a97479db89b8efbbce6944d9"></a> |
| 258 | <h2 class="memtitle"><span class="permalink"><a href="#a5bc2f858a97479db89b8efbbce6944d9">◆ </a></span>DepthToSpaceTest1< armnn::DataType::QAsymmU8 >()</h2> |
| 259 | |
| 260 | <div class="memitem"> |
| 261 | <div class="memproto"> |
| 262 | <table class="memname"> |
| 263 | <tr> |
| 264 | <td class="memname">template <a class="el" href="struct_layer_test_result.html">LayerTestResult</a><<a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a><<a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::DataType::QAsymmU8</a>>, 4> <a class="el" href="_depth_to_space_test_impl_8hpp.html#ab24c4e3bbd4afb21d1e25f32a773284c">DepthToSpaceTest1</a>< <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::DataType::QAsymmU8</a> > </td> |
| 265 | <td>(</td> |
| 266 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> |
| 267 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 268 | </tr> |
| 269 | <tr> |
| 270 | <td class="paramkey"></td> |
| 271 | <td></td> |
| 272 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 273 | <td class="paramname"><em>memoryManager</em>, </td> |
| 274 | </tr> |
| 275 | <tr> |
| 276 | <td class="paramkey"></td> |
| 277 | <td></td> |
| 278 | <td class="paramtype"><a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> </td> |
| 279 | <td class="paramname"><em>dataLayout</em> </td> |
| 280 | </tr> |
| 281 | <tr> |
| 282 | <td></td> |
| 283 | <td>)</td> |
| 284 | <td></td><td></td> |
| 285 | </tr> |
| 286 | </table> |
| 287 | </div><div class="memdoc"> |
| 288 | |
| 289 | </div> |
| 290 | </div> |
| 291 | <a id="a8274ae3232af21d3c49c90b7191058ae"></a> |
| 292 | <h2 class="memtitle"><span class="permalink"><a href="#a8274ae3232af21d3c49c90b7191058ae">◆ </a></span>DepthToSpaceTest1< armnn::DataType::QSymmS16 >()</h2> |
| 293 | |
| 294 | <div class="memitem"> |
| 295 | <div class="memproto"> |
| 296 | <table class="memname"> |
| 297 | <tr> |
| 298 | <td class="memname">template <a class="el" href="struct_layer_test_result.html">LayerTestResult</a><<a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a><<a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::DataType::QSymmS16</a>>, 4> <a class="el" href="_depth_to_space_test_impl_8hpp.html#ab24c4e3bbd4afb21d1e25f32a773284c">DepthToSpaceTest1</a>< <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::DataType::QSymmS16</a> > </td> |
| 299 | <td>(</td> |
| 300 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> |
| 301 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 302 | </tr> |
| 303 | <tr> |
| 304 | <td class="paramkey"></td> |
| 305 | <td></td> |
| 306 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 307 | <td class="paramname"><em>memoryManager</em>, </td> |
| 308 | </tr> |
| 309 | <tr> |
| 310 | <td class="paramkey"></td> |
| 311 | <td></td> |
| 312 | <td class="paramtype"><a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> </td> |
| 313 | <td class="paramname"><em>dataLayout</em> </td> |
| 314 | </tr> |
| 315 | <tr> |
| 316 | <td></td> |
| 317 | <td>)</td> |
| 318 | <td></td><td></td> |
| 319 | </tr> |
| 320 | </table> |
| 321 | </div><div class="memdoc"> |
| 322 | |
| 323 | </div> |
| 324 | </div> |
| 325 | <a id="a06c0011e886eec8e9b99ddd399e86d2b"></a> |
| 326 | <h2 class="memtitle"><span class="permalink"><a href="#a06c0011e886eec8e9b99ddd399e86d2b">◆ </a></span>DepthToSpaceTest2()</h2> |
| 327 | |
| 328 | <div class="memitem"> |
| 329 | <div class="memproto"> |
| 330 | <table class="memname"> |
| 331 | <tr> |
| 332 | <td class="memname"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a><T, 4> DepthToSpaceTest2 </td> |
| 333 | <td>(</td> |
| 334 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> |
| 335 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 336 | </tr> |
| 337 | <tr> |
| 338 | <td class="paramkey"></td> |
| 339 | <td></td> |
| 340 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 341 | <td class="paramname"><em>memoryManager</em>, </td> |
| 342 | </tr> |
| 343 | <tr> |
| 344 | <td class="paramkey"></td> |
| 345 | <td></td> |
| 346 | <td class="paramtype"><a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> </td> |
| 347 | <td class="paramname"><em>dataLayout</em> </td> |
| 348 | </tr> |
| 349 | <tr> |
| 350 | <td></td> |
| 351 | <td>)</td> |
| 352 | <td></td><td></td> |
| 353 | </tr> |
| 354 | </table> |
| 355 | </div><div class="memdoc"> |
| 356 | |
| 357 | <p class="definition">Definition at line <a class="el" href="_depth_to_space_test_impl_8cpp_source.html#l00106">106</a> of file <a class="el" href="_depth_to_space_test_impl_8cpp_source.html">DepthToSpaceTestImpl.cpp</a>.</p> |
| 358 | |
| 359 | <p class="reference">References <a class="el" href="_descriptors_8hpp_source.html#l00827">SpaceToDepthDescriptor::m_BlockSize</a>, <a class="el" href="_descriptors_8hpp_source.html#l00830">SpaceToDepthDescriptor::m_DataLayout</a>, and <a class="el" href="_workload_data_8hpp_source.html#l00049">QueueDescriptorWithParameters< LayerDescriptor >::m_Parameters</a>.</p> |
| 360 | <div class="fragment"><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> {</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> inputShape[] = { 1, 2, 2, 4 };</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> outputShape[] = { 1, 4, 4, 1 };</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span> </div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="comment">// in:</span></div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="comment">// [[[[1, 2, 3, 4],</span></div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="comment">// [5, 6, 7, 8]],</span></div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="comment">// [[9, 10, 11, 12],</span></div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="comment">// [13, 14, 15, 16]]]]</span></div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="comment">//</span></div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="comment">// out:</span></div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="comment">// [[[ [1], [2], [5], [6]],</span></div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="comment">// [ [3], [4], [7], [8]],</span></div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="comment">// [ [9], [10], [13], [14]],</span></div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="comment">// [ [11], [12], [15], [16]]]]</span></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>  std::vector<float> input =</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  {</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  1.f, 2.f, 3.f, 4.f,</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span> </div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  5.f, 6.f, 7.f, 8.f,</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>  9.f, 10.f, 11.f, 12.f,</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span> </div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  13.f, 14.f, 15.f, 16.f</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  };</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span> </div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  std::vector<float> expectedOutput</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  {</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  1.f, 2.f, 5.f, 6.f,</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  3.f, 4.f, 7.f, 8.f,</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  9.f, 10.f, 13.f, 14.f,</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  11.f, 12.f, 15.f, 16.f</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  };</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>  <a class="code" href="structarmnn_1_1_depth_to_space_queue_descriptor.html">armnn::DepthToSpaceQueueDescriptor</a> desc;</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  desc.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>.<a class="code" href="structarmnn_1_1_space_to_depth_descriptor.html#a6089e1ca91914015777ea780a513131a">m_DataLayout</a> = dataLayout;</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  desc.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>.<a class="code" href="structarmnn_1_1_space_to_depth_descriptor.html#a6c6b8957f1e176867e5fb05b1a1a1486">m_BlockSize</a> = 2;</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span> </div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> inputInfo(4, inputShape, ArmnnType);</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> outputInfo(4, outputShape, ArmnnType);</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span> </div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <span class="keywordflow">return</span> DepthToSpaceTestImpl<T>(workloadFactory, memoryManager, inputInfo, outputInfo, input, expectedOutput, desc);</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span> }</div><div class="ttc" id="structarmnn_1_1_space_to_depth_descriptor_html_a6089e1ca91914015777ea780a513131a"><div class="ttname"><a href="structarmnn_1_1_space_to_depth_descriptor.html#a6089e1ca91914015777ea780a513131a">armnn::SpaceToDepthDescriptor::m_DataLayout</a></div><div class="ttdeci">DataLayout m_DataLayout</div><div class="ttdoc">The data layout to be used (NCHW, NHWC). </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00830">Descriptors.hpp:830</a></div></div> |
| 361 | <div class="ttc" id="structarmnn_1_1_queue_descriptor_with_parameters_html_aad91b9bbf7aa365d304febe79a3d1333"><div class="ttname"><a href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">armnn::QueueDescriptorWithParameters::m_Parameters</a></div><div class="ttdeci">LayerDescriptor m_Parameters</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00049">WorkloadData.hpp:49</a></div></div> |
| 362 | <div class="ttc" id="classarmnn_1_1_tensor_info_html"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00053">Tensor.hpp:53</a></div></div> |
| 363 | <div class="ttc" id="structarmnn_1_1_depth_to_space_queue_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_depth_to_space_queue_descriptor.html">armnn::DepthToSpaceQueueDescriptor</a></div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00554">WorkloadData.hpp:554</a></div></div> |
| 364 | <div class="ttc" id="structarmnn_1_1_space_to_depth_descriptor_html_a6c6b8957f1e176867e5fb05b1a1a1486"><div class="ttname"><a href="structarmnn_1_1_space_to_depth_descriptor.html#a6c6b8957f1e176867e5fb05b1a1a1486">armnn::SpaceToDepthDescriptor::m_BlockSize</a></div><div class="ttdeci">unsigned int m_BlockSize</div><div class="ttdoc">Scalar specifying the input block size. It must be >= 1. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00827">Descriptors.hpp:827</a></div></div> |
| 365 | </div><!-- fragment --> |
| 366 | </div> |
| 367 | </div> |
| 368 | <a id="a06c224a0689e080bb651e3ab32da7b30"></a> |
| 369 | <h2 class="memtitle"><span class="permalink"><a href="#a06c224a0689e080bb651e3ab32da7b30">◆ </a></span>DepthToSpaceTest2< armnn::DataType::Float16 >()</h2> |
| 370 | |
| 371 | <div class="memitem"> |
| 372 | <div class="memproto"> |
| 373 | <table class="memname"> |
| 374 | <tr> |
| 375 | <td class="memname">template <a class="el" href="struct_layer_test_result.html">LayerTestResult</a><<a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a><<a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a>>, 4> <a class="el" href="_depth_to_space_test_impl_8hpp.html#a06c0011e886eec8e9b99ddd399e86d2b">DepthToSpaceTest2</a>< <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a> > </td> |
| 376 | <td>(</td> |
| 377 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> |
| 378 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 379 | </tr> |
| 380 | <tr> |
| 381 | <td class="paramkey"></td> |
| 382 | <td></td> |
| 383 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 384 | <td class="paramname"><em>memoryManager</em>, </td> |
| 385 | </tr> |
| 386 | <tr> |
| 387 | <td class="paramkey"></td> |
| 388 | <td></td> |
| 389 | <td class="paramtype"><a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> </td> |
| 390 | <td class="paramname"><em>dataLayout</em> </td> |
| 391 | </tr> |
| 392 | <tr> |
| 393 | <td></td> |
| 394 | <td>)</td> |
| 395 | <td></td><td></td> |
| 396 | </tr> |
| 397 | </table> |
| 398 | </div><div class="memdoc"> |
| 399 | |
| 400 | </div> |
| 401 | </div> |
| 402 | <a id="ab820aeaf2f6a8e0a01c78ba92801f34c"></a> |
| 403 | <h2 class="memtitle"><span class="permalink"><a href="#ab820aeaf2f6a8e0a01c78ba92801f34c">◆ </a></span>DepthToSpaceTest2< armnn::DataType::Float32 >()</h2> |
| 404 | |
| 405 | <div class="memitem"> |
| 406 | <div class="memproto"> |
| 407 | <table class="memname"> |
| 408 | <tr> |
| 409 | <td class="memname">template <a class="el" href="struct_layer_test_result.html">LayerTestResult</a><<a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a><<a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>>, 4> <a class="el" href="_depth_to_space_test_impl_8hpp.html#a06c0011e886eec8e9b99ddd399e86d2b">DepthToSpaceTest2</a>< <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a> > </td> |
| 410 | <td>(</td> |
| 411 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> |
| 412 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 413 | </tr> |
| 414 | <tr> |
| 415 | <td class="paramkey"></td> |
| 416 | <td></td> |
| 417 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 418 | <td class="paramname"><em>memoryManager</em>, </td> |
| 419 | </tr> |
| 420 | <tr> |
| 421 | <td class="paramkey"></td> |
| 422 | <td></td> |
| 423 | <td class="paramtype"><a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> </td> |
| 424 | <td class="paramname"><em>dataLayout</em> </td> |
| 425 | </tr> |
| 426 | <tr> |
| 427 | <td></td> |
| 428 | <td>)</td> |
| 429 | <td></td><td></td> |
| 430 | </tr> |
| 431 | </table> |
| 432 | </div><div class="memdoc"> |
| 433 | |
| 434 | </div> |
| 435 | </div> |
| 436 | <a id="a3ad687c99210eb055918a1c190f6267a"></a> |
| 437 | <h2 class="memtitle"><span class="permalink"><a href="#a3ad687c99210eb055918a1c190f6267a">◆ </a></span>DepthToSpaceTest2< armnn::DataType::QAsymmU8 >()</h2> |
| 438 | |
| 439 | <div class="memitem"> |
| 440 | <div class="memproto"> |
| 441 | <table class="memname"> |
| 442 | <tr> |
| 443 | <td class="memname">template <a class="el" href="struct_layer_test_result.html">LayerTestResult</a><<a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a><<a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::DataType::QAsymmU8</a>>, 4> <a class="el" href="_depth_to_space_test_impl_8hpp.html#a06c0011e886eec8e9b99ddd399e86d2b">DepthToSpaceTest2</a>< <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::DataType::QAsymmU8</a> > </td> |
| 444 | <td>(</td> |
| 445 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> |
| 446 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 447 | </tr> |
| 448 | <tr> |
| 449 | <td class="paramkey"></td> |
| 450 | <td></td> |
| 451 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 452 | <td class="paramname"><em>memoryManager</em>, </td> |
| 453 | </tr> |
| 454 | <tr> |
| 455 | <td class="paramkey"></td> |
| 456 | <td></td> |
| 457 | <td class="paramtype"><a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> </td> |
| 458 | <td class="paramname"><em>dataLayout</em> </td> |
| 459 | </tr> |
| 460 | <tr> |
| 461 | <td></td> |
| 462 | <td>)</td> |
| 463 | <td></td><td></td> |
| 464 | </tr> |
| 465 | </table> |
| 466 | </div><div class="memdoc"> |
| 467 | |
| 468 | </div> |
| 469 | </div> |
| 470 | <a id="a68ae8d9608016025cd9fab95010e23bd"></a> |
| 471 | <h2 class="memtitle"><span class="permalink"><a href="#a68ae8d9608016025cd9fab95010e23bd">◆ </a></span>DepthToSpaceTest2< armnn::DataType::QSymmS16 >()</h2> |
| 472 | |
| 473 | <div class="memitem"> |
| 474 | <div class="memproto"> |
| 475 | <table class="memname"> |
| 476 | <tr> |
| 477 | <td class="memname">template <a class="el" href="struct_layer_test_result.html">LayerTestResult</a><<a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a><<a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::DataType::QSymmS16</a>>, 4> <a class="el" href="_depth_to_space_test_impl_8hpp.html#a06c0011e886eec8e9b99ddd399e86d2b">DepthToSpaceTest2</a>< <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::DataType::QSymmS16</a> > </td> |
| 478 | <td>(</td> |
| 479 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> |
| 480 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 481 | </tr> |
| 482 | <tr> |
| 483 | <td class="paramkey"></td> |
| 484 | <td></td> |
| 485 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 486 | <td class="paramname"><em>memoryManager</em>, </td> |
| 487 | </tr> |
| 488 | <tr> |
| 489 | <td class="paramkey"></td> |
| 490 | <td></td> |
| 491 | <td class="paramtype"><a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> </td> |
| 492 | <td class="paramname"><em>dataLayout</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 | </div> |
| 503 | </div> |
| 504 | <a id="a8eb3eae48bedad36e4cf57184d7eb3e1"></a> |
| 505 | <h2 class="memtitle"><span class="permalink"><a href="#a8eb3eae48bedad36e4cf57184d7eb3e1">◆ </a></span>DepthToSpaceTest3()</h2> |
| 506 | |
| 507 | <div class="memitem"> |
| 508 | <div class="memproto"> |
| 509 | <table class="memname"> |
| 510 | <tr> |
| 511 | <td class="memname"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a><T, 4> DepthToSpaceTest3 </td> |
| 512 | <td>(</td> |
| 513 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> |
| 514 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 515 | </tr> |
| 516 | <tr> |
| 517 | <td class="paramkey"></td> |
| 518 | <td></td> |
| 519 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 520 | <td class="paramname"><em>memoryManager</em>, </td> |
| 521 | </tr> |
| 522 | <tr> |
| 523 | <td class="paramkey"></td> |
| 524 | <td></td> |
| 525 | <td class="paramtype"><a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> </td> |
| 526 | <td class="paramname"><em>dataLayout</em> </td> |
| 527 | </tr> |
| 528 | <tr> |
| 529 | <td></td> |
| 530 | <td>)</td> |
| 531 | <td></td><td></td> |
| 532 | </tr> |
| 533 | </table> |
| 534 | </div><div class="memdoc"> |
| 535 | |
| 536 | <p class="definition">Definition at line <a class="el" href="_depth_to_space_test_impl_8cpp_source.html#l00156">156</a> of file <a class="el" href="_depth_to_space_test_impl_8cpp_source.html">DepthToSpaceTestImpl.cpp</a>.</p> |
| 537 | |
| 538 | <p class="reference">References <a class="el" href="_descriptors_8hpp_source.html#l00827">SpaceToDepthDescriptor::m_BlockSize</a>, <a class="el" href="_descriptors_8hpp_source.html#l00830">SpaceToDepthDescriptor::m_DataLayout</a>, and <a class="el" href="_workload_data_8hpp_source.html#l00049">QueueDescriptorWithParameters< LayerDescriptor >::m_Parameters</a>.</p> |
| 539 | <div class="fragment"><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>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> inputShape[] = { 2, 1, 1, 4 };</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> outputShape[] = { 2, 2, 2, 1 };</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span> </div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  std::vector<float> input =</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>  1.f, 2.f, 3.f, 4.f, <span class="comment">// batch 0</span></div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  5.f, 6.f, 7.f, 8.f <span class="comment">// batch 1</span></div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  };</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span> </div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  std::vector<float> expectedOutput = input;</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span> </div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <a class="code" href="structarmnn_1_1_depth_to_space_queue_descriptor.html">armnn::DepthToSpaceQueueDescriptor</a> desc;</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  desc.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>.<a class="code" href="structarmnn_1_1_space_to_depth_descriptor.html#a6089e1ca91914015777ea780a513131a">m_DataLayout</a> = dataLayout;</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  desc.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>.<a class="code" href="structarmnn_1_1_space_to_depth_descriptor.html#a6c6b8957f1e176867e5fb05b1a1a1486">m_BlockSize</a> = 2;</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span> </div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> inputInfo(4, inputShape, ArmnnType);</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> outputInfo(4, outputShape, ArmnnType);</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span> </div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="keywordflow">return</span> DepthToSpaceTestImpl<T>(workloadFactory, memoryManager, inputInfo, outputInfo, input, expectedOutput, desc);</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span> }</div><div class="ttc" id="structarmnn_1_1_space_to_depth_descriptor_html_a6089e1ca91914015777ea780a513131a"><div class="ttname"><a href="structarmnn_1_1_space_to_depth_descriptor.html#a6089e1ca91914015777ea780a513131a">armnn::SpaceToDepthDescriptor::m_DataLayout</a></div><div class="ttdeci">DataLayout m_DataLayout</div><div class="ttdoc">The data layout to be used (NCHW, NHWC). </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00830">Descriptors.hpp:830</a></div></div> |
| 540 | <div class="ttc" id="structarmnn_1_1_queue_descriptor_with_parameters_html_aad91b9bbf7aa365d304febe79a3d1333"><div class="ttname"><a href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">armnn::QueueDescriptorWithParameters::m_Parameters</a></div><div class="ttdeci">LayerDescriptor m_Parameters</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00049">WorkloadData.hpp:49</a></div></div> |
| 541 | <div class="ttc" id="classarmnn_1_1_tensor_info_html"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00053">Tensor.hpp:53</a></div></div> |
| 542 | <div class="ttc" id="structarmnn_1_1_depth_to_space_queue_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_depth_to_space_queue_descriptor.html">armnn::DepthToSpaceQueueDescriptor</a></div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00554">WorkloadData.hpp:554</a></div></div> |
| 543 | <div class="ttc" id="structarmnn_1_1_space_to_depth_descriptor_html_a6c6b8957f1e176867e5fb05b1a1a1486"><div class="ttname"><a href="structarmnn_1_1_space_to_depth_descriptor.html#a6c6b8957f1e176867e5fb05b1a1a1486">armnn::SpaceToDepthDescriptor::m_BlockSize</a></div><div class="ttdeci">unsigned int m_BlockSize</div><div class="ttdoc">Scalar specifying the input block size. It must be >= 1. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00827">Descriptors.hpp:827</a></div></div> |
| 544 | </div><!-- fragment --> |
| 545 | </div> |
| 546 | </div> |
| 547 | <a id="a39dba4867548a330e78e0c7347cfbb09"></a> |
| 548 | <h2 class="memtitle"><span class="permalink"><a href="#a39dba4867548a330e78e0c7347cfbb09">◆ </a></span>DepthToSpaceTest3< armnn::DataType::Float16 >()</h2> |
| 549 | |
| 550 | <div class="memitem"> |
| 551 | <div class="memproto"> |
| 552 | <table class="memname"> |
| 553 | <tr> |
| 554 | <td class="memname">template <a class="el" href="struct_layer_test_result.html">LayerTestResult</a><<a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a><<a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a>>, 4> <a class="el" href="_depth_to_space_test_impl_8hpp.html#a8eb3eae48bedad36e4cf57184d7eb3e1">DepthToSpaceTest3</a>< <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a> > </td> |
| 555 | <td>(</td> |
| 556 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> |
| 557 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 558 | </tr> |
| 559 | <tr> |
| 560 | <td class="paramkey"></td> |
| 561 | <td></td> |
| 562 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 563 | <td class="paramname"><em>memoryManager</em>, </td> |
| 564 | </tr> |
| 565 | <tr> |
| 566 | <td class="paramkey"></td> |
| 567 | <td></td> |
| 568 | <td class="paramtype"><a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> </td> |
| 569 | <td class="paramname"><em>dataLayout</em> </td> |
| 570 | </tr> |
| 571 | <tr> |
| 572 | <td></td> |
| 573 | <td>)</td> |
| 574 | <td></td><td></td> |
| 575 | </tr> |
| 576 | </table> |
| 577 | </div><div class="memdoc"> |
| 578 | |
| 579 | </div> |
| 580 | </div> |
| 581 | <a id="ac56627aa965014bfc027d2e95bcc29df"></a> |
| 582 | <h2 class="memtitle"><span class="permalink"><a href="#ac56627aa965014bfc027d2e95bcc29df">◆ </a></span>DepthToSpaceTest3< armnn::DataType::Float32 >()</h2> |
| 583 | |
| 584 | <div class="memitem"> |
| 585 | <div class="memproto"> |
| 586 | <table class="memname"> |
| 587 | <tr> |
| 588 | <td class="memname">template <a class="el" href="struct_layer_test_result.html">LayerTestResult</a><<a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a><<a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>>, 4> <a class="el" href="_depth_to_space_test_impl_8hpp.html#a8eb3eae48bedad36e4cf57184d7eb3e1">DepthToSpaceTest3</a>< <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a> > </td> |
| 589 | <td>(</td> |
| 590 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> |
| 591 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 592 | </tr> |
| 593 | <tr> |
| 594 | <td class="paramkey"></td> |
| 595 | <td></td> |
| 596 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 597 | <td class="paramname"><em>memoryManager</em>, </td> |
| 598 | </tr> |
| 599 | <tr> |
| 600 | <td class="paramkey"></td> |
| 601 | <td></td> |
| 602 | <td class="paramtype"><a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> </td> |
| 603 | <td class="paramname"><em>dataLayout</em> </td> |
| 604 | </tr> |
| 605 | <tr> |
| 606 | <td></td> |
| 607 | <td>)</td> |
| 608 | <td></td><td></td> |
| 609 | </tr> |
| 610 | </table> |
| 611 | </div><div class="memdoc"> |
| 612 | |
| 613 | </div> |
| 614 | </div> |
| 615 | <a id="a9571167f63c02d26d711b9a54a4fe477"></a> |
| 616 | <h2 class="memtitle"><span class="permalink"><a href="#a9571167f63c02d26d711b9a54a4fe477">◆ </a></span>DepthToSpaceTest3< armnn::DataType::QAsymmU8 >()</h2> |
| 617 | |
| 618 | <div class="memitem"> |
| 619 | <div class="memproto"> |
| 620 | <table class="memname"> |
| 621 | <tr> |
| 622 | <td class="memname">template <a class="el" href="struct_layer_test_result.html">LayerTestResult</a><<a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a><<a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::DataType::QAsymmU8</a>>, 4> <a class="el" href="_depth_to_space_test_impl_8hpp.html#a8eb3eae48bedad36e4cf57184d7eb3e1">DepthToSpaceTest3</a>< <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::DataType::QAsymmU8</a> > </td> |
| 623 | <td>(</td> |
| 624 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> |
| 625 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 626 | </tr> |
| 627 | <tr> |
| 628 | <td class="paramkey"></td> |
| 629 | <td></td> |
| 630 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 631 | <td class="paramname"><em>memoryManager</em>, </td> |
| 632 | </tr> |
| 633 | <tr> |
| 634 | <td class="paramkey"></td> |
| 635 | <td></td> |
| 636 | <td class="paramtype"><a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> </td> |
| 637 | <td class="paramname"><em>dataLayout</em> </td> |
| 638 | </tr> |
| 639 | <tr> |
| 640 | <td></td> |
| 641 | <td>)</td> |
| 642 | <td></td><td></td> |
| 643 | </tr> |
| 644 | </table> |
| 645 | </div><div class="memdoc"> |
| 646 | |
| 647 | </div> |
| 648 | </div> |
| 649 | <a id="ad3c00b75776ce492fc0c0056a256dd3e"></a> |
| 650 | <h2 class="memtitle"><span class="permalink"><a href="#ad3c00b75776ce492fc0c0056a256dd3e">◆ </a></span>DepthToSpaceTest3< armnn::DataType::QSymmS16 >()</h2> |
| 651 | |
| 652 | <div class="memitem"> |
| 653 | <div class="memproto"> |
| 654 | <table class="memname"> |
| 655 | <tr> |
| 656 | <td class="memname">template <a class="el" href="struct_layer_test_result.html">LayerTestResult</a><<a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a><<a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::DataType::QSymmS16</a>>, 4> <a class="el" href="_depth_to_space_test_impl_8hpp.html#a8eb3eae48bedad36e4cf57184d7eb3e1">DepthToSpaceTest3</a>< <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::DataType::QSymmS16</a> > </td> |
| 657 | <td>(</td> |
| 658 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> |
| 659 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 660 | </tr> |
| 661 | <tr> |
| 662 | <td class="paramkey"></td> |
| 663 | <td></td> |
| 664 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 665 | <td class="paramname"><em>memoryManager</em>, </td> |
| 666 | </tr> |
| 667 | <tr> |
| 668 | <td class="paramkey"></td> |
| 669 | <td></td> |
| 670 | <td class="paramtype"><a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> </td> |
| 671 | <td class="paramname"><em>dataLayout</em> </td> |
| 672 | </tr> |
| 673 | <tr> |
| 674 | <td></td> |
| 675 | <td>)</td> |
| 676 | <td></td><td></td> |
| 677 | </tr> |
| 678 | </table> |
| 679 | </div><div class="memdoc"> |
| 680 | |
| 681 | </div> |
| 682 | </div> |
| 683 | <a id="a594e4320ad4571c07b95622d7846e4a5"></a> |
| 684 | <h2 class="memtitle"><span class="permalink"><a href="#a594e4320ad4571c07b95622d7846e4a5">◆ </a></span>DepthToSpaceTest4()</h2> |
| 685 | |
| 686 | <div class="memitem"> |
| 687 | <div class="memproto"> |
| 688 | <table class="memname"> |
| 689 | <tr> |
| 690 | <td class="memname"><a class="el" href="struct_layer_test_result.html">LayerTestResult</a><T, 4> DepthToSpaceTest4 </td> |
| 691 | <td>(</td> |
| 692 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> |
| 693 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 694 | </tr> |
| 695 | <tr> |
| 696 | <td class="paramkey"></td> |
| 697 | <td></td> |
| 698 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 699 | <td class="paramname"><em>memoryManager</em>, </td> |
| 700 | </tr> |
| 701 | <tr> |
| 702 | <td class="paramkey"></td> |
| 703 | <td></td> |
| 704 | <td class="paramtype"><a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> </td> |
| 705 | <td class="paramname"><em>dataLayout</em> </td> |
| 706 | </tr> |
| 707 | <tr> |
| 708 | <td></td> |
| 709 | <td>)</td> |
| 710 | <td></td><td></td> |
| 711 | </tr> |
| 712 | </table> |
| 713 | </div><div class="memdoc"> |
| 714 | |
| 715 | <p class="definition">Definition at line <a class="el" href="_depth_to_space_test_impl_8cpp_source.html#l00183">183</a> of file <a class="el" href="_depth_to_space_test_impl_8cpp_source.html">DepthToSpaceTestImpl.cpp</a>.</p> |
| 716 | |
| 717 | <p class="reference">References <a class="el" href="_descriptors_8hpp_source.html#l00827">SpaceToDepthDescriptor::m_BlockSize</a>, <a class="el" href="_descriptors_8hpp_source.html#l00830">SpaceToDepthDescriptor::m_DataLayout</a>, and <a class="el" href="_workload_data_8hpp_source.html#l00049">QueueDescriptorWithParameters< LayerDescriptor >::m_Parameters</a>.</p> |
| 718 | <div class="fragment"><div class="line"><a name="l00187"></a><span class="lineno"> 187</span> {</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> inputShape[] = { 2, 2, 2, 4 };</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> outputShape[] = { 2, 4, 4, 1 };</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span> </div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  std::vector<float> input =</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  {</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  1.f, 2.f, 3.f, 4.f,</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span> </div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  5.f, 6.f, 7.f, 8.f,</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>  9.f, 10.f, 11.f, 12.f,</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span> </div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  13.f, 14.f, 15.f, 16.f,</div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span> </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>  17.f, 18.f, 19.f, 20.f,</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span> </div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  21.f, 22.f, 23.f, 24.f,</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span> </div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  25.f, 26.f, 27.f, 28.f,</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span> </div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  29.f, 30.f, 31.f, 32.f</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  };</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span> </div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  std::vector<float> expectedOutput</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  {</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  1.f, 2.f, 5.f, 6.f,</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  3.f, 4.f, 7.f, 8.f,</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  9.f, 10.f, 13.f, 14.f,</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  11.f, 12.f, 15.f, 16.f,</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span> </div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span> </div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  17.f, 18.f, 21.f, 22.f,</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  19.f, 20.f, 23.f, 24.f,</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  25.f, 26.f, 29.f, 30.f,</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  27.f, 28.f, 31.f, 32.f</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> </div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <a class="code" href="structarmnn_1_1_depth_to_space_queue_descriptor.html">armnn::DepthToSpaceQueueDescriptor</a> desc;</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  desc.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>.<a class="code" href="structarmnn_1_1_space_to_depth_descriptor.html#a6089e1ca91914015777ea780a513131a">m_DataLayout</a> = dataLayout;</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  desc.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>.<a class="code" href="structarmnn_1_1_space_to_depth_descriptor.html#a6c6b8957f1e176867e5fb05b1a1a1486">m_BlockSize</a> = 2;</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span> </div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> inputInfo(4, inputShape, ArmnnType);</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a> outputInfo(4, outputShape, ArmnnType);</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>  <span class="keywordflow">return</span> DepthToSpaceTestImpl<T>(workloadFactory, memoryManager, inputInfo, outputInfo, input, expectedOutput, desc);</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span> }</div><div class="ttc" id="structarmnn_1_1_space_to_depth_descriptor_html_a6089e1ca91914015777ea780a513131a"><div class="ttname"><a href="structarmnn_1_1_space_to_depth_descriptor.html#a6089e1ca91914015777ea780a513131a">armnn::SpaceToDepthDescriptor::m_DataLayout</a></div><div class="ttdeci">DataLayout m_DataLayout</div><div class="ttdoc">The data layout to be used (NCHW, NHWC). </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00830">Descriptors.hpp:830</a></div></div> |
| 719 | <div class="ttc" id="structarmnn_1_1_queue_descriptor_with_parameters_html_aad91b9bbf7aa365d304febe79a3d1333"><div class="ttname"><a href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">armnn::QueueDescriptorWithParameters::m_Parameters</a></div><div class="ttdeci">LayerDescriptor m_Parameters</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00049">WorkloadData.hpp:49</a></div></div> |
| 720 | <div class="ttc" id="classarmnn_1_1_tensor_info_html"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00053">Tensor.hpp:53</a></div></div> |
| 721 | <div class="ttc" id="structarmnn_1_1_depth_to_space_queue_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_depth_to_space_queue_descriptor.html">armnn::DepthToSpaceQueueDescriptor</a></div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00554">WorkloadData.hpp:554</a></div></div> |
| 722 | <div class="ttc" id="structarmnn_1_1_space_to_depth_descriptor_html_a6c6b8957f1e176867e5fb05b1a1a1486"><div class="ttname"><a href="structarmnn_1_1_space_to_depth_descriptor.html#a6c6b8957f1e176867e5fb05b1a1a1486">armnn::SpaceToDepthDescriptor::m_BlockSize</a></div><div class="ttdeci">unsigned int m_BlockSize</div><div class="ttdoc">Scalar specifying the input block size. It must be >= 1. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00827">Descriptors.hpp:827</a></div></div> |
| 723 | </div><!-- fragment --> |
| 724 | </div> |
| 725 | </div> |
| 726 | <a id="ac9bd97aefdbec8d0ad58009ca8f73700"></a> |
| 727 | <h2 class="memtitle"><span class="permalink"><a href="#ac9bd97aefdbec8d0ad58009ca8f73700">◆ </a></span>DepthToSpaceTest4< armnn::DataType::Float16 >()</h2> |
| 728 | |
| 729 | <div class="memitem"> |
| 730 | <div class="memproto"> |
| 731 | <table class="memname"> |
| 732 | <tr> |
| 733 | <td class="memname">template <a class="el" href="struct_layer_test_result.html">LayerTestResult</a><<a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a><<a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a>>, 4> <a class="el" href="_depth_to_space_test_impl_8hpp.html#a594e4320ad4571c07b95622d7846e4a5">DepthToSpaceTest4</a>< <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a26e6ed77470c6f2f830ecf874e6c0d55">armnn::DataType::Float16</a> > </td> |
| 734 | <td>(</td> |
| 735 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> |
| 736 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 737 | </tr> |
| 738 | <tr> |
| 739 | <td class="paramkey"></td> |
| 740 | <td></td> |
| 741 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 742 | <td class="paramname"><em>memoryManager</em>, </td> |
| 743 | </tr> |
| 744 | <tr> |
| 745 | <td class="paramkey"></td> |
| 746 | <td></td> |
| 747 | <td class="paramtype"><a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> </td> |
| 748 | <td class="paramname"><em>dataLayout</em> </td> |
| 749 | </tr> |
| 750 | <tr> |
| 751 | <td></td> |
| 752 | <td>)</td> |
| 753 | <td></td><td></td> |
| 754 | </tr> |
| 755 | </table> |
| 756 | </div><div class="memdoc"> |
| 757 | |
| 758 | </div> |
| 759 | </div> |
| 760 | <a id="a3306abab5c2c3b5e452083b6a48fd8ea"></a> |
| 761 | <h2 class="memtitle"><span class="permalink"><a href="#a3306abab5c2c3b5e452083b6a48fd8ea">◆ </a></span>DepthToSpaceTest4< armnn::DataType::Float32 >()</h2> |
| 762 | |
| 763 | <div class="memitem"> |
| 764 | <div class="memproto"> |
| 765 | <table class="memname"> |
| 766 | <tr> |
| 767 | <td class="memname">template <a class="el" href="struct_layer_test_result.html">LayerTestResult</a><<a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a><<a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>>, 4> <a class="el" href="_depth_to_space_test_impl_8hpp.html#a594e4320ad4571c07b95622d7846e4a5">DepthToSpaceTest4</a>< <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a> > </td> |
| 768 | <td>(</td> |
| 769 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> |
| 770 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 771 | </tr> |
| 772 | <tr> |
| 773 | <td class="paramkey"></td> |
| 774 | <td></td> |
| 775 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 776 | <td class="paramname"><em>memoryManager</em>, </td> |
| 777 | </tr> |
| 778 | <tr> |
| 779 | <td class="paramkey"></td> |
| 780 | <td></td> |
| 781 | <td class="paramtype"><a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> </td> |
| 782 | <td class="paramname"><em>dataLayout</em> </td> |
| 783 | </tr> |
| 784 | <tr> |
| 785 | <td></td> |
| 786 | <td>)</td> |
| 787 | <td></td><td></td> |
| 788 | </tr> |
| 789 | </table> |
| 790 | </div><div class="memdoc"> |
| 791 | |
| 792 | </div> |
| 793 | </div> |
| 794 | <a id="a06d1e0661e3a5ef2297890fd083d11e6"></a> |
| 795 | <h2 class="memtitle"><span class="permalink"><a href="#a06d1e0661e3a5ef2297890fd083d11e6">◆ </a></span>DepthToSpaceTest4< armnn::DataType::QAsymmU8 >()</h2> |
| 796 | |
| 797 | <div class="memitem"> |
| 798 | <div class="memproto"> |
| 799 | <table class="memname"> |
| 800 | <tr> |
| 801 | <td class="memname">template <a class="el" href="struct_layer_test_result.html">LayerTestResult</a><<a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a><<a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::DataType::QAsymmU8</a>>, 4> <a class="el" href="_depth_to_space_test_impl_8hpp.html#a594e4320ad4571c07b95622d7846e4a5">DepthToSpaceTest4</a>< <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a0a3f57c876f5a230244c38e1453a8a6e">armnn::DataType::QAsymmU8</a> > </td> |
| 802 | <td>(</td> |
| 803 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> |
| 804 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 805 | </tr> |
| 806 | <tr> |
| 807 | <td class="paramkey"></td> |
| 808 | <td></td> |
| 809 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 810 | <td class="paramname"><em>memoryManager</em>, </td> |
| 811 | </tr> |
| 812 | <tr> |
| 813 | <td class="paramkey"></td> |
| 814 | <td></td> |
| 815 | <td class="paramtype"><a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> </td> |
| 816 | <td class="paramname"><em>dataLayout</em> </td> |
| 817 | </tr> |
| 818 | <tr> |
| 819 | <td></td> |
| 820 | <td>)</td> |
| 821 | <td></td><td></td> |
| 822 | </tr> |
| 823 | </table> |
| 824 | </div><div class="memdoc"> |
| 825 | |
| 826 | </div> |
| 827 | </div> |
| 828 | <a id="ab571d803a28c09173dae02c1078cf73a"></a> |
| 829 | <h2 class="memtitle"><span class="permalink"><a href="#ab571d803a28c09173dae02c1078cf73a">◆ </a></span>DepthToSpaceTest4< armnn::DataType::QSymmS16 >()</h2> |
| 830 | |
| 831 | <div class="memitem"> |
| 832 | <div class="memproto"> |
| 833 | <table class="memname"> |
| 834 | <tr> |
| 835 | <td class="memname">template <a class="el" href="struct_layer_test_result.html">LayerTestResult</a><<a class="el" href="namespacearmnn.html#a0743ed5e860c316a20b68ca96301b411">armnn::ResolveType</a><<a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::DataType::QSymmS16</a>>, 4> <a class="el" href="_depth_to_space_test_impl_8hpp.html#a594e4320ad4571c07b95622d7846e4a5">DepthToSpaceTest4</a>< <a class="el" href="namespacearmnn.html#ad8ed01ff3ff33333d8e19db4d2818bb6a053c769dcf82d66ef326c86980c02ba7">armnn::DataType::QSymmS16</a> > </td> |
| 836 | <td>(</td> |
| 837 | <td class="paramtype"><a class="el" href="classarmnn_1_1_i_workload_factory.html">armnn::IWorkloadFactory</a> & </td> |
| 838 | <td class="paramname"><em>workloadFactory</em>, </td> |
| 839 | </tr> |
| 840 | <tr> |
| 841 | <td class="paramkey"></td> |
| 842 | <td></td> |
| 843 | <td class="paramtype">const <a class="el" href="classarmnn_1_1_i_backend_internal.html#a693b40e6b94e958836aeb0410ca186bd">armnn::IBackendInternal::IMemoryManagerSharedPtr</a> & </td> |
| 844 | <td class="paramname"><em>memoryManager</em>, </td> |
| 845 | </tr> |
| 846 | <tr> |
| 847 | <td class="paramkey"></td> |
| 848 | <td></td> |
| 849 | <td class="paramtype"><a class="el" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a> </td> |
| 850 | <td class="paramname"><em>dataLayout</em> </td> |
| 851 | </tr> |
| 852 | <tr> |
| 853 | <td></td> |
| 854 | <td>)</td> |
| 855 | <td></td><td></td> |
| 856 | </tr> |
| 857 | </table> |
| 858 | </div><div class="memdoc"> |
| 859 | |
| 860 | </div> |
| 861 | </div> |
| 862 | </div><!-- contents --> |
| 863 | </div><!-- doc-content --> |
| 864 | <!-- start footer part --> |
| 865 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 866 | <ul> |
| 867 | <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_0f3cdec46afbc61a1ded8e1687c9c9a0.html">backends</a></li><li class="navelem"><a class="el" href="dir_797a213d7d01b98ef12d53b0820ea64e.html">backendsCommon</a></li><li class="navelem"><a class="el" href="dir_28bfe507f7e135bdae07c2a6b7f66696.html">test</a></li><li class="navelem"><a class="el" href="dir_99a30439342d160875b21dac3498ad7f.html">layerTests</a></li><li class="navelem"><a class="el" href="_depth_to_space_test_impl_8cpp.html">DepthToSpaceTestImpl.cpp</a></li> |
| 868 | <li class="footer">Generated on Fri Mar 13 2020 16:07:00 for ArmNN by |
| 869 | <a href="http://www.doxygen.org/index.html"> |
| 870 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 871 | </ul> |
| 872 | </div> |
| 873 | </body> |
| 874 | </html> |