<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">Compute Library
-  <span id="projectnumber">18.03</span>
+  <span id="projectnumber">18.05</span>
</div>
</td>
</tr>
<div class="title">FastCorners.cpp</div> </div>
</div><!--header-->
<div class="contents">
-<a href="_n_e_o_n_2_fast_corners_8cpp.xhtml">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright (c) 2017-2018 ARM Limited.</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * SPDX-License-Identifier: MIT</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> *</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining a copy</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * of this software and associated documentation files (the "Software"), to</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * deal in the Software without restriction, including without limitation the</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * sell copies of the Software, and to permit persons to whom the Software is</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * furnished to do so, subject to the following conditions:</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> *</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * The above copyright notice and this permission notice shall be included in all</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * copies or substantial portions of the Software.</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> *</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"> * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment"> * SOFTWARE.</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment"> */</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include "<a class="code" href="arm__compute_2core_2_types_8h.xhtml">arm_compute/core/Types.h</a>"</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include "<a class="code" href="_n_e_fast_corners_8h.xhtml">arm_compute/runtime/NEON/functions/NEFastCorners.h</a>"</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include "<a class="code" href="runtime_2_tensor_8h.xhtml">arm_compute/runtime/Tensor.h</a>"</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include "<a class="code" href="_tensor_allocator_8h.xhtml">arm_compute/runtime/TensorAllocator.h</a>"</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include "<a class="code" href="_accessor_8h.xhtml">tests/NEON/Accessor.h</a>"</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include "<a class="code" href="_array_accessor_8h.xhtml">tests/NEON/ArrayAccessor.h</a>"</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include "<a class="code" href="_padding_calculator_8h.xhtml">tests/PaddingCalculator.h</a>"</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include "<a class="code" href="_image_file_datasets_8h.xhtml">tests/datasets/ImageFileDatasets.h</a>"</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include "<a class="code" href="_shape_datasets_8h.xhtml">tests/datasets/ShapeDatasets.h</a>"</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#include "<a class="code" href="_asserts_8h.xhtml">tests/framework/Asserts.h</a>"</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#include "<a class="code" href="tests_2framework_2_macros_8h.xhtml">tests/framework/Macros.h</a>"</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor">#include "<a class="code" href="_datasets_8h.xhtml">tests/framework/datasets/Datasets.h</a>"</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#include "<a class="code" href="_validation_8h.xhtml">tests/validation/Validation.h</a>"</span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#include "<a class="code" href="_fast_corners_fixture_8h.xhtml">tests/validation/fixtures/FastCornersFixture.h</a>"</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="keyword">namespace </span><a class="code" href="namespacearm__compute.xhtml">arm_compute</a></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> {</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="keyword">namespace </span>test</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> {</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="keyword">namespace </span>validation</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> {</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="keyword">namespace</span></div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> {</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="comment">/* Radius of the Bresenham circle around the candidate point */</span></div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> bresenham_radius = 3;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="comment">/* Tolerance used to compare corner strengths */</span></div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="keyword">const</span> AbsoluteTolerance<float> tolerance(0.5f);</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> } <span class="comment">// namespace</span></div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> </div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <a class="code" href="tests_2framework_2_macros_8h.xhtml#acd09bed517e43d28823e69494f259835">TEST_SUITE</a>(NEON)</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <a class="code" href="tests_2framework_2_macros_8h.xhtml#acd09bed517e43d28823e69494f259835">TEST_SUITE</a>(FastCorners)</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a35d3ab6d678579401ec6efeccd788c3b">DATA_TEST_CASE</a>(Configuration, framework::<a class="code" href="namespacearm__compute_1_1test_1_1framework.xhtml#a7edf31944a6144ffd493d2f9a7bfb5cf">DatasetMode</a>::ALL, <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#ad2b4e88e166416d979a049064877b2ca">combine</a>(<a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#ad2b4e88e166416d979a049064877b2ca">combine</a>(<a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#ad2b4e88e166416d979a049064877b2ca">combine</a>(<a class="code" href="namespacearm__compute_1_1test_1_1framework_1_1dataset.xhtml#a20b2c46a6ccea85acf64c599a68251d7">concat</a>(datasets::Small2DShapes(), datasets::Large2DShapes()),</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  framework::dataset::<a class="code" href="namespacearm__compute_1_1test_1_1framework_1_1dataset.xhtml#a352791fb808d42a82ad70df5efa3508b">make</a>("<a class="code" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58">Format</a>", Format::U8)),</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  framework::dataset::<a class="code" href="namespacearm__compute_1_1test_1_1framework_1_1dataset.xhtml#a352791fb808d42a82ad70df5efa3508b">make</a>("SuppressNonMax", { <span class="keyword">false</span>, <span class="keyword">true</span> })),</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <a class="code" href="namespacearm__compute_1_1test_1_1framework_1_1dataset.xhtml#a352791fb808d42a82ad70df5efa3508b">framework::dataset::make</a>(<span class="stringliteral">"BorderMode"</span>, <a class="code" href="namespacearm__compute.xhtml#a15a05537a472ee742404821851529327a0db45d2a4141101bdfe48e3314cfbca3">BorderMode::UNDEFINED</a>)),</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a45cde9abb508c62d67c3bb2b9bf566a5">shape</a>, format, suppress_nonmax, <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a5471e46933e7a9c4709972d91fc4ea65">border_mode</a>)</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> {</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  std::mt19937 gen(<a class="code" href="namespacearm__compute_1_1test.xhtml#a71326f0909d77386e29b511e1990a11f">library</a>->seed());</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  std::uniform_int_distribution<uint8_t> int_dist(0, 255);</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  std::uniform_real_distribution<float> real_dist(0, 255);</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> </div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keyword">const</span> uint8_t constant_border_value = int_dist(gen);</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keyword">const</span> <span class="keywordtype">float</span> <a class="code" href="namespacearm__compute_1_1test_1_1validation_1_1reference.xhtml#a6cae310822a46019ba25a00ddb0f7e62">threshold</a> = real_dist(gen);</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="comment">// Create tensors</span></div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  Tensor <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a6743f0a130e8311e6f5b1a23df102472">src</a> = create_tensor<Tensor>(<a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a45cde9abb508c62d67c3bb2b9bf566a5">shape</a>, <a class="code" href="namespacearm__compute.xhtml#a59846ef5ca75cd81cdb7e8a1ce08f9db">data_type_from_format</a>(format));</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  src.info()->set_format(format);</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> </div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#af3c1de77fd86df539395c75c17ec230e">ARM_COMPUTE_EXPECT</a>(src.info()->is_resizable(), <a class="code" href="namespacearm__compute_1_1test_1_1framework.xhtml#aca1fd1d8935433e6ba2e3918214e07f9a6f3a603fac4d817f1848c3173b243b57">framework::LogLevel::ERRORS</a>);</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> </div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <a class="code" href="namespacearm__compute.xhtml#a8856eca9a83e16bb0cb5880e9c6c9fe7">KeyPointArray</a> corners;</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> </div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="comment">// Create and configure function</span></div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  NEFastCorners <a class="code" href="fast__corners_8cl.xhtml#a33152baf05787bd17259b692bfba24af">fast_corners</a>;</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  fast_corners.configure(&src, threshold, suppress_nonmax, &corners, <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a5471e46933e7a9c4709972d91fc4ea65">border_mode</a>, constant_border_value);</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="comment">// Validate padding</span></div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  PaddingCalculator <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a9374ade0a8f9d2e8b1831942a2247700">calculator</a>(shape.x(), 1); <span class="comment">// elems_processed</span></div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span> </div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a9374ade0a8f9d2e8b1831942a2247700">calculator</a>.<a class="code" href="classarm__compute_1_1test_1_1_padding_calculator.xhtml#aacfa81e91a8e77c44b1221606374f8b1">set_border_size</a>(bresenham_radius);</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a9374ade0a8f9d2e8b1831942a2247700">calculator</a>.<a class="code" href="classarm__compute_1_1test_1_1_padding_calculator.xhtml#a8a17e32f289144bcb2040eaa31d149f0">set_access_offset</a>(-bresenham_radius);</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a9374ade0a8f9d2e8b1831942a2247700">calculator</a>.<a class="code" href="classarm__compute_1_1test_1_1_padding_calculator.xhtml#a4456c6014ddd23c0a45573589a535183">set_accessed_elements</a>(8); <span class="comment">// elems_read</span></div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span> </div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a6813132c943295888972727864ea5c2f">validate</a>(src.info()->padding(), <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a9374ade0a8f9d2e8b1831942a2247700">calculator</a>.<a class="code" href="classarm__compute_1_1test_1_1_padding_calculator.xhtml#a2435ae6ac8638f53c4f315d3f11e84a7">required_padding</a>());</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span> }</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> </div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="keyword">template</span> <<span class="keyword">typename</span> T></div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="namespacearm__compute_1_1test_1_1validation.xhtml#a91c3c0dac7b566f39e6dc2012772c6c7"> 92</a></span> <span class="keyword">using</span> <a class="code" href="classarm__compute_1_1test_1_1validation_1_1_fast_corners_validation_fixture.xhtml">NEFastCornersFixture</a> = <a class="code" href="classarm__compute_1_1test_1_1validation_1_1_fast_corners_validation_fixture.xhtml">FastCornersValidationFixture<Tensor, Accessor, KeyPointArray, NEFastCorners, T></a>;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="namespacearm__compute_1_1test_1_1validation.xhtml#a6cdfa6c631c6b6d8d7839469e61bc439"> 94</a></span> <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a6b5e9878192726548c5546a4cbc175ab">FIXTURE_DATA_TEST_CASE</a>(RunSmall, <a class="code" href="classarm__compute_1_1test_1_1validation_1_1_fast_corners_validation_fixture.xhtml">NEFastCornersFixture<uint8_t></a>, <a class="code" href="namespacearm__compute_1_1test_1_1framework.xhtml#a7edf31944a6144ffd493d2f9a7bfb5cfab829534c7b40afdbd3c3ffea05202a97">framework::DatasetMode::PRECOMMIT</a>, <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#ad2b4e88e166416d979a049064877b2ca">combine</a>(<a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#ad2b4e88e166416d979a049064877b2ca">combine</a>(<a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#ad2b4e88e166416d979a049064877b2ca">combine</a>(<a class="code" href="classarm__compute_1_1test_1_1datasets_1_1_small_image_files.xhtml">datasets::SmallImageFiles</a>(), <a class="code" href="namespacearm__compute_1_1test_1_1framework_1_1dataset.xhtml#a352791fb808d42a82ad70df5efa3508b">framework::dataset::make</a>(<span class="stringliteral">"Format"</span>, <a class="code" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a6669348b484e3008dca2bfa8e85e40b5">Format::U8</a>)),</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <a class="code" href="namespacearm__compute_1_1test_1_1framework_1_1dataset.xhtml#a352791fb808d42a82ad70df5efa3508b">framework::dataset::make</a>(<span class="stringliteral">"SuppressNonMax"</span>, { <span class="keyword">false</span>, <span class="keyword">true</span> })),</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <a class="code" href="namespacearm__compute_1_1test_1_1framework_1_1dataset.xhtml#a352791fb808d42a82ad70df5efa3508b">framework::dataset::make</a>(<span class="stringliteral">"BorderMode"</span>, <a class="code" href="namespacearm__compute.xhtml#a15a05537a472ee742404821851529327a0db45d2a4141101bdfe48e3314cfbca3">BorderMode::UNDEFINED</a>)))</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> {</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="comment">// Validate output</span></div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <a class="code" href="classarm__compute_1_1test_1_1_array_accessor.xhtml">ArrayAccessor<KeyPoint></a> array(_target);</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a7f99d2d87d24921c41c66388243f27c1">validate_keypoints</a>(array.<a class="code" href="classarm__compute_1_1test_1_1_array_accessor.xhtml#a32e914dbe65c0591501e44790957bb0f">buffer</a>(), array.<a class="code" href="classarm__compute_1_1test_1_1_array_accessor.xhtml#a32e914dbe65c0591501e44790957bb0f">buffer</a>() + array.<a class="code" href="classarm__compute_1_1test_1_1_array_accessor.xhtml#ade9461ca253dd956d2d08f89dd04c6eb">num_values</a>(), _reference.begin(), _reference.end(), tolerance);</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span> }</div><div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="namespacearm__compute_1_1test_1_1validation.xhtml#a6eb8567686eb4e74fbf991dcd7e046ab"> 102</a></span> <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a6b5e9878192726548c5546a4cbc175ab">FIXTURE_DATA_TEST_CASE</a>(RunLarge, <a class="code" href="classarm__compute_1_1test_1_1validation_1_1_fast_corners_validation_fixture.xhtml">NEFastCornersFixture<uint8_t></a>, <a class="code" href="namespacearm__compute_1_1test_1_1framework.xhtml#a7edf31944a6144ffd493d2f9a7bfb5cfad791cd54143e331164a2b216451a5dd3">framework::DatasetMode::NIGHTLY</a>, <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#ad2b4e88e166416d979a049064877b2ca">combine</a>(<a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#ad2b4e88e166416d979a049064877b2ca">combine</a>(<a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#ad2b4e88e166416d979a049064877b2ca">combine</a>(<a class="code" href="classarm__compute_1_1test_1_1datasets_1_1_large_image_files.xhtml">datasets::LargeImageFiles</a>(), <a class="code" href="namespacearm__compute_1_1test_1_1framework_1_1dataset.xhtml#a352791fb808d42a82ad70df5efa3508b">framework::dataset::make</a>(<span class="stringliteral">"Format"</span>, <a class="code" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a6669348b484e3008dca2bfa8e85e40b5">Format::U8</a>)),</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <a class="code" href="namespacearm__compute_1_1test_1_1framework_1_1dataset.xhtml#a352791fb808d42a82ad70df5efa3508b">framework::dataset::make</a>(<span class="stringliteral">"SuppressNonMax"</span>, { <span class="keyword">false</span>, <span class="keyword">true</span> })),</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <a class="code" href="namespacearm__compute_1_1test_1_1framework_1_1dataset.xhtml#a352791fb808d42a82ad70df5efa3508b">framework::dataset::make</a>(<span class="stringliteral">"BorderMode"</span>, <a class="code" href="namespacearm__compute.xhtml#a15a05537a472ee742404821851529327a0db45d2a4141101bdfe48e3314cfbca3">BorderMode::UNDEFINED</a>)))</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span> {</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="comment">// Validate output</span></div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <a class="code" href="classarm__compute_1_1test_1_1_array_accessor.xhtml">ArrayAccessor<KeyPoint></a> array(_target);</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a7f99d2d87d24921c41c66388243f27c1">validate_keypoints</a>(array.<a class="code" href="classarm__compute_1_1test_1_1_array_accessor.xhtml#a32e914dbe65c0591501e44790957bb0f">buffer</a>(), array.<a class="code" href="classarm__compute_1_1test_1_1_array_accessor.xhtml#a32e914dbe65c0591501e44790957bb0f">buffer</a>() + array.<a class="code" href="classarm__compute_1_1test_1_1_array_accessor.xhtml#ade9461ca253dd956d2d08f89dd04c6eb">num_values</a>(), _reference.begin(), _reference.end(), tolerance);</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span> }</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> </div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span> <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a38fe4b20a05bbaa1c844f3d7a19791ae">TEST_SUITE_END</a>()</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span> <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a38fe4b20a05bbaa1c844f3d7a19791ae">TEST_SUITE_END</a>()</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span> } <span class="comment">// namespace validation</span></div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span> } <span class="comment">// namespace test</span></div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span> } <span class="comment">// namespace arm_compute</span></div><div class="ttc" id="_accessor_8h_xhtml"><div class="ttname"><a href="_accessor_8h.xhtml">Accessor.h</a></div></div>
+<a href="_n_e_o_n_2_fast_corners_8cpp.xhtml">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright (c) 2017-2018 ARM Limited.</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * SPDX-License-Identifier: MIT</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> *</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining a copy</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * of this software and associated documentation files (the "Software"), to</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * deal in the Software without restriction, including without limitation the</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * sell copies of the Software, and to permit persons to whom the Software is</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * furnished to do so, subject to the following conditions:</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> *</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * The above copyright notice and this permission notice shall be included in all</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * copies or substantial portions of the Software.</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> *</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"> * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment"> * SOFTWARE.</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment"> */</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include "<a class="code" href="arm__compute_2core_2_types_8h.xhtml">arm_compute/core/Types.h</a>"</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include "<a class="code" href="_n_e_fast_corners_8h.xhtml">arm_compute/runtime/NEON/functions/NEFastCorners.h</a>"</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include "<a class="code" href="runtime_2_tensor_8h.xhtml">arm_compute/runtime/Tensor.h</a>"</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include "<a class="code" href="_tensor_allocator_8h.xhtml">arm_compute/runtime/TensorAllocator.h</a>"</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include "<a class="code" href="_accessor_8h.xhtml">tests/NEON/Accessor.h</a>"</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include "<a class="code" href="_array_accessor_8h.xhtml">tests/NEON/ArrayAccessor.h</a>"</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include "<a class="code" href="_padding_calculator_8h.xhtml">tests/PaddingCalculator.h</a>"</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include "tests/datasets/ImageFileDatasets.h"</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include "tests/datasets/ShapeDatasets.h"</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#include "<a class="code" href="_asserts_8h.xhtml">tests/framework/Asserts.h</a>"</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#include "<a class="code" href="tests_2framework_2_macros_8h.xhtml">tests/framework/Macros.h</a>"</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor">#include "<a class="code" href="_datasets_8h.xhtml">tests/framework/datasets/Datasets.h</a>"</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#include "<a class="code" href="_validation_8h.xhtml">tests/validation/Validation.h</a>"</span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#include "tests/validation/fixtures/FastCornersFixture.h"</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="keyword">namespace </span><a class="code" href="namespacearm__compute.xhtml">arm_compute</a></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> {</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="keyword">namespace </span>test</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> {</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="keyword">namespace </span>validation</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> {</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="keyword">namespace</span></div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> {</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="comment">/* Radius of the Bresenham circle around the candidate point */</span></div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> bresenham_radius = 3;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="comment">/* Tolerance used to compare corner strengths */</span></div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="keyword">const</span> AbsoluteTolerance<float> tolerance(0.5f);</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> } <span class="comment">// namespace</span></div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> </div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <a class="code" href="tests_2framework_2_macros_8h.xhtml#acd09bed517e43d28823e69494f259835">TEST_SUITE</a>(NEON)</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <a class="code" href="tests_2framework_2_macros_8h.xhtml#acd09bed517e43d28823e69494f259835">TEST_SUITE</a>(FastCorners)</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a35d3ab6d678579401ec6efeccd788c3b">DATA_TEST_CASE</a>(Configuration, framework::<a class="code" href="namespacearm__compute_1_1test_1_1framework.xhtml#a7edf31944a6144ffd493d2f9a7bfb5cf">DatasetMode</a>::ALL, <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#ad2b4e88e166416d979a049064877b2ca">combine</a>(<a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#ad2b4e88e166416d979a049064877b2ca">combine</a>(<a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#ad2b4e88e166416d979a049064877b2ca">combine</a>(<a class="code" href="namespacearm__compute_1_1test_1_1framework_1_1dataset.xhtml#a20b2c46a6ccea85acf64c599a68251d7">concat</a>(datasets::Small2DShapes(), datasets::Large2DShapes()),</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  framework::dataset::<a class="code" href="namespacearm__compute_1_1test_1_1framework_1_1dataset.xhtml#a352791fb808d42a82ad70df5efa3508b">make</a>("<a class="code" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58">Format</a>", Format::U8)),</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  framework::dataset::<a class="code" href="namespacearm__compute_1_1test_1_1framework_1_1dataset.xhtml#a352791fb808d42a82ad70df5efa3508b">make</a>("SuppressNonMax", { <span class="keyword">false</span>, <span class="keyword">true</span> })),</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <a class="code" href="namespacearm__compute_1_1test_1_1framework_1_1dataset.xhtml#a352791fb808d42a82ad70df5efa3508b">framework::dataset::make</a>(<span class="stringliteral">"BorderMode"</span>, <a class="code" href="namespacearm__compute.xhtml#a15a05537a472ee742404821851529327a0db45d2a4141101bdfe48e3314cfbca3">BorderMode::UNDEFINED</a>)),</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a45cde9abb508c62d67c3bb2b9bf566a5">shape</a>, format, suppress_nonmax, <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a5471e46933e7a9c4709972d91fc4ea65">border_mode</a>)</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> {</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  std::mt19937 gen(<a class="code" href="namespacearm__compute_1_1test.xhtml#a71326f0909d77386e29b511e1990a11f">library</a>->seed());</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  std::uniform_int_distribution<uint8_t> int_dist(0, 255);</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  std::uniform_real_distribution<float> real_dist(0, 255);</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> </div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keyword">const</span> uint8_t constant_border_value = int_dist(gen);</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keyword">const</span> <span class="keywordtype">float</span> <a class="code" href="namespacearm__compute_1_1test_1_1validation_1_1reference.xhtml#a6cae310822a46019ba25a00ddb0f7e62">threshold</a> = real_dist(gen);</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="comment">// Create tensors</span></div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  Tensor <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a6743f0a130e8311e6f5b1a23df102472">src</a> = create_tensor<Tensor>(<a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a45cde9abb508c62d67c3bb2b9bf566a5">shape</a>, <a class="code" href="namespacearm__compute.xhtml#a59846ef5ca75cd81cdb7e8a1ce08f9db">data_type_from_format</a>(format));</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  src.info()->set_format(format);</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> </div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#af3c1de77fd86df539395c75c17ec230e">ARM_COMPUTE_EXPECT</a>(src.info()->is_resizable(), <a class="code" href="namespacearm__compute_1_1test_1_1framework.xhtml#aca1fd1d8935433e6ba2e3918214e07f9a6f3a603fac4d817f1848c3173b243b57">framework::LogLevel::ERRORS</a>);</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> </div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <a class="code" href="namespacearm__compute.xhtml#a8856eca9a83e16bb0cb5880e9c6c9fe7">KeyPointArray</a> corners;</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> </div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="comment">// Create and configure function</span></div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  NEFastCorners <a class="code" href="fast__corners_8cl.xhtml#a33152baf05787bd17259b692bfba24af">fast_corners</a>;</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  fast_corners.configure(&src, threshold, suppress_nonmax, &corners, <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a5471e46933e7a9c4709972d91fc4ea65">border_mode</a>, constant_border_value);</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="comment">// Validate padding</span></div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  PaddingCalculator <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a9374ade0a8f9d2e8b1831942a2247700">calculator</a>(shape.x(), 1); <span class="comment">// elems_processed</span></div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span> </div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a9374ade0a8f9d2e8b1831942a2247700">calculator</a>.<a class="code" href="classarm__compute_1_1test_1_1_padding_calculator.xhtml#aacfa81e91a8e77c44b1221606374f8b1">set_border_size</a>(bresenham_radius);</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a9374ade0a8f9d2e8b1831942a2247700">calculator</a>.<a class="code" href="classarm__compute_1_1test_1_1_padding_calculator.xhtml#a8a17e32f289144bcb2040eaa31d149f0">set_access_offset</a>(-bresenham_radius);</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a9374ade0a8f9d2e8b1831942a2247700">calculator</a>.<a class="code" href="classarm__compute_1_1test_1_1_padding_calculator.xhtml#a4456c6014ddd23c0a45573589a535183">set_accessed_elements</a>(8); <span class="comment">// elems_read</span></div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span> </div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a6813132c943295888972727864ea5c2f">validate</a>(src.info()->padding(), <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a9374ade0a8f9d2e8b1831942a2247700">calculator</a>.<a class="code" href="classarm__compute_1_1test_1_1_padding_calculator.xhtml#a2435ae6ac8638f53c4f315d3f11e84a7">required_padding</a>());</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span> }</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> </div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="keyword">template</span> <<span class="keyword">typename</span> T></div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="namespacearm__compute_1_1test_1_1validation.xhtml#a91c3c0dac7b566f39e6dc2012772c6c7"> 92</a></span> <span class="keyword">using</span> <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a91c3c0dac7b566f39e6dc2012772c6c7">NEFastCornersFixture</a> = FastCornersValidationFixture<Tensor, Accessor, KeyPointArray, NEFastCorners, T>;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="namespacearm__compute_1_1test_1_1validation.xhtml#a6cdfa6c631c6b6d8d7839469e61bc439"> 94</a></span> <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a6b5e9878192726548c5546a4cbc175ab">FIXTURE_DATA_TEST_CASE</a>(RunSmall, <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a91c3c0dac7b566f39e6dc2012772c6c7">NEFastCornersFixture<uint8_t></a>, <a class="code" href="namespacearm__compute_1_1test_1_1framework.xhtml#a7edf31944a6144ffd493d2f9a7bfb5cfab829534c7b40afdbd3c3ffea05202a97">framework::DatasetMode::PRECOMMIT</a>, <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#ad2b4e88e166416d979a049064877b2ca">combine</a>(<a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#ad2b4e88e166416d979a049064877b2ca">combine</a>(<a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#ad2b4e88e166416d979a049064877b2ca">combine</a>(datasets::SmallImageFiles(), <a class="code" href="namespacearm__compute_1_1test_1_1framework_1_1dataset.xhtml#a352791fb808d42a82ad70df5efa3508b">framework::dataset::make</a>(<span class="stringliteral">"Format"</span>, <a class="code" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a6669348b484e3008dca2bfa8e85e40b5">Format::U8</a>)),</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <a class="code" href="namespacearm__compute_1_1test_1_1framework_1_1dataset.xhtml#a352791fb808d42a82ad70df5efa3508b">framework::dataset::make</a>(<span class="stringliteral">"SuppressNonMax"</span>, { <span class="keyword">false</span>, <span class="keyword">true</span> })),</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <a class="code" href="namespacearm__compute_1_1test_1_1framework_1_1dataset.xhtml#a352791fb808d42a82ad70df5efa3508b">framework::dataset::make</a>(<span class="stringliteral">"BorderMode"</span>, <a class="code" href="namespacearm__compute.xhtml#a15a05537a472ee742404821851529327a0db45d2a4141101bdfe48e3314cfbca3">BorderMode::UNDEFINED</a>)))</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> {</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="comment">// Validate output</span></div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <a class="code" href="classarm__compute_1_1test_1_1_array_accessor.xhtml">ArrayAccessor<KeyPoint></a> array(_target);</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a7f99d2d87d24921c41c66388243f27c1">validate_keypoints</a>(array.<a class="code" href="classarm__compute_1_1test_1_1_array_accessor.xhtml#a32e914dbe65c0591501e44790957bb0f">buffer</a>(), array.<a class="code" href="classarm__compute_1_1test_1_1_array_accessor.xhtml#a32e914dbe65c0591501e44790957bb0f">buffer</a>() + array.<a class="code" href="classarm__compute_1_1test_1_1_array_accessor.xhtml#ade9461ca253dd956d2d08f89dd04c6eb">num_values</a>(), _reference.begin(), _reference.end(), tolerance);</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span> }</div><div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="namespacearm__compute_1_1test_1_1validation.xhtml#a6eb8567686eb4e74fbf991dcd7e046ab"> 102</a></span> <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a6b5e9878192726548c5546a4cbc175ab">FIXTURE_DATA_TEST_CASE</a>(RunLarge, <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a91c3c0dac7b566f39e6dc2012772c6c7">NEFastCornersFixture<uint8_t></a>, <a class="code" href="namespacearm__compute_1_1test_1_1framework.xhtml#a7edf31944a6144ffd493d2f9a7bfb5cfad791cd54143e331164a2b216451a5dd3">framework::DatasetMode::NIGHTLY</a>, <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#ad2b4e88e166416d979a049064877b2ca">combine</a>(<a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#ad2b4e88e166416d979a049064877b2ca">combine</a>(<a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#ad2b4e88e166416d979a049064877b2ca">combine</a>(datasets::LargeImageFiles(), <a class="code" href="namespacearm__compute_1_1test_1_1framework_1_1dataset.xhtml#a352791fb808d42a82ad70df5efa3508b">framework::dataset::make</a>(<span class="stringliteral">"Format"</span>, <a class="code" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a6669348b484e3008dca2bfa8e85e40b5">Format::U8</a>)),</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <a class="code" href="namespacearm__compute_1_1test_1_1framework_1_1dataset.xhtml#a352791fb808d42a82ad70df5efa3508b">framework::dataset::make</a>(<span class="stringliteral">"SuppressNonMax"</span>, { <span class="keyword">false</span>, <span class="keyword">true</span> })),</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <a class="code" href="namespacearm__compute_1_1test_1_1framework_1_1dataset.xhtml#a352791fb808d42a82ad70df5efa3508b">framework::dataset::make</a>(<span class="stringliteral">"BorderMode"</span>, <a class="code" href="namespacearm__compute.xhtml#a15a05537a472ee742404821851529327a0db45d2a4141101bdfe48e3314cfbca3">BorderMode::UNDEFINED</a>)))</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span> {</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="comment">// Validate output</span></div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <a class="code" href="classarm__compute_1_1test_1_1_array_accessor.xhtml">ArrayAccessor<KeyPoint></a> array(_target);</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a7f99d2d87d24921c41c66388243f27c1">validate_keypoints</a>(array.<a class="code" href="classarm__compute_1_1test_1_1_array_accessor.xhtml#a32e914dbe65c0591501e44790957bb0f">buffer</a>(), array.<a class="code" href="classarm__compute_1_1test_1_1_array_accessor.xhtml#a32e914dbe65c0591501e44790957bb0f">buffer</a>() + array.<a class="code" href="classarm__compute_1_1test_1_1_array_accessor.xhtml#ade9461ca253dd956d2d08f89dd04c6eb">num_values</a>(), _reference.begin(), _reference.end(), tolerance);</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span> }</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> </div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span> <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a38fe4b20a05bbaa1c844f3d7a19791ae">TEST_SUITE_END</a>()</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span> <a class="code" href="namespacearm__compute_1_1test_1_1validation.xhtml#a38fe4b20a05bbaa1c844f3d7a19791ae">TEST_SUITE_END</a>()</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span> } <span class="comment">// namespace validation</span></div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span> } <span class="comment">// namespace test</span></div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span> } <span class="comment">// namespace arm_compute</span></div><div class="ttc" id="_accessor_8h_xhtml"><div class="ttname"><a href="_accessor_8h.xhtml">Accessor.h</a></div></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_convolution_8cpp_source.xhtml#l00133">Convolution.cpp:133</a></div></div>
<div class="ttc" id="classarm__compute_1_1test_1_1_padding_calculator_xhtml_a4456c6014ddd23c0a45573589a535183"><div class="ttname"><a href="classarm__compute_1_1test_1_1_padding_calculator.xhtml#a4456c6014ddd23c0a45573589a535183">arm_compute::test::PaddingCalculator::set_accessed_elements</a></div><div class="ttdeci">void set_accessed_elements(int elements)</div><div class="ttdoc">Set number of accessed elements. </div><div class="ttdef"><b>Definition:</b> <a href="_padding_calculator_8h_source.xhtml#l00136">PaddingCalculator.h:136</a></div></div>
-<div class="ttc" id="_shape_datasets_8h_xhtml"><div class="ttname"><a href="_shape_datasets_8h.xhtml">ShapeDatasets.h</a></div></div>
<div class="ttc" id="_padding_calculator_8h_xhtml"><div class="ttname"><a href="_padding_calculator_8h.xhtml">PaddingCalculator.h</a></div></div>
<div class="ttc" id="classarm__compute_1_1test_1_1_array_accessor_xhtml"><div class="ttname"><a href="classarm__compute_1_1test_1_1_array_accessor.xhtml">arm_compute::test::ArrayAccessor</a></div><div class="ttdoc">ArrayAccessor implementation for Array objects. </div><div class="ttdef"><b>Definition:</b> <a href="_array_accessor_8h_source.xhtml#l00036">ArrayAccessor.h:36</a></div></div>
-<div class="ttc" id="classarm__compute_1_1test_1_1_array_accessor_xhtml_ade9461ca253dd956d2d08f89dd04c6eb"><div class="ttname"><a href="classarm__compute_1_1test_1_1_array_accessor.xhtml#ade9461ca253dd956d2d08f89dd04c6eb">arm_compute::test::ArrayAccessor::num_values</a></div><div class="ttdeci">size_t num_values() const override</div><div class="ttdoc">Number of elements of the tensor. </div><div class="ttdef"><b>Definition:</b> <a href="_array_accessor_8h_source.xhtml#l00053">ArrayAccessor.h:53</a></div></div>
+<div class="ttc" id="classarm__compute_1_1test_1_1_array_accessor_xhtml_ade9461ca253dd956d2d08f89dd04c6eb"><div class="ttname"><a href="classarm__compute_1_1test_1_1_array_accessor.xhtml#ade9461ca253dd956d2d08f89dd04c6eb">arm_compute::test::ArrayAccessor::num_values</a></div><div class="ttdeci">size_t num_values() const override</div><div class="ttdoc">Number of elements of the tensor. </div><div class="ttdef"><b>Definition:</b> <a href="_array_accessor_8h_source.xhtml#l00057">ArrayAccessor.h:57</a></div></div>
<div class="ttc" id="namespacearm__compute_xhtml_ab4e88c89b3b7ea1735996cc4def22d58a6669348b484e3008dca2bfa8e85e40b5"><div class="ttname"><a href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a6669348b484e3008dca2bfa8e85e40b5">arm_compute::Format::U8</a></div><div class="ttdoc">1 channel, 1 U8 per channel </div></div>
<div class="ttc" id="_tensor_allocator_8h_xhtml"><div class="ttname"><a href="_tensor_allocator_8h.xhtml">TensorAllocator.h</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_a9374ade0a8f9d2e8b1831942a2247700"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#a9374ade0a8f9d2e8b1831942a2247700">arm_compute::test::validation::calculator</a></div><div class="ttdeci">PaddingCalculator calculator(shape.x(), 8)</div></div>
-<div class="ttc" id="namespacearm__compute_1_1test_1_1framework_1_1dataset_xhtml_a352791fb808d42a82ad70df5efa3508b"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1framework_1_1dataset.xhtml#a352791fb808d42a82ad70df5efa3508b">arm_compute::test::framework::dataset::make</a></div><div class="ttdeci">std::enable_if< is_container< T >::value, ContainerDataset< T > >::type make(std::string name, T &&values)</div><div class="ttdoc">Helper function to create a ContainerDataset. </div><div class="ttdef"><b>Definition:</b> <a href="_container_dataset_8h_source.xhtml#l00141">ContainerDataset.h:141</a></div></div>
+<div class="ttc" id="namespacearm__compute_1_1test_1_1framework_1_1dataset_xhtml_a352791fb808d42a82ad70df5efa3508b"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1framework_1_1dataset.xhtml#a352791fb808d42a82ad70df5efa3508b">arm_compute::test::framework::dataset::make</a></div><div class="ttdeci">std::enable_if< is_container< T >::value, ContainerDataset< T > >::type make(std::string name, T &&values)</div><div class="ttdoc">Helper function to create a ContainerDataset. </div><div class="ttdef"><b>Definition:</b> <a href="_container_dataset_8h_source.xhtml#l00160">ContainerDataset.h:160</a></div></div>
<div class="ttc" id="classarm__compute_1_1test_1_1_padding_calculator_xhtml_aacfa81e91a8e77c44b1221606374f8b1"><div class="ttname"><a href="classarm__compute_1_1test_1_1_padding_calculator.xhtml#aacfa81e91a8e77c44b1221606374f8b1">arm_compute::test::PaddingCalculator::set_border_size</a></div><div class="ttdeci">void set_border_size(int size)</div><div class="ttdoc">Set border size. </div><div class="ttdef"><b>Definition:</b> <a href="_padding_calculator_8h_source.xhtml#l00122">PaddingCalculator.h:122</a></div></div>
<div class="ttc" id="classarm__compute_1_1test_1_1_padding_calculator_xhtml_a2435ae6ac8638f53c4f315d3f11e84a7"><div class="ttname"><a href="classarm__compute_1_1test_1_1_padding_calculator.xhtml#a2435ae6ac8638f53c4f315d3f11e84a7">arm_compute::test::PaddingCalculator::required_padding</a></div><div class="ttdeci">PaddingSize required_padding() const </div><div class="ttdoc">Compute the required padding. </div><div class="ttdef"><b>Definition:</b> <a href="_padding_calculator_8h_source.xhtml#l00141">PaddingCalculator.h:141</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1test_1_1framework_xhtml_a7edf31944a6144ffd493d2f9a7bfb5cfab829534c7b40afdbd3c3ffea05202a97"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1framework.xhtml#a7edf31944a6144ffd493d2f9a7bfb5cfab829534c7b40afdbd3c3ffea05202a97">arm_compute::test::framework::DatasetMode::PRECOMMIT</a></div></div>
<div class="ttc" id="namespacearm__compute_xhtml"><div class="ttname"><a href="namespacearm__compute.xhtml">arm_compute</a></div><div class="ttdoc">This file contains all available output stages for GEMMLowp on OpenCL. </div><div class="ttdef"><b>Definition:</b> <a href="00__introduction_8dox_source.xhtml#l00001">00_introduction.dox:1</a></div></div>
<div class="ttc" id="classarm__compute_1_1test_1_1_padding_calculator_xhtml_a8a17e32f289144bcb2040eaa31d149f0"><div class="ttname"><a href="classarm__compute_1_1test_1_1_padding_calculator.xhtml#a8a17e32f289144bcb2040eaa31d149f0">arm_compute::test::PaddingCalculator::set_access_offset</a></div><div class="ttdeci">void set_access_offset(int offset)</div><div class="ttdoc">Set offset of the access relative to the current position. </div><div class="ttdef"><b>Definition:</b> <a href="_padding_calculator_8h_source.xhtml#l00127">PaddingCalculator.h:127</a></div></div>
<div class="ttc" id="tests_2framework_2_macros_8h_xhtml_acd09bed517e43d28823e69494f259835"><div class="ttname"><a href="tests_2framework_2_macros_8h.xhtml#acd09bed517e43d28823e69494f259835">TEST_SUITE</a></div><div class="ttdeci">#define TEST_SUITE(SUITE_NAME)</div><div class="ttdef"><b>Definition:</b> <a href="tests_2framework_2_macros_8h_source.xhtml#l00034">Macros.h:34</a></div></div>
-<div class="ttc" id="namespacearm__compute_xhtml_a8856eca9a83e16bb0cb5880e9c6c9fe7"><div class="ttname"><a href="namespacearm__compute.xhtml#a8856eca9a83e16bb0cb5880e9c6c9fe7">arm_compute::KeyPointArray</a></div><div class="ttdeci">Array< KeyPoint > KeyPointArray</div><div class="ttdef"><b>Definition:</b> <a href="_array_8h_source.xhtml#l00064">Array.h:64</a></div></div>
-<div class="ttc" id="classarm__compute_1_1test_1_1validation_1_1_fast_corners_validation_fixture_xhtml"><div class="ttname"><a href="classarm__compute_1_1test_1_1validation_1_1_fast_corners_validation_fixture.xhtml">arm_compute::test::validation::FastCornersValidationFixture</a></div><div class="ttdef"><b>Definition:</b> <a href="_fast_corners_fixture_8h_source.xhtml#l00048">FastCornersFixture.h:48</a></div></div>
+<div class="ttc" id="namespacearm__compute_xhtml_a8856eca9a83e16bb0cb5880e9c6c9fe7"><div class="ttname"><a href="namespacearm__compute.xhtml#a8856eca9a83e16bb0cb5880e9c6c9fe7">arm_compute::KeyPointArray</a></div><div class="ttdeci">Array< KeyPoint > KeyPointArray</div><div class="ttdoc">Array of Key Points. </div><div class="ttdef"><b>Definition:</b> <a href="_array_8h_source.xhtml#l00065">Array.h:65</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_a5471e46933e7a9c4709972d91fc4ea65"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#a5471e46933e7a9c4709972d91fc4ea65">arm_compute::test::validation::border_mode</a></div><div class="ttdeci">border_mode</div><div class="ttdef"><b>Definition:</b> <a href="_c_l_2_convolution_8cpp_source.xhtml#l00133">Convolution.cpp:133</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_a6b5e9878192726548c5546a4cbc175ab"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#a6b5e9878192726548c5546a4cbc175ab">arm_compute::test::validation::FIXTURE_DATA_TEST_CASE</a></div><div class="ttdeci">FIXTURE_DATA_TEST_CASE(RunSmall, CLAbsoluteDifferenceFixture< uint8_t >, framework::DatasetMode::PRECOMMIT, combine(datasets::SmallShapes(), AbsoluteDifferenceU8Dataset))</div><div class="ttdef"><b>Definition:</b> <a href="_c_l_2_absolute_difference_8cpp_source.xhtml#l00083">AbsoluteDifference.cpp:83</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_a6813132c943295888972727864ea5c2f"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#a6813132c943295888972727864ea5c2f">arm_compute::test::validation::validate</a></div><div class="ttdeci">validate(dst.info() ->valid_region(), dst_valid_region)</div></div>
<div class="ttc" id="namespacearm__compute_1_1test_1_1framework_xhtml_a7edf31944a6144ffd493d2f9a7bfb5cf"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1framework.xhtml#a7edf31944a6144ffd493d2f9a7bfb5cf">arm_compute::test::framework::DatasetMode</a></div><div class="ttdeci">DatasetMode</div><div class="ttdoc">Possible dataset modes. </div><div class="ttdef"><b>Definition:</b> <a href="_dataset_modes_8h_source.xhtml#l00040">DatasetModes.h:40</a></div></div>
+<div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_a91c3c0dac7b566f39e6dc2012772c6c7"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#a91c3c0dac7b566f39e6dc2012772c6c7">arm_compute::test::validation::NEFastCornersFixture</a></div><div class="ttdeci">FastCornersValidationFixture< Tensor, Accessor, KeyPointArray, NEFastCorners, T > NEFastCornersFixture</div><div class="ttdef"><b>Definition:</b> <a href="_n_e_o_n_2_fast_corners_8cpp_source.xhtml#l00092">FastCorners.cpp:92</a></div></div>
<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#l00059">main.cpp:59</a></div></div>
<div class="ttc" id="_datasets_8h_xhtml"><div class="ttname"><a href="_datasets_8h.xhtml">Datasets.h</a></div></div>
<div class="ttc" id="namespacearm__compute_xhtml_ab4e88c89b3b7ea1735996cc4def22d58"><div class="ttname"><a href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58">arm_compute::Format</a></div><div class="ttdeci">Format</div><div class="ttdoc">Image colour formats. </div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2core_2_types_8h_source.xhtml#l00050">Types.h:50</a></div></div>
-<div class="ttc" id="_image_file_datasets_8h_xhtml"><div class="ttname"><a href="_image_file_datasets_8h.xhtml">ImageFileDatasets.h</a></div></div>
-<div class="ttc" id="classarm__compute_1_1test_1_1datasets_1_1_large_image_files_xhtml"><div class="ttname"><a href="classarm__compute_1_1test_1_1datasets_1_1_large_image_files.xhtml">arm_compute::test::datasets::LargeImageFiles</a></div><div class="ttdoc">Data set containing names of small image files. </div><div class="ttdef"><b>Definition:</b> <a href="_image_file_datasets_8h_source.xhtml#l00106">ImageFileDatasets.h:106</a></div></div>
-<div class="ttc" id="classarm__compute_1_1test_1_1_array_accessor_xhtml_a32e914dbe65c0591501e44790957bb0f"><div class="ttname"><a href="classarm__compute_1_1test_1_1_array_accessor.xhtml#a32e914dbe65c0591501e44790957bb0f">arm_compute::test::ArrayAccessor::buffer</a></div><div class="ttdeci">T * buffer() override</div><div class="ttdoc">Access to the buffer. </div><div class="ttdef"><b>Definition:</b> <a href="_array_accessor_8h_source.xhtml#l00058">ArrayAccessor.h:58</a></div></div>
+<div class="ttc" id="classarm__compute_1_1test_1_1_array_accessor_xhtml_a32e914dbe65c0591501e44790957bb0f"><div class="ttname"><a href="classarm__compute_1_1test_1_1_array_accessor.xhtml#a32e914dbe65c0591501e44790957bb0f">arm_compute::test::ArrayAccessor::buffer</a></div><div class="ttdeci">T * buffer() override</div><div class="ttdoc">Access to the buffer. </div><div class="ttdef"><b>Definition:</b> <a href="_array_accessor_8h_source.xhtml#l00062">ArrayAccessor.h:62</a></div></div>
<div class="ttc" id="tests_2framework_2_macros_8h_xhtml"><div class="ttname"><a href="tests_2framework_2_macros_8h.xhtml">Macros.h</a></div></div>
<div class="ttc" id="_array_accessor_8h_xhtml"><div class="ttname"><a href="_array_accessor_8h.xhtml">ArrayAccessor.h</a></div></div>
-<div class="ttc" id="namespacearm__compute_xhtml_a59846ef5ca75cd81cdb7e8a1ce08f9db"><div class="ttname"><a href="namespacearm__compute.xhtml#a59846ef5ca75cd81cdb7e8a1ce08f9db">arm_compute::data_type_from_format</a></div><div class="ttdeci">DataType data_type_from_format(Format format)</div><div class="ttdoc">Return the data type used by a given single-planar pixel format. </div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2core_2_utils_8h_source.xhtml#l00195">Utils.h:195</a></div></div>
+<div class="ttc" id="namespacearm__compute_xhtml_a59846ef5ca75cd81cdb7e8a1ce08f9db"><div class="ttname"><a href="namespacearm__compute.xhtml#a59846ef5ca75cd81cdb7e8a1ce08f9db">arm_compute::data_type_from_format</a></div><div class="ttdeci">DataType data_type_from_format(Format format)</div><div class="ttdoc">Return the data type used by a given single-planar pixel format. </div><div class="ttdef"><b>Definition:</b> <a href="arm__compute_2core_2_utils_8h_source.xhtml#l00213">Utils.h:213</a></div></div>
<div class="ttc" id="_n_e_fast_corners_8h_xhtml"><div class="ttname"><a href="_n_e_fast_corners_8h.xhtml">NEFastCorners.h</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_a35d3ab6d678579401ec6efeccd788c3b"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#a35d3ab6d678579401ec6efeccd788c3b">arm_compute::test::validation::DATA_TEST_CASE</a></div><div class="ttdeci">DATA_TEST_CASE(Configuration, framework::DatasetMode::ALL, combine(concat(datasets::SmallShapes(), datasets::LargeShapes()), AbsoluteDifferenceU8Dataset), shape, data_type0, data_type1, output_data_type)</div><div class="ttdef"><b>Definition:</b> <a href="_c_l_2_absolute_difference_8cpp_source.xhtml#l00060">AbsoluteDifference.cpp:60</a></div></div>
<div class="ttc" id="fast__corners_8cl_xhtml_a33152baf05787bd17259b692bfba24af"><div class="ttname"><a href="fast__corners_8cl.xhtml#a33152baf05787bd17259b692bfba24af">fast_corners</a></div><div class="ttdeci">__kernel void fast_corners(__global uchar *input_ptr, uint input_stride_x, uint input_step_x, uint input_stride_y, uint input_step_y, uint input_offset_first_element_in_bytes, __global uchar *output_ptr, uint output_stride_x, uint output_step_x, uint output_stride_y, uint output_step_y, uint output_offset_first_element_in_bytes, float threshold_value)</div><div class="ttdoc">Fast corners implementation. </div><div class="ttdef"><b>Definition:</b> <a href="fast__corners_8cl_source.xhtml#l00155">fast_corners.cl:155</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_a38fe4b20a05bbaa1c844f3d7a19791ae"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#a38fe4b20a05bbaa1c844f3d7a19791ae">arm_compute::test::validation::TEST_SUITE_END</a></div><div class="ttdeci">TEST_SUITE_END() DATA_TEST_CASE(Configuration</div></div>
<div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_af3c1de77fd86df539395c75c17ec230e"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#af3c1de77fd86df539395c75c17ec230e">arm_compute::test::validation::ARM_COMPUTE_EXPECT</a></div><div class="ttdeci">ARM_COMPUTE_EXPECT(src.info() ->is_resizable(), framework::LogLevel::ERRORS)</div></div>
<div class="ttc" id="namespacearm__compute_xhtml_a15a05537a472ee742404821851529327a0db45d2a4141101bdfe48e3314cfbca3"><div class="ttname"><a href="namespacearm__compute.xhtml#a15a05537a472ee742404821851529327a0db45d2a4141101bdfe48e3314cfbca3">arm_compute::BorderMode::UNDEFINED</a></div><div class="ttdoc">Borders are left undefined. </div></div>
-<div class="ttc" id="_fast_corners_fixture_8h_xhtml"><div class="ttname"><a href="_fast_corners_fixture_8h.xhtml">FastCornersFixture.h</a></div></div>
-<div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_a7f99d2d87d24921c41c66388243f27c1"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#a7f99d2d87d24921c41c66388243f27c1">arm_compute::test::validation::validate_keypoints</a></div><div class="ttdeci">void validate_keypoints(T target_first, T target_last, U reference_first, U reference_last, V tolerance=AbsoluteTolerance< float >(), float allowed_missing_percentage=5.f, float allowed_mismatch_percentage=5.f)</div><div class="ttdoc">Validate key points. </div><div class="ttdef"><b>Definition:</b> <a href="_validation_8h_source.xhtml#l00679">Validation.h:679</a></div></div>
+<div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_a7f99d2d87d24921c41c66388243f27c1"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#a7f99d2d87d24921c41c66388243f27c1">arm_compute::test::validation::validate_keypoints</a></div><div class="ttdeci">void validate_keypoints(T target_first, T target_last, U reference_first, U reference_last, V tolerance=AbsoluteTolerance< float >(), float allowed_missing_percentage=5.f, float allowed_mismatch_percentage=5.f)</div><div class="ttdoc">Validate key points. </div><div class="ttdef"><b>Definition:</b> <a href="_validation_8h_source.xhtml#l00744">Validation.h:744</a></div></div>
<div class="ttc" id="_validation_8h_xhtml"><div class="ttname"><a href="_validation_8h.xhtml">Validation.h</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_ad2b4e88e166416d979a049064877b2ca"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#ad2b4e88e166416d979a049064877b2ca">arm_compute::test::validation::combine</a></div><div class="ttdeci">combine(combine(combine(concat(datasets::SmallShapes(), datasets::LargeShapes()), framework::dataset::make("DataType",{DataType::U8, DataType::S16})), datasets::BorderModes()), framework::dataset::make("filter_size",{5}))</div></div>
<div class="ttc" id="namespacearm__compute_1_1test_1_1framework_xhtml_aca1fd1d8935433e6ba2e3918214e07f9a6f3a603fac4d817f1848c3173b243b57"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1framework.xhtml#aca1fd1d8935433e6ba2e3918214e07f9a6f3a603fac4d817f1848c3173b243b57">arm_compute::test::framework::LogLevel::ERRORS</a></div></div>
-<div class="ttc" id="namespacearm__compute_1_1test_1_1framework_1_1dataset_xhtml_a20b2c46a6ccea85acf64c599a68251d7"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1framework_1_1dataset.xhtml#a20b2c46a6ccea85acf64c599a68251d7">arm_compute::test::framework::dataset::concat</a></div><div class="ttdeci">JoinDataset< T, U > concat(T &&dataset1, U &&dataset2)</div><div class="ttdoc">Helper function to create a JoinDataset. </div><div class="ttdef"><b>Definition:</b> <a href="_join_dataset_8h_source.xhtml#l00142">JoinDataset.h:142</a></div></div>
+<div class="ttc" id="namespacearm__compute_1_1test_1_1framework_1_1dataset_xhtml_a20b2c46a6ccea85acf64c599a68251d7"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1framework_1_1dataset.xhtml#a20b2c46a6ccea85acf64c599a68251d7">arm_compute::test::framework::dataset::concat</a></div><div class="ttdeci">JoinDataset< T, U > concat(T &&dataset1, U &&dataset2)</div><div class="ttdoc">Helper function to create a JoinDataset. </div><div class="ttdef"><b>Definition:</b> <a href="_join_dataset_8h_source.xhtml#l00160">JoinDataset.h:160</a></div></div>
<div class="ttc" id="arm__compute_2core_2_types_8h_xhtml"><div class="ttname"><a href="arm__compute_2core_2_types_8h.xhtml">Types.h</a></div></div>
<div class="ttc" id="runtime_2_tensor_8h_xhtml"><div class="ttname"><a href="runtime_2_tensor_8h.xhtml">Tensor.h</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1test_1_1validation_1_1reference_xhtml_a6cae310822a46019ba25a00ddb0f7e62"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation_1_1reference.xhtml#a6cae310822a46019ba25a00ddb0f7e62">arm_compute::test::validation::reference::threshold</a></div><div class="ttdeci">SimpleTensor< T > threshold(const SimpleTensor< T > &src, T threshold, T false_value, T true_value, ThresholdType type, T upper)</div><div class="ttdef"><b>Definition:</b> <a href="reference_2_threshold_8cpp_source.xhtml#l00035">Threshold.cpp:35</a></div></div>
<div class="ttc" id="namespacearm__compute_1_1test_1_1validation_xhtml_a6743f0a130e8311e6f5b1a23df102472"><div class="ttname"><a href="namespacearm__compute_1_1test_1_1validation.xhtml#a6743f0a130e8311e6f5b1a23df102472">arm_compute::test::validation::src</a></div><div class="ttdeci">convolution configure & src</div><div class="ttdef"><b>Definition:</b> <a href="_c_l_2_convolution_8cpp_source.xhtml#l00147">Convolution.cpp:147</a></div></div>
<div class="ttc" id="_asserts_8h_xhtml"><div class="ttname"><a href="_asserts_8h.xhtml">Asserts.h</a></div></div>
-<div class="ttc" id="classarm__compute_1_1test_1_1datasets_1_1_small_image_files_xhtml"><div class="ttname"><a href="classarm__compute_1_1test_1_1datasets_1_1_small_image_files.xhtml">arm_compute::test::datasets::SmallImageFiles</a></div><div class="ttdoc">Data set containing names of small image files. </div><div class="ttdef"><b>Definition:</b> <a href="_image_file_datasets_8h_source.xhtml#l00094">ImageFileDatasets.h:94</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_59425e443f801f1f2fd8bbe4959a3ccf.xhtml">tests</a></li><li class="navelem"><a class="el" href="dir_e7c7b16542faa38cb4655ff1750d3604.xhtml">validation</a></li><li class="navelem"><a class="el" href="dir_0538a82dae0483a21d0f1e9d7e0a45c6.xhtml">NEON</a></li><li class="navelem"><a class="el" href="_n_e_o_n_2_fast_corners_8cpp.xhtml">FastCorners.cpp</a></li>
- <li class="footer">Generated on Fri Mar 2 2018 12:37:54 for Compute Library by
+ <li class="footer">Generated on Wed May 23 2018 11:36:37 for Compute Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
</ul>