arm_compute v17.04
diff --git a/documentation/neon__convolution_8cpp.xhtml b/documentation/neon__convolution_8cpp.xhtml
index 271dcbc..e4c5111 100644
--- a/documentation/neon__convolution_8cpp.xhtml
+++ b/documentation/neon__convolution_8cpp.xhtml
@@ -40,7 +40,7 @@
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">ARM Compute Library
-  <span id="projectnumber">17.03.1</span>
+  <span id="projectnumber">17.04</span>
</div>
</td>
</tr>
@@ -176,11 +176,11 @@
</dd>
</dl>
-<p>Definition at line <a class="el" href="neon__convolution_8cpp_source.xhtml#l00113">113</a> of file <a class="el" href="neon__convolution_8cpp_source.xhtml">neon_convolution.cpp</a>.</p>
+<p>Definition at line <a class="el" href="neon__convolution_8cpp_source.xhtml#l00114">114</a> of file <a class="el" href="neon__convolution_8cpp_source.xhtml">neon_convolution.cpp</a>.</p>
-<p>References <a class="el" href="neon__convolution_8cpp_source.xhtml#l00052">main_neon_convolution()</a>, and <a class="el" href="_utils_8cpp_source.xhtml#l00064">test_helpers::run_example()</a>.</p>
-<div class="fragment"><div class="line"><a name="l00114"></a><span class="lineno"> 114</span> {</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keywordflow">return</span> <a class="code" href="namespacetest__helpers.xhtml#a4c9395db2c8b8d0c336656a7b58fca3e">test_helpers::run_example</a>(argc, argv, <a class="code" href="neon__convolution_8cpp.xhtml#ac741ff15d9366f7bf55dc470e87144d3">main_neon_convolution</a>);</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span> }</div><div class="ttc" id="neon__convolution_8cpp_xhtml_ac741ff15d9366f7bf55dc470e87144d3"><div class="ttname"><a href="neon__convolution_8cpp.xhtml#ac741ff15d9366f7bf55dc470e87144d3">main_neon_convolution</a></div><div class="ttdeci">void main_neon_convolution(int argc, const char **argv)</div><div class="ttdef"><b>Definition:</b> <a href="neon__convolution_8cpp_source.xhtml#l00052">neon_convolution.cpp:52</a></div></div>
-<div class="ttc" id="namespacetest__helpers_xhtml_a4c9395db2c8b8d0c336656a7b58fca3e"><div class="ttname"><a href="namespacetest__helpers.xhtml#a4c9395db2c8b8d0c336656a7b58fca3e">test_helpers::run_example</a></div><div class="ttdeci">int run_example(int argc, const char **argv, example &func)</div><div class="ttdoc">Run an example and handle the potential exceptions it throws. </div><div class="ttdef"><b>Definition:</b> <a href="_utils_8cpp_source.xhtml#l00064">Utils.cpp:64</a></div></div>
+<p>References <a class="el" href="neon__convolution_8cpp_source.xhtml#l00052">main_neon_convolution()</a>, and <a class="el" href="_utils_8cpp_source.xhtml#l00065">test_helpers::run_example()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00115"></a><span class="lineno"> 115</span> {</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keywordflow">return</span> <a class="code" href="namespacetest__helpers.xhtml#a4c9395db2c8b8d0c336656a7b58fca3e">test_helpers::run_example</a>(argc, argv, <a class="code" href="neon__convolution_8cpp.xhtml#ac741ff15d9366f7bf55dc470e87144d3">main_neon_convolution</a>);</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span> }</div><div class="ttc" id="neon__convolution_8cpp_xhtml_ac741ff15d9366f7bf55dc470e87144d3"><div class="ttname"><a href="neon__convolution_8cpp.xhtml#ac741ff15d9366f7bf55dc470e87144d3">main_neon_convolution</a></div><div class="ttdeci">void main_neon_convolution(int argc, const char **argv)</div><div class="ttdef"><b>Definition:</b> <a href="neon__convolution_8cpp_source.xhtml#l00052">neon_convolution.cpp:52</a></div></div>
+<div class="ttc" id="namespacetest__helpers_xhtml_a4c9395db2c8b8d0c336656a7b58fca3e"><div class="ttname"><a href="namespacetest__helpers.xhtml#a4c9395db2c8b8d0c336656a7b58fca3e">test_helpers::run_example</a></div><div class="ttdeci">int run_example(int argc, const char **argv, example &func)</div><div class="ttdoc">Run an example and handle the potential exceptions it throws. </div><div class="ttdef"><b>Definition:</b> <a href="_utils_8cpp_source.xhtml#l00065">Utils.cpp:65</a></div></div>
</div><!-- fragment -->
</div>
</div>
@@ -212,9 +212,9 @@
<p>Definition at line <a class="el" href="neon__convolution_8cpp_source.xhtml#l00052">52</a> of file <a class="el" href="neon__convolution_8cpp_source.xhtml">neon_convolution.cpp</a>.</p>
-<p>References <a class="el" href="classarm__compute_1_1_n_e_convolution3x3.xhtml#a58d050865536a28b56a92eeaf3ac478e">NEConvolution3x3::configure()</a>, <a class="el" href="classarm__compute_1_1_n_e_convolution5x5.xhtml#a58d050865536a28b56a92eeaf3ac478e">NEConvolution5x5::configure()</a>, <a class="el" href="test__helpers_2_utils_8h_source.xhtml#l00142">PPMLoader::fill_image()</a>, <a class="el" href="neon__convolution_8cpp_source.xhtml#l00034">gaussian3x3</a>, <a class="el" href="neon__convolution_8cpp_source.xhtml#l00043">gaussian5x5</a>, <a class="el" href="test__helpers_2_utils_8h_source.xhtml#l00125">PPMLoader::init_image()</a>, <a class="el" href="test__helpers_2_utils_8h_source.xhtml#l00114">PPMLoader::is_open()</a>, <a class="el" href="test__helpers_2_utils_8h_source.xhtml#l00094">PPMLoader::open()</a>, <a class="el" href="classarm__compute_1_1_i_n_e_simple_function.xhtml#ab5fd6e96c07aaaed2747c7e16ed5951e">INESimpleFunction::run()</a>, <a class="el" href="classarm__compute_1_1_n_e_convolution5x5.xhtml#ad1717410afd0be936c6213a63c8005fb">NEConvolution5x5::run()</a>, <a class="el" href="test__helpers_2_utils_8h_source.xhtml#l00241">test_helpers::save_to_ppm()</a>, <a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a6669348b484e3008dca2bfa8e85e40b5">arm_compute::U8</a>, and <a class="el" href="namespacearm__compute.xhtml#a15a05537a472ee742404821851529327a0db45d2a4141101bdfe48e3314cfbca3">arm_compute::UNDEFINED</a>.</p>
+<p>References <a class="el" href="classarm__compute_1_1_n_e_convolution3x3.xhtml#a58d050865536a28b56a92eeaf3ac478e">NEConvolution3x3::configure()</a>, <a class="el" href="classarm__compute_1_1_n_e_convolution5x5.xhtml#a58d050865536a28b56a92eeaf3ac478e">NEConvolution5x5::configure()</a>, <a class="el" href="test__helpers_2_utils_8h_source.xhtml#l00142">PPMLoader::fill_image()</a>, <a class="el" href="neon__convolution_8cpp_source.xhtml#l00034">gaussian3x3</a>, <a class="el" href="neon__convolution_8cpp_source.xhtml#l00043">gaussian5x5</a>, <a class="el" href="test__helpers_2_utils_8h_source.xhtml#l00125">PPMLoader::init_image()</a>, <a class="el" href="test__helpers_2_utils_8h_source.xhtml#l00114">PPMLoader::is_open()</a>, <a class="el" href="test__helpers_2_utils_8h_source.xhtml#l00094">PPMLoader::open()</a>, <a class="el" href="classarm__compute_1_1_i_n_e_simple_function.xhtml#ab5fd6e96c07aaaed2747c7e16ed5951e">INESimpleFunction::run()</a>, <a class="el" href="classarm__compute_1_1_n_e_convolution5x5.xhtml#ad1717410afd0be936c6213a63c8005fb">NEConvolution5x5::run()</a>, <a class="el" href="test__helpers_2_utils_8h_source.xhtml#l00245">test_helpers::save_to_ppm()</a>, <a class="el" href="namespacearm__compute.xhtml#ab4e88c89b3b7ea1735996cc4def22d58a6669348b484e3008dca2bfa8e85e40b5">arm_compute::U8</a>, and <a class="el" href="namespacearm__compute.xhtml#a15a05537a472ee742404821851529327a0db45d2a4141101bdfe48e3314cfbca3">arm_compute::UNDEFINED</a>.</p>
-<p>Referenced by <a class="el" href="neon__convolution_8cpp_source.xhtml#l00113">main()</a>.</p>
+<p>Referenced by <a class="el" href="neon__convolution_8cpp_source.xhtml#l00114">main()</a>.</p>
<div class="fragment"><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> {</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <a class="code" href="classtest__helpers_1_1_p_p_m_loader.xhtml">PPMLoader</a> ppm;</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <a class="code" href="struct_image.xhtml">Image</a> src, tmp, dst;</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keywordflow">if</span>(argc < 2)</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  {</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="comment">// Print help</span></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  std::cout << <span class="stringliteral">"Usage: ./build/neon_convolution [input_image.ppm]\n\n"</span>;</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  std::cout << <span class="stringliteral">"No input_image provided, creating a dummy 640x480 image\n"</span>;</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="comment">// Initialize just the dimensions and format of your buffers:</span></div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  src.allocator()->init(<a class="code" href="classarm__compute_1_1_tensor_info.xhtml">TensorInfo</a>(640, 480, Format::U8));</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="keywordflow">else</span></div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  {</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  ppm.<a class="code" href="classtest__helpers_1_1_p_p_m_loader.xhtml#a36e58f3e64f3851ebac7a9556b4704ed">open</a>(argv[1]);</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="comment">// Initialize just the dimensions and format of your buffers:</span></div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  ppm.<a class="code" href="classtest__helpers_1_1_p_p_m_loader.xhtml#a283b961e6ca7b117b106c8710c7cfe81">init_image</a>(src, Format::U8);</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  }</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>  <span class="comment">// Initialize just the dimensions and format of the temporary and destination images:</span></div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  tmp.allocator()->init(*src.info());</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  dst.allocator()->init(*src.info());</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>  <a class="code" href="classarm__compute_1_1_n_e_convolution3x3.xhtml">NEConvolution3x3</a> conv3x3;</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <a class="code" href="classarm__compute_1_1_n_e_convolution5x5.xhtml">NEConvolution5x5</a> conv5x5;</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> </div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="comment">// Apply a Gaussian 3x3 filter to the source image followed by a Gaussian 5x5:</span></div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="comment">// The function will automatically update the padding information inside input and output to match its requirements</span></div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  conv3x3.<a class="code" href="classarm__compute_1_1_n_e_convolution3x3.xhtml#a58d050865536a28b56a92eeaf3ac478e">configure</a>(&src, &tmp, <a class="code" href="neon__convolution_8cpp.xhtml#a741ba5321da40184f8653e0a50ace070">gaussian3x3</a>, 0 <span class="comment">/* Let arm_compute calculate the scale */</span>, BorderMode::UNDEFINED);</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  conv5x5.<a class="code" href="classarm__compute_1_1_n_e_convolution5x5.xhtml#a58d050865536a28b56a92eeaf3ac478e">configure</a>(&tmp, &dst, <a class="code" href="neon__convolution_8cpp.xhtml#a565013cf7e49a591bacd548571951f94">gaussian5x5</a>, 0 <span class="comment">/* Let arm_compute calculate the scale */</span>, BorderMode::UNDEFINED);</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> </div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="comment">// Now that the padding requirements are known we can allocate the images:</span></div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  src.allocator()->allocate();</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  tmp.allocator()->allocate();</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  dst.allocator()->allocate();</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>  <span class="comment">// Fill the input image with the content of the PPM image if a filename was provided:</span></div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordflow">if</span>(ppm.<a class="code" href="classtest__helpers_1_1_p_p_m_loader.xhtml#a2f57f54d8c03b615bb31eee091d8a88a">is_open</a>())</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  {</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  ppm.<a class="code" href="classtest__helpers_1_1_p_p_m_loader.xhtml#a1672610b872bef30d0dc2333a0ffc402">fill_image</a>(src);</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  }</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> </div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="comment">//Execute the functions:</span></div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  conv3x3.<a class="code" href="classarm__compute_1_1_i_n_e_simple_function.xhtml#ab5fd6e96c07aaaed2747c7e16ed5951e">run</a>();</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  conv5x5.<a class="code" href="classarm__compute_1_1_n_e_convolution5x5.xhtml#ad1717410afd0be936c6213a63c8005fb">run</a>();</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="comment">// Save the result to file:</span></div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="keywordflow">if</span>(ppm.<a class="code" href="classtest__helpers_1_1_p_p_m_loader.xhtml#a2f57f54d8c03b615bb31eee091d8a88a">is_open</a>())</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  {</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keyword">const</span> std::string output_filename = std::string(argv[1]) + <span class="stringliteral">"_out.ppm"</span>;</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <a class="code" href="namespacetest__helpers.xhtml#a5036a1b77bd7223a68954b5078c6545a">save_to_ppm</a>(dst, output_filename);</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  }</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span> }</div><div class="ttc" id="classtest__helpers_1_1_p_p_m_loader_xhtml_a2f57f54d8c03b615bb31eee091d8a88a"><div class="ttname"><a href="classtest__helpers_1_1_p_p_m_loader.xhtml#a2f57f54d8c03b615bb31eee091d8a88a">test_helpers::PPMLoader::is_open</a></div><div class="ttdeci">bool is_open()</div><div class="ttdoc">Return true if a PPM file is currently open. </div><div class="ttdef"><b>Definition:</b> <a href="test__helpers_2_utils_8h_source.xhtml#l00114">Utils.h:114</a></div></div>
<div class="ttc" id="classtest__helpers_1_1_p_p_m_loader_xhtml_a1672610b872bef30d0dc2333a0ffc402"><div class="ttname"><a href="classtest__helpers_1_1_p_p_m_loader.xhtml#a1672610b872bef30d0dc2333a0ffc402">test_helpers::PPMLoader::fill_image</a></div><div class="ttdeci">void fill_image(T &image)</div><div class="ttdoc">Fill an image with the content of the currently open PPM file. </div><div class="ttdef"><b>Definition:</b> <a href="test__helpers_2_utils_8h_source.xhtml#l00142">Utils.h:142</a></div></div>
<div class="ttc" id="classarm__compute_1_1_n_e_convolution5x5_xhtml"><div class="ttname"><a href="classarm__compute_1_1_n_e_convolution5x5.xhtml">arm_compute::NEConvolution5x5</a></div><div class="ttdoc">Basic function to execute convolution of size 5x5. </div><div class="ttdef"><b>Definition:</b> <a href="_n_e_convolution_8h_source.xhtml#l00068">NEConvolution.h:68</a></div></div>
@@ -228,7 +228,7 @@
<div class="ttc" id="classarm__compute_1_1_n_e_convolution3x3_xhtml_a58d050865536a28b56a92eeaf3ac478e"><div class="ttname"><a href="classarm__compute_1_1_n_e_convolution3x3.xhtml#a58d050865536a28b56a92eeaf3ac478e">arm_compute::NEConvolution3x3::configure</a></div><div class="ttdeci">void configure(ITensor *input, ITensor *output, const int16_t *conv, uint32_t scale, BorderMode border_mode, uint8_t constant_border_value=0)</div><div class="ttdoc">Initialize the function&#39;s source, destination, conv and border_mode. </div></div>
<div class="ttc" id="classarm__compute_1_1_n_e_convolution5x5_xhtml_a58d050865536a28b56a92eeaf3ac478e"><div class="ttname"><a href="classarm__compute_1_1_n_e_convolution5x5.xhtml#a58d050865536a28b56a92eeaf3ac478e">arm_compute::NEConvolution5x5::configure</a></div><div class="ttdeci">void configure(ITensor *input, ITensor *output, const int16_t *conv, uint32_t scale, BorderMode border_mode, uint8_t constant_border_value=0)</div><div class="ttdoc">Initialize the function&#39;s source, destination, conv and border_mode. </div></div>
<div class="ttc" id="classarm__compute_1_1_i_n_e_simple_function_xhtml_ab5fd6e96c07aaaed2747c7e16ed5951e"><div class="ttname"><a href="classarm__compute_1_1_i_n_e_simple_function.xhtml#ab5fd6e96c07aaaed2747c7e16ed5951e">arm_compute::INESimpleFunction::run</a></div><div class="ttdeci">void run() overridefinal</div><div class="ttdoc">Run the kernels contained in the function. </div></div>
-<div class="ttc" id="namespacetest__helpers_xhtml_a5036a1b77bd7223a68954b5078c6545a"><div class="ttname"><a href="namespacetest__helpers.xhtml#a5036a1b77bd7223a68954b5078c6545a">test_helpers::save_to_ppm</a></div><div class="ttdeci">void save_to_ppm(T &tensor, const std::string &ppm_filename)</div><div class="ttdoc">Template helper function to save a tensor image to a PPM file. </div><div class="ttdef"><b>Definition:</b> <a href="test__helpers_2_utils_8h_source.xhtml#l00241">Utils.h:241</a></div></div>
+<div class="ttc" id="namespacetest__helpers_xhtml_a5036a1b77bd7223a68954b5078c6545a"><div class="ttname"><a href="namespacetest__helpers.xhtml#a5036a1b77bd7223a68954b5078c6545a">test_helpers::save_to_ppm</a></div><div class="ttdeci">void save_to_ppm(T &tensor, const std::string &ppm_filename)</div><div class="ttdoc">Template helper function to save a tensor image to a PPM file. </div><div class="ttdef"><b>Definition:</b> <a href="test__helpers_2_utils_8h_source.xhtml#l00245">Utils.h:245</a></div></div>
<div class="ttc" id="classarm__compute_1_1_tensor_info_xhtml"><div class="ttname"><a href="classarm__compute_1_1_tensor_info.xhtml">arm_compute::TensorInfo</a></div><div class="ttdoc">Store the tensor&#39;s metadata. </div><div class="ttdef"><b>Definition:</b> <a href="_tensor_info_8h_source.xhtml#l00040">TensorInfo.h:40</a></div></div>
<div class="ttc" id="neon__convolution_8cpp_xhtml_a741ba5321da40184f8653e0a50ace070"><div class="ttname"><a href="neon__convolution_8cpp.xhtml#a741ba5321da40184f8653e0a50ace070">gaussian3x3</a></div><div class="ttdeci">const int16_t gaussian3x3[]</div><div class="ttdoc">Gaussian 3x3 matrix. </div><div class="ttdef"><b>Definition:</b> <a href="neon__convolution_8cpp_source.xhtml#l00034">neon_convolution.cpp:34</a></div></div>
</div><!-- fragment -->
@@ -277,7 +277,7 @@
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_d28a4824dc47e487b107a5db32ef43c4.xhtml">examples</a></li><li class="navelem"><a class="el" href="neon__convolution_8cpp.xhtml">neon_convolution.cpp</a></li>
- <li class="footer">Generated on Fri Mar 24 2017 17:23:50 for ARM Compute Library by
+ <li class="footer">Generated on Wed Apr 12 2017 14:26:05 for ARM 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>