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.6"/>
8 <meta name="robots" content="NOINDEX, NOFOLLOW" /> <!-- Prevent indexing by search engines -->
9 <title>Compute Library: tests/validation/Validation.cpp File 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="navtree.js"></script>
16 <script type="text/javascript">
17 $(document).ready(initResizable);
18 $(window).load(resizeHeight);
20 <link href="search/search.css" rel="stylesheet" type="text/css"/>
21 <script type="text/javascript" src="search/search.js"></script>
22 <script type="text/javascript">
23 $(document).ready(function() { searchBox.OnSelectItem(0); });
25 <script type="text/x-mathjax-config">
27 extensions: ["tex2jax.js"],
28 jax: ["input/TeX","output/HTML-CSS"],
30 </script><script src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
31 <link href="doxygen.css" rel="stylesheet" type="text/css" />
34 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
36 <table cellspacing="0" cellpadding="0">
38 <tr style="height: 56px;">
39 <td style="padding-left: 0.5em;">
40 <div id="projectname">Compute Library
41  <span id="projectnumber">17.09</span>
48 <!-- end header part -->
49 <!-- Generated by Doxygen 1.8.6 -->
50 <script type="text/javascript">
51 var searchBox = new SearchBox("searchBox", "search",false,'Search');
53 <div id="navrow1" class="tabs">
55 <li><a href="index.xhtml"><span>Main Page</span></a></li>
56 <li><a href="pages.xhtml"><span>Related Pages</span></a></li>
57 <li><a href="namespaces.xhtml"><span>Namespaces</span></a></li>
58 <li><a href="annotated.xhtml"><span>Data Structures</span></a></li>
59 <li class="current"><a href="files.xhtml"><span>Files</span></a></li>
61 <div id="MSearchBox" class="MSearchBoxInactive">
63 <img id="MSearchSelect" src="search/mag_sel.png"
64 onmouseover="return searchBox.OnSearchSelectShow()"
65 onmouseout="return searchBox.OnSearchSelectHide()"
67 <input type="text" id="MSearchField" value="Search" accesskey="S"
68 onfocus="searchBox.OnSearchFieldFocus(true)"
69 onblur="searchBox.OnSearchFieldFocus(false)"
70 onkeyup="searchBox.OnSearchFieldChange(event)"/>
71 </span><span class="right">
72 <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
78 <div id="navrow2" class="tabs2">
80 <li><a href="files.xhtml"><span>File List</span></a></li>
81 <li><a href="globals.xhtml"><span>Globals</span></a></li>
85 <div id="side-nav" class="ui-resizable side-nav-resizable">
87 <div id="nav-tree-contents">
88 <div id="nav-sync" class="sync"></div>
91 <div id="splitbar" style="-moz-user-select:none;"
92 class="ui-resizable-handle">
95 <script type="text/javascript">
96 $(document).ready(function(){initNavTree('_validation_8cpp.xhtml','');});
98 <div id="doc-content">
99 <!-- window showing the filter options -->
100 <div id="MSearchSelectWindow"
101 onmouseover="return searchBox.OnSearchSelectShow()"
102 onmouseout="return searchBox.OnSearchSelectHide()"
103 onkeydown="return searchBox.OnSearchSelectKey(event)">
104 <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark"> </span>Pages</a></div>
106 <!-- iframe showing the search results (closed by default) -->
107 <div id="MSearchResultsWindow">
108 <iframe src="javascript:void(0)" frameborder="0"
109 name="MSearchResults" id="MSearchResults">
114 <div class="summary">
115 <a href="#namespaces">Namespaces</a> |
116 <a href="#func-members">Functions</a> </div>
117 <div class="headertitle">
118 <div class="title">Validation.cpp File Reference</div> </div>
120 <div class="contents">
121 <div class="textblock"><code>#include "<a class="el" href="_validation_8h_source.xhtml">Validation.h</a>"</code><br/>
122 <code>#include "<a class="el" href="_coordinates_8h_source.xhtml">arm_compute/core/Coordinates.h</a>"</code><br/>
123 <code>#include "<a class="el" href="_error_8h_source.xhtml">arm_compute/core/Error.h</a>"</code><br/>
124 <code>#include "<a class="el" href="_tensor_shape_8h_source.xhtml">arm_compute/core/TensorShape.h</a>"</code><br/>
125 <code>#include "<a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">arm_compute/core/Types.h</a>"</code><br/>
126 <code>#include "<a class="el" href="runtime_2_tensor_8h_source.xhtml">arm_compute/runtime/Tensor.h</a>"</code><br/>
127 <code>#include <array></code><br/>
128 <code>#include <cmath></code><br/>
129 <code>#include <cstddef></code><br/>
130 <code>#include <cstdint></code><br/>
132 <p><a href="_validation_8cpp_source.xhtml">Go to the source code of this file.</a></p>
133 <table class="memberdecls">
134 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
135 Namespaces</h2></td></tr>
136 <tr class="memitem:namespacearm__compute"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute.xhtml">arm_compute</a></td></tr>
137 <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
138 <tr class="memitem:namespacearm__compute_1_1test"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test.xhtml">arm_compute::test</a></td></tr>
139 <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
140 <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">arm_compute::test::validation</a></td></tr>
141 <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
142 </table><table class="memberdecls">
143 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
144 Functions</h2></td></tr>
145 <tr class="memitem:a7730e17dc901bdffefcf45b08bab135f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test_1_1validation.xhtml#a7730e17dc901bdffefcf45b08bab135f">validate</a> (const <a class="el" href="structarm__compute_1_1_valid_region.xhtml">arm_compute::ValidRegion</a> &region, const <a class="el" href="structarm__compute_1_1_valid_region.xhtml">arm_compute::ValidRegion</a> &reference)</td></tr>
146 <tr class="memdesc:a7730e17dc901bdffefcf45b08bab135f"><td class="mdescLeft"> </td><td class="mdescRight">Validate valid regions. <a href="#a7730e17dc901bdffefcf45b08bab135f">More...</a><br/></td></tr>
147 <tr class="separator:a7730e17dc901bdffefcf45b08bab135f"><td class="memSeparator" colspan="2"> </td></tr>
148 <tr class="memitem:adf9a1249c175fca84f5bd15907291305"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test_1_1validation.xhtml#adf9a1249c175fca84f5bd15907291305">validate</a> (const <a class="el" href="namespacearm__compute.xhtml#a4467b302fc9ec312c40580336ab783da">arm_compute::PaddingSize</a> &<a class="el" href="hwc_8hpp.xhtml#ad487ce76e40f524a7f5e350763b91ae5">padding</a>, const <a class="el" href="namespacearm__compute.xhtml#a4467b302fc9ec312c40580336ab783da">arm_compute::PaddingSize</a> &reference)</td></tr>
149 <tr class="memdesc:adf9a1249c175fca84f5bd15907291305"><td class="mdescLeft"> </td><td class="mdescRight">Validate padding. <a href="#adf9a1249c175fca84f5bd15907291305">More...</a><br/></td></tr>
150 <tr class="separator:adf9a1249c175fca84f5bd15907291305"><td class="memSeparator" colspan="2"> </td></tr>
151 <tr class="memitem:a1e8ca0b3d47827b9574e21e9d73cab6a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test_1_1validation.xhtml#a1e8ca0b3d47827b9574e21e9d73cab6a">validate</a> (const IAccessor &tensor, const void *reference_value)</td></tr>
152 <tr class="memdesc:a1e8ca0b3d47827b9574e21e9d73cab6a"><td class="mdescLeft"> </td><td class="mdescRight">Validate tensors against constant value. <a href="#a1e8ca0b3d47827b9574e21e9d73cab6a">More...</a><br/></td></tr>
153 <tr class="separator:a1e8ca0b3d47827b9574e21e9d73cab6a"><td class="memSeparator" colspan="2"> </td></tr>
154 <tr class="memitem:a47bc8966b6ed3446daaf27aa413047c1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test_1_1validation.xhtml#a47bc8966b6ed3446daaf27aa413047c1">validate</a> (const IAccessor &tensor, BorderSize border_size, const BorderMode &border_mode, const void *border_value)</td></tr>
155 <tr class="memdesc:a47bc8966b6ed3446daaf27aa413047c1"><td class="mdescLeft"> </td><td class="mdescRight">Validate border against a constant value. <a href="#a47bc8966b6ed3446daaf27aa413047c1">More...</a><br/></td></tr>
156 <tr class="separator:a47bc8966b6ed3446daaf27aa413047c1"><td class="memSeparator" colspan="2"> </td></tr>
157 <tr class="memitem:a6c4e463dd04d06dc641fe48308e13334"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test_1_1validation.xhtml#a6c4e463dd04d06dc641fe48308e13334">validate</a> (std::vector< unsigned int > classified_labels, std::vector< unsigned int > expected_labels)</td></tr>
158 <tr class="memdesc:a6c4e463dd04d06dc641fe48308e13334"><td class="mdescLeft"> </td><td class="mdescRight">Validate classified labels against expected ones. <a href="#a6c4e463dd04d06dc641fe48308e13334">More...</a><br/></td></tr>
159 <tr class="separator:a6c4e463dd04d06dc641fe48308e13334"><td class="memSeparator" colspan="2"> </td></tr>
161 </div><!-- contents -->
162 </div><!-- doc-content -->
163 <!-- start footer part -->
164 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
166 <li class="navelem"><a class="el" href="dir_3b4cc335dce0408d77b688e575522aa5.xhtml">tests</a></li><li class="navelem"><a class="el" href="dir_a54a3db5b521d39f12dbe18362fe1216.xhtml">validation</a></li><li class="navelem"><a class="el" href="_validation_8cpp.xhtml">Validation.cpp</a></li>
167 <li class="footer">Generated on Thu Sep 28 2017 14:37:54 for Compute Library by
168 <a href="http://www.doxygen.org/index.html">
169 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>