Anthony Barbier | dbdab85 | 2017-06-23 15:42:00 +0100 | [diff] [blame^] | 1 | <!-- HTML header for doxygen 1.8.9.1--> |
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 3 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 4 | <head> |
| 5 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| 6 | <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| 7 | <meta name="generator" content="Doxygen 1.8.11"/> |
| 8 | <meta name="robots" content="NOINDEX, NOFOLLOW" /> <!-- Prevent indexing by search engines --> |
| 9 | <title>Compute Library: arm_compute::test Namespace Reference</title> |
| 10 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 11 | <script type="text/javascript" src="jquery.js"></script> |
| 12 | <script type="text/javascript" src="dynsections.js"></script> |
| 13 | <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| 14 | <script type="text/javascript" src="resize.js"></script> |
| 15 | <script type="text/javascript" src="navtreedata.js"></script> |
| 16 | <script type="text/javascript" src="navtree.js"></script> |
| 17 | <script type="text/javascript"> |
| 18 | $(document).ready(initResizable); |
| 19 | $(window).load(resizeHeight); |
| 20 | </script> |
| 21 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 22 | <script type="text/javascript" src="search/searchdata.js"></script> |
| 23 | <script type="text/javascript" src="search/search.js"></script> |
| 24 | <script type="text/javascript"> |
| 25 | $(document).ready(function() { init_search(); }); |
| 26 | </script> |
| 27 | <script type="text/x-mathjax-config"> |
| 28 | MathJax.Hub.Config({ |
| 29 | extensions: ["tex2jax.js"], |
| 30 | jax: ["input/TeX","output/HTML-CSS"], |
| 31 | }); |
| 32 | </script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script> |
| 33 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 34 | </head> |
| 35 | <body> |
| 36 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 37 | <div id="titlearea"> |
| 38 | <table cellspacing="0" cellpadding="0"> |
| 39 | <tbody> |
| 40 | <tr style="height: 56px;"> |
| 41 | <td style="padding-left: 0.5em;"> |
| 42 | <div id="projectname">Compute Library |
| 43 |  <span id="projectnumber">v17.06</span> |
| 44 | </div> |
| 45 | </td> |
| 46 | </tr> |
| 47 | </tbody> |
| 48 | </table> |
| 49 | </div> |
| 50 | <!-- end header part --> |
| 51 | <!-- Generated by Doxygen 1.8.11 --> |
| 52 | <script type="text/javascript"> |
| 53 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 54 | </script> |
| 55 | <div id="navrow1" class="tabs"> |
| 56 | <ul class="tablist"> |
| 57 | <li><a href="index.xhtml"><span>Main Page</span></a></li> |
| 58 | <li><a href="pages.xhtml"><span>Related Pages</span></a></li> |
| 59 | <li class="current"><a href="namespaces.xhtml"><span>Namespaces</span></a></li> |
| 60 | <li><a href="annotated.xhtml"><span>Data Structures</span></a></li> |
| 61 | <li><a href="files.xhtml"><span>Files</span></a></li> |
| 62 | <li> |
| 63 | <div id="MSearchBox" class="MSearchBoxInactive"> |
| 64 | <span class="left"> |
| 65 | <img id="MSearchSelect" src="search/mag_sel.png" |
| 66 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 67 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 68 | alt=""/> |
| 69 | <input type="text" id="MSearchField" value="Search" accesskey="S" |
| 70 | onfocus="searchBox.OnSearchFieldFocus(true)" |
| 71 | onblur="searchBox.OnSearchFieldFocus(false)" |
| 72 | onkeyup="searchBox.OnSearchFieldChange(event)"/> |
| 73 | </span><span class="right"> |
| 74 | <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
| 75 | </span> |
| 76 | </div> |
| 77 | </li> |
| 78 | </ul> |
| 79 | </div> |
| 80 | <div id="navrow2" class="tabs2"> |
| 81 | <ul class="tablist"> |
| 82 | <li><a href="namespaces.xhtml"><span>Namespace List</span></a></li> |
| 83 | <li><a href="namespacemembers.xhtml"><span>Namespace Members</span></a></li> |
| 84 | </ul> |
| 85 | </div> |
| 86 | </div><!-- top --> |
| 87 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 88 | <div id="nav-tree"> |
| 89 | <div id="nav-tree-contents"> |
| 90 | <div id="nav-sync" class="sync"></div> |
| 91 | </div> |
| 92 | </div> |
| 93 | <div id="splitbar" style="-moz-user-select:none;" |
| 94 | class="ui-resizable-handle"> |
| 95 | </div> |
| 96 | </div> |
| 97 | <script type="text/javascript"> |
| 98 | $(document).ready(function(){initNavTree('namespacearm__compute_1_1test.xhtml','');}); |
| 99 | </script> |
| 100 | <div id="doc-content"> |
| 101 | <!-- window showing the filter options --> |
| 102 | <div id="MSearchSelectWindow" |
| 103 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 104 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 105 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| 106 | </div> |
| 107 | |
| 108 | <!-- iframe showing the search results (closed by default) --> |
| 109 | <div id="MSearchResultsWindow"> |
| 110 | <iframe src="javascript:void(0)" frameborder="0" |
| 111 | name="MSearchResults" id="MSearchResults"> |
| 112 | </iframe> |
| 113 | </div> |
| 114 | |
| 115 | <div class="header"> |
| 116 | <div class="summary"> |
| 117 | <a href="#namespaces">Namespaces</a> | |
| 118 | <a href="#nested-classes">Data Structures</a> | |
| 119 | <a href="#typedef-members">Typedefs</a> | |
| 120 | <a href="#func-members">Functions</a> | |
| 121 | <a href="#var-members">Variables</a> </div> |
| 122 | <div class="headertitle"> |
| 123 | <div class="title">arm_compute::test Namespace Reference</div> </div> |
| 124 | </div><!--header--> |
| 125 | <div class="contents"> |
| 126 | <table class="memberdecls"> |
| 127 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> |
| 128 | Namespaces</h2></td></tr> |
| 129 | <tr class="memitem:namespacearm__compute_1_1test_1_1benchmark"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test_1_1benchmark.xhtml">benchmark</a></td></tr> |
| 130 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 131 | <tr class="memitem:namespacearm__compute_1_1test_1_1cl"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test_1_1cl.xhtml">cl</a></td></tr> |
| 132 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 133 | <tr class="memitem:namespacearm__compute_1_1test_1_1cpp11"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test_1_1cpp11.xhtml">cpp11</a></td></tr> |
| 134 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 135 | <tr class="memitem:namespacearm__compute_1_1test_1_1cpp14"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test_1_1cpp14.xhtml">cpp14</a></td></tr> |
| 136 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 137 | <tr class="memitem:namespacearm__compute_1_1test_1_1fixed__point__arithmetic"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test_1_1fixed__point__arithmetic.xhtml">fixed_point_arithmetic</a></td></tr> |
| 138 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 139 | <tr class="memitem:namespacearm__compute_1_1test_1_1model__objects"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test_1_1model__objects.xhtml">model_objects</a></td></tr> |
| 140 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 141 | <tr class="memitem:namespacearm__compute_1_1test_1_1neon"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test_1_1neon.xhtml">neon</a></td></tr> |
| 142 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 143 | <tr class="memitem:namespacearm__compute_1_1test_1_1performance"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test_1_1performance.xhtml">performance</a></td></tr> |
| 144 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 145 | <tr class="memitem:namespacearm__compute_1_1test_1_1traits"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test_1_1traits.xhtml">traits</a></td></tr> |
| 146 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 147 | <tr class="memitem:namespacearm__compute_1_1test_1_1validation"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test_1_1validation.xhtml">validation</a></td></tr> |
| 148 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 149 | </table><table class="memberdecls"> |
| 150 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> |
| 151 | Data Structures</h2></td></tr> |
| 152 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_activation_functions.xhtml">ActivationFunctions</a></td></tr> |
| 153 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Data set containing all possible activation functions. <a href="classarm__compute_1_1test_1_1_activation_functions.xhtml#details">More...</a><br /></td></tr> |
| 154 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 155 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_activation_layer_data_object.xhtml">ActivationLayerDataObject</a></td></tr> |
| 156 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 157 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_alex_net_activation_layer_dataset.xhtml">AlexNetActivationLayerDataset</a></td></tr> |
| 158 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 159 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_alex_net_convolution_layer_dataset.xhtml">AlexNetConvolutionLayerDataset</a></td></tr> |
| 160 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">AlexNet's convolution layers tensor shapes. <a href="classarm__compute_1_1test_1_1_alex_net_convolution_layer_dataset.xhtml#details">More...</a><br /></td></tr> |
| 161 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 162 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_alex_net_fully_connected_layer_dataset.xhtml">AlexNetFullyConnectedLayerDataset</a></td></tr> |
| 163 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 164 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_alex_net_normalization_layer_dataset.xhtml">AlexNetNormalizationLayerDataset</a></td></tr> |
| 165 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 166 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_alex_net_pooling_layer_dataset.xhtml">AlexNetPoolingLayerDataset</a></td></tr> |
| 167 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 168 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_all_data_types.xhtml">AllDataTypes</a></td></tr> |
| 169 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Data set containing all data types. <a href="classarm__compute_1_1test_1_1_all_data_types.xhtml#details">More...</a><br /></td></tr> |
| 170 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 171 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_batch_normalization_layer_data_object.xhtml">BatchNormalizationLayerDataObject</a></td></tr> |
| 172 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 173 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_border_modes.xhtml">BorderModes</a></td></tr> |
| 174 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Data set containing all possible border modes. <a href="classarm__compute_1_1test_1_1_border_modes.xhtml#details">More...</a><br /></td></tr> |
| 175 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 176 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_c_n_n_data_types.xhtml">CNNDataTypes</a></td></tr> |
| 177 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Supported CNN types. <a href="classarm__compute_1_1test_1_1_c_n_n_data_types.xhtml#details">More...</a><br /></td></tr> |
| 178 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 179 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_c_n_n_fixed_point_data_types.xhtml">CNNFixedPointDataTypes</a></td></tr> |
| 180 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Supported CNN fixed point types. <a href="classarm__compute_1_1test_1_1_c_n_n_fixed_point_data_types.xhtml#details">More...</a><br /></td></tr> |
| 181 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 182 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_c_n_n_float_data_types.xhtml">CNNFloatDataTypes</a></td></tr> |
| 183 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Supported CNN float types. <a href="classarm__compute_1_1test_1_1_c_n_n_float_data_types.xhtml#details">More...</a><br /></td></tr> |
| 184 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 185 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structarm__compute_1_1test_1_1common__promoted__signed__type.xhtml">common_promoted_signed_type</a></td></tr> |
| 186 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Find the signed promoted common type. <a href="structarm__compute_1_1test_1_1common__promoted__signed__type.xhtml#details">More...</a><br /></td></tr> |
| 187 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 188 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_convert_policies.xhtml">ConvertPolicies</a></td></tr> |
| 189 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Data set containing all possible convert/overflow policies. <a href="classarm__compute_1_1test_1_1_convert_policies.xhtml#details">More...</a><br /></td></tr> |
| 190 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 191 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_convolution_layer_data_object.xhtml">ConvolutionLayerDataObject</a></td></tr> |
| 192 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Convolution Layer data object. <a href="classarm__compute_1_1test_1_1_convolution_layer_data_object.xhtml#details">More...</a><br /></td></tr> |
| 193 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 194 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_data_types.xhtml">DataTypes</a></td></tr> |
| 195 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Abstract data set containing data types. <a href="classarm__compute_1_1test_1_1_data_types.xhtml#details">More...</a><br /></td></tr> |
| 196 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 197 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_direct_convolution_shapes.xhtml">DirectConvolutionShapes</a></td></tr> |
| 198 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Data set containing direct convolution tensor shapes. <a href="classarm__compute_1_1test_1_1_direct_convolution_shapes.xhtml#details">More...</a><br /></td></tr> |
| 199 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 200 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_fixed_point_data_types.xhtml">FixedPointDataTypes</a></td></tr> |
| 201 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Data set containing all fixed point data types. <a href="classarm__compute_1_1test_1_1_fixed_point_data_types.xhtml#details">More...</a><br /></td></tr> |
| 202 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 203 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_float_data_types.xhtml">FloatDataTypes</a></td></tr> |
| 204 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Data set containing all floating point data types. <a href="classarm__compute_1_1test_1_1_float_data_types.xhtml#details">More...</a><br /></td></tr> |
| 205 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 206 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_fully_connected_layer_data_object.xhtml">FullyConnectedLayerDataObject</a></td></tr> |
| 207 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 208 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_g_e_m_m_data_object.xhtml">GEMMDataObject</a></td></tr> |
| 209 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 210 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_generic_dataset.xhtml">GenericDataset</a></td></tr> |
| 211 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Abstract data set containing multiple objects T. <a href="classarm__compute_1_1test_1_1_generic_dataset.xhtml#details">More...</a><br /></td></tr> |
| 212 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 213 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_goog_le_net_activation_layer_dataset.xhtml">GoogLeNetActivationLayerDataset</a></td></tr> |
| 214 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 215 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_goog_le_net_convolution_layer_dataset1.xhtml">GoogLeNetConvolutionLayerDataset1</a></td></tr> |
| 216 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">GoogleLeNet v1 convolution layers tensor shapes (Part 1). <a href="classarm__compute_1_1test_1_1_goog_le_net_convolution_layer_dataset1.xhtml#details">More...</a><br /></td></tr> |
| 217 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 218 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_goog_le_net_convolution_layer_dataset2.xhtml">GoogLeNetConvolutionLayerDataset2</a></td></tr> |
| 219 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">GoogleLeNet v1 convolution layers tensor shapes (Part 2). <a href="classarm__compute_1_1test_1_1_goog_le_net_convolution_layer_dataset2.xhtml#details">More...</a><br /></td></tr> |
| 220 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 221 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_goog_le_net_fully_connected_layer_dataset.xhtml">GoogLeNetFullyConnectedLayerDataset</a></td></tr> |
| 222 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 223 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_goog_le_net_g_e_m_m_dataset1.xhtml">GoogLeNetGEMMDataset1</a></td></tr> |
| 224 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 225 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_goog_le_net_g_e_m_m_dataset2.xhtml">GoogLeNetGEMMDataset2</a></td></tr> |
| 226 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 227 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_goog_le_net_normalization_layer_dataset.xhtml">GoogLeNetNormalizationLayerDataset</a></td></tr> |
| 228 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 229 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_goog_le_net_pooling_layer_dataset.xhtml">GoogLeNetPoolingLayerDataset</a></td></tr> |
| 230 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 231 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_i_accessor.xhtml">IAccessor</a></td></tr> |
| 232 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Common interface to provide information and access to tensor like structures. <a href="classarm__compute_1_1test_1_1_i_accessor.xhtml#details">More...</a><br /></td></tr> |
| 233 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 234 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_image_dataset.xhtml">ImageDataset</a></td></tr> |
| 235 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Abstract data set containing image names. <a href="classarm__compute_1_1test_1_1_image_dataset.xhtml#details">More...</a><br /></td></tr> |
| 236 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 237 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_interpolation_policies.xhtml">InterpolationPolicies</a></td></tr> |
| 238 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Data set containing all possible interpolation policies. <a href="classarm__compute_1_1test_1_1_interpolation_policies.xhtml#details">More...</a><br /></td></tr> |
| 239 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 240 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_large_fully_connected_layer_dataset.xhtml">LargeFullyConnectedLayerDataset</a></td></tr> |
| 241 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 242 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_large_g_e_m_m_dataset.xhtml">LargeGEMMDataset</a></td></tr> |
| 243 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 244 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_large_images.xhtml">LargeImages</a></td></tr> |
| 245 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Data set containing names of large images. <a href="classarm__compute_1_1test_1_1_large_images.xhtml#details">More...</a><br /></td></tr> |
| 246 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 247 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_large_shapes.xhtml">LargeShapes</a></td></tr> |
| 248 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Data set containing large tensor shapes. <a href="classarm__compute_1_1test_1_1_large_shapes.xhtml#details">More...</a><br /></td></tr> |
| 249 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 250 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_le_net5_activation_layer_dataset.xhtml">LeNet5ActivationLayerDataset</a></td></tr> |
| 251 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 252 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_le_net5_convolution_layer_dataset.xhtml">LeNet5ConvolutionLayerDataset</a></td></tr> |
| 253 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">LeNet5's convolution layers tensor shapes. <a href="classarm__compute_1_1test_1_1_le_net5_convolution_layer_dataset.xhtml#details">More...</a><br /></td></tr> |
| 254 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 255 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_le_net5_fully_connected_layer_dataset.xhtml">LeNet5FullyConnectedLayerDataset</a></td></tr> |
| 256 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 257 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_le_net5_pooling_layer_dataset.xhtml">LeNet5PoolingLayerDataset</a></td></tr> |
| 258 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 259 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_normalization_layer_data_object.xhtml">NormalizationLayerDataObject</a></td></tr> |
| 260 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 261 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_normalization_types.xhtml">NormalizationTypes</a></td></tr> |
| 262 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Data set containing all possible normalization types. <a href="classarm__compute_1_1test_1_1_normalization_types.xhtml#details">More...</a><br /></td></tr> |
| 263 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 264 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_pooling_layer_data_object.xhtml">PoolingLayerDataObject</a></td></tr> |
| 265 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 266 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_program_options.xhtml">ProgramOptions</a></td></tr> |
| 267 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Defines available commandline arguments and allows to parse them. <a href="classarm__compute_1_1test_1_1_program_options.xhtml#details">More...</a><br /></td></tr> |
| 268 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 269 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_random_batch_normalization_layer_dataset.xhtml">RandomBatchNormalizationLayerDataset</a></td></tr> |
| 270 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 271 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_random_pooling_layer_dataset.xhtml">RandomPoolingLayerDataset</a></td></tr> |
| 272 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 273 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_raw_tensor.xhtml">RawTensor</a></td></tr> |
| 274 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Simple tensor object that stores elements in a consecutive chunk of memory. <a href="classarm__compute_1_1test_1_1_raw_tensor.xhtml#details">More...</a><br /></td></tr> |
| 275 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 276 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_rounding_policies.xhtml">RoundingPolicies</a></td></tr> |
| 277 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Data set containing all possible rounding policies. <a href="classarm__compute_1_1test_1_1_rounding_policies.xhtml#details">More...</a><br /></td></tr> |
| 278 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 279 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_shape_dataset.xhtml">ShapeDataset</a></td></tr> |
| 280 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Abstract data set containing tensor shapes. <a href="classarm__compute_1_1test_1_1_shape_dataset.xhtml#details">More...</a><br /></td></tr> |
| 281 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 282 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_signed_data_types.xhtml">SignedDataTypes</a></td></tr> |
| 283 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Data set containing all signed data types. <a href="classarm__compute_1_1test_1_1_signed_data_types.xhtml#details">More...</a><br /></td></tr> |
| 284 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 285 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_small1_d_shape.xhtml">Small1DShape</a></td></tr> |
| 286 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Data set containing one 1D tensor shape. <a href="classarm__compute_1_1test_1_1_small1_d_shape.xhtml#details">More...</a><br /></td></tr> |
| 287 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 288 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_small_convolution_layer_dataset.xhtml">SmallConvolutionLayerDataset</a></td></tr> |
| 289 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Data set containing small convolution layer shapes. <a href="classarm__compute_1_1test_1_1_small_convolution_layer_dataset.xhtml#details">More...</a><br /></td></tr> |
| 290 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 291 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_small_fully_connected_layer_dataset.xhtml">SmallFullyConnectedLayerDataset</a></td></tr> |
| 292 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 293 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_small_g_e_m_m_dataset.xhtml">SmallGEMMDataset</a></td></tr> |
| 294 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 295 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_small_images.xhtml">SmallImages</a></td></tr> |
| 296 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Data set containing names of small images. <a href="classarm__compute_1_1test_1_1_small_images.xhtml#details">More...</a><br /></td></tr> |
| 297 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 298 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_small_shapes.xhtml">SmallShapes</a></td></tr> |
| 299 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Data set containing small tensor shapes. <a href="classarm__compute_1_1test_1_1_small_shapes.xhtml#details">More...</a><br /></td></tr> |
| 300 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 301 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_tensor_cache.xhtml">TensorCache</a></td></tr> |
| 302 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Stores <a class="el" href="classarm__compute_1_1test_1_1_raw_tensor.xhtml">RawTensor</a> categorised by the image they are created from including name, format and channel. <a href="classarm__compute_1_1test_1_1_tensor_cache.xhtml#details">More...</a><br /></td></tr> |
| 303 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 304 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_tensor_library.xhtml">TensorLibrary</a></td></tr> |
| 305 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Factory class to create and fill tensors. <a href="classarm__compute_1_1test_1_1_tensor_library.xhtml#details">More...</a><br /></td></tr> |
| 306 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 307 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_threshold_data_object.xhtml">ThresholdDataObject</a></td></tr> |
| 308 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 309 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_threshold_dataset.xhtml">ThresholdDataset</a></td></tr> |
| 310 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 311 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1_unsigned_data_types.xhtml">UnsignedDataTypes</a></td></tr> |
| 312 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Data set containing all unsigned data types. <a href="classarm__compute_1_1test_1_1_unsigned_data_types.xhtml#details">More...</a><br /></td></tr> |
| 313 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 314 | <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structarm__compute_1_1test_1_1_user_configuration.xhtml">UserConfiguration</a></td></tr> |
| 315 | <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Container providing easy access to runtime options provided by the user. <a href="structarm__compute_1_1test_1_1_user_configuration.xhtml#details">More...</a><br /></td></tr> |
| 316 | <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| 317 | </table><table class="memberdecls"> |
| 318 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a> |
| 319 | Typedefs</h2></td></tr> |
| 320 | <tr class="memitem:aa1a629d971f45dc8c4cb7ec2d5c8728e"><td class="memTemplParams" colspan="2">template<unsigned int Size> </td></tr> |
| 321 | <tr class="memitem:aa1a629d971f45dc8c4cb7ec2d5c8728e"><td class="memTemplItemLeft" align="right" valign="top">using </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test.xhtml#aa1a629d971f45dc8c4cb7ec2d5c8728e">ActivationLayerDataset</a> = <a class="el" href="classarm__compute_1_1test_1_1_generic_dataset.xhtml">GenericDataset</a>< <a class="el" href="classarm__compute_1_1test_1_1_activation_layer_data_object.xhtml">ActivationLayerDataObject</a>, Size ></td></tr> |
| 322 | <tr class="separator:aa1a629d971f45dc8c4cb7ec2d5c8728e"><td class="memSeparator" colspan="2"> </td></tr> |
| 323 | <tr class="memitem:a6b006671b13de04edb1001f32966d9de"><td class="memTemplParams" colspan="2">template<unsigned int Size> </td></tr> |
| 324 | <tr class="memitem:a6b006671b13de04edb1001f32966d9de"><td class="memTemplItemLeft" align="right" valign="top">using </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test.xhtml#a6b006671b13de04edb1001f32966d9de">BatchNormalizationLayerDataset</a> = <a class="el" href="classarm__compute_1_1test_1_1_generic_dataset.xhtml">GenericDataset</a>< <a class="el" href="classarm__compute_1_1test_1_1_batch_normalization_layer_data_object.xhtml">BatchNormalizationLayerDataObject</a>, Size ></td></tr> |
| 325 | <tr class="separator:a6b006671b13de04edb1001f32966d9de"><td class="memSeparator" colspan="2"> </td></tr> |
| 326 | <tr class="memitem:a18ed03ad3383da62aec512f04372d2f7"><td class="memTemplParams" colspan="2">template<unsigned int Size> </td></tr> |
| 327 | <tr class="memitem:a18ed03ad3383da62aec512f04372d2f7"><td class="memTemplItemLeft" align="right" valign="top">using </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test.xhtml#a18ed03ad3383da62aec512f04372d2f7">ConvolutionLayerDataset</a> = <a class="el" href="classarm__compute_1_1test_1_1_generic_dataset.xhtml">GenericDataset</a>< <a class="el" href="classarm__compute_1_1test_1_1_convolution_layer_data_object.xhtml">ConvolutionLayerDataObject</a>, Size ></td></tr> |
| 328 | <tr class="separator:a18ed03ad3383da62aec512f04372d2f7"><td class="memSeparator" colspan="2"> </td></tr> |
| 329 | <tr class="memitem:ad41fe013a10729c8790f3d30bfeac8f1"><td class="memTemplParams" colspan="2">template<unsigned int Size> </td></tr> |
| 330 | <tr class="memitem:ad41fe013a10729c8790f3d30bfeac8f1"><td class="memTemplItemLeft" align="right" valign="top">using </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test.xhtml#ad41fe013a10729c8790f3d30bfeac8f1">FullyConnectedLayerDataset</a> = <a class="el" href="classarm__compute_1_1test_1_1_generic_dataset.xhtml">GenericDataset</a>< <a class="el" href="classarm__compute_1_1test_1_1_fully_connected_layer_data_object.xhtml">FullyConnectedLayerDataObject</a>, Size ></td></tr> |
| 331 | <tr class="separator:ad41fe013a10729c8790f3d30bfeac8f1"><td class="memSeparator" colspan="2"> </td></tr> |
| 332 | <tr class="memitem:a62dd75dba5587b539e722ea857347c26"><td class="memTemplParams" colspan="2">template<unsigned int Size> </td></tr> |
| 333 | <tr class="memitem:a62dd75dba5587b539e722ea857347c26"><td class="memTemplItemLeft" align="right" valign="top">using </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test.xhtml#a62dd75dba5587b539e722ea857347c26">NormalizationLayerDataset</a> = <a class="el" href="classarm__compute_1_1test_1_1_generic_dataset.xhtml">GenericDataset</a>< <a class="el" href="classarm__compute_1_1test_1_1_normalization_layer_data_object.xhtml">NormalizationLayerDataObject</a>, Size ></td></tr> |
| 334 | <tr class="separator:a62dd75dba5587b539e722ea857347c26"><td class="memSeparator" colspan="2"> </td></tr> |
| 335 | <tr class="memitem:af11de09f727dca1d78602572247fa5ff"><td class="memTemplParams" colspan="2">template<unsigned int Size> </td></tr> |
| 336 | <tr class="memitem:af11de09f727dca1d78602572247fa5ff"><td class="memTemplItemLeft" align="right" valign="top">using </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test.xhtml#af11de09f727dca1d78602572247fa5ff">PoolingLayerDataset</a> = <a class="el" href="classarm__compute_1_1test_1_1_generic_dataset.xhtml">GenericDataset</a>< <a class="el" href="classarm__compute_1_1test_1_1_pooling_layer_data_object.xhtml">PoolingLayerDataObject</a>, Size ></td></tr> |
| 337 | <tr class="separator:af11de09f727dca1d78602572247fa5ff"><td class="memSeparator" colspan="2"> </td></tr> |
| 338 | </table><table class="memberdecls"> |
| 339 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> |
| 340 | Functions</h2></td></tr> |
| 341 | <tr class="memitem:ac04d36ea1fb41a3dfd3afd4a89ef2470"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test.xhtml#ac04d36ea1fb41a3dfd3afd4a89ef2470">swap</a> (<a class="el" href="classarm__compute_1_1test_1_1_raw_tensor.xhtml">RawTensor</a> &tensor1, <a class="el" href="classarm__compute_1_1test_1_1_raw_tensor.xhtml">RawTensor</a> &tensor2)</td></tr> |
| 342 | <tr class="separator:ac04d36ea1fb41a3dfd3afd4a89ef2470"><td class="memSeparator" colspan="2"> </td></tr> |
| 343 | <tr class="memitem:aa337ab76176f3c4193642ac6de3a61cf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58">Format</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test.xhtml#aa337ab76176f3c4193642ac6de3a61cf">get_format_for_channel</a> (<a class="el" href="namespacearm__compute.xhtml#a1ce9b523fd4f3b5bbcadcd796183455a">Channel</a> channel)</td></tr> |
| 344 | <tr class="memdesc:aa337ab76176f3c4193642ac6de3a61cf"><td class="mdescLeft"> </td><td class="mdescRight">Look up the format corresponding to a channel. <a href="#aa337ab76176f3c4193642ac6de3a61cf">More...</a><br /></td></tr> |
| 345 | <tr class="separator:aa337ab76176f3c4193642ac6de3a61cf"><td class="memSeparator" colspan="2"> </td></tr> |
| 346 | <tr class="memitem:ac7dbe33793790fc37a5eda11ed6b0273"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58">Format</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test.xhtml#ac7dbe33793790fc37a5eda11ed6b0273">get_channel_format</a> (<a class="el" href="namespacearm__compute.xhtml#a1ce9b523fd4f3b5bbcadcd796183455a">Channel</a> channel)</td></tr> |
| 347 | <tr class="memdesc:ac7dbe33793790fc37a5eda11ed6b0273"><td class="mdescLeft"> </td><td class="mdescRight">Return the format of a channel. <a href="#ac7dbe33793790fc37a5eda11ed6b0273">More...</a><br /></td></tr> |
| 348 | <tr class="separator:ac7dbe33793790fc37a5eda11ed6b0273"><td class="memSeparator" colspan="2"> </td></tr> |
| 349 | <tr class="memitem:a1ebbb23b0094d47c51226d58e17e6447"><td class="memTemplParams" colspan="2">template<typename F , typename T > </td></tr> |
| 350 | <tr class="memitem:a1ebbb23b0094d47c51226d58e17e6447"><td class="memTemplItemLeft" align="right" valign="top">T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test.xhtml#a1ebbb23b0094d47c51226d58e17e6447">foldl</a> (F &&, const T &value)</td></tr> |
| 351 | <tr class="memdesc:a1ebbb23b0094d47c51226d58e17e6447"><td class="mdescLeft"> </td><td class="mdescRight">Base case of foldl. <a href="#a1ebbb23b0094d47c51226d58e17e6447">More...</a><br /></td></tr> |
| 352 | <tr class="separator:a1ebbb23b0094d47c51226d58e17e6447"><td class="memSeparator" colspan="2"> </td></tr> |
| 353 | <tr class="memitem:ad933f996ccb22854ae56dd86de8cbbfe"><td class="memTemplParams" colspan="2">template<typename F , typename T , typename U > </td></tr> |
| 354 | <tr class="memitem:ad933f996ccb22854ae56dd86de8cbbfe"><td class="memTemplItemLeft" align="right" valign="top">auto </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test.xhtml#ad933f996ccb22854ae56dd86de8cbbfe">foldl</a> (F &&func, T &&value1, U &&value2) -> decltype(func(value1, value2))</td></tr> |
| 355 | <tr class="memdesc:ad933f996ccb22854ae56dd86de8cbbfe"><td class="mdescLeft"> </td><td class="mdescRight">Base case of foldl. <a href="#ad933f996ccb22854ae56dd86de8cbbfe">More...</a><br /></td></tr> |
| 356 | <tr class="separator:ad933f996ccb22854ae56dd86de8cbbfe"><td class="memSeparator" colspan="2"> </td></tr> |
| 357 | <tr class="memitem:a89322cccde5e0a27d3a41085d3fd366c"><td class="memTemplParams" colspan="2">template<typename F , typename I , typename T , typename... Vs> </td></tr> |
| 358 | <tr class="memitem:a89322cccde5e0a27d3a41085d3fd366c"><td class="memTemplItemLeft" align="right" valign="top">I </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test.xhtml#a89322cccde5e0a27d3a41085d3fd366c">foldl</a> (F &&func, I &&initial, T &&value, Vs &&...values)</td></tr> |
| 359 | <tr class="memdesc:a89322cccde5e0a27d3a41085d3fd366c"><td class="mdescLeft"> </td><td class="mdescRight">Fold left. <a href="#a89322cccde5e0a27d3a41085d3fd366c">More...</a><br /></td></tr> |
| 360 | <tr class="separator:a89322cccde5e0a27d3a41085d3fd366c"><td class="memSeparator" colspan="2"> </td></tr> |
| 361 | <tr class="memitem:a670cba074b4be0bf9af03e48250bd616"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarm__compute_1_1_valid_region.xhtml">ValidRegion</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test.xhtml#a670cba074b4be0bf9af03e48250bd616">shape_to_valid_region</a> (<a class="el" href="classarm__compute_1_1_tensor_shape.xhtml">TensorShape</a> shape)</td></tr> |
| 362 | <tr class="memdesc:a670cba074b4be0bf9af03e48250bd616"><td class="mdescLeft"> </td><td class="mdescRight">Create a valid region covering the enitre tensor shape. <a href="#a670cba074b4be0bf9af03e48250bd616">More...</a><br /></td></tr> |
| 363 | <tr class="separator:a670cba074b4be0bf9af03e48250bd616"><td class="memSeparator" colspan="2"> </td></tr> |
| 364 | <tr class="memitem:a6b97d7bba7b5cee833eb5c2282e8d246"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarm__compute_1_1_valid_region.xhtml">ValidRegion</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test.xhtml#a6b97d7bba7b5cee833eb5c2282e8d246">shape_to_valid_region_undefined_border</a> (<a class="el" href="classarm__compute_1_1_tensor_shape.xhtml">TensorShape</a> shape, <a class="el" href="structarm__compute_1_1_border_size.xhtml">BorderSize</a> border_size)</td></tr> |
| 365 | <tr class="memdesc:a6b97d7bba7b5cee833eb5c2282e8d246"><td class="mdescLeft"> </td><td class="mdescRight">Create a valid region covering the tensor shape with UNDEFINED border mode and specified border size. <a href="#a6b97d7bba7b5cee833eb5c2282e8d246">More...</a><br /></td></tr> |
| 366 | <tr class="separator:a6b97d7bba7b5cee833eb5c2282e8d246"><td class="memSeparator" colspan="2"> </td></tr> |
| 367 | <tr class="memitem:a356470553f2afd5673a41cf4da48e33b"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test.xhtml#a356470553f2afd5673a41cf4da48e33b">required_padding</a> (int size, int step)</td></tr> |
| 368 | <tr class="memdesc:a356470553f2afd5673a41cf4da48e33b"><td class="mdescLeft"> </td><td class="mdescRight">Calculate the required padding given the available <code>size</code> and the required. <a href="#a356470553f2afd5673a41cf4da48e33b">More...</a><br /></td></tr> |
| 369 | <tr class="separator:a356470553f2afd5673a41cf4da48e33b"><td class="memSeparator" colspan="2"> </td></tr> |
| 370 | <tr class="memitem:a08e86555c8b4d8ae148173d0bda4552f"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test.xhtml#a08e86555c8b4d8ae148173d0bda4552f">required_padding_undefined_border_write</a> (int size, int step, int border_size)</td></tr> |
| 371 | <tr class="memdesc:a08e86555c8b4d8ae148173d0bda4552f"><td class="mdescLeft"> </td><td class="mdescRight">Calculate the required padding for writing operation with UNDEFINED border mode. <a href="#a08e86555c8b4d8ae148173d0bda4552f">More...</a><br /></td></tr> |
| 372 | <tr class="separator:a08e86555c8b4d8ae148173d0bda4552f"><td class="memSeparator" colspan="2"> </td></tr> |
| 373 | <tr class="memitem:aaaa9677420848c94f3a8fd0c3bb0d1fc"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test.xhtml#aaaa9677420848c94f3a8fd0c3bb0d1fc">required_padding_undefined_border_read</a> (int size, int read_step, int process_step)</td></tr> |
| 374 | <tr class="memdesc:aaaa9677420848c94f3a8fd0c3bb0d1fc"><td class="mdescLeft"> </td><td class="mdescRight">Calculate the required padding for reading operation with UNDEFINED border mode. <a href="#aaaa9677420848c94f3a8fd0c3bb0d1fc">More...</a><br /></td></tr> |
| 375 | <tr class="separator:aaaa9677420848c94f3a8fd0c3bb0d1fc"><td class="memSeparator" colspan="2"> </td></tr> |
| 376 | <tr class="memitem:a1e6934e95738573214c2ce1d6648d116"><td class="memTemplParams" colspan="2">template<typename T > </td></tr> |
| 377 | <tr class="memitem:a1e6934e95738573214c2ce1d6648d116"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test.xhtml#a1e6934e95738573214c2ce1d6648d116">store_value_with_data_type</a> (void *ptr, T value, <a class="el" href="namespacearm__compute.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</a> data_type)</td></tr> |
| 378 | <tr class="memdesc:a1e6934e95738573214c2ce1d6648d116"><td class="mdescLeft"> </td><td class="mdescRight">Write the value after casting the pointer according to <code>data_type</code>. <a href="#a1e6934e95738573214c2ce1d6648d116">More...</a><br /></td></tr> |
| 379 | <tr class="separator:a1e6934e95738573214c2ce1d6648d116"><td class="memSeparator" colspan="2"> </td></tr> |
| 380 | <tr class="memitem:a4965b2f6821e0cf0afee738158bd8377"><td class="memTemplParams" colspan="2">template<typename U , typename T > </td></tr> |
| 381 | <tr class="memitem:a4965b2f6821e0cf0afee738158bd8377"><td class="memTemplItemLeft" align="right" valign="top">T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test.xhtml#a4965b2f6821e0cf0afee738158bd8377">saturate_cast</a> (T val)</td></tr> |
| 382 | <tr class="memdesc:a4965b2f6821e0cf0afee738158bd8377"><td class="mdescLeft"> </td><td class="mdescRight">Saturate a value of type T against the numeric limits of type U. <a href="#a4965b2f6821e0cf0afee738158bd8377">More...</a><br /></td></tr> |
| 383 | <tr class="separator:a4965b2f6821e0cf0afee738158bd8377"><td class="memSeparator" colspan="2"> </td></tr> |
| 384 | <tr class="memitem:a24d8c0391cfa38e78969b6ad97c0ff09"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1_coordinates.xhtml">Coordinates</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test.xhtml#a24d8c0391cfa38e78969b6ad97c0ff09">index2coord</a> (const <a class="el" href="classarm__compute_1_1_tensor_shape.xhtml">TensorShape</a> &shape, int index)</td></tr> |
| 385 | <tr class="memdesc:a24d8c0391cfa38e78969b6ad97c0ff09"><td class="mdescLeft"> </td><td class="mdescRight">Convert a linear index into n-dimensional coordinates. <a href="#a24d8c0391cfa38e78969b6ad97c0ff09">More...</a><br /></td></tr> |
| 386 | <tr class="separator:a24d8c0391cfa38e78969b6ad97c0ff09"><td class="memSeparator" colspan="2"> </td></tr> |
| 387 | <tr class="memitem:a9be4cb7e6ee20063a4a10bc3abb750b9"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test.xhtml#a9be4cb7e6ee20063a4a10bc3abb750b9">coord2index</a> (const <a class="el" href="classarm__compute_1_1_tensor_shape.xhtml">TensorShape</a> &shape, const <a class="el" href="classarm__compute_1_1_coordinates.xhtml">Coordinates</a> &coord)</td></tr> |
| 388 | <tr class="memdesc:a9be4cb7e6ee20063a4a10bc3abb750b9"><td class="mdescLeft"> </td><td class="mdescRight">Linearise the given coordinate. <a href="#a9be4cb7e6ee20063a4a10bc3abb750b9">More...</a><br /></td></tr> |
| 389 | <tr class="separator:a9be4cb7e6ee20063a4a10bc3abb750b9"><td class="memSeparator" colspan="2"> </td></tr> |
| 390 | <tr class="memitem:a58ee979a599b3b6a2587964106b1910c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test.xhtml#a58ee979a599b3b6a2587964106b1910c">is_in_valid_region</a> (const <a class="el" href="structarm__compute_1_1_valid_region.xhtml">ValidRegion</a> &valid_region, const <a class="el" href="classarm__compute_1_1_coordinates.xhtml">Coordinates</a> &coord)</td></tr> |
| 391 | <tr class="memdesc:a58ee979a599b3b6a2587964106b1910c"><td class="mdescLeft"> </td><td class="mdescRight">Check if a coordinate is within a valid region. <a href="#a58ee979a599b3b6a2587964106b1910c">More...</a><br /></td></tr> |
| 392 | <tr class="separator:a58ee979a599b3b6a2587964106b1910c"><td class="memSeparator" colspan="2"> </td></tr> |
| 393 | </table><table class="memberdecls"> |
| 394 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a> |
| 395 | Variables</h2></td></tr> |
| 396 | <tr class="memitem:a8f4fc4a0603d589eb1db7a8f539a6279"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarm__compute_1_1test_1_1performance_1_1_performance_user_configuration.xhtml">PerformanceUserConfiguration</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test.xhtml#a8f4fc4a0603d589eb1db7a8f539a6279">user_config</a></td></tr> |
| 397 | <tr class="separator:a8f4fc4a0603d589eb1db7a8f539a6279"><td class="memSeparator" colspan="2"> </td></tr> |
| 398 | <tr class="memitem:a4ced6442a379a75e8a6c4be093fb666b"><td class="memItemLeft" align="right" valign="top">std::unique_ptr< <a class="el" href="classarm__compute_1_1test_1_1_tensor_library.xhtml">TensorLibrary</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test.xhtml#a4ced6442a379a75e8a6c4be093fb666b">library</a></td></tr> |
| 399 | <tr class="separator:a4ced6442a379a75e8a6c4be093fb666b"><td class="memSeparator" colspan="2"> </td></tr> |
| 400 | </table> |
| 401 | <h2 class="groupheader">Typedef Documentation</h2> |
| 402 | <a class="anchor" id="aa1a629d971f45dc8c4cb7ec2d5c8728e"></a> |
| 403 | <div class="memitem"> |
| 404 | <div class="memproto"> |
| 405 | <table class="memname"> |
| 406 | <tr> |
| 407 | <td class="memname">using <a class="el" href="namespacearm__compute_1_1test.xhtml#aa1a629d971f45dc8c4cb7ec2d5c8728e">ActivationLayerDataset</a> = <a class="el" href="classarm__compute_1_1test_1_1_generic_dataset.xhtml">GenericDataset</a><<a class="el" href="classarm__compute_1_1test_1_1_activation_layer_data_object.xhtml">ActivationLayerDataObject</a>, Size></td> |
| 408 | </tr> |
| 409 | </table> |
| 410 | </div><div class="memdoc"> |
| 411 | |
| 412 | <p>Definition at line <a class="el" href="_activation_layer_dataset_8h_source.xhtml#l00062">62</a> of file <a class="el" href="_activation_layer_dataset_8h_source.xhtml">ActivationLayerDataset.h</a>.</p> |
| 413 | |
| 414 | </div> |
| 415 | </div> |
| 416 | <a class="anchor" id="a6b006671b13de04edb1001f32966d9de"></a> |
| 417 | <div class="memitem"> |
| 418 | <div class="memproto"> |
| 419 | <table class="memname"> |
| 420 | <tr> |
| 421 | <td class="memname">using <a class="el" href="namespacearm__compute_1_1test.xhtml#a6b006671b13de04edb1001f32966d9de">BatchNormalizationLayerDataset</a> = <a class="el" href="classarm__compute_1_1test_1_1_generic_dataset.xhtml">GenericDataset</a><<a class="el" href="classarm__compute_1_1test_1_1_batch_normalization_layer_data_object.xhtml">BatchNormalizationLayerDataObject</a>, Size></td> |
| 422 | </tr> |
| 423 | </table> |
| 424 | </div><div class="memdoc"> |
| 425 | |
| 426 | <p>Definition at line <a class="el" href="_batch_normalization_layer_dataset_8h_source.xhtml#l00070">70</a> of file <a class="el" href="_batch_normalization_layer_dataset_8h_source.xhtml">BatchNormalizationLayerDataset.h</a>.</p> |
| 427 | |
| 428 | </div> |
| 429 | </div> |
| 430 | <a class="anchor" id="a18ed03ad3383da62aec512f04372d2f7"></a> |
| 431 | <div class="memitem"> |
| 432 | <div class="memproto"> |
| 433 | <table class="memname"> |
| 434 | <tr> |
| 435 | <td class="memname">using <a class="el" href="namespacearm__compute_1_1test.xhtml#a18ed03ad3383da62aec512f04372d2f7">ConvolutionLayerDataset</a> = <a class="el" href="classarm__compute_1_1test_1_1_generic_dataset.xhtml">GenericDataset</a><<a class="el" href="classarm__compute_1_1test_1_1_convolution_layer_data_object.xhtml">ConvolutionLayerDataObject</a>, Size></td> |
| 436 | </tr> |
| 437 | </table> |
| 438 | </div><div class="memdoc"> |
| 439 | |
| 440 | <p>Definition at line <a class="el" href="_convolution_layer_dataset_8h_source.xhtml#l00073">73</a> of file <a class="el" href="_convolution_layer_dataset_8h_source.xhtml">ConvolutionLayerDataset.h</a>.</p> |
| 441 | |
| 442 | </div> |
| 443 | </div> |
| 444 | <a class="anchor" id="ad41fe013a10729c8790f3d30bfeac8f1"></a> |
| 445 | <div class="memitem"> |
| 446 | <div class="memproto"> |
| 447 | <table class="memname"> |
| 448 | <tr> |
| 449 | <td class="memname">using <a class="el" href="namespacearm__compute_1_1test.xhtml#ad41fe013a10729c8790f3d30bfeac8f1">FullyConnectedLayerDataset</a> = <a class="el" href="classarm__compute_1_1test_1_1_generic_dataset.xhtml">GenericDataset</a><<a class="el" href="classarm__compute_1_1test_1_1_fully_connected_layer_data_object.xhtml">FullyConnectedLayerDataObject</a>, Size></td> |
| 450 | </tr> |
| 451 | </table> |
| 452 | </div><div class="memdoc"> |
| 453 | |
| 454 | <p>Definition at line <a class="el" href="_fully_connected_layer_dataset_8h_source.xhtml#l00071">71</a> of file <a class="el" href="_fully_connected_layer_dataset_8h_source.xhtml">FullyConnectedLayerDataset.h</a>.</p> |
| 455 | |
| 456 | </div> |
| 457 | </div> |
| 458 | <a class="anchor" id="a62dd75dba5587b539e722ea857347c26"></a> |
| 459 | <div class="memitem"> |
| 460 | <div class="memproto"> |
| 461 | <table class="memname"> |
| 462 | <tr> |
| 463 | <td class="memname">using <a class="el" href="namespacearm__compute_1_1test.xhtml#a62dd75dba5587b539e722ea857347c26">NormalizationLayerDataset</a> = <a class="el" href="classarm__compute_1_1test_1_1_generic_dataset.xhtml">GenericDataset</a><<a class="el" href="classarm__compute_1_1test_1_1_normalization_layer_data_object.xhtml">NormalizationLayerDataObject</a>, Size></td> |
| 464 | </tr> |
| 465 | </table> |
| 466 | </div><div class="memdoc"> |
| 467 | |
| 468 | <p>Definition at line <a class="el" href="_normalization_layer_dataset_8h_source.xhtml#l00063">63</a> of file <a class="el" href="_normalization_layer_dataset_8h_source.xhtml">NormalizationLayerDataset.h</a>.</p> |
| 469 | |
| 470 | </div> |
| 471 | </div> |
| 472 | <a class="anchor" id="af11de09f727dca1d78602572247fa5ff"></a> |
| 473 | <div class="memitem"> |
| 474 | <div class="memproto"> |
| 475 | <table class="memname"> |
| 476 | <tr> |
| 477 | <td class="memname">using <a class="el" href="namespacearm__compute_1_1test.xhtml#af11de09f727dca1d78602572247fa5ff">PoolingLayerDataset</a> = <a class="el" href="classarm__compute_1_1test_1_1_generic_dataset.xhtml">GenericDataset</a><<a class="el" href="classarm__compute_1_1test_1_1_pooling_layer_data_object.xhtml">PoolingLayerDataObject</a>, Size></td> |
| 478 | </tr> |
| 479 | </table> |
| 480 | </div><div class="memdoc"> |
| 481 | |
| 482 | <p>Definition at line <a class="el" href="_pooling_layer_dataset_8h_source.xhtml#l00070">70</a> of file <a class="el" href="_pooling_layer_dataset_8h_source.xhtml">PoolingLayerDataset.h</a>.</p> |
| 483 | |
| 484 | </div> |
| 485 | </div> |
| 486 | <h2 class="groupheader">Function Documentation</h2> |
| 487 | <a class="anchor" id="a9be4cb7e6ee20063a4a10bc3abb750b9"></a> |
| 488 | <div class="memitem"> |
| 489 | <div class="memproto"> |
| 490 | <table class="mlabels"> |
| 491 | <tr> |
| 492 | <td class="mlabels-left"> |
| 493 | <table class="memname"> |
| 494 | <tr> |
| 495 | <td class="memname">int arm_compute::test::coord2index </td> |
| 496 | <td>(</td> |
| 497 | <td class="paramtype">const <a class="el" href="classarm__compute_1_1_tensor_shape.xhtml">TensorShape</a> & </td> |
| 498 | <td class="paramname"><em>shape</em>, </td> |
| 499 | </tr> |
| 500 | <tr> |
| 501 | <td class="paramkey"></td> |
| 502 | <td></td> |
| 503 | <td class="paramtype">const <a class="el" href="classarm__compute_1_1_coordinates.xhtml">Coordinates</a> & </td> |
| 504 | <td class="paramname"><em>coord</em> </td> |
| 505 | </tr> |
| 506 | <tr> |
| 507 | <td></td> |
| 508 | <td>)</td> |
| 509 | <td></td><td></td> |
| 510 | </tr> |
| 511 | </table> |
| 512 | </td> |
| 513 | <td class="mlabels-right"> |
| 514 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 515 | </tr> |
| 516 | </table> |
| 517 | </div><div class="memdoc"> |
| 518 | |
| 519 | <p>Linearise the given coordinate. </p> |
| 520 | <p>Transforms the given coordinate into a linear offset in terms of elements.</p> |
| 521 | <dl class="params"><dt>Parameters</dt><dd> |
| 522 | <table class="params"> |
| 523 | <tr><td class="paramdir">[in]</td><td class="paramname">shape</td><td>Shape of the n-dimensional tensor. </td></tr> |
| 524 | <tr><td class="paramdir">[in]</td><td class="paramname">coord</td><td>The to be converted coordinate.</td></tr> |
| 525 | </table> |
| 526 | </dd> |
| 527 | </dl> |
| 528 | <dl class="section return"><dt>Returns</dt><dd>Linear offset to the element. </dd></dl> |
| 529 | |
| 530 | <p>Definition at line <a class="el" href="tests_2_utils_8h_source.xhtml#l00640">640</a> of file <a class="el" href="tests_2_utils_8h_source.xhtml">Utils.h</a>.</p> |
| 531 | |
| 532 | <p>References <a class="el" href="_error_8h_source.xhtml#l00115">ARM_COMPUTE_ERROR_ON_MSG</a>, <a class="el" href="_dimensions_8h_source.xhtml#l00109">Dimensions< T >::num_dimensions()</a>, and <a class="el" href="_tensor_shape_8h_source.xhtml#l00106">TensorShape::total_size()</a>.</p> |
| 533 | |
| 534 | <p>Referenced by <a class="el" href="_raw_tensor_8cpp_source.xhtml#l00158">RawTensor::operator()()</a>.</p> |
| 535 | <div class="fragment"><div class="line"><a name="l00641"></a><span class="lineno"> 641</span> {</div><div class="line"><a name="l00642"></a><span class="lineno"> 642</span>  <a class="code" href="_error_8h.xhtml#a5bbdcf574d3f5e412fa6a1117911e67b">ARM_COMPUTE_ERROR_ON_MSG</a>(shape.total_size() == 0, <span class="stringliteral">"Cannot get index from empty shape"</span>);</div><div class="line"><a name="l00643"></a><span class="lineno"> 643</span>  <a class="code" href="_error_8h.xhtml#a5bbdcf574d3f5e412fa6a1117911e67b">ARM_COMPUTE_ERROR_ON_MSG</a>(coord.num_dimensions() == 0, <span class="stringliteral">"Cannot get index of empty coordinate"</span>);</div><div class="line"><a name="l00644"></a><span class="lineno"> 644</span> </div><div class="line"><a name="l00645"></a><span class="lineno"> 645</span>  <span class="keywordtype">int</span> index = 0;</div><div class="line"><a name="l00646"></a><span class="lineno"> 646</span>  <span class="keywordtype">int</span> dim_size = 1;</div><div class="line"><a name="l00647"></a><span class="lineno"> 647</span> </div><div class="line"><a name="l00648"></a><span class="lineno"> 648</span>  <span class="keywordflow">for</span>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i < coord.num_dimensions(); ++i)</div><div class="line"><a name="l00649"></a><span class="lineno"> 649</span>  {</div><div class="line"><a name="l00650"></a><span class="lineno"> 650</span>  index += coord[i] * dim_size;</div><div class="line"><a name="l00651"></a><span class="lineno"> 651</span>  dim_size *= shape[i];</div><div class="line"><a name="l00652"></a><span class="lineno"> 652</span>  }</div><div class="line"><a name="l00653"></a><span class="lineno"> 653</span> </div><div class="line"><a name="l00654"></a><span class="lineno"> 654</span>  <span class="keywordflow">return</span> index;</div><div class="line"><a name="l00655"></a><span class="lineno"> 655</span> }</div><div class="ttc" id="_error_8h_xhtml_a5bbdcf574d3f5e412fa6a1117911e67b"><div class="ttname"><a href="_error_8h.xhtml#a5bbdcf574d3f5e412fa6a1117911e67b">ARM_COMPUTE_ERROR_ON_MSG</a></div><div class="ttdeci">#define ARM_COMPUTE_ERROR_ON_MSG(cond,...)</div><div class="ttdef"><b>Definition:</b> <a href="_error_8h_source.xhtml#l00115">Error.h:115</a></div></div> |
| 536 | </div><!-- fragment --> |
| 537 | </div> |
| 538 | </div> |
| 539 | <a class="anchor" id="a1ebbb23b0094d47c51226d58e17e6447"></a> |
| 540 | <div class="memitem"> |
| 541 | <div class="memproto"> |
| 542 | <table class="mlabels"> |
| 543 | <tr> |
| 544 | <td class="mlabels-left"> |
| 545 | <table class="memname"> |
| 546 | <tr> |
| 547 | <td class="memname">T arm_compute::test::foldl </td> |
| 548 | <td>(</td> |
| 549 | <td class="paramtype">F && </td> |
| 550 | <td class="paramname">, </td> |
| 551 | </tr> |
| 552 | <tr> |
| 553 | <td class="paramkey"></td> |
| 554 | <td></td> |
| 555 | <td class="paramtype">const T & </td> |
| 556 | <td class="paramname"><em>value</em> </td> |
| 557 | </tr> |
| 558 | <tr> |
| 559 | <td></td> |
| 560 | <td>)</td> |
| 561 | <td></td><td></td> |
| 562 | </tr> |
| 563 | </table> |
| 564 | </td> |
| 565 | <td class="mlabels-right"> |
| 566 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 567 | </tr> |
| 568 | </table> |
| 569 | </div><div class="memdoc"> |
| 570 | |
| 571 | <p>Base case of foldl. </p> |
| 572 | <dl class="section return"><dt>Returns</dt><dd>value. </dd></dl> |
| 573 | |
| 574 | <p>Definition at line <a class="el" href="tests_2_utils_8h_source.xhtml#l00418">418</a> of file <a class="el" href="tests_2_utils_8h_source.xhtml">Utils.h</a>.</p> |
| 575 | |
| 576 | <p>Referenced by <a class="el" href="tests_2_utils_8h_source.xhtml#l00441">foldl()</a>.</p> |
| 577 | <div class="fragment"><div class="line"><a name="l00419"></a><span class="lineno"> 419</span> {</div><div class="line"><a name="l00420"></a><span class="lineno"> 420</span>  <span class="keywordflow">return</span> value;</div><div class="line"><a name="l00421"></a><span class="lineno"> 421</span> }</div></div><!-- fragment --> |
| 578 | </div> |
| 579 | </div> |
| 580 | <a class="anchor" id="ad933f996ccb22854ae56dd86de8cbbfe"></a> |
| 581 | <div class="memitem"> |
| 582 | <div class="memproto"> |
| 583 | <table class="mlabels"> |
| 584 | <tr> |
| 585 | <td class="mlabels-left"> |
| 586 | <table class="memname"> |
| 587 | <tr> |
| 588 | <td class="memname">auto arm_compute::test::foldl </td> |
| 589 | <td>(</td> |
| 590 | <td class="paramtype">F && </td> |
| 591 | <td class="paramname"><em>func</em>, </td> |
| 592 | </tr> |
| 593 | <tr> |
| 594 | <td class="paramkey"></td> |
| 595 | <td></td> |
| 596 | <td class="paramtype">T && </td> |
| 597 | <td class="paramname"><em>value1</em>, </td> |
| 598 | </tr> |
| 599 | <tr> |
| 600 | <td class="paramkey"></td> |
| 601 | <td></td> |
| 602 | <td class="paramtype">U && </td> |
| 603 | <td class="paramname"><em>value2</em> </td> |
| 604 | </tr> |
| 605 | <tr> |
| 606 | <td></td> |
| 607 | <td>)</td> |
| 608 | <td></td><td> -> decltype(func(value1, value2)) |
| 609 | </td> |
| 610 | </tr> |
| 611 | </table> |
| 612 | </td> |
| 613 | <td class="mlabels-right"> |
| 614 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 615 | </tr> |
| 616 | </table> |
| 617 | </div><div class="memdoc"> |
| 618 | |
| 619 | <p>Base case of foldl. </p> |
| 620 | <dl class="section return"><dt>Returns</dt><dd>func(value1, value2). </dd></dl> |
| 621 | |
| 622 | <p>Definition at line <a class="el" href="tests_2_utils_8h_source.xhtml#l00428">428</a> of file <a class="el" href="tests_2_utils_8h_source.xhtml">Utils.h</a>.</p> |
| 623 | <div class="fragment"><div class="line"><a name="l00429"></a><span class="lineno"> 429</span> {</div><div class="line"><a name="l00430"></a><span class="lineno"> 430</span>  <span class="keywordflow">return</span> func(value1, value2);</div><div class="line"><a name="l00431"></a><span class="lineno"> 431</span> }</div></div><!-- fragment --> |
| 624 | </div> |
| 625 | </div> |
| 626 | <a class="anchor" id="a89322cccde5e0a27d3a41085d3fd366c"></a> |
| 627 | <div class="memitem"> |
| 628 | <div class="memproto"> |
| 629 | <table class="mlabels"> |
| 630 | <tr> |
| 631 | <td class="mlabels-left"> |
| 632 | <table class="memname"> |
| 633 | <tr> |
| 634 | <td class="memname">I arm_compute::test::foldl </td> |
| 635 | <td>(</td> |
| 636 | <td class="paramtype">F && </td> |
| 637 | <td class="paramname"><em>func</em>, </td> |
| 638 | </tr> |
| 639 | <tr> |
| 640 | <td class="paramkey"></td> |
| 641 | <td></td> |
| 642 | <td class="paramtype">I && </td> |
| 643 | <td class="paramname"><em>initial</em>, </td> |
| 644 | </tr> |
| 645 | <tr> |
| 646 | <td class="paramkey"></td> |
| 647 | <td></td> |
| 648 | <td class="paramtype">T && </td> |
| 649 | <td class="paramname"><em>value</em>, </td> |
| 650 | </tr> |
| 651 | <tr> |
| 652 | <td class="paramkey"></td> |
| 653 | <td></td> |
| 654 | <td class="paramtype">Vs &&... </td> |
| 655 | <td class="paramname"><em>values</em> </td> |
| 656 | </tr> |
| 657 | <tr> |
| 658 | <td></td> |
| 659 | <td>)</td> |
| 660 | <td></td><td></td> |
| 661 | </tr> |
| 662 | </table> |
| 663 | </td> |
| 664 | <td class="mlabels-right"> |
| 665 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 666 | </tr> |
| 667 | </table> |
| 668 | </div><div class="memdoc"> |
| 669 | |
| 670 | <p>Fold left. </p> |
| 671 | <dl class="params"><dt>Parameters</dt><dd> |
| 672 | <table class="params"> |
| 673 | <tr><td class="paramdir">[in]</td><td class="paramname">func</td><td>Binary function to be called. </td></tr> |
| 674 | <tr><td class="paramdir">[in]</td><td class="paramname">initial</td><td>Initial value. </td></tr> |
| 675 | <tr><td class="paramdir">[in]</td><td class="paramname">value</td><td>Argument passed to the function. </td></tr> |
| 676 | <tr><td class="paramdir">[in]</td><td class="paramname">values</td><td>Remaining arguments. </td></tr> |
| 677 | </table> |
| 678 | </dd> |
| 679 | </dl> |
| 680 | |
| 681 | <p>Definition at line <a class="el" href="tests_2_utils_8h_source.xhtml#l00441">441</a> of file <a class="el" href="tests_2_utils_8h_source.xhtml">Utils.h</a>.</p> |
| 682 | |
| 683 | <p>References <a class="el" href="tests_2_utils_8h_source.xhtml#l00418">foldl()</a>.</p> |
| 684 | <div class="fragment"><div class="line"><a name="l00442"></a><span class="lineno"> 442</span> {</div><div class="line"><a name="l00443"></a><span class="lineno"> 443</span>  <span class="keywordflow">return</span> <a class="code" href="namespacearm__compute_1_1test.xhtml#a89322cccde5e0a27d3a41085d3fd366c">foldl</a>(std::forward<F>(func), func(std::forward<I>(initial), std::forward<T>(value)), std::forward<Vs>(values)...);</div><div class="line"><a name="l00444"></a><span class="lineno"> 444</span> }</div><div class="ttc" id="namespacearm__compute_1_1test_xhtml_a89322cccde5e0a27d3a41085d3fd366c"><div class="ttname"><a href="namespacearm__compute_1_1test.xhtml#a89322cccde5e0a27d3a41085d3fd366c">arm_compute::test::foldl</a></div><div class="ttdeci">I foldl(F &&func, I &&initial, T &&value, Vs &&...values)</div><div class="ttdoc">Fold left. </div><div class="ttdef"><b>Definition:</b> <a href="tests_2_utils_8h_source.xhtml#l00441">Utils.h:441</a></div></div> |
| 685 | </div><!-- fragment --> |
| 686 | </div> |
| 687 | </div> |
| 688 | <a class="anchor" id="ac7dbe33793790fc37a5eda11ed6b0273"></a> |
| 689 | <div class="memitem"> |
| 690 | <div class="memproto"> |
| 691 | <table class="mlabels"> |
| 692 | <tr> |
| 693 | <td class="mlabels-left"> |
| 694 | <table class="memname"> |
| 695 | <tr> |
| 696 | <td class="memname"><a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58">Format</a> arm_compute::test::get_channel_format </td> |
| 697 | <td>(</td> |
| 698 | <td class="paramtype"><a class="el" href="namespacearm__compute.xhtml#a1ce9b523fd4f3b5bbcadcd796183455a">Channel</a> </td> |
| 699 | <td class="paramname"><em>channel</em></td><td>)</td> |
| 700 | <td></td> |
| 701 | </tr> |
| 702 | </table> |
| 703 | </td> |
| 704 | <td class="mlabels-right"> |
| 705 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 706 | </tr> |
| 707 | </table> |
| 708 | </div><div class="memdoc"> |
| 709 | |
| 710 | <p>Return the format of a channel. </p> |
| 711 | <dl class="params"><dt>Parameters</dt><dd> |
| 712 | <table class="params"> |
| 713 | <tr><td class="paramdir">[in]</td><td class="paramname">channel</td><td>Channel type.</td></tr> |
| 714 | </table> |
| 715 | </dd> |
| 716 | </dl> |
| 717 | <dl class="section return"><dt>Returns</dt><dd>Format of the given channel. </dd></dl> |
| 718 | |
| 719 | <p>Definition at line <a class="el" href="tests_2_utils_8h_source.xhtml#l00400">400</a> of file <a class="el" href="tests_2_utils_8h_source.xhtml">Utils.h</a>.</p> |
| 720 | |
| 721 | <p>References <a class="el" href="namespacearm__compute.xhtml#a1ce9b523fd4f3b5bbcadcd796183455aa9d5ed678fe57bcca610140957afab571">arm_compute::B</a>, <a class="el" href="namespacearm__compute.xhtml#a1ce9b523fd4f3b5bbcadcd796183455aadfcf28d0734569a6a693bc8194de62bf">arm_compute::G</a>, <a class="el" href="namespacearm__compute.xhtml#a1ce9b523fd4f3b5bbcadcd796183455aae1e1d3d40573127e9ee0480caf1283d6">arm_compute::R</a>, and <a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a6669348b484e3008dca2bfa8e85e40b5">arm_compute::U8</a>.</p> |
| 722 | |
| 723 | <p>Referenced by <a class="el" href="_tensor_library_8cpp_source.xhtml#l00234">TensorLibrary::fill()</a>.</p> |
| 724 | <div class="fragment"><div class="line"><a name="l00401"></a><span class="lineno"> 401</span> {</div><div class="line"><a name="l00402"></a><span class="lineno"> 402</span>  <span class="keywordflow">switch</span>(channel)</div><div class="line"><a name="l00403"></a><span class="lineno"> 403</span>  {</div><div class="line"><a name="l00404"></a><span class="lineno"> 404</span>  <span class="keywordflow">case</span> Channel::R:</div><div class="line"><a name="l00405"></a><span class="lineno"> 405</span>  <span class="keywordflow">case</span> Channel::G:</div><div class="line"><a name="l00406"></a><span class="lineno"> 406</span>  <span class="keywordflow">case</span> Channel::B:</div><div class="line"><a name="l00407"></a><span class="lineno"> 407</span>  <span class="keywordflow">return</span> Format::U8;</div><div class="line"><a name="l00408"></a><span class="lineno"> 408</span>  <span class="keywordflow">default</span>:</div><div class="line"><a name="l00409"></a><span class="lineno"> 409</span>  <span class="keywordflow">throw</span> std::runtime_error(<span class="stringliteral">"Unsupported channel"</span>);</div><div class="line"><a name="l00410"></a><span class="lineno"> 410</span>  }</div><div class="line"><a name="l00411"></a><span class="lineno"> 411</span> }</div></div><!-- fragment --> |
| 725 | </div> |
| 726 | </div> |
| 727 | <a class="anchor" id="aa337ab76176f3c4193642ac6de3a61cf"></a> |
| 728 | <div class="memitem"> |
| 729 | <div class="memproto"> |
| 730 | <table class="mlabels"> |
| 731 | <tr> |
| 732 | <td class="mlabels-left"> |
| 733 | <table class="memname"> |
| 734 | <tr> |
| 735 | <td class="memname"><a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58">Format</a> arm_compute::test::get_format_for_channel </td> |
| 736 | <td>(</td> |
| 737 | <td class="paramtype"><a class="el" href="namespacearm__compute.xhtml#a1ce9b523fd4f3b5bbcadcd796183455a">Channel</a> </td> |
| 738 | <td class="paramname"><em>channel</em></td><td>)</td> |
| 739 | <td></td> |
| 740 | </tr> |
| 741 | </table> |
| 742 | </td> |
| 743 | <td class="mlabels-right"> |
| 744 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 745 | </tr> |
| 746 | </table> |
| 747 | </div><div class="memdoc"> |
| 748 | |
| 749 | <p>Look up the format corresponding to a channel. </p> |
| 750 | <dl class="params"><dt>Parameters</dt><dd> |
| 751 | <table class="params"> |
| 752 | <tr><td class="paramdir">[in]</td><td class="paramname">channel</td><td>Channel type.</td></tr> |
| 753 | </table> |
| 754 | </dd> |
| 755 | </dl> |
| 756 | <dl class="section return"><dt>Returns</dt><dd>Format that contains the given channel. </dd></dl> |
| 757 | |
| 758 | <p>Definition at line <a class="el" href="tests_2_utils_8h_source.xhtml#l00381">381</a> of file <a class="el" href="tests_2_utils_8h_source.xhtml">Utils.h</a>.</p> |
| 759 | |
| 760 | <p>References <a class="el" href="namespacearm__compute.xhtml#a1ce9b523fd4f3b5bbcadcd796183455aa9d5ed678fe57bcca610140957afab571">arm_compute::B</a>, <a class="el" href="namespacearm__compute.xhtml#a1ce9b523fd4f3b5bbcadcd796183455aadfcf28d0734569a6a693bc8194de62bf">arm_compute::G</a>, <a class="el" href="namespacearm__compute.xhtml#a1ce9b523fd4f3b5bbcadcd796183455aae1e1d3d40573127e9ee0480caf1283d6">arm_compute::R</a>, and <a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a30ff380a3be74628024063a99fba10f0">arm_compute::RGB888</a>.</p> |
| 761 | |
| 762 | <p>Referenced by <a class="el" href="_tensor_library_8cpp_source.xhtml#l00229">TensorLibrary::fill()</a>, and <a class="el" href="_tensor_library_8cpp_source.xhtml#l00450">TensorLibrary::get()</a>.</p> |
| 763 | <div class="fragment"><div class="line"><a name="l00382"></a><span class="lineno"> 382</span> {</div><div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  <span class="keywordflow">switch</span>(channel)</div><div class="line"><a name="l00384"></a><span class="lineno"> 384</span>  {</div><div class="line"><a name="l00385"></a><span class="lineno"> 385</span>  <span class="keywordflow">case</span> Channel::R:</div><div class="line"><a name="l00386"></a><span class="lineno"> 386</span>  <span class="keywordflow">case</span> Channel::G:</div><div class="line"><a name="l00387"></a><span class="lineno"> 387</span>  <span class="keywordflow">case</span> Channel::B:</div><div class="line"><a name="l00388"></a><span class="lineno"> 388</span>  <span class="keywordflow">return</span> Format::RGB888;</div><div class="line"><a name="l00389"></a><span class="lineno"> 389</span>  <span class="keywordflow">default</span>:</div><div class="line"><a name="l00390"></a><span class="lineno"> 390</span>  <span class="keywordflow">throw</span> std::runtime_error(<span class="stringliteral">"Unsupported channel"</span>);</div><div class="line"><a name="l00391"></a><span class="lineno"> 391</span>  }</div><div class="line"><a name="l00392"></a><span class="lineno"> 392</span> }</div></div><!-- fragment --> |
| 764 | </div> |
| 765 | </div> |
| 766 | <a class="anchor" id="a24d8c0391cfa38e78969b6ad97c0ff09"></a> |
| 767 | <div class="memitem"> |
| 768 | <div class="memproto"> |
| 769 | <table class="mlabels"> |
| 770 | <tr> |
| 771 | <td class="mlabels-left"> |
| 772 | <table class="memname"> |
| 773 | <tr> |
| 774 | <td class="memname"><a class="el" href="classarm__compute_1_1_coordinates.xhtml">Coordinates</a> arm_compute::test::index2coord </td> |
| 775 | <td>(</td> |
| 776 | <td class="paramtype">const <a class="el" href="classarm__compute_1_1_tensor_shape.xhtml">TensorShape</a> & </td> |
| 777 | <td class="paramname"><em>shape</em>, </td> |
| 778 | </tr> |
| 779 | <tr> |
| 780 | <td class="paramkey"></td> |
| 781 | <td></td> |
| 782 | <td class="paramtype">int </td> |
| 783 | <td class="paramname"><em>index</em> </td> |
| 784 | </tr> |
| 785 | <tr> |
| 786 | <td></td> |
| 787 | <td>)</td> |
| 788 | <td></td><td></td> |
| 789 | </tr> |
| 790 | </table> |
| 791 | </td> |
| 792 | <td class="mlabels-right"> |
| 793 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 794 | </tr> |
| 795 | </table> |
| 796 | </div><div class="memdoc"> |
| 797 | |
| 798 | <p>Convert a linear index into n-dimensional coordinates. </p> |
| 799 | <dl class="params"><dt>Parameters</dt><dd> |
| 800 | <table class="params"> |
| 801 | <tr><td class="paramdir">[in]</td><td class="paramname">shape</td><td>Shape of the n-dimensional tensor. </td></tr> |
| 802 | <tr><td class="paramdir">[in]</td><td class="paramname">index</td><td>Linear index specifying the i-th element.</td></tr> |
| 803 | </table> |
| 804 | </dd> |
| 805 | </dl> |
| 806 | <dl class="section return"><dt>Returns</dt><dd>n-dimensional coordinates. </dd></dl> |
| 807 | |
| 808 | <p>Definition at line <a class="el" href="tests_2_utils_8h_source.xhtml#l00611">611</a> of file <a class="el" href="tests_2_utils_8h_source.xhtml">Utils.h</a>.</p> |
| 809 | |
| 810 | <p>References <a class="el" href="_error_8h_source.xhtml#l00115">ARM_COMPUTE_ERROR_ON_MSG</a>, <a class="el" href="_dimensions_8h_source.xhtml#l00109">Dimensions< T >::num_dimensions()</a>, <a class="el" href="_tensor_shape_8h_source.xhtml#l00074">TensorShape::set()</a>, and <a class="el" href="_tensor_shape_8h_source.xhtml#l00106">TensorShape::total_size()</a>.</p> |
| 811 | |
| 812 | <p>Referenced by <a class="el" href="_tensor_operations_8h_source.xhtml#l00397">arm_compute::test::validation::tensor_operations::box3x3()</a>, <a class="el" href="_tensor_library_8h_source.xhtml#l00401">TensorLibrary::fill()</a>, and <a class="el" href="_validation_8cpp_source.xhtml#l00196">arm_compute::test::validation::validate()</a>.</p> |
| 813 | <div class="fragment"><div class="line"><a name="l00612"></a><span class="lineno"> 612</span> {</div><div class="line"><a name="l00613"></a><span class="lineno"> 613</span>  <span class="keywordtype">int</span> num_elements = shape.total_size();</div><div class="line"><a name="l00614"></a><span class="lineno"> 614</span> </div><div class="line"><a name="l00615"></a><span class="lineno"> 615</span>  <a class="code" href="_error_8h.xhtml#a5bbdcf574d3f5e412fa6a1117911e67b">ARM_COMPUTE_ERROR_ON_MSG</a>(index < 0 || index >= num_elements, <span class="stringliteral">"Index has to be in [0, num_elements]"</span>);</div><div class="line"><a name="l00616"></a><span class="lineno"> 616</span>  <a class="code" href="_error_8h.xhtml#a5bbdcf574d3f5e412fa6a1117911e67b">ARM_COMPUTE_ERROR_ON_MSG</a>(num_elements == 0, <span class="stringliteral">"Cannot create coordinate from empty shape"</span>);</div><div class="line"><a name="l00617"></a><span class="lineno"> 617</span> </div><div class="line"><a name="l00618"></a><span class="lineno"> 618</span>  Coordinates coord{ 0 };</div><div class="line"><a name="l00619"></a><span class="lineno"> 619</span> </div><div class="line"><a name="l00620"></a><span class="lineno"> 620</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> d = shape.num_dimensions() - 1; d >= 0; --d)</div><div class="line"><a name="l00621"></a><span class="lineno"> 621</span>  {</div><div class="line"><a name="l00622"></a><span class="lineno"> 622</span>  num_elements /= shape[d];</div><div class="line"><a name="l00623"></a><span class="lineno"> 623</span>  coord.set(d, index / num_elements);</div><div class="line"><a name="l00624"></a><span class="lineno"> 624</span>  index %= num_elements;</div><div class="line"><a name="l00625"></a><span class="lineno"> 625</span>  }</div><div class="line"><a name="l00626"></a><span class="lineno"> 626</span> </div><div class="line"><a name="l00627"></a><span class="lineno"> 627</span>  <span class="keywordflow">return</span> coord;</div><div class="line"><a name="l00628"></a><span class="lineno"> 628</span> }</div><div class="ttc" id="_error_8h_xhtml_a5bbdcf574d3f5e412fa6a1117911e67b"><div class="ttname"><a href="_error_8h.xhtml#a5bbdcf574d3f5e412fa6a1117911e67b">ARM_COMPUTE_ERROR_ON_MSG</a></div><div class="ttdeci">#define ARM_COMPUTE_ERROR_ON_MSG(cond,...)</div><div class="ttdef"><b>Definition:</b> <a href="_error_8h_source.xhtml#l00115">Error.h:115</a></div></div> |
| 814 | </div><!-- fragment --> |
| 815 | </div> |
| 816 | </div> |
| 817 | <a class="anchor" id="a58ee979a599b3b6a2587964106b1910c"></a> |
| 818 | <div class="memitem"> |
| 819 | <div class="memproto"> |
| 820 | <table class="mlabels"> |
| 821 | <tr> |
| 822 | <td class="mlabels-left"> |
| 823 | <table class="memname"> |
| 824 | <tr> |
| 825 | <td class="memname">bool arm_compute::test::is_in_valid_region </td> |
| 826 | <td>(</td> |
| 827 | <td class="paramtype">const <a class="el" href="structarm__compute_1_1_valid_region.xhtml">ValidRegion</a> & </td> |
| 828 | <td class="paramname"><em>valid_region</em>, </td> |
| 829 | </tr> |
| 830 | <tr> |
| 831 | <td class="paramkey"></td> |
| 832 | <td></td> |
| 833 | <td class="paramtype">const <a class="el" href="classarm__compute_1_1_coordinates.xhtml">Coordinates</a> & </td> |
| 834 | <td class="paramname"><em>coord</em> </td> |
| 835 | </tr> |
| 836 | <tr> |
| 837 | <td></td> |
| 838 | <td>)</td> |
| 839 | <td></td><td></td> |
| 840 | </tr> |
| 841 | </table> |
| 842 | </td> |
| 843 | <td class="mlabels-right"> |
| 844 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 845 | </tr> |
| 846 | </table> |
| 847 | </div><div class="memdoc"> |
| 848 | |
| 849 | <p>Check if a coordinate is within a valid region. </p> |
| 850 | |
| 851 | <p>Definition at line <a class="el" href="tests_2_utils_8h_source.xhtml#l00658">658</a> of file <a class="el" href="tests_2_utils_8h_source.xhtml">Utils.h</a>.</p> |
| 852 | |
| 853 | <p>References <a class="el" href="_error_8h_source.xhtml#l00115">ARM_COMPUTE_ERROR_ON_MSG</a>, <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l00113">ValidRegion::end()</a>, <a class="el" href="_dimensions_8h_source.xhtml#l00109">Dimensions< T >::num_dimensions()</a>, <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l00119">ValidRegion::shape</a>, and <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l00107">ValidRegion::start()</a>.</p> |
| 854 | |
| 855 | <p>Referenced by <a class="el" href="_tensor_operations_8h_source.xhtml#l00397">arm_compute::test::validation::tensor_operations::box3x3()</a>, and <a class="el" href="_validation_8cpp_source.xhtml#l00196">arm_compute::test::validation::validate()</a>.</p> |
| 856 | <div class="fragment"><div class="line"><a name="l00659"></a><span class="lineno"> 659</span> {</div><div class="line"><a name="l00660"></a><span class="lineno"> 660</span>  <a class="code" href="_error_8h.xhtml#a5bbdcf574d3f5e412fa6a1117911e67b">ARM_COMPUTE_ERROR_ON_MSG</a>(valid_region.shape.num_dimensions() != coord.num_dimensions(), <span class="stringliteral">"Shapes of valid region and coordinates do not agree"</span>);</div><div class="line"><a name="l00661"></a><span class="lineno"> 661</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> d = 0; <span class="keyword">static_cast<</span><span class="keywordtype">size_t</span><span class="keyword">></span>(d) < coord.num_dimensions(); ++d)</div><div class="line"><a name="l00662"></a><span class="lineno"> 662</span>  {</div><div class="line"><a name="l00663"></a><span class="lineno"> 663</span>  <span class="keywordflow">if</span>(coord[d] < valid_region.start(d) || coord[d] >= valid_region.end(d))</div><div class="line"><a name="l00664"></a><span class="lineno"> 664</span>  {</div><div class="line"><a name="l00665"></a><span class="lineno"> 665</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00666"></a><span class="lineno"> 666</span>  }</div><div class="line"><a name="l00667"></a><span class="lineno"> 667</span>  }</div><div class="line"><a name="l00668"></a><span class="lineno"> 668</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00669"></a><span class="lineno"> 669</span> }</div><div class="ttc" id="_error_8h_xhtml_a5bbdcf574d3f5e412fa6a1117911e67b"><div class="ttname"><a href="_error_8h.xhtml#a5bbdcf574d3f5e412fa6a1117911e67b">ARM_COMPUTE_ERROR_ON_MSG</a></div><div class="ttdeci">#define ARM_COMPUTE_ERROR_ON_MSG(cond,...)</div><div class="ttdef"><b>Definition:</b> <a href="_error_8h_source.xhtml#l00115">Error.h:115</a></div></div> |
| 857 | </div><!-- fragment --> |
| 858 | </div> |
| 859 | </div> |
| 860 | <a class="anchor" id="a356470553f2afd5673a41cf4da48e33b"></a> |
| 861 | <div class="memitem"> |
| 862 | <div class="memproto"> |
| 863 | <table class="mlabels"> |
| 864 | <tr> |
| 865 | <td class="mlabels-left"> |
| 866 | <table class="memname"> |
| 867 | <tr> |
| 868 | <td class="memname">int arm_compute::test::required_padding </td> |
| 869 | <td>(</td> |
| 870 | <td class="paramtype">int </td> |
| 871 | <td class="paramname"><em>size</em>, </td> |
| 872 | </tr> |
| 873 | <tr> |
| 874 | <td class="paramkey"></td> |
| 875 | <td></td> |
| 876 | <td class="paramtype">int </td> |
| 877 | <td class="paramname"><em>step</em> </td> |
| 878 | </tr> |
| 879 | <tr> |
| 880 | <td></td> |
| 881 | <td>)</td> |
| 882 | <td></td><td></td> |
| 883 | </tr> |
| 884 | </table> |
| 885 | </td> |
| 886 | <td class="mlabels-right"> |
| 887 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 888 | </tr> |
| 889 | </table> |
| 890 | </div><div class="memdoc"> |
| 891 | |
| 892 | <p>Calculate the required padding given the available <code>size</code> and the required. </p> |
| 893 | <p><code>step</code>.</p> |
| 894 | <dl class="params"><dt>Parameters</dt><dd> |
| 895 | <table class="params"> |
| 896 | <tr><td class="paramdir">[in]</td><td class="paramname">size</td><td>Available size. </td></tr> |
| 897 | <tr><td class="paramdir">[in]</td><td class="paramname">step</td><td>Required step size.</td></tr> |
| 898 | </table> |
| 899 | </dd> |
| 900 | </dl> |
| 901 | <dl class="section return"><dt>Returns</dt><dd>Difference between next greater multiple of <code>step</code> and <code>size</code>. </dd></dl> |
| 902 | |
| 903 | <p>Definition at line <a class="el" href="tests_2_utils_8h_source.xhtml#l00486">486</a> of file <a class="el" href="tests_2_utils_8h_source.xhtml">Utils.h</a>.</p> |
| 904 | |
| 905 | <p>Referenced by <a class="el" href="tests_2_utils_8h_source.xhtml#l00512">required_padding_undefined_border_read()</a>, and <a class="el" href="tests_2_utils_8h_source.xhtml#l00499">required_padding_undefined_border_write()</a>.</p> |
| 906 | <div class="fragment"><div class="line"><a name="l00487"></a><span class="lineno"> 487</span> {</div><div class="line"><a name="l00488"></a><span class="lineno"> 488</span>  <span class="keywordflow">return</span> ((size + step - 1) / step) * step - size;</div><div class="line"><a name="l00489"></a><span class="lineno"> 489</span> }</div></div><!-- fragment --> |
| 907 | </div> |
| 908 | </div> |
| 909 | <a class="anchor" id="aaaa9677420848c94f3a8fd0c3bb0d1fc"></a> |
| 910 | <div class="memitem"> |
| 911 | <div class="memproto"> |
| 912 | <table class="mlabels"> |
| 913 | <tr> |
| 914 | <td class="mlabels-left"> |
| 915 | <table class="memname"> |
| 916 | <tr> |
| 917 | <td class="memname">int arm_compute::test::required_padding_undefined_border_read </td> |
| 918 | <td>(</td> |
| 919 | <td class="paramtype">int </td> |
| 920 | <td class="paramname"><em>size</em>, </td> |
| 921 | </tr> |
| 922 | <tr> |
| 923 | <td class="paramkey"></td> |
| 924 | <td></td> |
| 925 | <td class="paramtype">int </td> |
| 926 | <td class="paramname"><em>read_step</em>, </td> |
| 927 | </tr> |
| 928 | <tr> |
| 929 | <td class="paramkey"></td> |
| 930 | <td></td> |
| 931 | <td class="paramtype">int </td> |
| 932 | <td class="paramname"><em>process_step</em> </td> |
| 933 | </tr> |
| 934 | <tr> |
| 935 | <td></td> |
| 936 | <td>)</td> |
| 937 | <td></td><td></td> |
| 938 | </tr> |
| 939 | </table> |
| 940 | </td> |
| 941 | <td class="mlabels-right"> |
| 942 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 943 | </tr> |
| 944 | </table> |
| 945 | </div><div class="memdoc"> |
| 946 | |
| 947 | <p>Calculate the required padding for reading operation with UNDEFINED border mode. </p> |
| 948 | <dl class="params"><dt>Parameters</dt><dd> |
| 949 | <table class="params"> |
| 950 | <tr><td class="paramdir">[in]</td><td class="paramname">size</td><td>Available size. </td></tr> |
| 951 | <tr><td class="paramdir">[in]</td><td class="paramname">read_step</td><td>Required step size; number of elements to read at each iteration. </td></tr> |
| 952 | <tr><td class="paramdir">[in]</td><td class="paramname">process_step</td><td>Required step size; number of elements to process at each iteration.</td></tr> |
| 953 | </table> |
| 954 | </dd> |
| 955 | </dl> |
| 956 | <dl class="section return"><dt>Returns</dt><dd>Required padding size. </dd></dl> |
| 957 | |
| 958 | <p>Definition at line <a class="el" href="tests_2_utils_8h_source.xhtml#l00512">512</a> of file <a class="el" href="tests_2_utils_8h_source.xhtml">Utils.h</a>.</p> |
| 959 | |
| 960 | <p>References <a class="el" href="tests_2_utils_8h_source.xhtml#l00486">required_padding()</a>.</p> |
| 961 | <div class="fragment"><div class="line"><a name="l00513"></a><span class="lineno"> 513</span> {</div><div class="line"><a name="l00514"></a><span class="lineno"> 514</span>  <span class="keywordflow">return</span> <a class="code" href="namespacearm__compute_1_1test.xhtml#a356470553f2afd5673a41cf4da48e33b">required_padding</a>(size, process_step) + read_step - process_step;</div><div class="line"><a name="l00515"></a><span class="lineno"> 515</span> }</div><div class="ttc" id="namespacearm__compute_1_1test_xhtml_a356470553f2afd5673a41cf4da48e33b"><div class="ttname"><a href="namespacearm__compute_1_1test.xhtml#a356470553f2afd5673a41cf4da48e33b">arm_compute::test::required_padding</a></div><div class="ttdeci">int required_padding(int size, int step)</div><div class="ttdoc">Calculate the required padding given the available size and the required. </div><div class="ttdef"><b>Definition:</b> <a href="tests_2_utils_8h_source.xhtml#l00486">Utils.h:486</a></div></div> |
| 962 | </div><!-- fragment --> |
| 963 | </div> |
| 964 | </div> |
| 965 | <a class="anchor" id="a08e86555c8b4d8ae148173d0bda4552f"></a> |
| 966 | <div class="memitem"> |
| 967 | <div class="memproto"> |
| 968 | <table class="mlabels"> |
| 969 | <tr> |
| 970 | <td class="mlabels-left"> |
| 971 | <table class="memname"> |
| 972 | <tr> |
| 973 | <td class="memname">int arm_compute::test::required_padding_undefined_border_write </td> |
| 974 | <td>(</td> |
| 975 | <td class="paramtype">int </td> |
| 976 | <td class="paramname"><em>size</em>, </td> |
| 977 | </tr> |
| 978 | <tr> |
| 979 | <td class="paramkey"></td> |
| 980 | <td></td> |
| 981 | <td class="paramtype">int </td> |
| 982 | <td class="paramname"><em>step</em>, </td> |
| 983 | </tr> |
| 984 | <tr> |
| 985 | <td class="paramkey"></td> |
| 986 | <td></td> |
| 987 | <td class="paramtype">int </td> |
| 988 | <td class="paramname"><em>border_size</em> </td> |
| 989 | </tr> |
| 990 | <tr> |
| 991 | <td></td> |
| 992 | <td>)</td> |
| 993 | <td></td><td></td> |
| 994 | </tr> |
| 995 | </table> |
| 996 | </td> |
| 997 | <td class="mlabels-right"> |
| 998 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 999 | </tr> |
| 1000 | </table> |
| 1001 | </div><div class="memdoc"> |
| 1002 | |
| 1003 | <p>Calculate the required padding for writing operation with UNDEFINED border mode. </p> |
| 1004 | <dl class="params"><dt>Parameters</dt><dd> |
| 1005 | <table class="params"> |
| 1006 | <tr><td class="paramdir">[in]</td><td class="paramname">size</td><td>Available size. </td></tr> |
| 1007 | <tr><td class="paramdir">[in]</td><td class="paramname">step</td><td>Required step size; number of elements to write at each iteration. </td></tr> |
| 1008 | <tr><td class="paramdir">[in]</td><td class="paramname">border_size</td><td>Border size.</td></tr> |
| 1009 | </table> |
| 1010 | </dd> |
| 1011 | </dl> |
| 1012 | <dl class="section return"><dt>Returns</dt><dd>Required padding size plus border size. </dd></dl> |
| 1013 | |
| 1014 | <p>Definition at line <a class="el" href="tests_2_utils_8h_source.xhtml#l00499">499</a> of file <a class="el" href="tests_2_utils_8h_source.xhtml">Utils.h</a>.</p> |
| 1015 | |
| 1016 | <p>References <a class="el" href="tests_2_utils_8h_source.xhtml#l00486">required_padding()</a>.</p> |
| 1017 | <div class="fragment"><div class="line"><a name="l00500"></a><span class="lineno"> 500</span> {</div><div class="line"><a name="l00501"></a><span class="lineno"> 501</span>  <span class="keywordflow">return</span> <a class="code" href="namespacearm__compute_1_1test.xhtml#a356470553f2afd5673a41cf4da48e33b">required_padding</a>(size, step) + border_size;</div><div class="line"><a name="l00502"></a><span class="lineno"> 502</span> }</div><div class="ttc" id="namespacearm__compute_1_1test_xhtml_a356470553f2afd5673a41cf4da48e33b"><div class="ttname"><a href="namespacearm__compute_1_1test.xhtml#a356470553f2afd5673a41cf4da48e33b">arm_compute::test::required_padding</a></div><div class="ttdeci">int required_padding(int size, int step)</div><div class="ttdoc">Calculate the required padding given the available size and the required. </div><div class="ttdef"><b>Definition:</b> <a href="tests_2_utils_8h_source.xhtml#l00486">Utils.h:486</a></div></div> |
| 1018 | </div><!-- fragment --> |
| 1019 | </div> |
| 1020 | </div> |
| 1021 | <a class="anchor" id="a4965b2f6821e0cf0afee738158bd8377"></a> |
| 1022 | <div class="memitem"> |
| 1023 | <div class="memproto"> |
| 1024 | <table class="memname"> |
| 1025 | <tr> |
| 1026 | <td class="memname">T arm_compute::test::saturate_cast </td> |
| 1027 | <td>(</td> |
| 1028 | <td class="paramtype">T </td> |
| 1029 | <td class="paramname"><em>val</em></td><td>)</td> |
| 1030 | <td></td> |
| 1031 | </tr> |
| 1032 | </table> |
| 1033 | </div><div class="memdoc"> |
| 1034 | |
| 1035 | <p>Saturate a value of type T against the numeric limits of type U. </p> |
| 1036 | <dl class="params"><dt>Parameters</dt><dd> |
| 1037 | <table class="params"> |
| 1038 | <tr><td class="paramdir">[in]</td><td class="paramname">val</td><td>Value to be saturated.</td></tr> |
| 1039 | </table> |
| 1040 | </dd> |
| 1041 | </dl> |
| 1042 | <dl class="section return"><dt>Returns</dt><dd>saturated value. </dd></dl> |
| 1043 | |
| 1044 | <p>Definition at line <a class="el" href="tests_2_utils_8h_source.xhtml#l00581">581</a> of file <a class="el" href="tests_2_utils_8h_source.xhtml">Utils.h</a>.</p> |
| 1045 | |
| 1046 | <p>References <a class="el" href="tests_2validation_2_fixed_point_8h_source.xhtml#l00880">arm_compute::test::fixed_point_arithmetic::detail::max()</a>.</p> |
| 1047 | |
| 1048 | <p>Referenced by <a class="el" href="_tensor_operations_8h_source.xhtml#l00270">arm_compute::test::validation::tensor_operations::absolute_difference()</a>, <a class="el" href="_tensor_operations_8h_source.xhtml#l00283">arm_compute::test::validation::tensor_operations::accumulate()</a>, and <a class="el" href="_tensor_operations_8h_source.xhtml#l00296">arm_compute::test::validation::tensor_operations::accumulate_squared()</a>.</p> |
| 1049 | <div class="fragment"><div class="line"><a name="l00582"></a><span class="lineno"> 582</span> {</div><div class="line"><a name="l00583"></a><span class="lineno"> 583</span>  <span class="keywordflow">if</span>(val > static_cast<T>(<a class="code" href="namespacearm__compute_1_1test_1_1fixed__point__arithmetic_1_1detail.xhtml#ad91bb73431b4de1f4946ed949d444849">std::numeric_limits<U>::max</a>()))</div><div class="line"><a name="l00584"></a><span class="lineno"> 584</span>  {</div><div class="line"><a name="l00585"></a><span class="lineno"> 585</span>  val = <span class="keyword">static_cast<</span>T<span class="keyword">></span>(<a class="code" href="namespacearm__compute_1_1test_1_1fixed__point__arithmetic_1_1detail.xhtml#ad91bb73431b4de1f4946ed949d444849">std::numeric_limits<U>::max</a>());</div><div class="line"><a name="l00586"></a><span class="lineno"> 586</span>  }</div><div class="line"><a name="l00587"></a><span class="lineno"> 587</span>  <span class="keywordflow">if</span>(val < static_cast<T>(std::numeric_limits<U>::lowest()))</div><div class="line"><a name="l00588"></a><span class="lineno"> 588</span>  {</div><div class="line"><a name="l00589"></a><span class="lineno"> 589</span>  val = <span class="keyword">static_cast<</span>T<span class="keyword">></span>(std::numeric_limits<U>::lowest());</div><div class="line"><a name="l00590"></a><span class="lineno"> 590</span>  }</div><div class="line"><a name="l00591"></a><span class="lineno"> 591</span>  <span class="keywordflow">return</span> val;</div><div class="line"><a name="l00592"></a><span class="lineno"> 592</span> }</div><div class="ttc" id="namespacearm__compute_1_1test_1_1fixed__point__arithmetic_1_1detail_xhtml_ad91bb73431b4de1f4946ed949d444849"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1fixed__point__arithmetic_1_1detail.xhtml#ad91bb73431b4de1f4946ed949d444849">arm_compute::test::fixed_point_arithmetic::detail::max</a></div><div class="ttdeci">fixed_point< T > max(fixed_point< T > x, fixed_point< T > y)</div><div class="ttdef"><b>Definition:</b> <a href="tests_2validation_2_fixed_point_8h_source.xhtml#l00880">FixedPoint.h:880</a></div></div> |
| 1050 | </div><!-- fragment --> |
| 1051 | </div> |
| 1052 | </div> |
| 1053 | <a class="anchor" id="a670cba074b4be0bf9af03e48250bd616"></a> |
| 1054 | <div class="memitem"> |
| 1055 | <div class="memproto"> |
| 1056 | <table class="mlabels"> |
| 1057 | <tr> |
| 1058 | <td class="mlabels-left"> |
| 1059 | <table class="memname"> |
| 1060 | <tr> |
| 1061 | <td class="memname"><a class="el" href="structarm__compute_1_1_valid_region.xhtml">ValidRegion</a> arm_compute::test::shape_to_valid_region </td> |
| 1062 | <td>(</td> |
| 1063 | <td class="paramtype"><a class="el" href="classarm__compute_1_1_tensor_shape.xhtml">TensorShape</a> </td> |
| 1064 | <td class="paramname"><em>shape</em></td><td>)</td> |
| 1065 | <td></td> |
| 1066 | </tr> |
| 1067 | </table> |
| 1068 | </td> |
| 1069 | <td class="mlabels-right"> |
| 1070 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 1071 | </tr> |
| 1072 | </table> |
| 1073 | </div><div class="memdoc"> |
| 1074 | |
| 1075 | <p>Create a valid region covering the enitre tensor shape. </p> |
| 1076 | <dl class="params"><dt>Parameters</dt><dd> |
| 1077 | <table class="params"> |
| 1078 | <tr><td class="paramdir">[in]</td><td class="paramname">shape</td><td>Shape used as size of the valid region.</td></tr> |
| 1079 | </table> |
| 1080 | </dd> |
| 1081 | </dl> |
| 1082 | <dl class="section return"><dt>Returns</dt><dd>A valid region starting at (0, 0, ...) with size of <code>shape</code>. </dd></dl> |
| 1083 | |
| 1084 | <p>Definition at line <a class="el" href="tests_2_utils_8h_source.xhtml#l00452">452</a> of file <a class="el" href="tests_2_utils_8h_source.xhtml">Utils.h</a>.</p> |
| 1085 | |
| 1086 | <p>References <a class="el" href="_dimensions_8h_source.xhtml#l00109">Dimensions< T >::num_dimensions()</a>, and <a class="el" href="_dimensions_8h_source.xhtml#l00074">Dimensions< T >::set()</a>.</p> |
| 1087 | |
| 1088 | <p>Referenced by <a class="el" href="_validation_8cpp_source.xhtml#l00190">arm_compute::test::validation::validate()</a>.</p> |
| 1089 | <div class="fragment"><div class="line"><a name="l00453"></a><span class="lineno"> 453</span> {</div><div class="line"><a name="l00454"></a><span class="lineno"> 454</span>  Coordinates anchor;</div><div class="line"><a name="l00455"></a><span class="lineno"> 455</span>  anchor.set(std::max<int>(0, shape.num_dimensions() - 1), 0);</div><div class="line"><a name="l00456"></a><span class="lineno"> 456</span>  <span class="keywordflow">return</span> ValidRegion(std::move(anchor), std::move(shape));</div><div class="line"><a name="l00457"></a><span class="lineno"> 457</span> }</div></div><!-- fragment --> |
| 1090 | </div> |
| 1091 | </div> |
| 1092 | <a class="anchor" id="a6b97d7bba7b5cee833eb5c2282e8d246"></a> |
| 1093 | <div class="memitem"> |
| 1094 | <div class="memproto"> |
| 1095 | <table class="mlabels"> |
| 1096 | <tr> |
| 1097 | <td class="mlabels-left"> |
| 1098 | <table class="memname"> |
| 1099 | <tr> |
| 1100 | <td class="memname"><a class="el" href="structarm__compute_1_1_valid_region.xhtml">ValidRegion</a> arm_compute::test::shape_to_valid_region_undefined_border </td> |
| 1101 | <td>(</td> |
| 1102 | <td class="paramtype"><a class="el" href="classarm__compute_1_1_tensor_shape.xhtml">TensorShape</a> </td> |
| 1103 | <td class="paramname"><em>shape</em>, </td> |
| 1104 | </tr> |
| 1105 | <tr> |
| 1106 | <td class="paramkey"></td> |
| 1107 | <td></td> |
| 1108 | <td class="paramtype"><a class="el" href="structarm__compute_1_1_border_size.xhtml">BorderSize</a> </td> |
| 1109 | <td class="paramname"><em>border_size</em> </td> |
| 1110 | </tr> |
| 1111 | <tr> |
| 1112 | <td></td> |
| 1113 | <td>)</td> |
| 1114 | <td></td><td></td> |
| 1115 | </tr> |
| 1116 | </table> |
| 1117 | </td> |
| 1118 | <td class="mlabels-right"> |
| 1119 | <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| 1120 | </tr> |
| 1121 | </table> |
| 1122 | </div><div class="memdoc"> |
| 1123 | |
| 1124 | <p>Create a valid region covering the tensor shape with UNDEFINED border mode and specified border size. </p> |
| 1125 | <dl class="params"><dt>Parameters</dt><dd> |
| 1126 | <table class="params"> |
| 1127 | <tr><td class="paramdir">[in]</td><td class="paramname">shape</td><td>Shape used as size of the valid region. </td></tr> |
| 1128 | <tr><td class="paramdir">[in]</td><td class="paramname">border_size</td><td>Border size used to specify the region to exclude.</td></tr> |
| 1129 | </table> |
| 1130 | </dd> |
| 1131 | </dl> |
| 1132 | <dl class="section return"><dt>Returns</dt><dd>A valid region starting at (<code>border_size.left</code>, <code>border_size.top</code>, ...) with reduced size of <code>shape</code>. </dd></dl> |
| 1133 | |
| 1134 | <p>Definition at line <a class="el" href="tests_2_utils_8h_source.xhtml#l00466">466</a> of file <a class="el" href="tests_2_utils_8h_source.xhtml">Utils.h</a>.</p> |
| 1135 | |
| 1136 | <p>References <a class="el" href="_error_8h_source.xhtml#l00124">ARM_COMPUTE_ERROR_ON</a>, <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l00197">BorderSize::bottom</a>, <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l00198">BorderSize::left</a>, <a class="el" href="_dimensions_8h_source.xhtml#l00109">Dimensions< T >::num_dimensions()</a>, <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l00196">BorderSize::right</a>, <a class="el" href="_tensor_shape_8h_source.xhtml#l00074">TensorShape::set()</a>, <a class="el" href="_dimensions_8h_source.xhtml#l00074">Dimensions< T >::set()</a>, <a class="el" href="arm__compute_2core_2_types_8h_source.xhtml#l00195">BorderSize::top</a>, <a class="el" href="_dimensions_8h_source.xhtml#l00081">Dimensions< T >::x()</a>, and <a class="el" href="_dimensions_8h_source.xhtml#l00086">Dimensions< T >::y()</a>.</p> |
| 1137 | |
| 1138 | <p>Referenced by <a class="el" href="_tensor_operations_8h_source.xhtml#l00397">arm_compute::test::validation::tensor_operations::box3x3()</a>.</p> |
| 1139 | <div class="fragment"><div class="line"><a name="l00467"></a><span class="lineno"> 467</span> {</div><div class="line"><a name="l00468"></a><span class="lineno"> 468</span>  <a class="code" href="_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a>(shape.num_dimensions() < 2);</div><div class="line"><a name="l00469"></a><span class="lineno"> 469</span>  Coordinates anchor;</div><div class="line"><a name="l00470"></a><span class="lineno"> 470</span>  anchor.set(std::max<int>(0, shape.num_dimensions() - 1), 0);</div><div class="line"><a name="l00471"></a><span class="lineno"> 471</span>  anchor.set(0, border_size.left);</div><div class="line"><a name="l00472"></a><span class="lineno"> 472</span>  anchor.set(1, border_size.top);</div><div class="line"><a name="l00473"></a><span class="lineno"> 473</span>  shape.set(0, shape.x() - border_size.left - border_size.right);</div><div class="line"><a name="l00474"></a><span class="lineno"> 474</span>  shape.set(1, shape.y() - border_size.top - border_size.bottom);</div><div class="line"><a name="l00475"></a><span class="lineno"> 475</span>  <span class="keywordflow">return</span> ValidRegion(std::move(anchor), shape);</div><div class="line"><a name="l00476"></a><span class="lineno"> 476</span> }</div><div class="ttc" id="_error_8h_xhtml_a54a6080c9f4df1f908e57a9bbb46f5da"><div class="ttname"><a href="_error_8h.xhtml#a54a6080c9f4df1f908e57a9bbb46f5da">ARM_COMPUTE_ERROR_ON</a></div><div class="ttdeci">#define ARM_COMPUTE_ERROR_ON(cond)</div><div class="ttdoc">If the condition is true then an error message is printed and an exception thrown. </div><div class="ttdef"><b>Definition:</b> <a href="_error_8h_source.xhtml#l00124">Error.h:124</a></div></div> |
| 1140 | </div><!-- fragment --> |
| 1141 | </div> |
| 1142 | </div> |
| 1143 | <a class="anchor" id="a1e6934e95738573214c2ce1d6648d116"></a> |
| 1144 | <div class="memitem"> |
| 1145 | <div class="memproto"> |
| 1146 | <table class="memname"> |
| 1147 | <tr> |
| 1148 | <td class="memname">void arm_compute::test::store_value_with_data_type </td> |
| 1149 | <td>(</td> |
| 1150 | <td class="paramtype">void * </td> |
| 1151 | <td class="paramname"><em>ptr</em>, </td> |
| 1152 | </tr> |
| 1153 | <tr> |
| 1154 | <td class="paramkey"></td> |
| 1155 | <td></td> |
| 1156 | <td class="paramtype">T </td> |
| 1157 | <td class="paramname"><em>value</em>, </td> |
| 1158 | </tr> |
| 1159 | <tr> |
| 1160 | <td class="paramkey"></td> |
| 1161 | <td></td> |
| 1162 | <td class="paramtype"><a class="el" href="namespacearm__compute.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</a> </td> |
| 1163 | <td class="paramname"><em>data_type</em> </td> |
| 1164 | </tr> |
| 1165 | <tr> |
| 1166 | <td></td> |
| 1167 | <td>)</td> |
| 1168 | <td></td><td></td> |
| 1169 | </tr> |
| 1170 | </table> |
| 1171 | </div><div class="memdoc"> |
| 1172 | |
| 1173 | <p>Write the value after casting the pointer according to <code>data_type</code>. </p> |
| 1174 | <dl class="section warning"><dt>Warning</dt><dd>The type of the value must match the specified data type.</dd></dl> |
| 1175 | <dl class="params"><dt>Parameters</dt><dd> |
| 1176 | <table class="params"> |
| 1177 | <tr><td class="paramdir">[out]</td><td class="paramname">ptr</td><td>Pointer to memory where the <code>value</code> will be written. </td></tr> |
| 1178 | <tr><td class="paramdir">[in]</td><td class="paramname">value</td><td>Value that will be written. </td></tr> |
| 1179 | <tr><td class="paramdir">[in]</td><td class="paramname">data_type</td><td>Data type that will be written. </td></tr> |
| 1180 | </table> |
| 1181 | </dd> |
| 1182 | </dl> |
| 1183 | |
| 1184 | <p>Definition at line <a class="el" href="tests_2_utils_8h_source.xhtml#l00526">526</a> of file <a class="el" href="tests_2_utils_8h_source.xhtml">Utils.h</a>.</p> |
| 1185 | |
| 1186 | <p>References <a class="el" href="_error_8h_source.xhtml#l00031">ARM_COMPUTE_ERROR</a>, <a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a56d8353718e6fdc78b8d69078a2cdb94">arm_compute::F16</a>, <a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a44ad4ef5a76e6aa6fb3e3fa079a54fda">arm_compute::F32</a>, <a class="el" href="namespacearm__compute.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a1ad5f6f3069070ec4cbbdc94d5e61e0e">arm_compute::F64</a>, <a class="el" href="namespacearm__compute.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a11cde4d3551db3f9498d339a67189543">arm_compute::QS8</a>, <a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a6e0b0886efb94aec797f6b830329b72c">arm_compute::S16</a>, <a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58aa1e28eee0339658d39a8b4d325b56e9c">arm_compute::S32</a>, <a class="el" href="namespacearm__compute.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a115dca124dc6423c7a400b8a8a0270cc">arm_compute::S64</a>, <a class="el" href="namespacearm__compute.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6aafb0fced528eaac5fe170b763cda5975">arm_compute::S8</a>, <a class="el" href="namespacearm__compute.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6abd7ef6d4f35bc7d05c559b65032f15d1">arm_compute::SIZET</a>, <a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58aef9ef3ebca4d2b64b6ec83808bafa5f2">arm_compute::U16</a>, <a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58ac8bd5bedff8ef192d39a962afc0e19ee">arm_compute::U32</a>, <a class="el" href="namespacearm__compute.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a31d65cccd6593e4101db93fb878abcaa">arm_compute::U64</a>, and <a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a6669348b484e3008dca2bfa8e85e40b5">arm_compute::U8</a>.</p> |
| 1187 | |
| 1188 | <p>Referenced by <a class="el" href="_tensor_library_8h_source.xhtml#l00368">TensorLibrary::fill()</a>, and <a class="el" href="_tensor_library_8h_source.xhtml#l00621">TensorLibrary::fill_layer_data()</a>.</p> |
| 1189 | <div class="fragment"><div class="line"><a name="l00527"></a><span class="lineno"> 527</span> {</div><div class="line"><a name="l00528"></a><span class="lineno"> 528</span>  <span class="keywordflow">switch</span>(data_type)</div><div class="line"><a name="l00529"></a><span class="lineno"> 529</span>  {</div><div class="line"><a name="l00530"></a><span class="lineno"> 530</span>  <span class="keywordflow">case</span> DataType::U8:</div><div class="line"><a name="l00531"></a><span class="lineno"> 531</span>  *<span class="keyword">reinterpret_cast<</span>uint8_t *<span class="keyword">></span>(ptr) = value;</div><div class="line"><a name="l00532"></a><span class="lineno"> 532</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00533"></a><span class="lineno"> 533</span>  <span class="keywordflow">case</span> DataType::S8:</div><div class="line"><a name="l00534"></a><span class="lineno"> 534</span>  <span class="keywordflow">case</span> DataType::QS8:</div><div class="line"><a name="l00535"></a><span class="lineno"> 535</span>  *<span class="keyword">reinterpret_cast<</span>int8_t *<span class="keyword">></span>(ptr) = value;</div><div class="line"><a name="l00536"></a><span class="lineno"> 536</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00537"></a><span class="lineno"> 537</span>  <span class="keywordflow">case</span> DataType::U16:</div><div class="line"><a name="l00538"></a><span class="lineno"> 538</span>  *<span class="keyword">reinterpret_cast<</span>uint16_t *<span class="keyword">></span>(ptr) = value;</div><div class="line"><a name="l00539"></a><span class="lineno"> 539</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00540"></a><span class="lineno"> 540</span>  <span class="keywordflow">case</span> DataType::S16:</div><div class="line"><a name="l00541"></a><span class="lineno"> 541</span>  *<span class="keyword">reinterpret_cast<</span>int16_t *<span class="keyword">></span>(ptr) = value;</div><div class="line"><a name="l00542"></a><span class="lineno"> 542</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00543"></a><span class="lineno"> 543</span>  <span class="keywordflow">case</span> DataType::U32:</div><div class="line"><a name="l00544"></a><span class="lineno"> 544</span>  *<span class="keyword">reinterpret_cast<</span>uint32_t *<span class="keyword">></span>(ptr) = value;</div><div class="line"><a name="l00545"></a><span class="lineno"> 545</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00546"></a><span class="lineno"> 546</span>  <span class="keywordflow">case</span> DataType::S32:</div><div class="line"><a name="l00547"></a><span class="lineno"> 547</span>  *<span class="keyword">reinterpret_cast<</span>int32_t *<span class="keyword">></span>(ptr) = value;</div><div class="line"><a name="l00548"></a><span class="lineno"> 548</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00549"></a><span class="lineno"> 549</span>  <span class="keywordflow">case</span> DataType::U64:</div><div class="line"><a name="l00550"></a><span class="lineno"> 550</span>  *<span class="keyword">reinterpret_cast<</span>uint64_t *<span class="keyword">></span>(ptr) = value;</div><div class="line"><a name="l00551"></a><span class="lineno"> 551</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00552"></a><span class="lineno"> 552</span>  <span class="keywordflow">case</span> DataType::S64:</div><div class="line"><a name="l00553"></a><span class="lineno"> 553</span>  *<span class="keyword">reinterpret_cast<</span>int64_t *<span class="keyword">></span>(ptr) = value;</div><div class="line"><a name="l00554"></a><span class="lineno"> 554</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00555"></a><span class="lineno"> 555</span> <span class="preprocessor">#ifdef ENABLE_FP16</span></div><div class="line"><a name="l00556"></a><span class="lineno"> 556</span>  <span class="keywordflow">case</span> DataType::F16:</div><div class="line"><a name="l00557"></a><span class="lineno"> 557</span>  *<span class="keyword">reinterpret_cast<</span>float16_t *<span class="keyword">></span>(ptr) = value;</div><div class="line"><a name="l00558"></a><span class="lineno"> 558</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00559"></a><span class="lineno"> 559</span> <span class="preprocessor">#endif </span><span class="comment">/* ENABLE_FP16 */</span><span class="preprocessor"></span></div><div class="line"><a name="l00560"></a><span class="lineno"> 560</span>  <span class="keywordflow">case</span> DataType::F32:</div><div class="line"><a name="l00561"></a><span class="lineno"> 561</span>  *<span class="keyword">reinterpret_cast<</span><span class="keywordtype">float</span> *<span class="keyword">></span>(ptr) = value;</div><div class="line"><a name="l00562"></a><span class="lineno"> 562</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00563"></a><span class="lineno"> 563</span>  <span class="keywordflow">case</span> DataType::F64:</div><div class="line"><a name="l00564"></a><span class="lineno"> 564</span>  *<span class="keyword">reinterpret_cast<</span><span class="keywordtype">double</span> *<span class="keyword">></span>(ptr) = value;</div><div class="line"><a name="l00565"></a><span class="lineno"> 565</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00566"></a><span class="lineno"> 566</span>  <span class="keywordflow">case</span> DataType::SIZET:</div><div class="line"><a name="l00567"></a><span class="lineno"> 567</span>  *<span class="keyword">reinterpret_cast<</span><span class="keywordtype">size_t</span> *<span class="keyword">></span>(ptr) = value;</div><div class="line"><a name="l00568"></a><span class="lineno"> 568</span>  <span class="keywordflow">break</span>;</div><div class="line"><a name="l00569"></a><span class="lineno"> 569</span>  <span class="keywordflow">default</span>:</div><div class="line"><a name="l00570"></a><span class="lineno"> 570</span>  <a class="code" href="_error_8h.xhtml#a05b19c75afe9c24200a62b9724734bbd">ARM_COMPUTE_ERROR</a>(<span class="stringliteral">"NOT SUPPORTED!"</span>);</div><div class="line"><a name="l00571"></a><span class="lineno"> 571</span>  }</div><div class="line"><a name="l00572"></a><span class="lineno"> 572</span> }</div><div class="ttc" id="_error_8h_xhtml_a05b19c75afe9c24200a62b9724734bbd"><div class="ttname"><a href="_error_8h.xhtml#a05b19c75afe9c24200a62b9724734bbd">ARM_COMPUTE_ERROR</a></div><div class="ttdeci">#define ARM_COMPUTE_ERROR(...)</div><div class="ttdoc">Print the given message then throw an std::runtime_error. </div><div class="ttdef"><b>Definition:</b> <a href="_error_8h_source.xhtml#l00031">Error.h:31</a></div></div> |
| 1190 | </div><!-- fragment --> |
| 1191 | </div> |
| 1192 | </div> |
| 1193 | <a class="anchor" id="ac04d36ea1fb41a3dfd3afd4a89ef2470"></a> |
| 1194 | <div class="memitem"> |
| 1195 | <div class="memproto"> |
| 1196 | <table class="memname"> |
| 1197 | <tr> |
| 1198 | <td class="memname">void arm_compute::test::swap </td> |
| 1199 | <td>(</td> |
| 1200 | <td class="paramtype"><a class="el" href="classarm__compute_1_1test_1_1_raw_tensor.xhtml">RawTensor</a> & </td> |
| 1201 | <td class="paramname"><em>tensor1</em>, </td> |
| 1202 | </tr> |
| 1203 | <tr> |
| 1204 | <td class="paramkey"></td> |
| 1205 | <td></td> |
| 1206 | <td class="paramtype"><a class="el" href="classarm__compute_1_1test_1_1_raw_tensor.xhtml">RawTensor</a> & </td> |
| 1207 | <td class="paramname"><em>tensor2</em> </td> |
| 1208 | </tr> |
| 1209 | <tr> |
| 1210 | <td></td> |
| 1211 | <td>)</td> |
| 1212 | <td></td><td></td> |
| 1213 | </tr> |
| 1214 | </table> |
| 1215 | </div><div class="memdoc"> |
| 1216 | <dl class="params"><dt>Parameters</dt><dd> |
| 1217 | <table class="params"> |
| 1218 | <tr><td class="paramdir">[in,out]</td><td class="paramname">tensor1</td><td><a class="el" href="classarm__compute_1_1_tensor.xhtml" title="Basic implementation of the tensor interface. ">Tensor</a> to be swapped. </td></tr> |
| 1219 | <tr><td class="paramdir">[in,out]</td><td class="paramname">tensor2</td><td><a class="el" href="classarm__compute_1_1_tensor.xhtml" title="Basic implementation of the tensor interface. ">Tensor</a> to be swapped. </td></tr> |
| 1220 | </table> |
| 1221 | </dd> |
| 1222 | </dl> |
| 1223 | |
| 1224 | <p>Definition at line <a class="el" href="_raw_tensor_8cpp_source.xhtml#l00168">168</a> of file <a class="el" href="_raw_tensor_8cpp_source.xhtml">RawTensor.cpp</a>.</p> |
| 1225 | |
| 1226 | <p>References <a class="el" href="_raw_tensor_8cpp_source.xhtml#l00168">RawTensor::swap</a>.</p> |
| 1227 | <div class="fragment"><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>  <span class="comment">// Use unqualified call to swap to enable ADL. But make std::swap available</span></div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="comment">// as backup.</span></div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keyword">using</span> <a class="code" href="namespacearm__compute_1_1test.xhtml#ac04d36ea1fb41a3dfd3afd4a89ef2470">std::swap</a>;</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <a class="code" href="namespacearm__compute_1_1test.xhtml#ac04d36ea1fb41a3dfd3afd4a89ef2470">swap</a>(tensor1._shape, tensor2._shape);</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <a class="code" href="namespacearm__compute_1_1test.xhtml#ac04d36ea1fb41a3dfd3afd4a89ef2470">swap</a>(tensor1._format, tensor2._format);</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <a class="code" href="namespacearm__compute_1_1test.xhtml#ac04d36ea1fb41a3dfd3afd4a89ef2470">swap</a>(tensor1._data_type, tensor2._data_type);</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <a class="code" href="namespacearm__compute_1_1test.xhtml#ac04d36ea1fb41a3dfd3afd4a89ef2470">swap</a>(tensor1._num_channels, tensor2._num_channels);</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <a class="code" href="namespacearm__compute_1_1test.xhtml#ac04d36ea1fb41a3dfd3afd4a89ef2470">swap</a>(tensor1._buffer, tensor2._buffer);</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span> }</div><div class="ttc" id="namespacearm__compute_1_1test_xhtml_ac04d36ea1fb41a3dfd3afd4a89ef2470"><div class="ttname"><a href="namespacearm__compute_1_1test.xhtml#ac04d36ea1fb41a3dfd3afd4a89ef2470">arm_compute::test::swap</a></div><div class="ttdeci">void swap(RawTensor &tensor1, RawTensor &tensor2)</div><div class="ttdef"><b>Definition:</b> <a href="_raw_tensor_8cpp_source.xhtml#l00168">RawTensor.cpp:168</a></div></div> |
| 1228 | </div><!-- fragment --> |
| 1229 | </div> |
| 1230 | </div> |
| 1231 | <h2 class="groupheader">Variable Documentation</h2> |
| 1232 | <a class="anchor" id="a4ced6442a379a75e8a6c4be093fb666b"></a> |
| 1233 | <div class="memitem"> |
| 1234 | <div class="memproto"> |
| 1235 | <table class="memname"> |
| 1236 | <tr> |
| 1237 | <td class="memname">std::unique_ptr< <a class="el" href="classarm__compute_1_1test_1_1_tensor_library.xhtml">TensorLibrary</a> > library</td> |
| 1238 | </tr> |
| 1239 | </table> |
| 1240 | </div><div class="memdoc"> |
| 1241 | |
| 1242 | <p>Definition at line <a class="el" href="benchmark_2main_8cpp_source.xhtml#l00050">50</a> of file <a class="el" href="benchmark_2main_8cpp_source.xhtml">main.cpp</a>.</p> |
| 1243 | |
| 1244 | <p>Referenced by <a class="el" href="_reference_8cpp_source.xhtml#l00056">Reference::compute_reference_absolute_difference()</a>, <a class="el" href="_reference_8cpp_source.xhtml#l00073">Reference::compute_reference_accumulate()</a>, <a class="el" href="_reference_8cpp_source.xhtml#l00089">Reference::compute_reference_accumulate_squared()</a>, <a class="el" href="_reference_8cpp_source.xhtml#l00106">Reference::compute_reference_accumulate_weighted()</a>, <a class="el" href="_reference_8cpp_source.xhtml#l00331">Reference::compute_reference_activation_layer()</a>, <a class="el" href="_reference_8cpp_source.xhtml#l00122">Reference::compute_reference_arithmetic_addition()</a>, <a class="el" href="_reference_8cpp_source.xhtml#l00139">Reference::compute_reference_arithmetic_subtraction()</a>, <a class="el" href="_reference_8cpp_source.xhtml#l00361">Reference::compute_reference_batch_normalization_layer()</a>, <a class="el" href="_reference_8cpp_source.xhtml#l00156">Reference::compute_reference_bitwise_and()</a>, <a class="el" href="_reference_8cpp_source.xhtml#l00207">Reference::compute_reference_bitwise_not()</a>, <a class="el" href="_reference_8cpp_source.xhtml#l00173">Reference::compute_reference_bitwise_or()</a>, <a class="el" href="_reference_8cpp_source.xhtml#l00190">Reference::compute_reference_bitwise_xor()</a>, <a class="el" href="_reference_8cpp_source.xhtml#l00222">Reference::compute_reference_box3x3()</a>, <a class="el" href="_reference_8cpp_source.xhtml#l00405">Reference::compute_reference_convolution_layer()</a>, <a class="el" href="_reference_8cpp_source.xhtml#l00237">Reference::compute_reference_depth_convert()</a>, <a class="el" href="_reference_8cpp_source.xhtml#l00555">Reference::compute_reference_fixed_point_operation()</a>, <a class="el" href="_reference_8cpp_source.xhtml#l00298">Reference::compute_reference_fixed_point_pixel_wise_multiplication()</a>, <a class="el" href="_reference_8cpp_source.xhtml#l00435">Reference::compute_reference_fully_connected_layer()</a>, <a class="el" href="_reference_8cpp_source.xhtml#l00251">Reference::compute_reference_gemm()</a>, <a class="el" href="_reference_8cpp_source.xhtml#l00042">Reference::compute_reference_integral_image()</a>, <a class="el" href="_reference_8cpp_source.xhtml#l00475">Reference::compute_reference_normalization_layer()</a>, <a class="el" href="_reference_8cpp_source.xhtml#l00280">Reference::compute_reference_pixel_wise_multiplication()</a>, <a class="el" href="_reference_8cpp_source.xhtml#l00499">Reference::compute_reference_pooling_layer()</a>, <a class="el" href="_reference_8cpp_source.xhtml#l00530">Reference::compute_reference_softmax_layer()</a>, <a class="el" href="_reference_8cpp_source.xhtml#l00316">Reference::compute_reference_threshold()</a>, <a class="el" href="_c_l_2_helper_8h_source.xhtml#l00062">arm_compute::test::cl::create_tensor()</a>, <a class="el" href="_n_e_o_n_2_helper_8h_source.xhtml#l00063">arm_compute::test::neon::create_tensor()</a>, <a class="el" href="model__objects_2_le_net5_8h_source.xhtml#l00135">LeNet5< TensorType, Accessor, ActivationLayerFunction, ConvolutionLayerFunction, FullyConnectedLayerFunction, PoolingLayerFunction, SoftmaxLayerFunction >::fill_random()</a>, <a class="el" href="model__objects_2_alex_net_8h_source.xhtml#l00338">AlexNet< ITensorType, TensorType, SubTensorType, Accessor, ActivationLayerFunction, ConvolutionLayerFunction, FullyConnectedLayerFunction, NormalizationLayerFunction, PoolingLayerFunction, SoftmaxLayerFunction, dt >::fill_random()</a>, <a class="el" href="benchmark_2main_8cpp_source.xhtml#l00054">main()</a>, <a class="el" href="_activation_layer_8h_source.xhtml#l00047">ActivationLayer< DataSet, TensorType, Accessor, Function, dt >::SetUp()</a>, <a class="el" href="_convolution_layer_8h_source.xhtml#l00047">ConvolutionLayer< DataSet, TensorType, Accessor, Function, dt >::SetUp()</a>, <a class="el" href="_pooling_layer_8h_source.xhtml#l00047">PoolingLayer< DataSet, TensorType, Accessor, Function, dt >::SetUp()</a>, <a class="el" href="_normalization_layer_8h_source.xhtml#l00048">NormalizationLayer< DataSet, TensorType, Accessor, Function, dt >::SetUp()</a>, and <a class="el" href="_fully_connected_layer_8h_source.xhtml#l00048">FullyConnectedLayer< DataSet, TensorType, Accessor, Function, dt >::SetUp()</a>.</p> |
| 1245 | |
| 1246 | </div> |
| 1247 | </div> |
| 1248 | <a class="anchor" id="a8f4fc4a0603d589eb1db7a8f539a6279"></a> |
| 1249 | <div class="memitem"> |
| 1250 | <div class="memproto"> |
| 1251 | <table class="memname"> |
| 1252 | <tr> |
| 1253 | <td class="memname"><a class="el" href="namespacearm__compute_1_1test_1_1validation.xhtml#a1042f1d7928dbde7edd7791e5b3a171b">validation::ValidationUserConfiguration</a> user_config</td> |
| 1254 | </tr> |
| 1255 | </table> |
| 1256 | </div><div class="memdoc"> |
| 1257 | |
| 1258 | <p>Definition at line <a class="el" href="benchmark_2main_8cpp_source.xhtml#l00049">49</a> of file <a class="el" href="benchmark_2main_8cpp_source.xhtml">main.cpp</a>.</p> |
| 1259 | |
| 1260 | <p>Referenced by <a class="el" href="validation_2main_8cpp_source.xhtml#l00071">init_unit_test()</a>, and <a class="el" href="benchmark_2main_8cpp_source.xhtml#l00054">main()</a>.</p> |
| 1261 | |
| 1262 | </div> |
| 1263 | </div> |
| 1264 | </div><!-- contents --> |
| 1265 | </div><!-- doc-content --> |
| 1266 | <!-- start footer part --> |
| 1267 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 1268 | <ul> |
| 1269 | <li class="navelem"><a class="el" href="namespacearm__compute.xhtml">arm_compute</a></li><li class="navelem"><a class="el" href="namespacearm__compute_1_1test.xhtml">test</a></li> |
| 1270 | <li class="footer">Generated on Fri Jun 23 2017 15:44:35 for Compute Library by |
| 1271 | <a href="http://www.doxygen.org/index.html"> |
| 1272 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li> |
| 1273 | </ul> |
| 1274 | </div> |
| 1275 | </body> |
| 1276 | </html> |