IVGCVSW-3726 Upload ArmNN Doxygen files
* Upload current ArmNN Doxygen files
Signed-off-by: Ryan OShea <Ryan.OShea2@arm.com>
Change-Id: I8989ed16ee40a99a4495b100bd009cf3e24a7285
diff --git a/Documentation/_optimize_inverse_conversions_tests_8cpp.html b/Documentation/_optimize_inverse_conversions_tests_8cpp.html
new file mode 100644
index 0000000..2728fe4
--- /dev/null
+++ b/Documentation/_optimize_inverse_conversions_tests_8cpp.html
@@ -0,0 +1,151 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.13"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<title>ArmNN: src/armnn/test/optimizations/OptimizeInverseConversionsTests.cpp File Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="navtree.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="resize.js"></script>
+<script type="text/javascript" src="navtreedata.js"></script>
+<script type="text/javascript" src="navtree.js"></script>
+<script type="text/javascript">
+ $(document).ready(initResizable);
+</script>
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="search/searchdata.js"></script>
+<script type="text/javascript" src="search/search.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td id="projectalign" style="padding-left: 0.5em;">
+ <div id="projectname">ArmNN
+  <span id="projectnumber">NotReleased</span>
+ </div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.13 -->
+<script type="text/javascript">
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
+</script>
+<script type="text/javascript" src="menudata.js"></script>
+<script type="text/javascript" src="menu.js"></script>
+<script type="text/javascript">
+$(function() {
+ initMenu('',true,false,'search.php','Search');
+ $(document).ready(function() { init_search(); });
+});
+</script>
+<div id="main-nav"></div>
+</div><!-- top -->
+<div id="side-nav" class="ui-resizable side-nav-resizable">
+ <div id="nav-tree">
+ <div id="nav-tree-contents">
+ <div id="nav-sync" class="sync"></div>
+ </div>
+ </div>
+ <div id="splitbar" style="-moz-user-select:none;"
+ class="ui-resizable-handle">
+ </div>
+</div>
+<script type="text/javascript">
+$(document).ready(function(){initNavTree('_optimize_inverse_conversions_tests_8cpp.html','');});
+</script>
+<div id="doc-content">
+<!-- window showing the filter options -->
+<div id="MSearchSelectWindow"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ onkeydown="return searchBox.OnSearchSelectKey(event)">
+</div>
+
+<!-- iframe showing the search results (closed by default) -->
+<div id="MSearchResultsWindow">
+<iframe src="javascript:void(0)" frameborder="0"
+ name="MSearchResults" id="MSearchResults">
+</iframe>
+</div>
+
+<div class="header">
+ <div class="summary">
+<a href="#func-members">Functions</a> </div>
+ <div class="headertitle">
+<div class="title">OptimizeInverseConversionsTests.cpp File Reference</div> </div>
+</div><!--header-->
+<div class="contents">
+<div class="textblock"><code>#include "<a class="el" href="_test_utils_8hpp_source.html">../TestUtils.hpp</a>"</code><br />
+<code>#include <<a class="el" href="_optimizer_8hpp_source.html">Optimizer.hpp</a>></code><br />
+<code>#include <boost/test/unit_test.hpp></code><br />
+</div>
+<p><a href="_optimize_inverse_conversions_tests_8cpp_source.html">Go to the source code of this file.</a></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:af9f2771d53d2be4975828dbc24f6975f"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_optimize_inverse_conversions_tests_8cpp.html#af9f2771d53d2be4975828dbc24f6975f">BOOST_AUTO_TEST_CASE</a> (OptimizeInverseConversionsTest)</td></tr>
+<tr class="separator:af9f2771d53d2be4975828dbc24f6975f"><td class="memSeparator" colspan="2"> </td></tr>
+</table>
+<h2 class="groupheader">Function Documentation</h2>
+<a id="af9f2771d53d2be4975828dbc24f6975f"></a>
+<h2 class="memtitle"><span class="permalink"><a href="#af9f2771d53d2be4975828dbc24f6975f">◆ </a></span>BOOST_AUTO_TEST_CASE()</h2>
+
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">BOOST_AUTO_TEST_CASE </td>
+ <td>(</td>
+ <td class="paramtype">OptimizeInverseConversionsTest </td>
+ <td class="paramname"></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+<p class="definition">Definition at line <a class="el" href="_optimize_inverse_conversions_tests_8cpp_source.html#l00017">17</a> of file <a class="el" href="_optimize_inverse_conversions_tests_8cpp_source.html">OptimizeInverseConversionsTests.cpp</a>.</p>
+
+<p class="reference">References <a class="el" href="_graph_8hpp_source.html#l00397">Graph::AddLayer()</a>, <a class="el" href="_profiler_tests_8cpp.html#af7f71af5c6c124222dd1c42c5df892f4">BOOST_AUTO_TEST_SUITE_END()</a>, <a class="el" href="_graph_8hpp_source.html#l00168">Graph::cbegin()</a>, <a class="el" href="_graph_8hpp_source.html#l00170">Graph::cend()</a>, <a class="el" href="_test_utils_8hpp_source.html#l00020">CheckSequence()</a>, <a class="el" href="_graph_8hpp_source.html#l00409">Graph::InsertNewLayer()</a>, <a class="el" href="_optimizer_8hpp_source.html#l00043">armnn::MakeOptimizations()</a>, and <a class="el" href="_optimizer_8cpp_source.html#l00016">Optimizer::Pass()</a>.</p>
+<div class="fragment"><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> {</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  <a class="code" href="classarmnn_1_1_graph.html">armnn::Graph</a> graph;</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  <span class="keyword">auto</span> output = graph.<a class="code" href="classarmnn_1_1_graph.html#a7563c5b899e7d0ada08fd0fdb202f205">AddLayer</a><<a class="code" href="classarmnn_1_1_output_layer.html">armnn::OutputLayer</a>>(0, <span class="stringliteral">"output"</span>);</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  graph.<a class="code" href="classarmnn_1_1_graph.html#a3ff30c6669fdc69de1f5be1f89bacc3f">InsertNewLayer</a><<a class="code" href="classarmnn_1_1_input_layer.html">armnn::InputLayer</a>>(output->GetInputSlot(0), 0, <span class="stringliteral">"input"</span>);</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="comment">// Fp32ToFp16 conversion followed by an inverse Fp16ToFp32 conversion</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  graph.<a class="code" href="classarmnn_1_1_graph.html#a3ff30c6669fdc69de1f5be1f89bacc3f">InsertNewLayer</a><<a class="code" href="classarmnn_1_1_convert_fp32_to_fp16_layer.html">armnn::ConvertFp32ToFp16Layer</a>>(output->GetInputSlot(0), <span class="stringliteral">"convert1"</span>);</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  graph.<a class="code" href="classarmnn_1_1_graph.html#a3ff30c6669fdc69de1f5be1f89bacc3f">InsertNewLayer</a><<a class="code" href="classarmnn_1_1_convert_fp16_to_fp32_layer.html">armnn::ConvertFp16ToFp32Layer</a>>(output->GetInputSlot(0), <span class="stringliteral">"convert2"</span>);</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  graph.<a class="code" href="classarmnn_1_1_graph.html#a3ff30c6669fdc69de1f5be1f89bacc3f">InsertNewLayer</a><<a class="code" href="classarmnn_1_1_convolution2d_layer.html">armnn::Convolution2dLayer</a>>(output->GetInputSlot(0), <a class="code" href="structarmnn_1_1_convolution2d_descriptor.html">Convolution2dDescriptor</a>(), <span class="stringliteral">"conv"</span>);</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="comment">// Fp16ToFp32 conversion followed by an inverse Fp32ToFp16 conversion</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  graph.<a class="code" href="classarmnn_1_1_graph.html#a3ff30c6669fdc69de1f5be1f89bacc3f">InsertNewLayer</a><<a class="code" href="classarmnn_1_1_convert_fp16_to_fp32_layer.html">armnn::ConvertFp16ToFp32Layer</a>>(output->GetInputSlot(0), <span class="stringliteral">"convert3"</span>);</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  graph.<a class="code" href="classarmnn_1_1_graph.html#a3ff30c6669fdc69de1f5be1f89bacc3f">InsertNewLayer</a><<a class="code" href="classarmnn_1_1_convert_fp32_to_fp16_layer.html">armnn::ConvertFp32ToFp16Layer</a>>(output->GetInputSlot(0), <span class="stringliteral">"convert4"</span>);</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  BOOST_TEST(<a class="code" href="_test_utils_8hpp.html#a0eedb278f57355b47fa983450d4e378c">CheckSequence</a>(graph.<a class="code" href="classarmnn_1_1_graph.html#a98b1109a9006f8cc7d4566146a3bd737">cbegin</a>(), graph.<a class="code" href="classarmnn_1_1_graph.html#a02fd29b6dc3e21fbe4484362d85893bc">cend</a>(), &IsLayerOfType<armnn::InputLayer>,</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  &IsLayerOfType<armnn::ConvertFp32ToFp16Layer>,</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  &IsLayerOfType<armnn::ConvertFp16ToFp32Layer>, &IsLayerOfType<armnn::Convolution2dLayer>,</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  &IsLayerOfType<armnn::ConvertFp16ToFp32Layer>,</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  &IsLayerOfType<armnn::ConvertFp32ToFp16Layer>, &IsLayerOfType<armnn::OutputLayer>));</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>  <a class="code" href="classarmnn_1_1_optimizer.html#a1f48ba622b76ea04d15c9b62f642bf08">armnn::Optimizer::Pass</a>(</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  graph, <a class="code" href="namespacearmnn.html#aa7427025a851113a492de0b68b23d22a">armnn::MakeOptimizations</a>(<a class="code" href="namespacearmnn_1_1optimizations.html#a1a9d718b48612b5817a3c369f9fd71ee">OptimizeInverseConversionsFp16</a>(), <a class="code" href="namespacearmnn_1_1optimizations.html#ae1509d340bc981b11101c3316ee8afd6">OptimizeInverseConversionsFp32</a>()));</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="comment">// Check that all consecutive inverse conversions are removed</span></div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  BOOST_TEST(<a class="code" href="_test_utils_8hpp.html#a0eedb278f57355b47fa983450d4e378c">CheckSequence</a>(graph.<a class="code" href="classarmnn_1_1_graph.html#a98b1109a9006f8cc7d4566146a3bd737">cbegin</a>(), graph.<a class="code" href="classarmnn_1_1_graph.html#a02fd29b6dc3e21fbe4484362d85893bc">cend</a>(), &IsLayerOfType<armnn::InputLayer>,</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  &IsLayerOfType<armnn::Convolution2dLayer>, &IsLayerOfType<armnn::OutputLayer>));</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> }</div><div class="ttc" id="classarmnn_1_1_input_layer_html"><div class="ttname"><a href="classarmnn_1_1_input_layer.html">armnn::InputLayer</a></div><div class="ttdoc">A layer user-provided data can be bound to (e.g. inputs, outputs). </div><div class="ttdef"><b>Definition:</b> <a href="_input_layer_8hpp_source.html#l00013">InputLayer.hpp:13</a></div></div>
+<div class="ttc" id="classarmnn_1_1_convolution2d_layer_html"><div class="ttname"><a href="classarmnn_1_1_convolution2d_layer.html">armnn::Convolution2dLayer</a></div><div class="ttdoc">This layer represents a convolution 2d operation. </div><div class="ttdef"><b>Definition:</b> <a href="_convolution2d_layer_8hpp_source.html#l00015">Convolution2dLayer.hpp:15</a></div></div>
+<div class="ttc" id="classarmnn_1_1_convert_fp32_to_fp16_layer_html"><div class="ttname"><a href="classarmnn_1_1_convert_fp32_to_fp16_layer.html">armnn::ConvertFp32ToFp16Layer</a></div><div class="ttdoc">This layer converts data type Float 32 to Float 16. </div><div class="ttdef"><b>Definition:</b> <a href="_convert_fp32_to_fp16_layer_8hpp_source.html#l00013">ConvertFp32ToFp16Layer.hpp:13</a></div></div>
+<div class="ttc" id="namespacearmnn_1_1optimizations_html_ae1509d340bc981b11101c3316ee8afd6"><div class="ttname"><a href="namespacearmnn_1_1optimizations.html#ae1509d340bc981b11101c3316ee8afd6">armnn::optimizations::OptimizeInverseConversionsFp32</a></div><div class="ttdeci">OptimizeForConnection< ConvertFp32ToFp16Layer, ConvertFp16ToFp32Layer, OptimizeInverseConversionsImpl > OptimizeInverseConversionsFp32</div><div class="ttdef"><b>Definition:</b> <a href="_optimize_inverse_conversions_8hpp_source.html#l00044">OptimizeInverseConversions.hpp:44</a></div></div>
+<div class="ttc" id="classarmnn_1_1_graph_html_a7563c5b899e7d0ada08fd0fdb202f205"><div class="ttname"><a href="classarmnn_1_1_graph.html#a7563c5b899e7d0ada08fd0fdb202f205">armnn::Graph::AddLayer</a></div><div class="ttdeci">LayerT * AddLayer(Args &&... args)</div><div class="ttdoc">Adds a new layer, of type LayerType, to the graph constructed with the arguments passed. </div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00397">Graph.hpp:397</a></div></div>
+<div class="ttc" id="classarmnn_1_1_optimizer_html_a1f48ba622b76ea04d15c9b62f642bf08"><div class="ttname"><a href="classarmnn_1_1_optimizer.html#a1f48ba622b76ea04d15c9b62f642bf08">armnn::Optimizer::Pass</a></div><div class="ttdeci">static void Pass(Graph &graph, const Optimizations &optimizations)</div><div class="ttdef"><b>Definition:</b> <a href="_optimizer_8cpp_source.html#l00016">Optimizer.cpp:16</a></div></div>
+<div class="ttc" id="_test_utils_8hpp_html_a0eedb278f57355b47fa983450d4e378c"><div class="ttname"><a href="_test_utils_8hpp.html#a0eedb278f57355b47fa983450d4e378c">CheckSequence</a></div><div class="ttdeci">bool CheckSequence(const armnn::Graph::ConstIterator first, const armnn::Graph::ConstIterator last)</div><div class="ttdef"><b>Definition:</b> <a href="_test_utils_8hpp_source.html#l00020">TestUtils.hpp:20</a></div></div>
+<div class="ttc" id="namespacearmnn_1_1optimizations_html_a1a9d718b48612b5817a3c369f9fd71ee"><div class="ttname"><a href="namespacearmnn_1_1optimizations.html#a1a9d718b48612b5817a3c369f9fd71ee">armnn::optimizations::OptimizeInverseConversionsFp16</a></div><div class="ttdeci">OptimizeForConnection< ConvertFp16ToFp32Layer, ConvertFp32ToFp16Layer, OptimizeInverseConversionsImpl > OptimizeInverseConversionsFp16</div><div class="ttdef"><b>Definition:</b> <a href="_optimize_inverse_conversions_8hpp_source.html#l00042">OptimizeInverseConversions.hpp:42</a></div></div>
+<div class="ttc" id="classarmnn_1_1_output_layer_html"><div class="ttname"><a href="classarmnn_1_1_output_layer.html">armnn::OutputLayer</a></div><div class="ttdoc">A layer user-provided data can be bound to (e.g. inputs, outputs). </div><div class="ttdef"><b>Definition:</b> <a href="_output_layer_8hpp_source.html#l00013">OutputLayer.hpp:13</a></div></div>
+<div class="ttc" id="classarmnn_1_1_graph_html_a98b1109a9006f8cc7d4566146a3bd737"><div class="ttname"><a href="classarmnn_1_1_graph.html#a98b1109a9006f8cc7d4566146a3bd737">armnn::Graph::cbegin</a></div><div class="ttdeci">ConstIterator cbegin() const</div><div class="ttdoc">Returns const iterator pointing to the beginning of the list. Lowercase for range-based for loops...</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00168">Graph.hpp:168</a></div></div>
+<div class="ttc" id="namespacearmnn_html_aa7427025a851113a492de0b68b23d22a"><div class="ttname"><a href="namespacearmnn.html#aa7427025a851113a492de0b68b23d22a">armnn::MakeOptimizations</a></div><div class="ttdeci">Optimizer::Optimizations MakeOptimizations(Args &&... args)</div><div class="ttdef"><b>Definition:</b> <a href="_optimizer_8hpp_source.html#l00043">Optimizer.hpp:43</a></div></div>
+<div class="ttc" id="classarmnn_1_1_graph_html"><div class="ttname"><a href="classarmnn_1_1_graph.html">armnn::Graph</a></div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00029">Graph.hpp:29</a></div></div>
+<div class="ttc" id="classarmnn_1_1_graph_html_a02fd29b6dc3e21fbe4484362d85893bc"><div class="ttname"><a href="classarmnn_1_1_graph.html#a02fd29b6dc3e21fbe4484362d85893bc">armnn::Graph::cend</a></div><div class="ttdeci">ConstIterator cend() const</div><div class="ttdoc">Returns const iterator pointing to the end of the list. Lowercase for range-based for loops...</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00170">Graph.hpp:170</a></div></div>
+<div class="ttc" id="structarmnn_1_1_convolution2d_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_convolution2d_descriptor.html">armnn::Convolution2dDescriptor</a></div><div class="ttdoc">A Convolution2dDescriptor for the Convolution2dLayer. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00392">Descriptors.hpp:392</a></div></div>
+<div class="ttc" id="classarmnn_1_1_graph_html_a3ff30c6669fdc69de1f5be1f89bacc3f"><div class="ttname"><a href="classarmnn_1_1_graph.html#a3ff30c6669fdc69de1f5be1f89bacc3f">armnn::Graph::InsertNewLayer</a></div><div class="ttdeci">LayerT * InsertNewLayer(InputSlot &insertBefore, Args &&... args)</div><div class="ttdef"><b>Definition:</b> <a href="_graph_8hpp_source.html#l00409">Graph.hpp:409</a></div></div>
+<div class="ttc" id="classarmnn_1_1_convert_fp16_to_fp32_layer_html"><div class="ttname"><a href="classarmnn_1_1_convert_fp16_to_fp32_layer.html">armnn::ConvertFp16ToFp32Layer</a></div><div class="ttdoc">This layer converts data type Float 16 to Float 32. </div><div class="ttdef"><b>Definition:</b> <a href="_convert_fp16_to_fp32_layer_8hpp_source.html#l00014">ConvertFp16ToFp32Layer.hpp:14</a></div></div>
+</div><!-- fragment -->
+</div>
+</div>
+</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_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_e0a84d05c80a2ef4231141dcbbeac5c8.html">armnn</a></li><li class="navelem"><a class="el" href="dir_9d86fd1fbecbedf5bdb69c7e7235fe5f.html">test</a></li><li class="navelem"><a class="el" href="dir_f1cd0e6da811a659c139424442adfb5f.html">optimizations</a></li><li class="navelem"><a class="el" href="_optimize_inverse_conversions_tests_8cpp.html">OptimizeInverseConversionsTests.cpp</a></li>
+ <li class="footer">Generated on Fri Mar 13 2020 16:06:59 for ArmNN by
+ <a href="http://www.doxygen.org/index.html">
+ <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
+ </ul>
+</div>
+</body>
+</html>