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">
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: RemapValidationFixture< TensorType, AccessorType, FunctionType, T > Class Template 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);
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(); });
27 <script type="text/x-mathjax-config">
29 extensions: ["tex2jax.js"],
30 jax: ["input/TeX","output/HTML-CSS"],
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" />
36 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
38 <table cellspacing="0" cellpadding="0">
40 <tr style="height: 56px;">
41 <td style="padding-left: 0.5em;">
42 <div id="projectname">Compute Library
43  <span id="projectnumber">17.12</span>
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');
55 <div id="navrow1" class="tabs">
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><a href="namespaces.xhtml"><span>Namespaces</span></a></li>
60 <li class="current"><a href="annotated.xhtml"><span>Data Structures</span></a></li>
61 <li><a href="files.xhtml"><span>Files</span></a></li>
63 <div id="MSearchBox" class="MSearchBoxInactive">
65 <img id="MSearchSelect" src="search/mag_sel.png"
66 onmouseover="return searchBox.OnSearchSelectShow()"
67 onmouseout="return searchBox.OnSearchSelectHide()"
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>
80 <div id="navrow2" class="tabs2">
82 <li><a href="annotated.xhtml"><span>Data Structures</span></a></li>
83 <li><a href="classes.xhtml"><span>Data Structure Index</span></a></li>
84 <li><a href="inherits.xhtml"><span>Class Hierarchy</span></a></li>
85 <li><a href="functions.xhtml"><span>Data Fields</span></a></li>
89 <div id="side-nav" class="ui-resizable side-nav-resizable">
91 <div id="nav-tree-contents">
92 <div id="nav-sync" class="sync"></div>
95 <div id="splitbar" style="-moz-user-select:none;"
96 class="ui-resizable-handle">
99 <script type="text/javascript">
100 $(document).ready(function(){initNavTree('classarm__compute_1_1test_1_1validation_1_1_remap_validation_fixture.xhtml','');});
102 <div id="doc-content">
103 <!-- window showing the filter options -->
104 <div id="MSearchSelectWindow"
105 onmouseover="return searchBox.OnSearchSelectShow()"
106 onmouseout="return searchBox.OnSearchSelectHide()"
107 onkeydown="return searchBox.OnSearchSelectKey(event)">
110 <!-- iframe showing the search results (closed by default) -->
111 <div id="MSearchResultsWindow">
112 <iframe src="javascript:void(0)" frameborder="0"
113 name="MSearchResults" id="MSearchResults">
118 <div class="summary">
119 <a href="#pub-methods">Public Member Functions</a> </div>
120 <div class="headertitle">
121 <div class="title">RemapValidationFixture< TensorType, AccessorType, FunctionType, T > Class Template Reference</div> </div>
123 <div class="contents">
125 <p><code>#include <<a class="el" href="_remap_fixture_8h_source.xhtml">RemapFixture.h</a>></code></p>
126 <div class="dynheader">
127 Collaboration diagram for RemapValidationFixture< TensorType, AccessorType, FunctionType, T >:</div>
128 <div class="dyncontent">
129 <div class="center"><iframe scrolling="no" frameborder="0" src="classarm__compute_1_1test_1_1validation_1_1_remap_validation_fixture__coll__graph.svg" width="215" height="142"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
131 <center><span class="legend">[<a target="top" href="graph_legend.xhtml">legend</a>]</span></center></div>
132 <table class="memberdecls">
133 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
134 Public Member Functions</h2></td></tr>
135 <tr class="memitem:a418f91d61bdbd113973830b2d50880cc"><td class="memTemplParams" colspan="2">template<typename... > </td></tr>
136 <tr class="memitem:a418f91d61bdbd113973830b2d50880cc"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1validation_1_1_remap_validation_fixture.xhtml#a418f91d61bdbd113973830b2d50880cc">setup</a> (<a class="el" href="classarm__compute_1_1_tensor_shape.xhtml">TensorShape</a> <a class="el" href="namespacearm__compute_1_1test_1_1validation.xhtml#a45cde9abb508c62d67c3bb2b9bf566a5">shape</a>, <a class="el" href="namespacearm__compute.xhtml#a966a9c417ce5e94dca08d9b5e745c0c9">InterpolationPolicy</a> policy, <a class="el" href="namespacearm__compute.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</a> <a class="el" href="namespacearm__compute_1_1test_1_1validation.xhtml#ac2ad7f431e3446fddcd9b6b9f93c4c14">data_type</a>, <a class="el" href="namespacearm__compute.xhtml#a15a05537a472ee742404821851529327">BorderMode</a> border_mode)</td></tr>
137 <tr class="separator:a418f91d61bdbd113973830b2d50880cc"><td class="memSeparator" colspan="2"> </td></tr>
138 <tr class="inherit_header pub_methods_classarm__compute_1_1test_1_1framework_1_1_fixture"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarm__compute_1_1test_1_1framework_1_1_fixture')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classarm__compute_1_1test_1_1framework_1_1_fixture.xhtml">Fixture</a></td></tr>
139 <tr class="memitem:a4fc01d736fe50cf5b977f755b675f11d inherit pub_methods_classarm__compute_1_1test_1_1framework_1_1_fixture"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1framework_1_1_fixture.xhtml#a4fc01d736fe50cf5b977f755b675f11d">setup</a> ()</td></tr>
140 <tr class="memdesc:a4fc01d736fe50cf5b977f755b675f11d inherit pub_methods_classarm__compute_1_1test_1_1framework_1_1_fixture"><td class="mdescLeft"> </td><td class="mdescRight">Setup function. <a href="#a4fc01d736fe50cf5b977f755b675f11d">More...</a><br /></td></tr>
141 <tr class="separator:a4fc01d736fe50cf5b977f755b675f11d inherit pub_methods_classarm__compute_1_1test_1_1framework_1_1_fixture"><td class="memSeparator" colspan="2"> </td></tr>
142 <tr class="memitem:a4adab6322a0276f34a7d656d49fc865c inherit pub_methods_classarm__compute_1_1test_1_1framework_1_1_fixture"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1test_1_1framework_1_1_fixture.xhtml#a4adab6322a0276f34a7d656d49fc865c">teardown</a> ()</td></tr>
143 <tr class="memdesc:a4adab6322a0276f34a7d656d49fc865c inherit pub_methods_classarm__compute_1_1test_1_1framework_1_1_fixture"><td class="mdescLeft"> </td><td class="mdescRight">Teardown function. <a href="#a4adab6322a0276f34a7d656d49fc865c">More...</a><br /></td></tr>
144 <tr class="separator:a4adab6322a0276f34a7d656d49fc865c inherit pub_methods_classarm__compute_1_1test_1_1framework_1_1_fixture"><td class="memSeparator" colspan="2"> </td></tr>
146 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
147 <div class="textblock"><h3>template<typename TensorType, typename AccessorType, typename FunctionType, typename T><br />
148 class arm_compute::test::validation::RemapValidationFixture< TensorType, AccessorType, FunctionType, T ></h3>
151 <p>Definition at line <a class="el" href="_remap_fixture_8h_source.xhtml#l00045">45</a> of file <a class="el" href="_remap_fixture_8h_source.xhtml">RemapFixture.h</a>.</p>
152 </div><h2 class="groupheader">Member Function Documentation</h2>
153 <a class="anchor" id="a418f91d61bdbd113973830b2d50880cc"></a>
154 <div class="memitem">
155 <div class="memproto">
156 <table class="mlabels">
158 <td class="mlabels-left">
159 <table class="memname">
161 <td class="memname">void setup </td>
163 <td class="paramtype"><a class="el" href="classarm__compute_1_1_tensor_shape.xhtml">TensorShape</a> </td>
164 <td class="paramname"><em>shape</em>, </td>
167 <td class="paramkey"></td>
169 <td class="paramtype"><a class="el" href="namespacearm__compute.xhtml#a966a9c417ce5e94dca08d9b5e745c0c9">InterpolationPolicy</a> </td>
170 <td class="paramname"><em>policy</em>, </td>
173 <td class="paramkey"></td>
175 <td class="paramtype"><a class="el" href="namespacearm__compute.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6">DataType</a> </td>
176 <td class="paramname"><em>data_type</em>, </td>
179 <td class="paramkey"></td>
181 <td class="paramtype"><a class="el" href="namespacearm__compute.xhtml#a15a05537a472ee742404821851529327">BorderMode</a> </td>
182 <td class="paramname"><em>border_mode</em> </td>
191 <td class="mlabels-right">
192 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
195 </div><div class="memdoc">
197 <p>Definition at line <a class="el" href="_remap_fixture_8h_source.xhtml#l00049">49</a> of file <a class="el" href="_remap_fixture_8h_source.xhtml">RemapFixture.h</a>.</p>
199 <p>References <a class="el" href="core_2_error_8h_source.xhtml#l00306">ARM_COMPUTE_ERROR_ON</a>, <a class="el" href="namespacearm__compute_1_1test_1_1validation.xhtml#a09b036c709fc72912ee5fdb2231faca2">arm_compute::test::validation::ARM_COMPUTE_EXPECT()</a>, <a class="el" href="_c_l_2_min_max_location_8cpp_source.xhtml#l00090">arm_compute::test::validation::data_type</a>, <a class="el" href="validation_2_n_e_o_n_2_g_e_m_m_8cpp_source.xhtml#l00118">arm_compute::test::validation::dst</a>, <a class="el" href="namespacearm__compute_1_1test_1_1framework.xhtml#aca1fd1d8935433e6ba2e3918214e07f9a6f3a603fac4d817f1848c3173b243b57">arm_compute::test::framework::ERRORS</a>, <a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a44ad4ef5a76e6aa6fb3e3fa079a54fda">arm_compute::F32</a>, <a class="el" href="main_8cpp_source.xhtml#l00058">arm_compute::test::library</a>, <a class="el" href="reference_2_remap_8cpp_source.xhtml#l00041">arm_compute::test::validation::reference::remap()</a>, <a class="el" href="_c_l_2_min_max_location_8cpp_source.xhtml#l00089">arm_compute::test::validation::shape</a>, <a class="el" href="namespacearm__compute.xhtml#a1ce9b523fd4f3b5bbcadcd796183455aa4c614360da93c0a041b22e537de151eb">arm_compute::U</a>, and <a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a6669348b484e3008dca2bfa8e85e40b5">arm_compute::U8</a>.</p>
200 <div class="fragment"><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  {</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  std::mt19937 gen(<a class="code" href="namespacearm__compute_1_1test.xhtml#a71326f0909d77386e29b511e1990a11f">library</a>->seed());</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  std::uniform_int_distribution<uint8_t> distribution(0, 255);</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  T constant_border_value = <span class="keyword">static_cast<</span>T<span class="keyword">></span>(distribution(gen));</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> </div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  _target = compute_target(<a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a45cde9abb508c62d67c3bb2b9bf566a5">shape</a>, policy, <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#ac2ad7f431e3446fddcd9b6b9f93c4c14">data_type</a>, border_mode, constant_border_value);</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  _reference = compute_reference(<a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a45cde9abb508c62d67c3bb2b9bf566a5">shape</a>, policy, <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#ac2ad7f431e3446fddcd9b6b9f93c4c14">data_type</a>, border_mode, constant_border_value);</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  }</div><div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_a45cde9abb508c62d67c3bb2b9bf566a5"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#a45cde9abb508c62d67c3bb2b9bf566a5">arm_compute::test::validation::shape</a></div><div class="ttdeci">shape</div><div class="ttdef"><b>Definition:</b> <a href="_c_l_2_min_max_location_8cpp_source.xhtml#l00089">MinMaxLocation.cpp:89</a></div></div>
201 <div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_ac2ad7f431e3446fddcd9b6b9f93c4c14"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#ac2ad7f431e3446fddcd9b6b9f93c4c14">arm_compute::test::validation::data_type</a></div><div class="ttdeci">data_type</div><div class="ttdef"><b>Definition:</b> <a href="_c_l_2_min_max_location_8cpp_source.xhtml#l00090">MinMaxLocation.cpp:90</a></div></div>
202 <div class="ttc" id="namespacearm__compute_1_1test_xhtml_a71326f0909d77386e29b511e1990a11f"><div class="ttname"><a href="namespacearm__compute_1_1test.xhtml#a71326f0909d77386e29b511e1990a11f">arm_compute::test::library</a></div><div class="ttdeci">std::unique_ptr< AssetsLibrary > library</div><div class="ttdef"><b>Definition:</b> <a href="main_8cpp_source.xhtml#l00058">main.cpp:58</a></div></div>
203 </div><!-- fragment -->
206 <hr/>The documentation for this class was generated from the following file:<ul>
207 <li>tests/validation/fixtures/<a class="el" href="_remap_fixture_8h_source.xhtml">RemapFixture.h</a></li>
209 </div><!-- contents -->
210 </div><!-- doc-content -->
211 <!-- start footer part -->
212 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
214 <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><li class="navelem"><a class="el" href="namespacearm__compute_1_1test_1_1validation.xhtml">validation</a></li><li class="navelem"><a class="el" href="classarm__compute_1_1test_1_1validation_1_1_remap_validation_fixture.xhtml">RemapValidationFixture</a></li>
215 <li class="footer">Generated on Thu Dec 14 2017 23:48:38 for Compute Library by
216 <a href="http://www.doxygen.org/index.html">
217 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>