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/_ref_constant_workload_8cpp_source.html b/Documentation/_ref_constant_workload_8cpp_source.html
new file mode 100644
index 0000000..67ebe5f
--- /dev/null
+++ b/Documentation/_ref_constant_workload_8cpp_source.html
@@ -0,0 +1,119 @@
+<!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/backends/reference/workloads/RefConstantWorkload.cpp Source File</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('_ref_constant_workload_8cpp_source.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="headertitle">
+<div class="title">RefConstantWorkload.cpp</div> </div>
+</div><!--header-->
+<div class="contents">
+<a href="_ref_constant_workload_8cpp.html">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 © 2017 Arm Ltd. All rights reserved.</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// SPDX-License-Identifier: MIT</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">//</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> </div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#include "<a class="code" href="_ref_constant_workload_8hpp.html">RefConstantWorkload.hpp</a>"</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> </div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#include "<a class="code" href="_ref_workload_utils_8hpp.html">RefWorkloadUtils.hpp</a>"</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> </div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#include <<a class="code" href="_types_8hpp.html">armnn/Types.hpp</a>></span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <boost/assert.hpp></span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include <cstring></span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="keyword">namespace </span><a class="code" href="namespacearmnn.html">armnn</a></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> {</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="classarmnn_1_1_ref_constant_workload.html#a7ff5467163733c771493c47382e49abc"> 19</a></span> <a class="code" href="classarmnn_1_1_ref_constant_workload.html#a7ff5467163733c771493c47382e49abc">RefConstantWorkload::RefConstantWorkload</a>(</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_constant_queue_descriptor.html">ConstantQueueDescriptor</a>& descriptor, <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_workload_info.html">WorkloadInfo</a>& info)</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  : <a class="code" href="classarmnn_1_1_base_workload.html">BaseWorkload</a><<a class="code" href="structarmnn_1_1_constant_queue_descriptor.html">ConstantQueueDescriptor</a>>(descriptor, info) {}</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="classarmnn_1_1_ref_constant_workload.html#a81627f96ba06d76e147f7d392a8117ed"> 23</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_ref_constant_workload.html#a81627f96ba06d76e147f7d392a8117ed">RefConstantWorkload::PostAllocationConfigure</a>()</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="keyword">const</span> <a class="code" href="structarmnn_1_1_constant_queue_descriptor.html">ConstantQueueDescriptor</a>& data = this-><a class="code" href="classarmnn_1_1_base_workload.html#a0a487c549c63319505095b855ea3c195">m_Data</a>;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  BOOST_ASSERT(data.<a class="code" href="structarmnn_1_1_constant_queue_descriptor.html#ade37258f293ac919eac5f1af1de5ac82">m_LayerOutput</a> != <span class="keyword">nullptr</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>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_tensor_info.html">TensorInfo</a>& outputInfo = <a class="code" href="namespacearmnn.html#a93d269806f34407695dc10f510001c30">GetTensorInfo</a>(data.<a class="code" href="structarmnn_1_1_queue_descriptor.html#a6abd491bb99ffe88bd472c1ae5a1ed1a">m_Outputs</a>[0]);</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  BOOST_ASSERT(data.<a class="code" href="structarmnn_1_1_constant_queue_descriptor.html#ade37258f293ac919eac5f1af1de5ac82">m_LayerOutput</a>-><a class="code" href="classarmnn_1_1_const_cpu_tensor_handle.html#a66e8f43a5b42b500871ed96e15419567">GetTensorInfo</a>().<a class="code" href="classarmnn_1_1_tensor_info.html#abcbdfb544ece4c31d0b37715ad0f3be0">GetNumBytes</a>() == outputInfo.<a class="code" href="classarmnn_1_1_tensor_info.html#abcbdfb544ece4c31d0b37715ad0f3be0">GetNumBytes</a>());</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  memcpy(GetOutputTensorData<void>(0, data), data.<a class="code" href="structarmnn_1_1_constant_queue_descriptor.html#ade37258f293ac919eac5f1af1de5ac82">m_LayerOutput</a>-><a class="code" href="classarmnn_1_1_const_cpu_tensor_handle.html#a3a76fc8b348e13d5a6ac1240c96ebef4">GetConstTensor</a><<span class="keywordtype">void</span>>(),</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  outputInfo.<a class="code" href="classarmnn_1_1_tensor_info.html#abcbdfb544ece4c31d0b37715ad0f3be0">GetNumBytes</a>());</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> </div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="classarmnn_1_1_ref_constant_workload.html#ae071e8822437c78baea75c3aef3a263a"> 36</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_ref_constant_workload.html#ae071e8822437c78baea75c3aef3a263a">RefConstantWorkload::Execute</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="keyword"></span>{</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <a class="code" href="_profiling_8hpp.html#a5ccc65e2c464ac05ce311fdae7ede03a">ARMNN_SCOPED_PROFILING_EVENT</a>(<a class="code" href="namespacearmnn.html#ae2f04a162585c0a5222a537efd5456aea83c2c4e9b658ccafbcbe6309c5d84c64">Compute::CpuRef</a>, <span class="stringliteral">"RefConstantWorkload_Execute"</span>);</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> }</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="comment">//namespace armnn</span></div><div class="ttc" id="_profiling_8hpp_html_a5ccc65e2c464ac05ce311fdae7ede03a"><div class="ttname"><a href="_profiling_8hpp.html#a5ccc65e2c464ac05ce311fdae7ede03a">ARMNN_SCOPED_PROFILING_EVENT</a></div><div class="ttdeci">#define ARMNN_SCOPED_PROFILING_EVENT(backendId, name)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_8hpp_source.html#l00170">Profiling.hpp:170</a></div></div>
+<div class="ttc" id="classarmnn_1_1_const_cpu_tensor_handle_html_a3a76fc8b348e13d5a6ac1240c96ebef4"><div class="ttname"><a href="classarmnn_1_1_const_cpu_tensor_handle.html#a3a76fc8b348e13d5a6ac1240c96ebef4">armnn::ConstCpuTensorHandle::GetConstTensor</a></div><div class="ttdeci">const T * GetConstTensor() const</div><div class="ttdef"><b>Definition:</b> <a href="_cpu_tensor_handle_8hpp_source.html#l00031">CpuTensorHandle.hpp:31</a></div></div>
+<div class="ttc" id="classarmnn_1_1_const_cpu_tensor_handle_html_a66e8f43a5b42b500871ed96e15419567"><div class="ttname"><a href="classarmnn_1_1_const_cpu_tensor_handle.html#a66e8f43a5b42b500871ed96e15419567">armnn::ConstCpuTensorHandle::GetTensorInfo</a></div><div class="ttdeci">const TensorInfo & GetTensorInfo() const</div><div class="ttdef"><b>Definition:</b> <a href="_cpu_tensor_handle_8hpp_source.html#l00037">CpuTensorHandle.hpp:37</a></div></div>
+<div class="ttc" id="classarmnn_1_1_tensor_info_html"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00053">Tensor.hpp:53</a></div></div>
+<div class="ttc" id="_ref_constant_workload_8hpp_html"><div class="ttname"><a href="_ref_constant_workload_8hpp.html">RefConstantWorkload.hpp</a></div></div>
+<div class="ttc" id="structarmnn_1_1_workload_info_html"><div class="ttname"><a href="structarmnn_1_1_workload_info.html">armnn::WorkloadInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="include_2armnn_2backends_2_workload_info_8hpp_source.html#l00016">WorkloadInfo.hpp:16</a></div></div>
+<div class="ttc" id="classarmnn_1_1_ref_constant_workload_html_a7ff5467163733c771493c47382e49abc"><div class="ttname"><a href="classarmnn_1_1_ref_constant_workload.html#a7ff5467163733c771493c47382e49abc">armnn::RefConstantWorkload::RefConstantWorkload</a></div><div class="ttdeci">RefConstantWorkload(const ConstantQueueDescriptor &descriptor, const WorkloadInfo &info)</div><div class="ttdef"><b>Definition:</b> <a href="_ref_constant_workload_8cpp_source.html#l00019">RefConstantWorkload.cpp:19</a></div></div>
+<div class="ttc" id="classarmnn_1_1_tensor_info_html_abcbdfb544ece4c31d0b37715ad0f3be0"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html#abcbdfb544ece4c31d0b37715ad0f3be0">armnn::TensorInfo::GetNumBytes</a></div><div class="ttdeci">unsigned int GetNumBytes() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8cpp_source.html#l00213">Tensor.cpp:213</a></div></div>
+<div class="ttc" id="classarmnn_1_1_base_workload_html_a0a487c549c63319505095b855ea3c195"><div class="ttname"><a href="classarmnn_1_1_base_workload.html#a0a487c549c63319505095b855ea3c195">armnn::BaseWorkload< ConstantQueueDescriptor >::m_Data</a></div><div class="ttdeci">const ConstantQueueDescriptor m_Data</div><div class="ttdef"><b>Definition:</b> <a href="_workload_8hpp_source.html#l00046">Workload.hpp:46</a></div></div>
+<div class="ttc" id="structarmnn_1_1_constant_queue_descriptor_html_ade37258f293ac919eac5f1af1de5ac82"><div class="ttname"><a href="structarmnn_1_1_constant_queue_descriptor.html#ade37258f293ac919eac5f1af1de5ac82">armnn::ConstantQueueDescriptor::m_LayerOutput</a></div><div class="ttdeci">const ConstCpuTensorHandle * m_LayerOutput</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00333">WorkloadData.hpp:333</a></div></div>
+<div class="ttc" id="structarmnn_1_1_constant_queue_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_constant_queue_descriptor.html">armnn::ConstantQueueDescriptor</a></div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00326">WorkloadData.hpp:326</a></div></div>
+<div class="ttc" id="namespacearmnn_html"><div class="ttname"><a href="namespacearmnn.html">armnn</a></div><div class="ttdef"><b>Definition:</b> <a href="_backend_helper_8hpp_source.html#l00011">BackendHelper.hpp:11</a></div></div>
+<div class="ttc" id="_types_8hpp_html"><div class="ttname"><a href="_types_8hpp.html">Types.hpp</a></div></div>
+<div class="ttc" id="classarmnn_1_1_ref_constant_workload_html_ae071e8822437c78baea75c3aef3a263a"><div class="ttname"><a href="classarmnn_1_1_ref_constant_workload.html#ae071e8822437c78baea75c3aef3a263a">armnn::RefConstantWorkload::Execute</a></div><div class="ttdeci">virtual void Execute() const override</div><div class="ttdef"><b>Definition:</b> <a href="_ref_constant_workload_8cpp_source.html#l00036">RefConstantWorkload.cpp:36</a></div></div>
+<div class="ttc" id="namespacearmnn_html_ae2f04a162585c0a5222a537efd5456aea83c2c4e9b658ccafbcbe6309c5d84c64"><div class="ttname"><a href="namespacearmnn.html#ae2f04a162585c0a5222a537efd5456aea83c2c4e9b658ccafbcbe6309c5d84c64">armnn::Compute::CpuRef</a></div><div class="ttdoc">CPU Execution: Reference C++ kernels. </div></div>
+<div class="ttc" id="classarmnn_1_1_ref_constant_workload_html_a81627f96ba06d76e147f7d392a8117ed"><div class="ttname"><a href="classarmnn_1_1_ref_constant_workload.html#a81627f96ba06d76e147f7d392a8117ed">armnn::RefConstantWorkload::PostAllocationConfigure</a></div><div class="ttdeci">void PostAllocationConfigure() override</div><div class="ttdef"><b>Definition:</b> <a href="_ref_constant_workload_8cpp_source.html#l00023">RefConstantWorkload.cpp:23</a></div></div>
+<div class="ttc" id="structarmnn_1_1_queue_descriptor_html_a6abd491bb99ffe88bd472c1ae5a1ed1a"><div class="ttname"><a href="structarmnn_1_1_queue_descriptor.html#a6abd491bb99ffe88bd472c1ae5a1ed1a">armnn::QueueDescriptor::m_Outputs</a></div><div class="ttdeci">std::vector< ITensorHandle * > m_Outputs</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00031">WorkloadData.hpp:31</a></div></div>
+<div class="ttc" id="classarmnn_1_1_base_workload_html"><div class="ttname"><a href="classarmnn_1_1_base_workload.html">armnn::BaseWorkload</a></div><div class="ttdef"><b>Definition:</b> <a href="_workload_8hpp_source.html#l00028">Workload.hpp:28</a></div></div>
+<div class="ttc" id="namespacearmnn_html_a93d269806f34407695dc10f510001c30"><div class="ttname"><a href="namespacearmnn.html#a93d269806f34407695dc10f510001c30">armnn::GetTensorInfo</a></div><div class="ttdeci">const TensorInfo & GetTensorInfo(const ITensorHandle *tensorHandle)</div><div class="ttdoc">float32 helpers </div><div class="ttdef"><b>Definition:</b> <a href="_ref_workload_utils_8hpp_source.html#l00025">RefWorkloadUtils.hpp:25</a></div></div>
+<div class="ttc" id="_ref_workload_utils_8hpp_html"><div class="ttname"><a href="_ref_workload_utils_8hpp.html">RefWorkloadUtils.hpp</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_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_0f3cdec46afbc61a1ded8e1687c9c9a0.html">backends</a></li><li class="navelem"><a class="el" href="dir_efae4012d0e357ebeaba7d02491d70e5.html">reference</a></li><li class="navelem"><a class="el" href="dir_d2f3b8e2e64df3181ebe92efcc0a3012.html">workloads</a></li><li class="navelem"><a class="el" href="_ref_constant_workload_8cpp.html">RefConstantWorkload.cpp</a></li>
+ <li class="footer">Generated on Fri Mar 13 2020 16:06:58 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>