blob: 24d9966d83ae99e7d75f12e2d9d08d52154facc2 [file] [log] [blame]
Ryan OSheade36e4a2020-03-13 16:26:19 +00001<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6<meta name="generator" content="Doxygen 1.8.13"/>
7<meta name="viewport" content="width=device-width, initial-scale=1"/>
8<title>ArmNN: ClDepthwiseConvolutionWorkload Class Reference</title>
9<link href="tabs.css" rel="stylesheet" type="text/css"/>
10<script type="text/javascript" src="jquery.js"></script>
11<script type="text/javascript" src="dynsections.js"></script>
12<link href="navtree.css" rel="stylesheet" type="text/css"/>
13<script type="text/javascript" src="resize.js"></script>
14<script type="text/javascript" src="navtreedata.js"></script>
15<script type="text/javascript" src="navtree.js"></script>
16<script type="text/javascript">
17 $(document).ready(initResizable);
18</script>
19<link href="search/search.css" rel="stylesheet" type="text/css"/>
20<script type="text/javascript" src="search/searchdata.js"></script>
21<script type="text/javascript" src="search/search.js"></script>
22<link href="doxygen.css" rel="stylesheet" type="text/css" />
23</head>
24<body>
25<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
26<div id="titlearea">
27<table cellspacing="0" cellpadding="0">
28 <tbody>
29 <tr style="height: 56px;">
30 <td id="projectalign" style="padding-left: 0.5em;">
31 <div id="projectname">ArmNN
32 &#160;<span id="projectnumber">NotReleased</span>
33 </div>
34 </td>
35 </tr>
36 </tbody>
37</table>
38</div>
39<!-- end header part -->
40<!-- Generated by Doxygen 1.8.13 -->
41<script type="text/javascript">
42var searchBox = new SearchBox("searchBox", "search",false,'Search');
43</script>
44<script type="text/javascript" src="menudata.js"></script>
45<script type="text/javascript" src="menu.js"></script>
46<script type="text/javascript">
47$(function() {
48 initMenu('',true,false,'search.php','Search');
49 $(document).ready(function() { init_search(); });
50});
51</script>
52<div id="main-nav"></div>
53</div><!-- top -->
54<div id="side-nav" class="ui-resizable side-nav-resizable">
55 <div id="nav-tree">
56 <div id="nav-tree-contents">
57 <div id="nav-sync" class="sync"></div>
58 </div>
59 </div>
60 <div id="splitbar" style="-moz-user-select:none;"
61 class="ui-resizable-handle">
62 </div>
63</div>
64<script type="text/javascript">
65$(document).ready(function(){initNavTree('classarmnn_1_1_cl_depthwise_convolution_workload.html','');});
66</script>
67<div id="doc-content">
68<!-- window showing the filter options -->
69<div id="MSearchSelectWindow"
70 onmouseover="return searchBox.OnSearchSelectShow()"
71 onmouseout="return searchBox.OnSearchSelectHide()"
72 onkeydown="return searchBox.OnSearchSelectKey(event)">
73</div>
74
75<!-- iframe showing the search results (closed by default) -->
76<div id="MSearchResultsWindow">
77<iframe src="javascript:void(0)" frameborder="0"
78 name="MSearchResults" id="MSearchResults">
79</iframe>
80</div>
81
82<div class="header">
83 <div class="summary">
84<a href="#pub-methods">Public Member Functions</a> &#124;
85<a href="#pro-methods">Protected Member Functions</a> &#124;
86<a href="#pro-attribs">Protected Attributes</a> &#124;
87<a href="classarmnn_1_1_cl_depthwise_convolution_workload-members.html">List of all members</a> </div>
88 <div class="headertitle">
89<div class="title">ClDepthwiseConvolutionWorkload Class Reference</div> </div>
90</div><!--header-->
91<div class="contents">
92
93<p><code>#include &lt;<a class="el" href="_cl_depthwise_convolution_workload_8hpp_source.html">ClDepthwiseConvolutionWorkload.hpp</a>&gt;</code></p>
94<div class="dynheader">
95Inheritance diagram for ClDepthwiseConvolutionWorkload:</div>
96<div class="dyncontent">
97 <div class="center">
98 <img src="classarmnn_1_1_cl_depthwise_convolution_workload.png" usemap="#ClDepthwiseConvolutionWorkload_map" alt=""/>
99 <map id="ClDepthwiseConvolutionWorkload_map" name="ClDepthwiseConvolutionWorkload_map">
100<area href="classarmnn_1_1_base_workload.html" alt="BaseWorkload&lt; DepthwiseConvolution2dQueueDescriptor &gt;" shape="rect" coords="0,56,353,80"/>
101<area href="classarmnn_1_1_i_workload.html" title="Workload interface to enqueue a layer computation. " alt="IWorkload" shape="rect" coords="0,0,353,24"/>
102</map>
103 </div></div>
104<table class="memberdecls">
105<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
106Public Member Functions</h2></td></tr>
107<tr class="memitem:ad4893eb32951d9115ac43636b5e82334"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_cl_depthwise_convolution_workload.html#ad4893eb32951d9115ac43636b5e82334">ClDepthwiseConvolutionWorkload</a> (const <a class="el" href="structarmnn_1_1_depthwise_convolution2d_queue_descriptor.html">DepthwiseConvolution2dQueueDescriptor</a> &amp;descriptor, const <a class="el" href="structarmnn_1_1_workload_info.html">WorkloadInfo</a> &amp;<a class="el" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>)</td></tr>
108<tr class="separator:ad4893eb32951d9115ac43636b5e82334"><td class="memSeparator" colspan="2">&#160;</td></tr>
109<tr class="memitem:ae071e8822437c78baea75c3aef3a263a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_cl_depthwise_convolution_workload.html#ae071e8822437c78baea75c3aef3a263a">Execute</a> () const override</td></tr>
110<tr class="separator:ae071e8822437c78baea75c3aef3a263a"><td class="memSeparator" colspan="2">&#160;</td></tr>
111<tr class="inherit_header pub_methods_classarmnn_1_1_base_workload"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmnn_1_1_base_workload')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classarmnn_1_1_base_workload.html">BaseWorkload&lt; DepthwiseConvolution2dQueueDescriptor &gt;</a></td></tr>
112<tr class="memitem:af2ef420610280dc5a661cd3d4836d5a2 inherit pub_methods_classarmnn_1_1_base_workload"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_base_workload.html#af2ef420610280dc5a661cd3d4836d5a2">BaseWorkload</a> (const <a class="el" href="structarmnn_1_1_depthwise_convolution2d_queue_descriptor.html">DepthwiseConvolution2dQueueDescriptor</a> &amp;descriptor, const <a class="el" href="structarmnn_1_1_workload_info.html">WorkloadInfo</a> &amp;info)</td></tr>
113<tr class="separator:af2ef420610280dc5a661cd3d4836d5a2 inherit pub_methods_classarmnn_1_1_base_workload"><td class="memSeparator" colspan="2">&#160;</td></tr>
114<tr class="memitem:a81627f96ba06d76e147f7d392a8117ed inherit pub_methods_classarmnn_1_1_base_workload"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_base_workload.html#a81627f96ba06d76e147f7d392a8117ed">PostAllocationConfigure</a> () override</td></tr>
115<tr class="separator:a81627f96ba06d76e147f7d392a8117ed inherit pub_methods_classarmnn_1_1_base_workload"><td class="memSeparator" colspan="2">&#160;</td></tr>
116<tr class="memitem:a965cf380c7adf547d0f14b3f6d1da249 inherit pub_methods_classarmnn_1_1_base_workload"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structarmnn_1_1_depthwise_convolution2d_queue_descriptor.html">DepthwiseConvolution2dQueueDescriptor</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_base_workload.html#a965cf380c7adf547d0f14b3f6d1da249">GetData</a> () const</td></tr>
117<tr class="separator:a965cf380c7adf547d0f14b3f6d1da249 inherit pub_methods_classarmnn_1_1_base_workload"><td class="memSeparator" colspan="2">&#160;</td></tr>
118<tr class="memitem:a29c2c6dd77c6fe10674fc6876751cbce inherit pub_methods_classarmnn_1_1_base_workload"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.html">profiling::ProfilingGuid</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_base_workload.html#a29c2c6dd77c6fe10674fc6876751cbce">GetGuid</a> () const final</td></tr>
119<tr class="separator:a29c2c6dd77c6fe10674fc6876751cbce inherit pub_methods_classarmnn_1_1_base_workload"><td class="memSeparator" colspan="2">&#160;</td></tr>
120<tr class="inherit_header pub_methods_classarmnn_1_1_i_workload"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarmnn_1_1_i_workload')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classarmnn_1_1_i_workload.html">IWorkload</a></td></tr>
121<tr class="memitem:a69c83c02ae8de866bc7a46c49e69c1ba inherit pub_methods_classarmnn_1_1_i_workload"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_workload.html#a69c83c02ae8de866bc7a46c49e69c1ba">~IWorkload</a> ()</td></tr>
122<tr class="separator:a69c83c02ae8de866bc7a46c49e69c1ba inherit pub_methods_classarmnn_1_1_i_workload"><td class="memSeparator" colspan="2">&#160;</td></tr>
123<tr class="memitem:ab81312bd5e64cbae2803de9f243bdb32 inherit pub_methods_classarmnn_1_1_i_workload"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_workload.html#ab81312bd5e64cbae2803de9f243bdb32">RegisterDebugCallback</a> (const <a class="el" href="namespacearmnn.html#a15f3ad9b5e4e3d46b0a6dda246a7bc28">DebugCallbackFunction</a> &amp;)</td></tr>
124<tr class="separator:ab81312bd5e64cbae2803de9f243bdb32 inherit pub_methods_classarmnn_1_1_i_workload"><td class="memSeparator" colspan="2">&#160;</td></tr>
125</table><table class="memberdecls">
126<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
127Protected Member Functions</h2></td></tr>
128<tr class="memitem:a0bb693e78f3f52bfb7184d631e920c6d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_cl_depthwise_convolution_workload.html#a0bb693e78f3f52bfb7184d631e920c6d">FreeUnusedTensors</a> ()</td></tr>
129<tr class="separator:a0bb693e78f3f52bfb7184d631e920c6d"><td class="memSeparator" colspan="2">&#160;</td></tr>
130</table><table class="memberdecls">
131<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
132Protected Attributes</h2></td></tr>
133<tr class="memitem:ac0fba9c7a56b1982e9aa8ca10b5df71b"><td class="memItemLeft" align="right" valign="top">std::unique_ptr&lt; arm_compute::IFunction &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_cl_depthwise_convolution_workload.html#ac0fba9c7a56b1982e9aa8ca10b5df71b">m_DepthwiseConvolutionLayer</a></td></tr>
134<tr class="separator:ac0fba9c7a56b1982e9aa8ca10b5df71b"><td class="memSeparator" colspan="2">&#160;</td></tr>
135<tr class="memitem:ae940932b13fd8ab5e844732c3fe31d6b"><td class="memItemLeft" align="right" valign="top">std::unique_ptr&lt; arm_compute::CLTensor &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_cl_depthwise_convolution_workload.html#ae940932b13fd8ab5e844732c3fe31d6b">m_KernelTensor</a></td></tr>
136<tr class="separator:ae940932b13fd8ab5e844732c3fe31d6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
137<tr class="memitem:a42b0e7e63e1c85a46faaf989d66b1f12"><td class="memItemLeft" align="right" valign="top">std::unique_ptr&lt; arm_compute::CLTensor &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_cl_depthwise_convolution_workload.html#a42b0e7e63e1c85a46faaf989d66b1f12">m_BiasTensor</a></td></tr>
138<tr class="separator:a42b0e7e63e1c85a46faaf989d66b1f12"><td class="memSeparator" colspan="2">&#160;</td></tr>
139<tr class="inherit_header pro_attribs_classarmnn_1_1_base_workload"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classarmnn_1_1_base_workload')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classarmnn_1_1_base_workload.html">BaseWorkload&lt; DepthwiseConvolution2dQueueDescriptor &gt;</a></td></tr>
140<tr class="memitem:a0a487c549c63319505095b855ea3c195 inherit pro_attribs_classarmnn_1_1_base_workload"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structarmnn_1_1_depthwise_convolution2d_queue_descriptor.html">DepthwiseConvolution2dQueueDescriptor</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_base_workload.html#a0a487c549c63319505095b855ea3c195">m_Data</a></td></tr>
141<tr class="separator:a0a487c549c63319505095b855ea3c195 inherit pro_attribs_classarmnn_1_1_base_workload"><td class="memSeparator" colspan="2">&#160;</td></tr>
142<tr class="memitem:a902044db290170b8467ed4697b7fed24 inherit pro_attribs_classarmnn_1_1_base_workload"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarmnn_1_1profiling_1_1_profiling_guid.html">profiling::ProfilingGuid</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_base_workload.html#a902044db290170b8467ed4697b7fed24">m_Guid</a></td></tr>
143<tr class="separator:a902044db290170b8467ed4697b7fed24 inherit pro_attribs_classarmnn_1_1_base_workload"><td class="memSeparator" colspan="2">&#160;</td></tr>
144</table>
145<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
146<div class="textblock">
147<p class="definition">Definition at line <a class="el" href="_cl_depthwise_convolution_workload_8hpp_source.html#l00023">23</a> of file <a class="el" href="_cl_depthwise_convolution_workload_8hpp_source.html">ClDepthwiseConvolutionWorkload.hpp</a>.</p>
148</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
149<a id="ad4893eb32951d9115ac43636b5e82334"></a>
150<h2 class="memtitle"><span class="permalink"><a href="#ad4893eb32951d9115ac43636b5e82334">&#9670;&nbsp;</a></span>ClDepthwiseConvolutionWorkload()</h2>
151
152<div class="memitem">
153<div class="memproto">
154 <table class="memname">
155 <tr>
156 <td class="memname"><a class="el" href="classarmnn_1_1_cl_depthwise_convolution_workload.html">ClDepthwiseConvolutionWorkload</a> </td>
157 <td>(</td>
158 <td class="paramtype">const <a class="el" href="structarmnn_1_1_depthwise_convolution2d_queue_descriptor.html">DepthwiseConvolution2dQueueDescriptor</a> &amp;&#160;</td>
159 <td class="paramname"><em>descriptor</em>, </td>
160 </tr>
161 <tr>
162 <td class="paramkey"></td>
163 <td></td>
164 <td class="paramtype">const <a class="el" href="structarmnn_1_1_workload_info.html">WorkloadInfo</a> &amp;&#160;</td>
165 <td class="paramname"><em>info</em>&#160;</td>
166 </tr>
167 <tr>
168 <td></td>
169 <td>)</td>
170 <td></td><td></td>
171 </tr>
172 </table>
173</div><div class="memdoc">
174
175<p class="definition">Definition at line <a class="el" href="_cl_depthwise_convolution_workload_8cpp_source.html#l00070">70</a> of file <a class="el" href="_cl_depthwise_convolution_workload_8cpp_source.html">ClDepthwiseConvolutionWorkload.cpp</a>.</p>
176
177<p class="reference">References <a class="el" href="_workload_utils_8cpp_source.html#l00132">armnn::ConvertWeightTensorFromArmnnToAcl()</a>, <a class="el" href="_tensor_8cpp_source.html#l00213">TensorInfo::GetNumBytes()</a>, <a class="el" href="_cpu_tensor_handle_8hpp_source.html#l00037">ConstCpuTensorHandle::GetTensorInfo()</a>, <a class="el" href="_workload_8hpp_source.html#l00046">BaseWorkload&lt; DepthwiseConvolution2dQueueDescriptor &gt;::m_Data</a>, <a class="el" href="_descriptors_8hpp_source.html#l00492">DepthwiseConvolution2dDescriptor::m_DataLayout</a>, <a class="el" href="_cl_depthwise_convolution_workload_8hpp_source.html#l00036">ClDepthwiseConvolutionWorkload::m_KernelTensor</a>, <a class="el" href="_workload_data_8hpp_source.html#l00049">QueueDescriptorWithParameters&lt; LayerDescriptor &gt;::m_Parameters</a>, and <a class="el" href="_workload_data_8hpp_source.html#l00191">DepthwiseConvolution2dQueueDescriptor::m_Weight</a>.</p>
178<div class="fragment"><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; : BaseWorkload&lt;DepthwiseConvolution2dQueueDescriptor&gt;(descriptor, <a class="code" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>)</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;{</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <span class="comment">// Allocate a buffer for the swizzling of the weight tensor</span></div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; std::unique_ptr&lt;unsigned char[]&gt; permuteBuffer(<span class="keyword">new</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>[<a class="code" href="classarmnn_1_1_base_workload.html#a0a487c549c63319505095b855ea3c195">m_Data</a>.<a class="code" href="structarmnn_1_1_depthwise_convolution2d_queue_descriptor.html#a3369b66d9316a773a41711e3f590c041">m_Weight</a>-&gt;<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>()]);</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <span class="comment">// Convert the weight format from ArmNN&#39;s [ M, I, H, W ] (does NOT depend on the data layout) to either</span></div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <span class="comment">// [ 1, H, W, I * M ] (if NHWC) or [ 1, I * M, H, W ] (if NCHW), as required by the compute library</span></div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; ConstTensor weightPermuted = <a class="code" href="namespacearmnn.html#a51e8b95a429e11678ffa8b9fdc88351b">ConvertWeightTensorFromArmnnToAcl</a>(<a class="code" href="classarmnn_1_1_base_workload.html#a0a487c549c63319505095b855ea3c195">m_Data</a>.<a class="code" href="structarmnn_1_1_depthwise_convolution2d_queue_descriptor.html#a3369b66d9316a773a41711e3f590c041">m_Weight</a>,</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <a class="code" href="classarmnn_1_1_base_workload.html#a0a487c549c63319505095b855ea3c195">m_Data</a>.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>.<a class="code" href="structarmnn_1_1_depthwise_convolution2d_descriptor.html#a6089e1ca91914015777ea780a513131a">m_DataLayout</a>,</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; permuteBuffer.get());</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <span class="comment">// Convert the weights into the compute library format</span></div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; <a class="code" href="classarmnn_1_1_cl_depthwise_convolution_workload.html#ae940932b13fd8ab5e844732c3fe31d6b">m_KernelTensor</a> = std::make_unique&lt;arm_compute::CLTensor&gt;();</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; BuildArmComputeTensor(*m_KernelTensor, weightPermuted.GetInfo(), <a class="code" href="classarmnn_1_1_base_workload.html#a0a487c549c63319505095b855ea3c195">m_Data</a>.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>.<a class="code" href="structarmnn_1_1_depthwise_convolution2d_descriptor.html#a6089e1ca91914015777ea780a513131a">m_DataLayout</a>);</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_base_workload.html#a0a487c549c63319505095b855ea3c195">m_Data</a>.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>.<a class="code" href="structarmnn_1_1_depthwise_convolution2d_descriptor.html#aea202e14d8874cefd9a0f778022b7e25">m_BiasEnabled</a>)</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; {</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; <a class="code" href="classarmnn_1_1_cl_depthwise_convolution_workload.html#a42b0e7e63e1c85a46faaf989d66b1f12">m_BiasTensor</a> = std::make_unique&lt;arm_compute::CLTensor&gt;();</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; BuildArmComputeTensor(*<a class="code" href="classarmnn_1_1_cl_depthwise_convolution_workload.html#a42b0e7e63e1c85a46faaf989d66b1f12">m_BiasTensor</a>, <a class="code" href="classarmnn_1_1_base_workload.html#a0a487c549c63319505095b855ea3c195">m_Data</a>.<a class="code" href="structarmnn_1_1_depthwise_convolution2d_queue_descriptor.html#ab3437cee6b0687812104fc1b37cbe8b3">m_Bias</a>-&gt;<a class="code" href="classarmnn_1_1_const_cpu_tensor_handle.html#a66e8f43a5b42b500871ed96e15419567">GetTensorInfo</a>(), <a class="code" href="classarmnn_1_1_base_workload.html#a0a487c549c63319505095b855ea3c195">m_Data</a>.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>.<a class="code" href="structarmnn_1_1_depthwise_convolution2d_descriptor.html#a6089e1ca91914015777ea780a513131a">m_DataLayout</a>);</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; }</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <span class="keyword">const</span> arm_compute::Size2D aclDilationInfo = BuildArmComputeSize2D(</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; <a class="code" href="classarmnn_1_1_base_workload.html#a0a487c549c63319505095b855ea3c195">m_Data</a>.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>.<a class="code" href="structarmnn_1_1_depthwise_convolution2d_descriptor.html#aa3c6a77a963a98ccb8ea7b8fd008a8c1">m_DilationX</a>,</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; <a class="code" href="classarmnn_1_1_base_workload.html#a0a487c549c63319505095b855ea3c195">m_Data</a>.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>.<a class="code" href="structarmnn_1_1_depthwise_convolution2d_descriptor.html#a302b688d88dd73cde0fb1faef6679907">m_DilationY</a>);</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; std::string name = std::string(<span class="stringliteral">&quot;ClDepthwiseConvolutionWorkload&quot;</span>);</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <a class="code" href="classarmnn_1_1_base_workload.html#a0a487c549c63319505095b855ea3c195">m_Data</a>.<a class="code" href="structarmnn_1_1_queue_descriptor.html#a765d2cee4ccce5b9467e0c2b6d25b84a">ValidateInputsOutputs</a>(name, 1, 1);</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; arm_compute::ICLTensor&amp; input = <span class="keyword">static_cast&lt;</span>IClTensorHandle*<span class="keyword">&gt;</span>(<a class="code" href="classarmnn_1_1_base_workload.html#a0a487c549c63319505095b855ea3c195">m_Data</a>.<a class="code" href="structarmnn_1_1_queue_descriptor.html#a4b50e46a6810018f3edecfb68b2a76b3">m_Inputs</a>[0])-&gt;GetTensor();</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; arm_compute::ICLTensor&amp; output = <span class="keyword">static_cast&lt;</span>IClTensorHandle*<span class="keyword">&gt;</span>(<a class="code" href="classarmnn_1_1_base_workload.html#a0a487c549c63319505095b855ea3c195">m_Data</a>.<a class="code" href="structarmnn_1_1_queue_descriptor.html#a6abd491bb99ffe88bd472c1ae5a1ed1a">m_Outputs</a>[0])-&gt;GetTensor();</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; <a class="code" href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">arm_compute::DataLayout</a> aclDataLayout = ConvertDataLayout(<a class="code" href="classarmnn_1_1_base_workload.html#a0a487c549c63319505095b855ea3c195">m_Data</a>.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>.<a class="code" href="structarmnn_1_1_depthwise_convolution2d_descriptor.html#a6089e1ca91914015777ea780a513131a">m_DataLayout</a>);</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; input.info()-&gt;set_data_layout(aclDataLayout);</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; output.info()-&gt;set_data_layout(aclDataLayout);</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <span class="comment">// ArmNN&#39;s weight format is [ M, I, H, W ]</span></div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; <span class="keyword">auto</span>&amp; weightInfo = <a class="code" href="classarmnn_1_1_base_workload.html#a0a487c549c63319505095b855ea3c195">m_Data</a>.<a class="code" href="structarmnn_1_1_depthwise_convolution2d_queue_descriptor.html#a3369b66d9316a773a41711e3f590c041">m_Weight</a>-&gt;<a class="code" href="classarmnn_1_1_const_cpu_tensor_handle.html#a66e8f43a5b42b500871ed96e15419567">GetTensorInfo</a>();</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160;</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; <span class="comment">// Get the depth multiplier</span></div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> depthMultiplier = weightInfo.<a class="code" href="classarmnn_1_1_tensor_info.html#a8b5d0f8a24e9d9238f412260a552acf8">GetShape</a>()[0];</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160;</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; arm_compute::PadStrideInfo padStrideInfo = BuildArmComputePadStrideInfo(<a class="code" href="classarmnn_1_1_base_workload.html#a0a487c549c63319505095b855ea3c195">m_Data</a>.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>);</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160;</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; <a class="code" href="classarmnn_1_1_cl_depthwise_convolution_workload.html#ac0fba9c7a56b1982e9aa8ca10b5df71b">m_DepthwiseConvolutionLayer</a> = std::make_unique&lt;arm_compute::CLDepthwiseConvolutionLayer&gt;();</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; <span class="keyword">static_cast&lt;</span>arm_compute::CLDepthwiseConvolutionLayer*<span class="keyword">&gt;</span>(<a class="code" href="classarmnn_1_1_cl_depthwise_convolution_workload.html#ac0fba9c7a56b1982e9aa8ca10b5df71b">m_DepthwiseConvolutionLayer</a>.get())-&gt;configure(</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; &amp;input,</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; m_KernelTensor.get(),</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; <a class="code" href="classarmnn_1_1_cl_depthwise_convolution_workload.html#a42b0e7e63e1c85a46faaf989d66b1f12">m_BiasTensor</a>.get(),</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; &amp;output,</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; padStrideInfo,</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; depthMultiplier,</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; arm_compute::ActivationLayerInfo(),</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; aclDilationInfo);</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160;</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; BOOST_ASSERT(<a class="code" href="classarmnn_1_1_cl_depthwise_convolution_workload.html#ac0fba9c7a56b1982e9aa8ca10b5df71b">m_DepthwiseConvolutionLayer</a>);</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160;</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; ScopedCpuTensorHandle weightsPermutedHandle(weightPermuted);</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; <a class="code" href="namespacearmnn.html#a46747c3d0b99968be0b37d74bc9687dd">InitializeArmComputeClTensorData</a>(*m_KernelTensor, &amp;weightsPermutedHandle);</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160;</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_cl_depthwise_convolution_workload.html#a42b0e7e63e1c85a46faaf989d66b1f12">m_BiasTensor</a>)</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; {</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; <a class="code" href="namespacearmnn.html#a46747c3d0b99968be0b37d74bc9687dd">InitializeArmComputeClTensorData</a>(*<a class="code" href="classarmnn_1_1_cl_depthwise_convolution_workload.html#a42b0e7e63e1c85a46faaf989d66b1f12">m_BiasTensor</a>, <a class="code" href="classarmnn_1_1_base_workload.html#a0a487c549c63319505095b855ea3c195">m_Data</a>.<a class="code" href="structarmnn_1_1_depthwise_convolution2d_queue_descriptor.html#ab3437cee6b0687812104fc1b37cbe8b3">m_Bias</a>);</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; }</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160;</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; <a class="code" href="classarmnn_1_1_cl_depthwise_convolution_workload.html#ac0fba9c7a56b1982e9aa8ca10b5df71b">m_DepthwiseConvolutionLayer</a>-&gt;prepare();</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; <a class="code" href="classarmnn_1_1_cl_depthwise_convolution_workload.html#a0bb693e78f3f52bfb7184d631e920c6d">FreeUnusedTensors</a>();</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160;}</div><div class="ttc" id="classarmnn_1_1_cl_depthwise_convolution_workload_html_ae940932b13fd8ab5e844732c3fe31d6b"><div class="ttname"><a href="classarmnn_1_1_cl_depthwise_convolution_workload.html#ae940932b13fd8ab5e844732c3fe31d6b">armnn::ClDepthwiseConvolutionWorkload::m_KernelTensor</a></div><div class="ttdeci">std::unique_ptr&lt; arm_compute::CLTensor &gt; m_KernelTensor</div><div class="ttdef"><b>Definition:</b> <a href="_cl_depthwise_convolution_workload_8hpp_source.html#l00036">ClDepthwiseConvolutionWorkload.hpp:36</a></div></div>
179<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 &amp; GetTensorInfo() const</div><div class="ttdef"><b>Definition:</b> <a href="_cpu_tensor_handle_8hpp_source.html#l00037">CpuTensorHandle.hpp:37</a></div></div>
180<div class="ttc" id="structarmnn_1_1_depthwise_convolution2d_descriptor_html_aa3c6a77a963a98ccb8ea7b8fd008a8c1"><div class="ttname"><a href="structarmnn_1_1_depthwise_convolution2d_descriptor.html#aa3c6a77a963a98ccb8ea7b8fd008a8c1">armnn::DepthwiseConvolution2dDescriptor::m_DilationX</a></div><div class="ttdeci">uint32_t m_DilationX</div><div class="ttdoc">Dilation factor value for width dimension. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00486">Descriptors.hpp:486</a></div></div>
181<div class="ttc" id="namespacearmnn_html_a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c"><div class="ttname"><a href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">armnn::BoostLogSeverityMapping::info</a></div></div>
182<div class="ttc" id="namespacearmnn_html_a46747c3d0b99968be0b37d74bc9687dd"><div class="ttname"><a href="namespacearmnn.html#a46747c3d0b99968be0b37d74bc9687dd">armnn::InitializeArmComputeClTensorData</a></div><div class="ttdeci">void InitializeArmComputeClTensorData(arm_compute::CLTensor &amp;clTensor, const ConstCpuTensorHandle *handle)</div><div class="ttdef"><b>Definition:</b> <a href="_cl_workload_utils_8hpp_source.html#l00090">ClWorkloadUtils.hpp:90</a></div></div>
183<div class="ttc" id="namespacearmnn_html_a51e8b95a429e11678ffa8b9fdc88351b"><div class="ttname"><a href="namespacearmnn.html#a51e8b95a429e11678ffa8b9fdc88351b">armnn::ConvertWeightTensorFromArmnnToAcl</a></div><div class="ttdeci">armnn::ConstTensor ConvertWeightTensorFromArmnnToAcl(const ConstCpuTensorHandle *weightTensor, DataLayout dataLayout, void *permuteBuffer)</div><div class="ttdef"><b>Definition:</b> <a href="_workload_utils_8cpp_source.html#l00132">WorkloadUtils.cpp:132</a></div></div>
184<div class="ttc" id="structarmnn_1_1_queue_descriptor_with_parameters_html_aad91b9bbf7aa365d304febe79a3d1333"><div class="ttname"><a href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">armnn::QueueDescriptorWithParameters::m_Parameters</a></div><div class="ttdeci">LayerDescriptor m_Parameters</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00049">WorkloadData.hpp:49</a></div></div>
185<div class="ttc" id="structarmnn_1_1_depthwise_convolution2d_queue_descriptor_html_ab3437cee6b0687812104fc1b37cbe8b3"><div class="ttname"><a href="structarmnn_1_1_depthwise_convolution2d_queue_descriptor.html#ab3437cee6b0687812104fc1b37cbe8b3">armnn::DepthwiseConvolution2dQueueDescriptor::m_Bias</a></div><div class="ttdeci">const ConstCpuTensorHandle * m_Bias</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00192">WorkloadData.hpp:192</a></div></div>
186<div class="ttc" id="structarmnn_1_1_depthwise_convolution2d_descriptor_html_a6089e1ca91914015777ea780a513131a"><div class="ttname"><a href="structarmnn_1_1_depthwise_convolution2d_descriptor.html#a6089e1ca91914015777ea780a513131a">armnn::DepthwiseConvolution2dDescriptor::m_DataLayout</a></div><div class="ttdeci">DataLayout m_DataLayout</div><div class="ttdoc">The data layout to be used (NCHW, NHWC). </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00492">Descriptors.hpp:492</a></div></div>
187<div class="ttc" id="classarmnn_1_1_cl_depthwise_convolution_workload_html_a0bb693e78f3f52bfb7184d631e920c6d"><div class="ttname"><a href="classarmnn_1_1_cl_depthwise_convolution_workload.html#a0bb693e78f3f52bfb7184d631e920c6d">armnn::ClDepthwiseConvolutionWorkload::FreeUnusedTensors</a></div><div class="ttdeci">void FreeUnusedTensors()</div><div class="ttdef"><b>Definition:</b> <a href="_cl_depthwise_convolution_workload_8cpp_source.html#l00142">ClDepthwiseConvolutionWorkload.cpp:142</a></div></div>
188<div class="ttc" id="structarmnn_1_1_depthwise_convolution2d_queue_descriptor_html_a3369b66d9316a773a41711e3f590c041"><div class="ttname"><a href="structarmnn_1_1_depthwise_convolution2d_queue_descriptor.html#a3369b66d9316a773a41711e3f590c041">armnn::DepthwiseConvolution2dQueueDescriptor::m_Weight</a></div><div class="ttdeci">const ConstCpuTensorHandle * m_Weight</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00191">WorkloadData.hpp:191</a></div></div>
189<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>
190<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&lt; DepthwiseConvolution2dQueueDescriptor &gt;::m_Data</a></div><div class="ttdeci">const DepthwiseConvolution2dQueueDescriptor m_Data</div><div class="ttdef"><b>Definition:</b> <a href="_workload_8hpp_source.html#l00046">Workload.hpp:46</a></div></div>
191<div class="ttc" id="classarmnn_1_1_cl_depthwise_convolution_workload_html_a42b0e7e63e1c85a46faaf989d66b1f12"><div class="ttname"><a href="classarmnn_1_1_cl_depthwise_convolution_workload.html#a42b0e7e63e1c85a46faaf989d66b1f12">armnn::ClDepthwiseConvolutionWorkload::m_BiasTensor</a></div><div class="ttdeci">std::unique_ptr&lt; arm_compute::CLTensor &gt; m_BiasTensor</div><div class="ttdef"><b>Definition:</b> <a href="_cl_depthwise_convolution_workload_8hpp_source.html#l00037">ClDepthwiseConvolutionWorkload.hpp:37</a></div></div>
192<div class="ttc" id="structarmnn_1_1_queue_descriptor_html_a765d2cee4ccce5b9467e0c2b6d25b84a"><div class="ttname"><a href="structarmnn_1_1_queue_descriptor.html#a765d2cee4ccce5b9467e0c2b6d25b84a">armnn::QueueDescriptor::ValidateInputsOutputs</a></div><div class="ttdeci">void ValidateInputsOutputs(const std::string &amp;descName, unsigned int numExpectedIn, unsigned int numExpectedOut) const</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8cpp_source.html#l00459">WorkloadData.cpp:459</a></div></div>
193<div class="ttc" id="classarmnn_1_1_cl_depthwise_convolution_workload_html_ac0fba9c7a56b1982e9aa8ca10b5df71b"><div class="ttname"><a href="classarmnn_1_1_cl_depthwise_convolution_workload.html#ac0fba9c7a56b1982e9aa8ca10b5df71b">armnn::ClDepthwiseConvolutionWorkload::m_DepthwiseConvolutionLayer</a></div><div class="ttdeci">std::unique_ptr&lt; arm_compute::IFunction &gt; m_DepthwiseConvolutionLayer</div><div class="ttdef"><b>Definition:</b> <a href="_cl_depthwise_convolution_workload_8hpp_source.html#l00034">ClDepthwiseConvolutionWorkload.hpp:34</a></div></div>
194<div class="ttc" id="namespacearmnn_html_ad1d5cce2d9e9a5d61c243e5c989112e0"><div class="ttname"><a href="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">armnn::DataLayout</a></div><div class="ttdeci">DataLayout</div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.html#l00048">Types.hpp:48</a></div></div>
195<div class="ttc" id="structarmnn_1_1_depthwise_convolution2d_descriptor_html_aea202e14d8874cefd9a0f778022b7e25"><div class="ttname"><a href="structarmnn_1_1_depthwise_convolution2d_descriptor.html#aea202e14d8874cefd9a0f778022b7e25">armnn::DepthwiseConvolution2dDescriptor::m_BiasEnabled</a></div><div class="ttdeci">bool m_BiasEnabled</div><div class="ttdoc">Enable/disable bias. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00490">Descriptors.hpp:490</a></div></div>
196<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&lt; ITensorHandle * &gt; m_Outputs</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00031">WorkloadData.hpp:31</a></div></div>
197<div class="ttc" id="structarmnn_1_1_queue_descriptor_html_a4b50e46a6810018f3edecfb68b2a76b3"><div class="ttname"><a href="structarmnn_1_1_queue_descriptor.html#a4b50e46a6810018f3edecfb68b2a76b3">armnn::QueueDescriptor::m_Inputs</a></div><div class="ttdeci">std::vector&lt; ITensorHandle * &gt; m_Inputs</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00030">WorkloadData.hpp:30</a></div></div>
198<div class="ttc" id="classarmnn_1_1_tensor_info_html_a8b5d0f8a24e9d9238f412260a552acf8"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html#a8b5d0f8a24e9d9238f412260a552acf8">armnn::TensorInfo::GetShape</a></div><div class="ttdeci">const TensorShape &amp; GetShape() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00088">Tensor.hpp:88</a></div></div>
199<div class="ttc" id="structarmnn_1_1_depthwise_convolution2d_descriptor_html_a302b688d88dd73cde0fb1faef6679907"><div class="ttname"><a href="structarmnn_1_1_depthwise_convolution2d_descriptor.html#a302b688d88dd73cde0fb1faef6679907">armnn::DepthwiseConvolution2dDescriptor::m_DilationY</a></div><div class="ttdeci">uint32_t m_DilationY</div><div class="ttdoc">Dilation factor value for height dimension. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00488">Descriptors.hpp:488</a></div></div>
200</div><!-- fragment -->
201</div>
202</div>
203<h2 class="groupheader">Member Function Documentation</h2>
204<a id="ae071e8822437c78baea75c3aef3a263a"></a>
205<h2 class="memtitle"><span class="permalink"><a href="#ae071e8822437c78baea75c3aef3a263a">&#9670;&nbsp;</a></span>Execute()</h2>
206
207<div class="memitem">
208<div class="memproto">
209<table class="mlabels">
210 <tr>
211 <td class="mlabels-left">
212 <table class="memname">
213 <tr>
214 <td class="memname">void Execute </td>
215 <td>(</td>
216 <td class="paramname"></td><td>)</td>
217 <td> const</td>
218 </tr>
219 </table>
220 </td>
221 <td class="mlabels-right">
222<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
223 </tr>
224</table>
225</div><div class="memdoc">
226
227<p>Implements <a class="el" href="classarmnn_1_1_i_workload.html#a72ae00e6604850c8798c5e0d825ee7e4">IWorkload</a>.</p>
228
229<p class="definition">Definition at line <a class="el" href="_cl_depthwise_convolution_workload_8cpp_source.html#l00148">148</a> of file <a class="el" href="_cl_depthwise_convolution_workload_8cpp_source.html">ClDepthwiseConvolutionWorkload.cpp</a>.</p>
230
231<p class="reference">References <a class="el" href="_cl_workload_utils_8hpp_source.html#l00020">ARMNN_SCOPED_PROFILING_EVENT_CL</a>, <a class="el" href="_exceptions_8hpp_source.html#l00169">CHECK_LOCATION</a>, <a class="el" href="_cl_depthwise_convolution_workload_8hpp_source.html#l00034">ClDepthwiseConvolutionWorkload::m_DepthwiseConvolutionLayer</a>, and <a class="el" href="_cl_workload_utils_8hpp_source.html#l00131">armnn::RunClFunction()</a>.</p>
232<div class="fragment"><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160;{</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; <a class="code" href="_cl_workload_utils_8hpp.html#a9166fc90a3ea47a2c9499a810b204daf">ARMNN_SCOPED_PROFILING_EVENT_CL</a>(<span class="stringliteral">&quot;ClDepthwiseConvolutionWorkload_Execute&quot;</span>);</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; BOOST_ASSERT(<a class="code" href="classarmnn_1_1_cl_depthwise_convolution_workload.html#ac0fba9c7a56b1982e9aa8ca10b5df71b">m_DepthwiseConvolutionLayer</a>);</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160;</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; <a class="code" href="namespacearmnn.html#aff5bee79757341daf750c7dd7c123a15">RunClFunction</a>(*<a class="code" href="classarmnn_1_1_cl_depthwise_convolution_workload.html#ac0fba9c7a56b1982e9aa8ca10b5df71b">m_DepthwiseConvolutionLayer</a>, <a class="code" href="_exceptions_8hpp.html#aa3be76aec4ce713822a5ea1ecbb7bc61">CHECK_LOCATION</a>());</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160;}</div><div class="ttc" id="namespacearmnn_html_aff5bee79757341daf750c7dd7c123a15"><div class="ttname"><a href="namespacearmnn.html#aff5bee79757341daf750c7dd7c123a15">armnn::RunClFunction</a></div><div class="ttdeci">void RunClFunction(arm_compute::IFunction &amp;function, const CheckLocation &amp;location)</div><div class="ttdef"><b>Definition:</b> <a href="_cl_workload_utils_8hpp_source.html#l00131">ClWorkloadUtils.hpp:131</a></div></div>
233<div class="ttc" id="_exceptions_8hpp_html_aa3be76aec4ce713822a5ea1ecbb7bc61"><div class="ttname"><a href="_exceptions_8hpp.html#aa3be76aec4ce713822a5ea1ecbb7bc61">CHECK_LOCATION</a></div><div class="ttdeci">#define CHECK_LOCATION()</div><div class="ttdef"><b>Definition:</b> <a href="_exceptions_8hpp_source.html#l00169">Exceptions.hpp:169</a></div></div>
234<div class="ttc" id="classarmnn_1_1_cl_depthwise_convolution_workload_html_ac0fba9c7a56b1982e9aa8ca10b5df71b"><div class="ttname"><a href="classarmnn_1_1_cl_depthwise_convolution_workload.html#ac0fba9c7a56b1982e9aa8ca10b5df71b">armnn::ClDepthwiseConvolutionWorkload::m_DepthwiseConvolutionLayer</a></div><div class="ttdeci">std::unique_ptr&lt; arm_compute::IFunction &gt; m_DepthwiseConvolutionLayer</div><div class="ttdef"><b>Definition:</b> <a href="_cl_depthwise_convolution_workload_8hpp_source.html#l00034">ClDepthwiseConvolutionWorkload.hpp:34</a></div></div>
235<div class="ttc" id="_cl_workload_utils_8hpp_html_a9166fc90a3ea47a2c9499a810b204daf"><div class="ttname"><a href="_cl_workload_utils_8hpp.html#a9166fc90a3ea47a2c9499a810b204daf">ARMNN_SCOPED_PROFILING_EVENT_CL</a></div><div class="ttdeci">#define ARMNN_SCOPED_PROFILING_EVENT_CL(name)</div><div class="ttdef"><b>Definition:</b> <a href="_cl_workload_utils_8hpp_source.html#l00020">ClWorkloadUtils.hpp:20</a></div></div>
236</div><!-- fragment -->
237</div>
238</div>
239<a id="a0bb693e78f3f52bfb7184d631e920c6d"></a>
240<h2 class="memtitle"><span class="permalink"><a href="#a0bb693e78f3f52bfb7184d631e920c6d">&#9670;&nbsp;</a></span>FreeUnusedTensors()</h2>
241
242<div class="memitem">
243<div class="memproto">
244<table class="mlabels">
245 <tr>
246 <td class="mlabels-left">
247 <table class="memname">
248 <tr>
249 <td class="memname">void FreeUnusedTensors </td>
250 <td>(</td>
251 <td class="paramname"></td><td>)</td>
252 <td></td>
253 </tr>
254 </table>
255 </td>
256 <td class="mlabels-right">
257<span class="mlabels"><span class="mlabel">protected</span></span> </td>
258 </tr>
259</table>
260</div><div class="memdoc">
261
262<p class="definition">Definition at line <a class="el" href="_cl_depthwise_convolution_workload_8cpp_source.html#l00142">142</a> of file <a class="el" href="_cl_depthwise_convolution_workload_8cpp_source.html">ClDepthwiseConvolutionWorkload.cpp</a>.</p>
263<div class="fragment"><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160;{</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; FreeTensorIfUnused(<a class="code" href="classarmnn_1_1_cl_depthwise_convolution_workload.html#ae940932b13fd8ab5e844732c3fe31d6b">m_KernelTensor</a>);</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; FreeTensorIfUnused(<a class="code" href="classarmnn_1_1_cl_depthwise_convolution_workload.html#a42b0e7e63e1c85a46faaf989d66b1f12">m_BiasTensor</a>);</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160;}</div><div class="ttc" id="classarmnn_1_1_cl_depthwise_convolution_workload_html_ae940932b13fd8ab5e844732c3fe31d6b"><div class="ttname"><a href="classarmnn_1_1_cl_depthwise_convolution_workload.html#ae940932b13fd8ab5e844732c3fe31d6b">armnn::ClDepthwiseConvolutionWorkload::m_KernelTensor</a></div><div class="ttdeci">std::unique_ptr&lt; arm_compute::CLTensor &gt; m_KernelTensor</div><div class="ttdef"><b>Definition:</b> <a href="_cl_depthwise_convolution_workload_8hpp_source.html#l00036">ClDepthwiseConvolutionWorkload.hpp:36</a></div></div>
264<div class="ttc" id="classarmnn_1_1_cl_depthwise_convolution_workload_html_a42b0e7e63e1c85a46faaf989d66b1f12"><div class="ttname"><a href="classarmnn_1_1_cl_depthwise_convolution_workload.html#a42b0e7e63e1c85a46faaf989d66b1f12">armnn::ClDepthwiseConvolutionWorkload::m_BiasTensor</a></div><div class="ttdeci">std::unique_ptr&lt; arm_compute::CLTensor &gt; m_BiasTensor</div><div class="ttdef"><b>Definition:</b> <a href="_cl_depthwise_convolution_workload_8hpp_source.html#l00037">ClDepthwiseConvolutionWorkload.hpp:37</a></div></div>
265</div><!-- fragment -->
266</div>
267</div>
268<h2 class="groupheader">Member Data Documentation</h2>
269<a id="a42b0e7e63e1c85a46faaf989d66b1f12"></a>
270<h2 class="memtitle"><span class="permalink"><a href="#a42b0e7e63e1c85a46faaf989d66b1f12">&#9670;&nbsp;</a></span>m_BiasTensor</h2>
271
272<div class="memitem">
273<div class="memproto">
274<table class="mlabels">
275 <tr>
276 <td class="mlabels-left">
277 <table class="memname">
278 <tr>
279 <td class="memname">std::unique_ptr&lt;arm_compute::CLTensor&gt; m_BiasTensor</td>
280 </tr>
281 </table>
282 </td>
283 <td class="mlabels-right">
284<span class="mlabels"><span class="mlabel">protected</span></span> </td>
285 </tr>
286</table>
287</div><div class="memdoc">
288
289<p class="definition">Definition at line <a class="el" href="_cl_depthwise_convolution_workload_8hpp_source.html#l00037">37</a> of file <a class="el" href="_cl_depthwise_convolution_workload_8hpp_source.html">ClDepthwiseConvolutionWorkload.hpp</a>.</p>
290
291</div>
292</div>
293<a id="ac0fba9c7a56b1982e9aa8ca10b5df71b"></a>
294<h2 class="memtitle"><span class="permalink"><a href="#ac0fba9c7a56b1982e9aa8ca10b5df71b">&#9670;&nbsp;</a></span>m_DepthwiseConvolutionLayer</h2>
295
296<div class="memitem">
297<div class="memproto">
298<table class="mlabels">
299 <tr>
300 <td class="mlabels-left">
301 <table class="memname">
302 <tr>
303 <td class="memname">std::unique_ptr&lt;arm_compute::IFunction&gt; m_DepthwiseConvolutionLayer</td>
304 </tr>
305 </table>
306 </td>
307 <td class="mlabels-right">
308<span class="mlabels"><span class="mlabel">protected</span></span> </td>
309 </tr>
310</table>
311</div><div class="memdoc">
312
313<p class="definition">Definition at line <a class="el" href="_cl_depthwise_convolution_workload_8hpp_source.html#l00034">34</a> of file <a class="el" href="_cl_depthwise_convolution_workload_8hpp_source.html">ClDepthwiseConvolutionWorkload.hpp</a>.</p>
314
315<p class="reference">Referenced by <a class="el" href="_cl_depthwise_convolution_workload_8cpp_source.html#l00148">ClDepthwiseConvolutionWorkload::Execute()</a>.</p>
316
317</div>
318</div>
319<a id="ae940932b13fd8ab5e844732c3fe31d6b"></a>
320<h2 class="memtitle"><span class="permalink"><a href="#ae940932b13fd8ab5e844732c3fe31d6b">&#9670;&nbsp;</a></span>m_KernelTensor</h2>
321
322<div class="memitem">
323<div class="memproto">
324<table class="mlabels">
325 <tr>
326 <td class="mlabels-left">
327 <table class="memname">
328 <tr>
329 <td class="memname">std::unique_ptr&lt;arm_compute::CLTensor&gt; m_KernelTensor</td>
330 </tr>
331 </table>
332 </td>
333 <td class="mlabels-right">
334<span class="mlabels"><span class="mlabel">protected</span></span> </td>
335 </tr>
336</table>
337</div><div class="memdoc">
338
339<p class="definition">Definition at line <a class="el" href="_cl_depthwise_convolution_workload_8hpp_source.html#l00036">36</a> of file <a class="el" href="_cl_depthwise_convolution_workload_8hpp_source.html">ClDepthwiseConvolutionWorkload.hpp</a>.</p>
340
341<p class="reference">Referenced by <a class="el" href="_cl_depthwise_convolution_workload_8cpp_source.html#l00070">ClDepthwiseConvolutionWorkload::ClDepthwiseConvolutionWorkload()</a>.</p>
342
343</div>
344</div>
345<hr/>The documentation for this class was generated from the following files:<ul>
346<li>src/backends/cl/workloads/<a class="el" href="_cl_depthwise_convolution_workload_8hpp_source.html">ClDepthwiseConvolutionWorkload.hpp</a></li>
347<li>src/backends/cl/workloads/<a class="el" href="_cl_depthwise_convolution_workload_8cpp_source.html">ClDepthwiseConvolutionWorkload.cpp</a></li>
348</ul>
349</div><!-- contents -->
350</div><!-- doc-content -->
351<!-- start footer part -->
352<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
353 <ul>
354 <li class="navelem"><a class="el" href="namespacearmnn.html">armnn</a></li><li class="navelem"><a class="el" href="classarmnn_1_1_cl_depthwise_convolution_workload.html">ClDepthwiseConvolutionWorkload</a></li>
355 <li class="footer">Generated on Fri Mar 13 2020 16:07:02 for ArmNN by
356 <a href="http://www.doxygen.org/index.html">
357 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
358 </ul>
359</div>
360</body>
361</html>