1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
|
<!-- Copyright (c) 2020 ARM Limited. -->
<!-- -->
<!-- SPDX-License-Identifier: MIT -->
<!-- -->
<!-- HTML header for doxygen 1.8.13-->
<!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="robots" content="NOINDEX, NOFOLLOW" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ArmNN: src/backends/neon/test/NeonTimerTest.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>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="stylesheet.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;">
<img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 10rem; margin-top: .5rem; margin-left 10px"/>
<td style="padding-left: 0.5em;">
<div id="projectname">
 <span id="projectnumber">21.11</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('_neon_timer_test_8cpp.xhtml','');});
</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">NeonTimerTest.cpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include "<a class="el" href="_neon_workload_factory_helper_8hpp_source.xhtml">NeonWorkloadFactoryHelper.hpp</a>"</code><br />
<code>#include <<a class="el" href="_tensor_helpers_8hpp_source.xhtml">test/TensorHelpers.hpp</a>></code><br />
<code>#include <<a class="el" href="_tensor_handle_8hpp_source.xhtml">backendsCommon/TensorHandle.hpp</a>></code><br />
<code>#include <<a class="el" href="_workload_factory_8hpp_source.xhtml">backendsCommon/WorkloadFactory.hpp</a>></code><br />
<code>#include <<a class="el" href="_neon_timer_8hpp_source.xhtml">neon/NeonTimer.hpp</a>></code><br />
<code>#include <<a class="el" href="_neon_workload_factory_8hpp_source.xhtml">neon/NeonWorkloadFactory.hpp</a>></code><br />
<code>#include <<a class="el" href="_layer_tests_8hpp_source.xhtml">backendsCommon/test/LayerTests.hpp</a>></code><br />
<code>#include <<a class="el" href="_tensor_copy_utils_8hpp_source.xhtml">backendsCommon/test/TensorCopyUtils.hpp</a>></code><br />
<code>#include <<a class="el" href="_workload_test_utils_8hpp_source.xhtml">backendsCommon/test/WorkloadTestUtils.hpp</a>></code><br />
<code>#include <doctest/doctest.h></code><br />
<code>#include <cstdlib></code><br />
<code>#include <algorithm></code><br />
</div>
<p><a href="_neon_timer_test_8cpp_source.xhtml">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:aed196e43f52134ec02535132bf651d06"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_neon_timer_test_8cpp.xhtml#aed196e43f52134ec02535132bf651d06">TEST_SUITE</a> ("NeonTimerInstrument")</td></tr>
<tr class="separator:aed196e43f52134ec02535132bf651d06"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="aed196e43f52134ec02535132bf651d06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed196e43f52134ec02535132bf651d06">◆ </a></span>TEST_SUITE()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">TEST_SUITE </td>
<td>(</td>
<td class="paramtype">"NeonTimerInstrument" </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="_neon_timer_test_8cpp_source.xhtml#l00028">28</a> of file <a class="el" href="_neon_timer_test_8cpp_source.xhtml">NeonTimerTest.cpp</a>.</p>
<p class="reference">References <a class="el" href="_deprecated_8hpp_source.xhtml#l00033">ARMNN_NO_DEPRECATE_WARN_BEGIN</a>, <a class="el" href="_deprecated_8hpp_source.xhtml#l00034">ARMNN_NO_DEPRECATE_WARN_END</a>, <a class="el" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaabc5a0f0d6e7cf7fca73299dcd46c0f0d">armnn::BoundedReLu</a>, <a class="el" href="_tensor_copy_utils_8cpp_source.xhtml#l00009">CopyDataToITensorHandle()</a>, <a class="el" href="_neon_workload_factory_8cpp_source.xhtml#l00134">NeonWorkloadFactory::CreateActivation()</a>, <a class="el" href="_neon_workload_factory_8cpp_source.xhtml#l00111">NeonWorkloadFactory::CreateTensorHandle()</a>, <a class="el" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::Float32</a>, <a class="el" href="_neon_timer_8cpp_source.xhtml#l00057">NeonTimer::GetName()</a>, and <a class="el" href="_neon_timer_8cpp_source.xhtml#l00020">NeonTimer::Start()</a>.</p>
<div class="fragment"><div class="line"><a name="l00029"></a><span class="lineno"> 29</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> TEST_CASE(<span class="stringliteral">"NeonTimerGetName"</span>)</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> {</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <a class="code" href="classarmnn_1_1_neon_timer.xhtml">NeonTimer</a> neonTimer;</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  CHECK_EQ(std::string(neonTimer.<a class="code" href="classarmnn_1_1_neon_timer.xhtml#ad47edad463024345ce1409153c259215">GetName</a>()), <span class="stringliteral">"NeonKernelTimer"</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"> 36</span> </div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> TEST_CASE(<span class="stringliteral">"NeonTimerMeasure"</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>  <a class="code" href="classarmnn_1_1_neon_workload_factory.xhtml">NeonWorkloadFactory</a> workloadFactory =</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  NeonWorkloadFactoryHelper::GetFactory(NeonWorkloadFactoryHelper::GetMemoryManager());</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> inputWidth = 2000u;</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> inputHeight = 2000u;</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> inputChannels = 1u;</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> inputBatchSize = 1u;</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="keywordtype">float</span> upperBound = 1.0f;</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keywordtype">float</span> lowerBound = -1.0f;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> </div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keywordtype">size_t</span> inputSize = inputWidth * inputHeight * inputChannels * inputBatchSize;</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  std::vector<float> inputData(inputSize, 0.f);</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  std::generate(inputData.begin(), inputData.end(), [](){</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keywordflow">return</span> (static_cast<float>(rand()) / <span class="keyword">static_cast<</span><span class="keywordtype">float</span><span class="keyword">></span>(RAND_MAX / 3)) + 1.f; });</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> </div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> outputWidth = inputWidth;</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> outputHeight = inputHeight;</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> outputChannels = inputChannels;</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> outputBatchSize = inputBatchSize;</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>  <a class="code" href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a> inputTensorInfo({ inputBatchSize, inputChannels, inputHeight, inputWidth },</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <a class="code" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>);</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> </div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <a class="code" href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a> outputTensorInfo({ outputBatchSize, outputChannels, outputHeight, outputWidth },</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <a class="code" href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a>);</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>  <a class="code" href="_deprecated_8hpp.xhtml#ab66a241a0ed3ee89c866e777b035d0ed">ARMNN_NO_DEPRECATE_WARN_BEGIN</a></div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  std::unique_ptr<armnn::ITensorHandle> inputHandle = workloadFactory.<a class="code" href="classarmnn_1_1_neon_workload_factory.xhtml#a7239477811c44d4398f0c2d291d9ea76">CreateTensorHandle</a>(inputTensorInfo);</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  std::unique_ptr<armnn::ITensorHandle> outputHandle = workloadFactory.<a class="code" href="classarmnn_1_1_neon_workload_factory.xhtml#a7239477811c44d4398f0c2d291d9ea76">CreateTensorHandle</a>(outputTensorInfo);</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <a class="code" href="_deprecated_8hpp.xhtml#ad762b11b48e5c1d1c1743f529485728a">ARMNN_NO_DEPRECATE_WARN_END</a></div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> </div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="comment">// Setup bounded ReLu</span></div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <a class="code" href="structarmnn_1_1_activation_queue_descriptor.xhtml">armnn::ActivationQueueDescriptor</a> descriptor;</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <a class="code" href="structarmnn_1_1_workload_info.xhtml">armnn::WorkloadInfo</a> workloadInfo;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  AddInputToWorkload(descriptor, workloadInfo, inputTensorInfo, inputHandle.get());</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  AddOutputToWorkload(descriptor, workloadInfo, outputTensorInfo, outputHandle.get());</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>  descriptor.m_Parameters.m_Function = <a class="code" href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaabc5a0f0d6e7cf7fca73299dcd46c0f0d">armnn::ActivationFunction::BoundedReLu</a>;</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  descriptor.m_Parameters.m_A = upperBound;</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  descriptor.m_Parameters.m_B = lowerBound;</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>  std::unique_ptr<armnn::IWorkload> workload = workloadFactory.<a class="code" href="classarmnn_1_1_neon_workload_factory.xhtml#af5f7b0f6273c838b6b7d7de8447524f9">CreateActivation</a>(descriptor, workloadInfo);</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  inputHandle->Allocate();</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  outputHandle->Allocate();</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> </div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <a class="code" href="_tensor_copy_utils_8cpp.xhtml#ae15f1a3c55d2db87683577de9fa4437c">CopyDataToITensorHandle</a>(inputHandle.get(), inputData.data());</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="classarmnn_1_1_neon_timer.xhtml">NeonTimer</a> neonTimer;</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="comment">// Start the timer.</span></div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  neonTimer.<a class="code" href="classarmnn_1_1_neon_timer.xhtml#a156f3866ca69d98b4d9e6e1c1b3ec7da">Start</a>();</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="comment">// Execute the workload.</span></div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  workload->Execute();</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="comment">// Stop the timer.</span></div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  neonTimer.Stop();</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>  std::vector<Measurement> measurements = neonTimer.GetMeasurements();</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>  CHECK(measurements.size() <= 2);</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keywordflow">if</span> (measurements.size() > 1)</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  {</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  CHECK_EQ(measurements[0].m_Name, <span class="stringliteral">"NeonKernelTimer/0: NEFillBorderKernel"</span>);</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  CHECK(measurements[0].m_Value > 0.0);</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  }</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  std::ostringstream oss_neon;</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  std::ostringstream oss_cpu;</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  oss_neon << <span class="stringliteral">"NeonKernelTimer/"</span> << measurements.size()-1 << <span class="stringliteral">": NEActivationLayerKernel"</span>;</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  oss_cpu << <span class="stringliteral">"NeonKernelTimer/"</span> << measurements.size()-1 << <span class="stringliteral">": CpuActivationKernel"</span>;</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keywordtype">bool</span> kernelCheck = ((measurements[measurements.size()-1].m_Name.find(oss_neon.str()) != std::string::npos)</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  || (measurements[measurements.size()-1].m_Name.find(oss_cpu.str()) != std::string::npos));</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  CHECK(kernelCheck);</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  CHECK(measurements[measurements.size()-1].m_Value > 0.0);</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span> }</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span> </div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span> }</div><div class="ttc" id="classarmnn_1_1_neon_timer_xhtml_a156f3866ca69d98b4d9e6e1c1b3ec7da"><div class="ttname"><a href="classarmnn_1_1_neon_timer.xhtml#a156f3866ca69d98b4d9e6e1c1b3ec7da">armnn::NeonTimer::Start</a></div><div class="ttdeci">void Start() override</div><div class="ttdef"><b>Definition:</b> <a href="_neon_timer_8cpp_source.xhtml#l00020">NeonTimer.cpp:20</a></div></div>
<div class="ttc" id="_deprecated_8hpp_xhtml_ab66a241a0ed3ee89c866e777b035d0ed"><div class="ttname"><a href="_deprecated_8hpp.xhtml#ab66a241a0ed3ee89c866e777b035d0ed">ARMNN_NO_DEPRECATE_WARN_BEGIN</a></div><div class="ttdeci">#define ARMNN_NO_DEPRECATE_WARN_BEGIN</div><div class="ttdef"><b>Definition:</b> <a href="_deprecated_8hpp_source.xhtml#l00033">Deprecated.hpp:33</a></div></div>
<div class="ttc" id="classarmnn_1_1_tensor_info_xhtml"><div class="ttname"><a href="classarmnn_1_1_tensor_info.xhtml">armnn::TensorInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.xhtml#l00152">Tensor.hpp:152</a></div></div>
<div class="ttc" id="classarmnn_1_1_neon_workload_factory_xhtml"><div class="ttname"><a href="classarmnn_1_1_neon_workload_factory.xhtml">armnn::NeonWorkloadFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_neon_workload_factory_8hpp_source.xhtml#l00020">NeonWorkloadFactory.hpp:20</a></div></div>
<div class="ttc" id="classarmnn_1_1_neon_timer_xhtml"><div class="ttname"><a href="classarmnn_1_1_neon_timer.xhtml">armnn::NeonTimer</a></div><div class="ttdef"><b>Definition:</b> <a href="_neon_timer_8hpp_source.xhtml#l00021">NeonTimer.hpp:21</a></div></div>
<div class="ttc" id="_deprecated_8hpp_xhtml_ad762b11b48e5c1d1c1743f529485728a"><div class="ttname"><a href="_deprecated_8hpp.xhtml#ad762b11b48e5c1d1c1743f529485728a">ARMNN_NO_DEPRECATE_WARN_END</a></div><div class="ttdeci">#define ARMNN_NO_DEPRECATE_WARN_END</div><div class="ttdef"><b>Definition:</b> <a href="_deprecated_8hpp_source.xhtml#l00034">Deprecated.hpp:34</a></div></div>
<div class="ttc" id="namespacearmnn_xhtml_a56297e0f7b215eea46c818cb7528d9eaabc5a0f0d6e7cf7fca73299dcd46c0f0d"><div class="ttname"><a href="namespacearmnn.xhtml#a56297e0f7b215eea46c818cb7528d9eaabc5a0f0d6e7cf7fca73299dcd46c0f0d">armnn::ActivationFunction::BoundedReLu</a></div><div class="ttdoc">min(a, max(b, input)) ReLu1 & ReLu6. </div></div>
<div class="ttc" id="classarmnn_1_1_neon_workload_factory_xhtml_af5f7b0f6273c838b6b7d7de8447524f9"><div class="ttname"><a href="classarmnn_1_1_neon_workload_factory.xhtml#af5f7b0f6273c838b6b7d7de8447524f9">armnn::NeonWorkloadFactory::CreateActivation</a></div><div class="ttdeci">std::unique_ptr< IWorkload > CreateActivation(const ActivationQueueDescriptor &descriptor, const WorkloadInfo &info) const override</div><div class="ttdef"><b>Definition:</b> <a href="_neon_workload_factory_8cpp_source.xhtml#l00134">NeonWorkloadFactory.cpp:134</a></div></div>
<div class="ttc" id="namespacearmnn_xhtml_ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204"><div class="ttname"><a href="namespacearmnn.xhtml#ad8ed01ff3ff33333d8e19db4d2818bb6a166495adc0d0f53bee6baecc577f5204">armnn::DataType::Float32</a></div></div>
<div class="ttc" id="classarmnn_1_1_neon_timer_xhtml_ad47edad463024345ce1409153c259215"><div class="ttname"><a href="classarmnn_1_1_neon_timer.xhtml#ad47edad463024345ce1409153c259215">armnn::NeonTimer::GetName</a></div><div class="ttdeci">const char * GetName() const override</div><div class="ttdef"><b>Definition:</b> <a href="_neon_timer_8cpp_source.xhtml#l00057">NeonTimer.cpp:57</a></div></div>
<div class="ttc" id="structarmnn_1_1_workload_info_xhtml"><div class="ttname"><a href="structarmnn_1_1_workload_info.xhtml">armnn::WorkloadInfo</a></div><div class="ttdoc">Contains information about TensorInfos of a layer. </div><div class="ttdef"><b>Definition:</b> <a href="include_2armnn_2backends_2_workload_info_8hpp_source.xhtml#l00016">WorkloadInfo.hpp:16</a></div></div>
<div class="ttc" id="structarmnn_1_1_activation_queue_descriptor_xhtml"><div class="ttname"><a href="structarmnn_1_1_activation_queue_descriptor.xhtml">armnn::ActivationQueueDescriptor</a></div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.xhtml#l00148">WorkloadData.hpp:148</a></div></div>
<div class="ttc" id="classarmnn_1_1_neon_workload_factory_xhtml_a7239477811c44d4398f0c2d291d9ea76"><div class="ttname"><a href="classarmnn_1_1_neon_workload_factory.xhtml#a7239477811c44d4398f0c2d291d9ea76">armnn::NeonWorkloadFactory::CreateTensorHandle</a></div><div class="ttdeci">std::unique_ptr< ITensorHandle > CreateTensorHandle(const TensorInfo &tensorInfo, const bool IsMemoryManaged=true) const override</div><div class="ttdef"><b>Definition:</b> <a href="_neon_workload_factory_8cpp_source.xhtml#l00111">NeonWorkloadFactory.cpp:111</a></div></div>
<div class="ttc" id="_tensor_copy_utils_8cpp_xhtml_ae15f1a3c55d2db87683577de9fa4437c"><div class="ttname"><a href="_tensor_copy_utils_8cpp.xhtml#ae15f1a3c55d2db87683577de9fa4437c">CopyDataToITensorHandle</a></div><div class="ttdeci">void CopyDataToITensorHandle(armnn::ITensorHandle *tensorHandle, const void *memory)</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_copy_utils_8cpp_source.xhtml#l00009">TensorCopyUtils.cpp:9</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.xhtml">src</a></li><li class="navelem"><a class="el" href="dir_0f3cdec46afbc61a1ded8e1687c9c9a0.xhtml">backends</a></li><li class="navelem"><a class="el" href="dir_d86eb514662c7c08e168285f21d00ea1.xhtml">neon</a></li><li class="navelem"><a class="el" href="dir_c3e37ff99b1c352c48e2670d743526e1.xhtml">test</a></li><li class="navelem"><a class="el" href="_neon_timer_test_8cpp.xhtml">NeonTimerTest.cpp</a></li>
<li class="footer">Generated on Wed Nov 17 2021 12:59:39 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>
|