| <!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: ClDepthwiseConvolutionWorkload Class Reference</title> |
| <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="jquery.js"></script> |
| <script type="text/javascript" src="dynsections.js"></script> |
| <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="resize.js"></script> |
| <script type="text/javascript" src="navtreedata.js"></script> |
| <script type="text/javascript" src="navtree.js"></script> |
| <script type="text/javascript"> |
| $(document).ready(initResizable); |
| </script> |
| <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="search/searchdata.js"></script> |
| <script type="text/javascript" src="search/search.js"></script> |
| <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| </head> |
| <body> |
| <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| <div id="titlearea"> |
| <table cellspacing="0" cellpadding="0"> |
| <tbody> |
| <tr style="height: 56px;"> |
| <td id="projectalign" style="padding-left: 0.5em;"> |
| <div id="projectname">ArmNN |
|  <span id="projectnumber">NotReleased</span> |
| </div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <!-- end header part --> |
| <!-- Generated by Doxygen 1.8.13 --> |
| <script type="text/javascript"> |
| var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| </script> |
| <script type="text/javascript" src="menudata.js"></script> |
| <script type="text/javascript" src="menu.js"></script> |
| <script type="text/javascript"> |
| $(function() { |
| initMenu('',true,false,'search.php','Search'); |
| $(document).ready(function() { init_search(); }); |
| }); |
| </script> |
| <div id="main-nav"></div> |
| </div><!-- top --> |
| <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| <div id="nav-tree"> |
| <div id="nav-tree-contents"> |
| <div id="nav-sync" class="sync"></div> |
| </div> |
| </div> |
| <div id="splitbar" style="-moz-user-select:none;" |
| class="ui-resizable-handle"> |
| </div> |
| </div> |
| <script type="text/javascript"> |
| $(document).ready(function(){initNavTree('classarmnn_1_1_cl_depthwise_convolution_workload.html','');}); |
| </script> |
| <div id="doc-content"> |
| <!-- window showing the filter options --> |
| <div id="MSearchSelectWindow" |
| onmouseover="return searchBox.OnSearchSelectShow()" |
| onmouseout="return searchBox.OnSearchSelectHide()" |
| onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| </div> |
| |
| <!-- iframe showing the search results (closed by default) --> |
| <div id="MSearchResultsWindow"> |
| <iframe src="javascript:void(0)" frameborder="0" |
| name="MSearchResults" id="MSearchResults"> |
| </iframe> |
| </div> |
| |
| <div class="header"> |
| <div class="summary"> |
| <a href="#pub-methods">Public Member Functions</a> | |
| <a href="#pro-methods">Protected Member Functions</a> | |
| <a href="#pro-attribs">Protected Attributes</a> | |
| <a href="classarmnn_1_1_cl_depthwise_convolution_workload-members.html">List of all members</a> </div> |
| <div class="headertitle"> |
| <div class="title">ClDepthwiseConvolutionWorkload Class Reference</div> </div> |
| </div><!--header--> |
| <div class="contents"> |
| |
| <p><code>#include <<a class="el" href="_cl_depthwise_convolution_workload_8hpp_source.html">ClDepthwiseConvolutionWorkload.hpp</a>></code></p> |
| <div class="dynheader"> |
| Inheritance diagram for ClDepthwiseConvolutionWorkload:</div> |
| <div class="dyncontent"> |
| <div class="center"> |
| <img src="classarmnn_1_1_cl_depthwise_convolution_workload.png" usemap="#ClDepthwiseConvolutionWorkload_map" alt=""/> |
| <map id="ClDepthwiseConvolutionWorkload_map" name="ClDepthwiseConvolutionWorkload_map"> |
| <area href="classarmnn_1_1_base_workload.html" alt="BaseWorkload< DepthwiseConvolution2dQueueDescriptor >" shape="rect" coords="0,56,353,80"/> |
| <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"/> |
| </map> |
| </div></div> |
| <table class="memberdecls"> |
| <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| Public Member Functions</h2></td></tr> |
| <tr class="memitem:ad4893eb32951d9115ac43636b5e82334"><td class="memItemLeft" align="right" valign="top"> </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> &descriptor, const <a class="el" href="structarmnn_1_1_workload_info.html">WorkloadInfo</a> &<a class="el" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>)</td></tr> |
| <tr class="separator:ad4893eb32951d9115ac43636b5e82334"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ae071e8822437c78baea75c3aef3a263a"><td class="memItemLeft" align="right" valign="top">void </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> |
| <tr class="separator:ae071e8822437c78baea75c3aef3a263a"><td class="memSeparator" colspan="2"> </td></tr> |
| <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="-"/> Public Member Functions inherited from <a class="el" href="classarmnn_1_1_base_workload.html">BaseWorkload< DepthwiseConvolution2dQueueDescriptor ></a></td></tr> |
| <tr class="memitem:af2ef420610280dc5a661cd3d4836d5a2 inherit pub_methods_classarmnn_1_1_base_workload"><td class="memItemLeft" align="right" valign="top"> </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> &descriptor, const <a class="el" href="structarmnn_1_1_workload_info.html">WorkloadInfo</a> &info)</td></tr> |
| <tr class="separator:af2ef420610280dc5a661cd3d4836d5a2 inherit pub_methods_classarmnn_1_1_base_workload"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a81627f96ba06d76e147f7d392a8117ed inherit pub_methods_classarmnn_1_1_base_workload"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_base_workload.html#a81627f96ba06d76e147f7d392a8117ed">PostAllocationConfigure</a> () override</td></tr> |
| <tr class="separator:a81627f96ba06d76e147f7d392a8117ed inherit pub_methods_classarmnn_1_1_base_workload"><td class="memSeparator" colspan="2"> </td></tr> |
| <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> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_base_workload.html#a965cf380c7adf547d0f14b3f6d1da249">GetData</a> () const</td></tr> |
| <tr class="separator:a965cf380c7adf547d0f14b3f6d1da249 inherit pub_methods_classarmnn_1_1_base_workload"><td class="memSeparator" colspan="2"> </td></tr> |
| <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> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_base_workload.html#a29c2c6dd77c6fe10674fc6876751cbce">GetGuid</a> () const final</td></tr> |
| <tr class="separator:a29c2c6dd77c6fe10674fc6876751cbce inherit pub_methods_classarmnn_1_1_base_workload"><td class="memSeparator" colspan="2"> </td></tr> |
| <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="-"/> Public Member Functions inherited from <a class="el" href="classarmnn_1_1_i_workload.html">IWorkload</a></td></tr> |
| <tr class="memitem:a69c83c02ae8de866bc7a46c49e69c1ba inherit pub_methods_classarmnn_1_1_i_workload"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_i_workload.html#a69c83c02ae8de866bc7a46c49e69c1ba">~IWorkload</a> ()</td></tr> |
| <tr class="separator:a69c83c02ae8de866bc7a46c49e69c1ba inherit pub_methods_classarmnn_1_1_i_workload"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ab81312bd5e64cbae2803de9f243bdb32 inherit pub_methods_classarmnn_1_1_i_workload"><td class="memItemLeft" align="right" valign="top">virtual void </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> &)</td></tr> |
| <tr class="separator:ab81312bd5e64cbae2803de9f243bdb32 inherit pub_methods_classarmnn_1_1_i_workload"><td class="memSeparator" colspan="2"> </td></tr> |
| </table><table class="memberdecls"> |
| <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a> |
| Protected Member Functions</h2></td></tr> |
| <tr class="memitem:a0bb693e78f3f52bfb7184d631e920c6d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_cl_depthwise_convolution_workload.html#a0bb693e78f3f52bfb7184d631e920c6d">FreeUnusedTensors</a> ()</td></tr> |
| <tr class="separator:a0bb693e78f3f52bfb7184d631e920c6d"><td class="memSeparator" colspan="2"> </td></tr> |
| </table><table class="memberdecls"> |
| <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a> |
| Protected Attributes</h2></td></tr> |
| <tr class="memitem:ac0fba9c7a56b1982e9aa8ca10b5df71b"><td class="memItemLeft" align="right" valign="top">std::unique_ptr< arm_compute::IFunction > </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_cl_depthwise_convolution_workload.html#ac0fba9c7a56b1982e9aa8ca10b5df71b">m_DepthwiseConvolutionLayer</a></td></tr> |
| <tr class="separator:ac0fba9c7a56b1982e9aa8ca10b5df71b"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ae940932b13fd8ab5e844732c3fe31d6b"><td class="memItemLeft" align="right" valign="top">std::unique_ptr< arm_compute::CLTensor > </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_cl_depthwise_convolution_workload.html#ae940932b13fd8ab5e844732c3fe31d6b">m_KernelTensor</a></td></tr> |
| <tr class="separator:ae940932b13fd8ab5e844732c3fe31d6b"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a42b0e7e63e1c85a46faaf989d66b1f12"><td class="memItemLeft" align="right" valign="top">std::unique_ptr< arm_compute::CLTensor > </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_cl_depthwise_convolution_workload.html#a42b0e7e63e1c85a46faaf989d66b1f12">m_BiasTensor</a></td></tr> |
| <tr class="separator:a42b0e7e63e1c85a46faaf989d66b1f12"><td class="memSeparator" colspan="2"> </td></tr> |
| <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="-"/> Protected Attributes inherited from <a class="el" href="classarmnn_1_1_base_workload.html">BaseWorkload< DepthwiseConvolution2dQueueDescriptor ></a></td></tr> |
| <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> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_base_workload.html#a0a487c549c63319505095b855ea3c195">m_Data</a></td></tr> |
| <tr class="separator:a0a487c549c63319505095b855ea3c195 inherit pro_attribs_classarmnn_1_1_base_workload"><td class="memSeparator" colspan="2"> </td></tr> |
| <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> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_base_workload.html#a902044db290170b8467ed4697b7fed24">m_Guid</a></td></tr> |
| <tr class="separator:a902044db290170b8467ed4697b7fed24 inherit pro_attribs_classarmnn_1_1_base_workload"><td class="memSeparator" colspan="2"> </td></tr> |
| </table> |
| <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| <div class="textblock"> |
| <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> |
| </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| <a id="ad4893eb32951d9115ac43636b5e82334"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#ad4893eb32951d9115ac43636b5e82334">◆ </a></span>ClDepthwiseConvolutionWorkload()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname"><a class="el" href="classarmnn_1_1_cl_depthwise_convolution_workload.html">ClDepthwiseConvolutionWorkload</a> </td> |
| <td>(</td> |
| <td class="paramtype">const <a class="el" href="structarmnn_1_1_depthwise_convolution2d_queue_descriptor.html">DepthwiseConvolution2dQueueDescriptor</a> & </td> |
| <td class="paramname"><em>descriptor</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">const <a class="el" href="structarmnn_1_1_workload_info.html">WorkloadInfo</a> & </td> |
| <td class="paramname"><em>info</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <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> |
| |
| <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< DepthwiseConvolution2dQueueDescriptor >::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< LayerDescriptor >::m_Parameters</a>, and <a class="el" href="_workload_data_8hpp_source.html#l00191">DepthwiseConvolution2dQueueDescriptor::m_Weight</a>.</p> |
| <div class="fragment"><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  : BaseWorkload<DepthwiseConvolution2dQueueDescriptor>(descriptor, <a class="code" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>)</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> {</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <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>  std::unique_ptr<unsigned char[]> 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>-><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> </div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="comment">// Convert the weight format from ArmNN'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>  <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>  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>  <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>  permuteBuffer.get());</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span> </div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <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>  <a class="code" href="classarmnn_1_1_cl_depthwise_convolution_workload.html#ae940932b13fd8ab5e844732c3fe31d6b">m_KernelTensor</a> = std::make_unique<arm_compute::CLTensor>();</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  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> </div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <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>  {</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <a class="code" href="classarmnn_1_1_cl_depthwise_convolution_workload.html#a42b0e7e63e1c85a46faaf989d66b1f12">m_BiasTensor</a> = std::make_unique<arm_compute::CLTensor>();</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  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>-><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>  }</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keyword">const</span> arm_compute::Size2D aclDilationInfo = BuildArmComputeSize2D(</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</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#aa3c6a77a963a98ccb8ea7b8fd008a8c1">m_DilationX</a>,</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</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#a302b688d88dd73cde0fb1faef6679907">m_DilationY</a>);</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> </div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  std::string name = std::string(<span class="stringliteral">"ClDepthwiseConvolutionWorkload"</span>);</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</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#a765d2cee4ccce5b9467e0c2b6d25b84a">ValidateInputsOutputs</a>(name, 1, 1);</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span> </div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  arm_compute::ICLTensor& input = <span class="keyword">static_cast<</span>IClTensorHandle*<span class="keyword">></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])->GetTensor();</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  arm_compute::ICLTensor& output = <span class="keyword">static_cast<</span>IClTensorHandle*<span class="keyword">></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])->GetTensor();</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span> </div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <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>  input.info()->set_data_layout(aclDataLayout);</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  output.info()->set_data_layout(aclDataLayout);</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span> </div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="comment">// ArmNN's weight format is [ M, I, H, W ]</span></div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="keyword">auto</span>& 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>-><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> </div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="comment">// Get the depth multiplier</span></div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <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> </div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  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> </div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <a class="code" href="classarmnn_1_1_cl_depthwise_convolution_workload.html#ac0fba9c7a56b1982e9aa8ca10b5df71b">m_DepthwiseConvolutionLayer</a> = std::make_unique<arm_compute::CLDepthwiseConvolutionLayer>();</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keyword">static_cast<</span>arm_compute::CLDepthwiseConvolutionLayer*<span class="keyword">></span>(<a class="code" href="classarmnn_1_1_cl_depthwise_convolution_workload.html#ac0fba9c7a56b1982e9aa8ca10b5df71b">m_DepthwiseConvolutionLayer</a>.get())->configure(</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  &input,</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  m_KernelTensor.get(),</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <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>  &output,</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  padStrideInfo,</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  depthMultiplier,</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  arm_compute::ActivationLayerInfo(),</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  aclDilationInfo);</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span> </div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  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> </div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  ScopedCpuTensorHandle weightsPermutedHandle(weightPermuted);</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <a class="code" href="namespacearmnn.html#a46747c3d0b99968be0b37d74bc9687dd">InitializeArmComputeClTensorData</a>(*m_KernelTensor, &weightsPermutedHandle);</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span> </div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <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>  {</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <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>  }</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span> </div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <a class="code" href="classarmnn_1_1_cl_depthwise_convolution_workload.html#ac0fba9c7a56b1982e9aa8ca10b5df71b">m_DepthwiseConvolutionLayer</a>->prepare();</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <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> }</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< arm_compute::CLTensor > 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> |
| <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="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> |
| <div class="ttc" id="namespacearmnn_html_a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c"><div class="ttname"><a href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">armnn::BoostLogSeverityMapping::info</a></div></div> |
| <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 &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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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> |
| <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< DepthwiseConvolution2dQueueDescriptor >::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> |
| <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< arm_compute::CLTensor > 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> |
| <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 &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> |
| <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< arm_compute::IFunction > 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> |
| <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> |
| <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> |
| <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="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< ITensorHandle * > m_Inputs</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00030">WorkloadData.hpp:30</a></div></div> |
| <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 & GetShape() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00088">Tensor.hpp:88</a></div></div> |
| <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> |
| </div><!-- fragment --> |
| </div> |
| </div> |
| <h2 class="groupheader">Member Function Documentation</h2> |
| <a id="ae071e8822437c78baea75c3aef3a263a"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#ae071e8822437c78baea75c3aef3a263a">◆ </a></span>Execute()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void Execute </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Implements <a class="el" href="classarmnn_1_1_i_workload.html#a72ae00e6604850c8798c5e0d825ee7e4">IWorkload</a>.</p> |
| |
| <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> |
| |
| <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> |
| <div class="fragment"><div class="line"><a name="l00149"></a><span class="lineno"> 149</span> {</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <a class="code" href="_cl_workload_utils_8hpp.html#a9166fc90a3ea47a2c9499a810b204daf">ARMNN_SCOPED_PROFILING_EVENT_CL</a>(<span class="stringliteral">"ClDepthwiseConvolutionWorkload_Execute"</span>);</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  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> </div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <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> }</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 &function, const CheckLocation &location)</div><div class="ttdef"><b>Definition:</b> <a href="_cl_workload_utils_8hpp_source.html#l00131">ClWorkloadUtils.hpp:131</a></div></div> |
| <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> |
| <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< arm_compute::IFunction > 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> |
| <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> |
| </div><!-- fragment --> |
| </div> |
| </div> |
| <a id="a0bb693e78f3f52bfb7184d631e920c6d"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a0bb693e78f3f52bfb7184d631e920c6d">◆ </a></span>FreeUnusedTensors()</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void FreeUnusedTensors </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">protected</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <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> |
| <div class="fragment"><div class="line"><a name="l00143"></a><span class="lineno"> 143</span> {</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  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>  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> }</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< arm_compute::CLTensor > 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> |
| <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< arm_compute::CLTensor > 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> |
| </div><!-- fragment --> |
| </div> |
| </div> |
| <h2 class="groupheader">Member Data Documentation</h2> |
| <a id="a42b0e7e63e1c85a46faaf989d66b1f12"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#a42b0e7e63e1c85a46faaf989d66b1f12">◆ </a></span>m_BiasTensor</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">std::unique_ptr<arm_compute::CLTensor> m_BiasTensor</td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">protected</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <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> |
| |
| </div> |
| </div> |
| <a id="ac0fba9c7a56b1982e9aa8ca10b5df71b"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#ac0fba9c7a56b1982e9aa8ca10b5df71b">◆ </a></span>m_DepthwiseConvolutionLayer</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">std::unique_ptr<arm_compute::IFunction> m_DepthwiseConvolutionLayer</td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">protected</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <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> |
| |
| <p class="reference">Referenced by <a class="el" href="_cl_depthwise_convolution_workload_8cpp_source.html#l00148">ClDepthwiseConvolutionWorkload::Execute()</a>.</p> |
| |
| </div> |
| </div> |
| <a id="ae940932b13fd8ab5e844732c3fe31d6b"></a> |
| <h2 class="memtitle"><span class="permalink"><a href="#ae940932b13fd8ab5e844732c3fe31d6b">◆ </a></span>m_KernelTensor</h2> |
| |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">std::unique_ptr<arm_compute::CLTensor> m_KernelTensor</td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">protected</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <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> |
| |
| <p class="reference">Referenced by <a class="el" href="_cl_depthwise_convolution_workload_8cpp_source.html#l00070">ClDepthwiseConvolutionWorkload::ClDepthwiseConvolutionWorkload()</a>.</p> |
| |
| </div> |
| </div> |
| <hr/>The documentation for this class was generated from the following files:<ul> |
| <li>src/backends/cl/workloads/<a class="el" href="_cl_depthwise_convolution_workload_8hpp_source.html">ClDepthwiseConvolutionWorkload.hpp</a></li> |
| <li>src/backends/cl/workloads/<a class="el" href="_cl_depthwise_convolution_workload_8cpp_source.html">ClDepthwiseConvolutionWorkload.cpp</a></li> |
| </ul> |
| </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="namespacearmnn.html">armnn</a></li><li class="navelem"><a class="el" href="classarmnn_1_1_cl_depthwise_convolution_workload.html">ClDepthwiseConvolutionWorkload</a></li> |
| <li class="footer">Generated on Fri Mar 13 2020 16:07:02 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> |