diff options
author | Nikhil Raj <nikhil.raj@arm.com> | 2023-11-22 11:41:15 +0000 |
---|---|---|
committer | Nikhil Raj <nikhil.raj@arm.com> | 2023-11-22 11:41:15 +0000 |
commit | 6f92c8e9f8bb38dcf5dccf8deeff5112ecd8e37c (patch) | |
tree | 0c076149c03ac45c2617f5e02a77b79287ff5a0f /23.11/_neon_depthwise_convolution_workload_8cpp_source.html | |
parent | 03c7ff3f6188240baaeaeb405a357a0c58195fec (diff) | |
download | armnn-6f92c8e9f8bb38dcf5dccf8deeff5112ecd8e37c.tar.gz |
Update Doxygen for 23.11
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I47cd933f5002cb94a73aa97689d7b3d9c93cb849
Diffstat (limited to '23.11/_neon_depthwise_convolution_workload_8cpp_source.html')
-rw-r--r-- | 23.11/_neon_depthwise_convolution_workload_8cpp_source.html | 317 |
1 files changed, 317 insertions, 0 deletions
diff --git a/23.11/_neon_depthwise_convolution_workload_8cpp_source.html b/23.11/_neon_depthwise_convolution_workload_8cpp_source.html new file mode 100644 index 0000000000..23802c046d --- /dev/null +++ b/23.11/_neon_depthwise_convolution_workload_8cpp_source.html @@ -0,0 +1,317 @@ +<!-- HTML header for doxygen 1.8.17--> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.17"/> +<meta name="viewport" content="width=device-width, initial-scale=1"/> +<title>Arm NN: src/backends/neon/workloads/NeonDepthwiseConvolutionWorkload.cpp Source File</title> +<link href="tabs.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="jquery.js"></script> +<script type="text/javascript" src="dynsections.js"></script> +<link href="navtree.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="resize.js"></script> +<script type="text/javascript" src="navtreedata.js"></script> +<script type="text/javascript" src="navtree.js"></script> +<link href="search/search.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="search/searchdata.js"></script> +<script type="text/javascript" src="search/search.js"></script> +<script type="text/x-mathjax-config"> + MathJax.Hub.Config({ + extensions: ["tex2jax.js"], + jax: ["input/TeX","output/HTML-CSS"], +}); +</script> +<script type="text/javascript" async="async" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script> +<link href="doxygen.css" rel="stylesheet" type="text/css" /> +<link href="customdoxygen.css" rel="stylesheet" type="text/css"/> +</head> +<body> +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> +<div id="titlearea"> +<table cellspacing="0" cellpadding="0"> + <tbody> + <tr style="height: 56px;"> + <img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 15rem; margin-top: .5rem; margin-left 13px"/> + <td id="projectalign" style="padding-left: 0.9em;"> + <div id="projectname"> +  <span id="projectnumber">23.11</span> + </div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.17 --> +<script type="text/javascript"> +/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ +var searchBox = new SearchBox("searchBox", "search",false,'Search'); +/* @license-end */ +</script> +<script type="text/javascript" src="menudata.js"></script> +<script type="text/javascript" src="menu.js"></script> +<script type="text/javascript"> +/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ +$(function() { + initMenu('',true,false,'search.php','Search'); + $(document).ready(function() { init_search(); }); +}); +/* @license-end */</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"> +/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ +$(document).ready(function(){initNavTree('_neon_depthwise_convolution_workload_8cpp_source.html',''); initResizable(); }); +/* @license-end */ +</script> +<div id="doc-content"> +<!-- window showing the filter options --> +<div id="MSearchSelectWindow" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + onkeydown="return searchBox.OnSearchSelectKey(event)"> +</div> + +<!-- iframe showing the search results (closed by default) --> +<div id="MSearchResultsWindow"> +<iframe src="javascript:void(0)" frameborder="0" + name="MSearchResults" id="MSearchResults"> +</iframe> +</div> + +<div class="header"> + <div class="headertitle"> +<div class="title">NeonDepthwiseConvolutionWorkload.cpp</div> </div> +</div><!--header--> +<div class="contents"> +<a href="_neon_depthwise_convolution_workload_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">//</span></div> +<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// Copyright © 2017-2023 Arm Ltd and Contributors. All rights reserved.</span></div> +<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// SPDX-License-Identifier: MIT</span></div> +<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">//</span></div> +<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>  </div> +<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#include "<a class="code" href="_neon_depthwise_convolution_workload_8hpp.html">NeonDepthwiseConvolutionWorkload.hpp</a>"</span></div> +<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  </div> +<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#include "<a class="code" href="_neon_workload_utils_8hpp.html">NeonWorkloadUtils.hpp</a>"</span></div> +<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  </div> +<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#include <<a class="code" href="_data_layout_indexed_8hpp.html">armnnUtils/DataLayoutIndexed.hpp</a>></span></div> +<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  </div> +<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <<a class="code" href="_arm_compute_tensor_utils_8hpp.html">aclCommon/ArmComputeTensorUtils.hpp</a>></span></div> +<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#include <<a class="code" href="_arm_compute_utils_8hpp.html">aclCommon/ArmComputeUtils.hpp</a>></span></div> +<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  </div> +<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include <<a class="code" href="_neon_layer_support_8hpp.html">neon/NeonLayerSupport.hpp</a>></span></div> +<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  </div> +<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include <<a class="code" href="_tensor_handle_8hpp.html">armnn/backends/TensorHandle.hpp</a>></span></div> +<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include <<a class="code" href="_workload_utils_8hpp.html">backendsCommon/WorkloadUtils.hpp</a>></span></div> +<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  </div> +<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <arm_compute/runtime/NEON/functions/NEDepthwiseConvolutionLayer.h></span></div> +<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  </div> +<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">using namespace </span><a class="code" href="namespacearmnn_utils.html">armnnUtils</a>;</div> +<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  </div> +<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="keyword">namespace </span><a class="code" href="namespacearmnn.html">armnn</a></div> +<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> {</div> +<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  </div> +<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">using namespace </span>armcomputetensorutils;</div> +<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  </div> +<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="namespacearmnn.html#a63d684b26fb838b22123490d780bce08"> 29</a></span> <a class="code" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">arm_compute::Status</a> <a class="code" href="namespacearmnn.html#a63d684b26fb838b22123490d780bce08">NeonDepthwiseConvolutionWorkloadValidate</a>(<span class="keyword">const</span> <a class="code" href="classarmnn_1_1_tensor_info.html">TensorInfo</a>& input,</div> +<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_tensor_info.html">TensorInfo</a>& output,</div> +<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_depthwise_convolution2d_descriptor.html">DepthwiseConvolution2dDescriptor</a>& descriptor,</div> +<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_tensor_info.html">TensorInfo</a>& weights,</div> +<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_optional.html">Optional<TensorInfo></a>& biases,</div> +<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_activation_descriptor.html">ActivationDescriptor</a>* activationDescriptor)</div> +<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> {</div> +<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keyword">const</span> arm_compute::TensorInfo aclInputInfo = BuildArmComputeTensorInfo(input, descriptor.<a class="code" href="structarmnn_1_1_depthwise_convolution2d_descriptor.html#a6089e1ca91914015777ea780a513131a">m_DataLayout</a>);</div> +<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keyword">const</span> arm_compute::TensorInfo aclOutputInfo = BuildArmComputeTensorInfo(output, descriptor.<a class="code" href="structarmnn_1_1_depthwise_convolution2d_descriptor.html#a6089e1ca91914015777ea780a513131a">m_DataLayout</a>);</div> +<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  </div> +<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="comment">// ArmNN format for weights for depthwise is [1, H, W, C] independently of the input/output layout</span></div> +<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="comment">//</span></div> +<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="comment">// ACL format for weights for depthwise is:</span></div> +<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="comment">// - [1, H, W, C] for [N, H, W, C] input/output layout (matches with ArmNN)</span></div> +<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="comment">// - [1, C, H, W] for [N, C, H, W] input/output layout</span></div> +<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="comment">//</span></div> +<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="comment">// Therefore ArmNN weights have to be permuted when input/output layout is [N, C, H, W] to pass them to ACL.</span></div> +<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="comment">// The PermuteDepthwiseConv2dWeights backend optimization takes care of this, but it has not been performed yet,</span></div> +<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="comment">// so we do the permute here for the TensorInfo weights.</span></div> +<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> aclDepthMultiplier;</div> +<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <a class="code" href="classarmnn_1_1_tensor_info.html">TensorInfo</a> weightsPermuted;</div> +<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  std::tie(weightsPermuted, aclDepthMultiplier) = <a class="code" href="namespacearmnn.html#ac4aa9e41515b354234645f115c49de32">Convert1HWOTensorInfoToAcl</a>(weights, input, descriptor.<a class="code" href="structarmnn_1_1_depthwise_convolution2d_descriptor.html#a6089e1ca91914015777ea780a513131a">m_DataLayout</a>);</div> +<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  </div> +<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="comment">// Convert the weights into the compute library format</span></div> +<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  arm_compute::TensorInfo aclWeightsInfo = BuildArmComputeTensorInfo(weightsPermuted, descriptor.<a class="code" href="structarmnn_1_1_depthwise_convolution2d_descriptor.html#a6089e1ca91914015777ea780a513131a">m_DataLayout</a>);</div> +<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  aclWeightsInfo.set_are_values_constant(weights.<a class="code" href="classarmnn_1_1_tensor_info.html#a945263e85c27f3216a8323cfc16d8919">IsConstant</a>());</div> +<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  </div> +<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  arm_compute::TensorInfo aclBiasesInfo;</div> +<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  arm_compute::TensorInfo* optionalAclBiasesInfo = <span class="keyword">nullptr</span>;</div> +<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keywordflow">if</span> (descriptor.<a class="code" href="structarmnn_1_1_depthwise_convolution2d_descriptor.html#aea202e14d8874cefd9a0f778022b7e25">m_BiasEnabled</a>)</div> +<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  {</div> +<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keywordflow">if</span>(!biases.<a class="code" href="classarmnn_1_1_optional_base.html#a86b749ce2c4bc627fa8a1fcfaf0e314f">has_value</a>())</div> +<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  {</div> +<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keywordflow">return</span> <a class="code" href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">arm_compute::Status</a>{arm_compute::ErrorCode::RUNTIME_ERROR,</div> +<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="stringliteral">"ArmNN NeonDepthwiseConvolutionWorkload has empty bias value."</span>};</div> +<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  }</div> +<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  aclBiasesInfo = BuildArmComputeTensorInfo(biases.<a class="code" href="classarmnn_1_1_optional_reference_switch.html#a77c7d528ac063d870b8c8426ec81c1c3">value</a>(), descriptor.<a class="code" href="structarmnn_1_1_depthwise_convolution2d_descriptor.html#a6089e1ca91914015777ea780a513131a">m_DataLayout</a>);</div> +<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  aclBiasesInfo.set_are_values_constant(biases.<a class="code" href="classarmnn_1_1_optional_reference_switch.html#a77c7d528ac063d870b8c8426ec81c1c3">value</a>().<a class="code" href="classarmnn_1_1_tensor_info.html#a945263e85c27f3216a8323cfc16d8919">IsConstant</a>());</div> +<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  optionalAclBiasesInfo = &aclBiasesInfo;</div> +<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  }</div> +<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  </div> +<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keyword">const</span> arm_compute::PadStrideInfo aclPadStrideInfo = BuildArmComputePadStrideInfo(descriptor);</div> +<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keyword">const</span> arm_compute::Size2D aclDilationInfo = BuildArmComputeSize2D(descriptor.<a class="code" href="structarmnn_1_1_depthwise_convolution2d_descriptor.html#aa3c6a77a963a98ccb8ea7b8fd008a8c1">m_DilationX</a>,</div> +<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  descriptor.<a class="code" href="structarmnn_1_1_depthwise_convolution2d_descriptor.html#a302b688d88dd73cde0fb1faef6679907">m_DilationY</a>);</div> +<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  </div> +<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keyword">const</span> arm_compute::ActivationLayerInfo activationInfo = <a class="code" href="namespacearmnn.html#ad701d0d29baa4266ab4d33b090aa661c">ConvertActivationDescriptorToAclActivationLayerInfo</a>(</div> +<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  activationDescriptor);</div> +<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  </div> +<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keywordflow">return</span> arm_compute::NEDepthwiseConvolutionLayer::validate(&aclInputInfo,</div> +<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  &aclWeightsInfo,</div> +<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  optionalAclBiasesInfo,</div> +<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  &aclOutputInfo,</div> +<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  aclPadStrideInfo,</div> +<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  aclDepthMultiplier,</div> +<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  activationInfo,</div> +<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  aclDilationInfo);</div> +<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> }</div> +<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  </div> +<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="classarmnn_1_1_neon_depthwise_convolution_workload.html#aa6173c66256d333ee73a068206c746d6"> 87</a></span> <a class="code" href="classarmnn_1_1_neon_depthwise_convolution_workload.html#aa6173c66256d333ee73a068206c746d6">NeonDepthwiseConvolutionWorkload::NeonDepthwiseConvolutionWorkload</a>(</div> +<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_depthwise_convolution2d_queue_descriptor.html">DepthwiseConvolution2dQueueDescriptor</a>& descriptor,</div> +<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keyword">const</span> <a class="code" href="structarmnn_1_1_workload_info.html">WorkloadInfo</a>& info)</div> +<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  : <a class="code" href="classarmnn_1_1_neon_base_workload.html">NeonBaseWorkload</a><<a class="code" href="structarmnn_1_1_depthwise_convolution2d_queue_descriptor.html">DepthwiseConvolution2dQueueDescriptor</a>>(descriptor, <a class="code" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>)</div> +<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> {</div> +<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  arm_compute::ITensor& input = PolymorphicDowncast<IAclTensorHandle*>(<a class="code" href="classarmnn_1_1_base_workload.html#afb8d2c8817c75de9d01a4c0e0d5c160b">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="l00093"></a><span class="lineno"> 93</span>  arm_compute::ITensor& output = PolymorphicDowncast<IAclTensorHandle*>(<a class="code" href="classarmnn_1_1_base_workload.html#afb8d2c8817c75de9d01a4c0e0d5c160b">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="l00094"></a><span class="lineno"> 94</span>  arm_compute::ITensor& weights = PolymorphicDowncast<IAclTensorHandle*>(<a class="code" href="classarmnn_1_1_base_workload.html#afb8d2c8817c75de9d01a4c0e0d5c160b">m_Data</a>.<a class="code" href="structarmnn_1_1_queue_descriptor.html#a4b50e46a6810018f3edecfb68b2a76b3">m_Inputs</a>[1])->GetTensor();</div> +<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  weights.info()->set_are_values_constant(<a class="code" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>.m_InputTensorInfos[1].IsConstant());</div> +<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  arm_compute::ITensor* biasesPtr = <span class="keyword">nullptr</span>;</div> +<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keywordflow">if</span> (<a class="code" href="classarmnn_1_1_base_workload.html#afb8d2c8817c75de9d01a4c0e0d5c160b">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="l00098"></a><span class="lineno"> 98</span>  {</div> +<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  biasesPtr = &PolymorphicDowncast<IAclTensorHandle *>(<a class="code" href="classarmnn_1_1_base_workload.html#afb8d2c8817c75de9d01a4c0e0d5c160b">m_Data</a>.<a class="code" href="structarmnn_1_1_queue_descriptor.html#a4b50e46a6810018f3edecfb68b2a76b3">m_Inputs</a>[2])->GetTensor();</div> +<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  biasesPtr->info()->set_are_values_constant(<a class="code" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>.m_InputTensorInfos[2].IsConstant());</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>  </div> +<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  arm_compute::TensorShape weightsShape = weights.info()->tensor_shape();</div> +<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  arm_compute::TensorShape inputShape = input.info()->tensor_shape();</div> +<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  </div> +<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="comment">// The PermuteDepthwiseConv2dWeights backend optimization has been performed,</span></div> +<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="comment">// converting weights to have the same data layout as input.</span></div> +<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> depthMultiplier =</div> +<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  ComputeDepthwiseConv2dDepthMultiplier(<a class="code" href="classarmnn_1_1_base_workload.html#afb8d2c8817c75de9d01a4c0e0d5c160b">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>, weightsShape, inputShape);</div> +<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  </div> +<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keyword">const</span> arm_compute::Size2D aclDilationInfo = BuildArmComputeSize2D(<a class="code" href="classarmnn_1_1_base_workload.html#afb8d2c8817c75de9d01a4c0e0d5c160b">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="l00112"></a><span class="lineno"> 112</span>  <a class="code" href="classarmnn_1_1_base_workload.html#afb8d2c8817c75de9d01a4c0e0d5c160b">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="l00113"></a><span class="lineno"> 113</span>  </div> +<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  uint32_t numInputs = <a class="code" href="classarmnn_1_1_base_workload.html#afb8d2c8817c75de9d01a4c0e0d5c160b">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> ? 3: 2;</div> +<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <a class="code" href="classarmnn_1_1_base_workload.html#afb8d2c8817c75de9d01a4c0e0d5c160b">m_Data</a>.<a class="code" href="structarmnn_1_1_queue_descriptor.html#a765d2cee4ccce5b9467e0c2b6d25b84a">ValidateInputsOutputs</a>(<span class="stringliteral">"NeonDepthwiseConvolutionWorkload"</span>, numInputs, 1);</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="namespacearmnn.html#ad1d5cce2d9e9a5d61c243e5c989112e0">arm_compute::DataLayout</a> aclDataLayout = ConvertDataLayout(<a class="code" href="classarmnn_1_1_base_workload.html#afb8d2c8817c75de9d01a4c0e0d5c160b">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="l00118"></a><span class="lineno"> 118</span>  input.info()->set_data_layout(aclDataLayout);</div> +<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  weights.info()->set_data_layout(aclDataLayout);</div> +<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  output.info()->set_data_layout(aclDataLayout);</div> +<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  </div> +<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keyword">const</span> arm_compute::PadStrideInfo padStrideInfo = BuildArmComputePadStrideInfo(<a class="code" href="classarmnn_1_1_base_workload.html#afb8d2c8817c75de9d01a4c0e0d5c160b">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="l00123"></a><span class="lineno"> 123</span>  </div> +<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keyword">const</span> arm_compute::ActivationLayerInfo activationInfo = <a class="code" href="namespacearmnn.html#abfb0841058a8190d30851f07eca3991f">ConvertAdditionalInfoToAclActivationLayerInfo</a>(descriptor);</div> +<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  </div> +<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  m_pDepthwiseConvolutionLayer = std::make_unique<arm_compute::NEDepthwiseConvolutionLayer>();</div> +<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keyword">static_cast<</span>arm_compute::NEDepthwiseConvolutionLayer*<span class="keyword">></span>(</div> +<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  m_pDepthwiseConvolutionLayer.get())->configure(&input,</div> +<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  &weights,</div> +<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  biasesPtr,</div> +<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  &output,</div> +<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  padStrideInfo,</div> +<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  depthMultiplier,</div> +<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  activationInfo,</div> +<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  aclDilationInfo);</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>  <span class="comment">// Add details for profiling output</span></div> +<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <a class="code" href="structarmnn_1_1_workload_info.html">WorkloadInfo</a> detailsInfo;</div> +<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  </div> +<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  detailsInfo.<a class="code" href="structarmnn_1_1_workload_info.html#ac97905bfa0daab357b91df1347600309">m_InputTensorInfos</a> = <a class="code" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>.m_InputTensorInfos;</div> +<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  detailsInfo.<a class="code" href="structarmnn_1_1_workload_info.html#a67b178f8a836bc1e52b8de109760adfd">m_OutputTensorInfos</a> = <a class="code" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>.m_OutputTensorInfos;</div> +<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  </div> +<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="comment">// Report Profiling Details</span></div> +<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <a class="code" href="_profiling_8hpp.html#a786492a3881a4c760ab1eec2149f4aba">ARMNN_REPORT_PROFILING_WORKLOAD_DESC</a>(<span class="stringliteral">"NeonDepthwiseConvolution2dWorkload_Construct"</span>,</div> +<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  descriptor.<a class="code" href="structarmnn_1_1_queue_descriptor_with_parameters.html#aad91b9bbf7aa365d304febe79a3d1333">m_Parameters</a>,</div> +<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  detailsInfo,</div> +<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <a class="code" href="classarmnn_1_1_base_workload.html#aaff95a48875d8fb4a616352906660ca9">GetGuid</a>());</div> +<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  </div> +<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <a class="code" href="_assert_8hpp.html#a5698be69cbd5dfe6c28fcd9867e8cbed">ARMNN_ASSERT</a>(m_pDepthwiseConvolutionLayer);</div> +<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  </div> +<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  m_pDepthwiseConvolutionLayer->prepare();</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>  </div> +<div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="classarmnn_1_1_neon_depthwise_convolution_workload.html#ae071e8822437c78baea75c3aef3a263a"> 154</a></span> <span class="keywordtype">void</span> <a class="code" href="classarmnn_1_1_neon_depthwise_convolution_workload.html#ae071e8822437c78baea75c3aef3a263a">NeonDepthwiseConvolutionWorkload::Execute</a>()<span class="keyword"> const</span></div> +<div class="line"><a name="l00155"></a><span class="lineno"> 155</span> <span class="keyword"></span>{</div> +<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <a class="code" href="_neon_workload_utils_8hpp.html#a7f97eedf3c9436b110df92c947bbb55d">ARMNN_SCOPED_PROFILING_EVENT_NEON_NAME_GUID</a>(<span class="stringliteral">"NeonDepthwiseConvolutionWorkload_Execute"</span>);</div> +<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <a class="code" href="_assert_8hpp.html#a5698be69cbd5dfe6c28fcd9867e8cbed">ARMNN_ASSERT</a>(m_pDepthwiseConvolutionLayer);</div> +<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  </div> +<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  m_pDepthwiseConvolutionLayer->run();</div> +<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> }</div> +<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  </div> +<div class="line"><a name="l00162"></a><span class="lineno"> 162</span> } <span class="comment">//namespace armnn</span></div> +</div><!-- fragment --></div><!-- contents --> +</div><!-- doc-content --> +<div class="ttc" id="a_assert_8hpp_html_a5698be69cbd5dfe6c28fcd9867e8cbed"><div class="ttname"><a href="_assert_8hpp.html#a5698be69cbd5dfe6c28fcd9867e8cbed">ARMNN_ASSERT</a></div><div class="ttdeci">#define ARMNN_ASSERT(COND)</div><div class="ttdef"><b>Definition:</b> <a href="_assert_8hpp_source.html#l00014">Assert.hpp:14</a></div></div> +<div class="ttc" id="astructarmnn_1_1_activation_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_activation_descriptor.html">armnn::ActivationDescriptor</a></div><div class="ttdoc">An ActivationDescriptor for the ActivationLayer.</div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00036">Descriptors.hpp:36</a></div></div> +<div class="ttc" id="anamespacearmnn_html_ac4aa9e41515b354234645f115c49de32"><div class="ttname"><a href="namespacearmnn.html#ac4aa9e41515b354234645f115c49de32">armnn::Convert1HWOTensorInfoToAcl</a></div><div class="ttdeci">std::tuple< TensorInfo, unsigned int > Convert1HWOTensorInfoToAcl(const TensorInfo &weightInfo, const TensorInfo &inputInfo, const DataLayout dataLayout)</div><div class="ttdoc">Weights for depthwise have a datalayout of [1,H,W,O] = [1,H,W,I*M] This function coverts a TensorInfo...</div><div class="ttdef"><b>Definition:</b> <a href="_workload_utils_8cpp_source.html#l00176">WorkloadUtils.cpp:176</a></div></div> +<div class="ttc" id="aclassarmnn_1_1_optional_html"><div class="ttname"><a href="classarmnn_1_1_optional.html">armnn::Optional</a></div><div class="ttdef"><b>Definition:</b> <a href="_optional_8hpp_source.html#l00270">Optional.hpp:270</a></div></div> +<div class="ttc" id="anamespacearmnn_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#l00062">Types.hpp:62</a></div></div> +<div class="ttc" id="aclassarmnn_1_1_neon_depthwise_convolution_workload_html_ae071e8822437c78baea75c3aef3a263a"><div class="ttname"><a href="classarmnn_1_1_neon_depthwise_convolution_workload.html#ae071e8822437c78baea75c3aef3a263a">armnn::NeonDepthwiseConvolutionWorkload::Execute</a></div><div class="ttdeci">virtual void Execute() const override</div><div class="ttdef"><b>Definition:</b> <a href="_neon_depthwise_convolution_workload_8cpp_source.html#l00154">NeonDepthwiseConvolutionWorkload.cpp:154</a></div></div> +<div class="ttc" id="astructarmnn_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#l00708">Descriptors.hpp:708</a></div></div> +<div class="ttc" id="a_workload_utils_8hpp_html"><div class="ttname"><a href="_workload_utils_8hpp.html">WorkloadUtils.hpp</a></div></div> +<div class="ttc" id="astructarmnn_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#l00446">WorkloadData.cpp:446</a></div></div> +<div class="ttc" id="anamespacearmnn_html_abfb0841058a8190d30851f07eca3991f"><div class="ttname"><a href="namespacearmnn.html#abfb0841058a8190d30851f07eca3991f">armnn::ConvertAdditionalInfoToAclActivationLayerInfo</a></div><div class="ttdeci">arm_compute::ActivationLayerInfo ConvertAdditionalInfoToAclActivationLayerInfo(const QueueDescriptor &queueDescriptor)</div><div class="ttdef"><b>Definition:</b> <a href="_arm_compute_utils_8hpp_source.html#l00105">ArmComputeUtils.hpp:105</a></div></div> +<div class="ttc" id="astructarmnn_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#l00710">Descriptors.hpp:710</a></div></div> +<div class="ttc" id="aclassarmnn_1_1_tensor_info_html"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html">armnn::TensorInfo</a></div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8hpp_source.html#l00152">Tensor.hpp:152</a></div></div> +<div class="ttc" id="aclassarmnn_1_1_neon_depthwise_convolution_workload_html_aa6173c66256d333ee73a068206c746d6"><div class="ttname"><a href="classarmnn_1_1_neon_depthwise_convolution_workload.html#aa6173c66256d333ee73a068206c746d6">armnn::NeonDepthwiseConvolutionWorkload::NeonDepthwiseConvolutionWorkload</a></div><div class="ttdeci">NeonDepthwiseConvolutionWorkload(const DepthwiseConvolution2dQueueDescriptor &descriptor, const WorkloadInfo &info)</div><div class="ttdef"><b>Definition:</b> <a href="_neon_depthwise_convolution_workload_8cpp_source.html#l00087">NeonDepthwiseConvolutionWorkload.cpp:87</a></div></div> +<div class="ttc" id="aclassarmnn_1_1_tensor_info_html_a945263e85c27f3216a8323cfc16d8919"><div class="ttname"><a href="classarmnn_1_1_tensor_info.html#a945263e85c27f3216a8323cfc16d8919">armnn::TensorInfo::IsConstant</a></div><div class="ttdeci">bool IsConstant() const</div><div class="ttdef"><b>Definition:</b> <a href="_tensor_8cpp_source.html#l00509">Tensor.cpp:509</a></div></div> +<div class="ttc" id="astructarmnn_1_1_workload_info_html_a67b178f8a836bc1e52b8de109760adfd"><div class="ttname"><a href="structarmnn_1_1_workload_info.html#a67b178f8a836bc1e52b8de109760adfd">armnn::WorkloadInfo::m_OutputTensorInfos</a></div><div class="ttdeci">std::vector< TensorInfo > m_OutputTensorInfos</div><div class="ttdef"><b>Definition:</b> <a href="_workload_info_8hpp_source.html#l00019">WorkloadInfo.hpp:19</a></div></div> +<div class="ttc" id="astructarmnn_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#l00066">WorkloadData.hpp:66</a></div></div> +<div class="ttc" id="astructarmnn_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#l00706">Descriptors.hpp:706</a></div></div> +<div class="ttc" id="astructarmnn_1_1_workload_info_html"><div class="ttname"><a href="structarmnn_1_1_workload_info.html">armnn::WorkloadInfo</a></div><div class="ttdoc">Contains information about TensorInfos of a layer.</div><div class="ttdef"><b>Definition:</b> <a href="_workload_info_8hpp_source.html#l00016">WorkloadInfo.hpp:16</a></div></div> +<div class="ttc" id="a_neon_depthwise_convolution_workload_8hpp_html"><div class="ttname"><a href="_neon_depthwise_convolution_workload_8hpp.html">NeonDepthwiseConvolutionWorkload.hpp</a></div></div> +<div class="ttc" id="anamespacearmnn_utils_html"><div class="ttname"><a href="namespacearmnn_utils.html">armnnUtils</a></div><div class="ttdef"><b>Definition:</b> <a href="_compatible_types_8hpp_source.html#l00010">CompatibleTypes.hpp:10</a></div></div> +<div class="ttc" id="a_arm_compute_utils_8hpp_html"><div class="ttname"><a href="_arm_compute_utils_8hpp.html">ArmComputeUtils.hpp</a></div></div> +<div class="ttc" id="anamespacearmnn_html_ad701d0d29baa4266ab4d33b090aa661c"><div class="ttname"><a href="namespacearmnn.html#ad701d0d29baa4266ab4d33b090aa661c">armnn::ConvertActivationDescriptorToAclActivationLayerInfo</a></div><div class="ttdeci">arm_compute::ActivationLayerInfo ConvertActivationDescriptorToAclActivationLayerInfo(const ActivationDescriptor &actDesc)</div><div class="ttdef"><b>Definition:</b> <a href="_arm_compute_utils_8hpp_source.html#l00087">ArmComputeUtils.hpp:87</a></div></div> +<div class="ttc" id="anamespacearmnn_html_a63d684b26fb838b22123490d780bce08"><div class="ttname"><a href="namespacearmnn.html#a63d684b26fb838b22123490d780bce08">armnn::NeonDepthwiseConvolutionWorkloadValidate</a></div><div class="ttdeci">arm_compute::Status NeonDepthwiseConvolutionWorkloadValidate(const TensorInfo &input, const TensorInfo &output, const DepthwiseConvolution2dDescriptor &descriptor, const TensorInfo &weights, const Optional< TensorInfo > &biases, const ActivationDescriptor *activationDescriptor)</div><div class="ttdef"><b>Definition:</b> <a href="_neon_depthwise_convolution_workload_8cpp_source.html#l00029">NeonDepthwiseConvolutionWorkload.cpp:29</a></div></div> +<div class="ttc" id="anamespacearmnn_html_a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c"><div class="ttname"><a href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">armnn::BoostLogSeverityMapping::info</a></div><div class="ttdeci">@ info</div></div> +<div class="ttc" id="astructarmnn_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#l00027">WorkloadData.hpp:27</a></div></div> +<div class="ttc" id="astructarmnn_1_1_depthwise_convolution2d_queue_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_depthwise_convolution2d_queue_descriptor.html">armnn::DepthwiseConvolution2dQueueDescriptor</a></div><div class="ttdoc">Depthwise Convolution 2D layer workload data.</div><div class="ttdef"><b>Definition:</b> <a href="_workload_data_8hpp_source.html#l00234">WorkloadData.hpp:234</a></div></div> +<div class="ttc" id="a_profiling_8hpp_html_a786492a3881a4c760ab1eec2149f4aba"><div class="ttname"><a href="_profiling_8hpp.html#a786492a3881a4c760ab1eec2149f4aba">ARMNN_REPORT_PROFILING_WORKLOAD_DESC</a></div><div class="ttdeci">#define ARMNN_REPORT_PROFILING_WORKLOAD_DESC(name, desc, infos, guid)</div><div class="ttdef"><b>Definition:</b> <a href="_profiling_8hpp_source.html#l00227">Profiling.hpp:227</a></div></div> +<div class="ttc" id="aclassarmnn_1_1_base_workload_html_aaff95a48875d8fb4a616352906660ca9"><div class="ttname"><a href="classarmnn_1_1_base_workload.html#aaff95a48875d8fb4a616352906660ca9">armnn::BaseWorkload< DepthwiseConvolution2dQueueDescriptor >::GetGuid</a></div><div class="ttdeci">arm::pipe::ProfilingGuid GetGuid() const final</div><div class="ttdef"><b>Definition:</b> <a href="_workload_8hpp_source.html#l00067">Workload.hpp:67</a></div></div> +<div class="ttc" id="a_tensor_handle_8hpp_html"><div class="ttname"><a href="_tensor_handle_8hpp.html">TensorHandle.hpp</a></div></div> +<div class="ttc" id="anamespacearmnn_html_a67a0db04d321a74b7e7fcfd3f1a3f70b"><div class="ttname"><a href="namespacearmnn.html#a67a0db04d321a74b7e7fcfd3f1a3f70b">armnn::Status</a></div><div class="ttdeci">Status</div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.html#l00042">Types.hpp:42</a></div></div> +<div class="ttc" id="aclassarmnn_1_1_base_workload_html_afb8d2c8817c75de9d01a4c0e0d5c160b"><div class="ttname"><a href="classarmnn_1_1_base_workload.html#afb8d2c8817c75de9d01a4c0e0d5c160b">armnn::BaseWorkload< DepthwiseConvolution2dQueueDescriptor >::m_Data</a></div><div class="ttdeci">DepthwiseConvolution2dQueueDescriptor m_Data</div><div class="ttdef"><b>Definition:</b> <a href="_workload_8hpp_source.html#l00089">Workload.hpp:89</a></div></div> +<div class="ttc" id="astructarmnn_1_1_workload_info_html_ac97905bfa0daab357b91df1347600309"><div class="ttname"><a href="structarmnn_1_1_workload_info.html#ac97905bfa0daab357b91df1347600309">armnn::WorkloadInfo::m_InputTensorInfos</a></div><div class="ttdeci">std::vector< TensorInfo > m_InputTensorInfos</div><div class="ttdef"><b>Definition:</b> <a href="_workload_info_8hpp_source.html#l00018">WorkloadInfo.hpp:18</a></div></div> +<div class="ttc" id="a_neon_workload_utils_8hpp_html"><div class="ttname"><a href="_neon_workload_utils_8hpp.html">NeonWorkloadUtils.hpp</a></div></div> +<div class="ttc" id="anamespacearmnn_html"><div class="ttname"><a href="namespacearmnn.html">armnn</a></div><div class="ttdoc">Copyright (c) 2021 ARM Limited and Contributors.</div><div class="ttdef"><b>Definition:</b> <a href="01__00__quick__start_8dox_source.html#l00006">01_00_quick_start.dox:6</a></div></div> +<div class="ttc" id="a_arm_compute_tensor_utils_8hpp_html"><div class="ttname"><a href="_arm_compute_tensor_utils_8hpp.html">ArmComputeTensorUtils.hpp</a></div></div> +<div class="ttc" id="a_neon_workload_utils_8hpp_html_a7f97eedf3c9436b110df92c947bbb55d"><div class="ttname"><a href="_neon_workload_utils_8hpp.html#a7f97eedf3c9436b110df92c947bbb55d">ARMNN_SCOPED_PROFILING_EVENT_NEON_NAME_GUID</a></div><div class="ttdeci">#define ARMNN_SCOPED_PROFILING_EVENT_NEON_NAME_GUID(label)</div><div class="ttdoc">Creates a profiling event that uses GetGuid() and GetName() from the calling class.</div><div class="ttdef"><b>Definition:</b> <a href="_neon_workload_utils_8hpp_source.html#l00032">NeonWorkloadUtils.hpp:32</a></div></div> +<div class="ttc" id="astructarmnn_1_1_depthwise_convolution2d_descriptor_html"><div class="ttname"><a href="structarmnn_1_1_depthwise_convolution2d_descriptor.html">armnn::DepthwiseConvolution2dDescriptor</a></div><div class="ttdoc">A DepthwiseConvolution2dDescriptor for the DepthwiseConvolution2dLayer.</div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00659">Descriptors.hpp:659</a></div></div> +<div class="ttc" id="astructarmnn_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#l00704">Descriptors.hpp:704</a></div></div> +<div class="ttc" id="a_data_layout_indexed_8hpp_html"><div class="ttname"><a href="_data_layout_indexed_8hpp.html">DataLayoutIndexed.hpp</a></div></div> +<div class="ttc" id="aclassarmnn_1_1_neon_base_workload_html"><div class="ttname"><a href="classarmnn_1_1_neon_base_workload.html">armnn::NeonBaseWorkload</a></div><div class="ttdef"><b>Definition:</b> <a href="_neon_base_workload_8hpp_source.html#l00013">NeonBaseWorkload.hpp:13</a></div></div> +<div class="ttc" id="aclassarmnn_1_1_optional_reference_switch_html_a77c7d528ac063d870b8c8426ec81c1c3"><div class="ttname"><a href="classarmnn_1_1_optional_reference_switch.html#a77c7d528ac063d870b8c8426ec81c1c3">armnn::OptionalReferenceSwitch< std::is_reference< T >::value, T >::value</a></div><div class="ttdeci">const T & value() const</div><div class="ttdef"><b>Definition:</b> <a href="_optional_8hpp_source.html#l00146">Optional.hpp:146</a></div></div> +<div class="ttc" id="astructarmnn_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#l00026">WorkloadData.hpp:26</a></div></div> +<div class="ttc" id="a_neon_layer_support_8hpp_html"><div class="ttname"><a href="_neon_layer_support_8hpp.html">NeonLayerSupport.hpp</a></div></div> +<div class="ttc" id="aclassarmnn_1_1_optional_base_html_a86b749ce2c4bc627fa8a1fcfaf0e314f"><div class="ttname"><a href="classarmnn_1_1_optional_base.html#a86b749ce2c4bc627fa8a1fcfaf0e314f">armnn::OptionalBase::has_value</a></div><div class="ttdeci">bool has_value() const noexcept</div><div class="ttdef"><b>Definition:</b> <a href="_optional_8hpp_source.html#l00053">Optional.hpp:53</a></div></div> +<!-- start footer part --> +<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> + <ul> + <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_0f3cdec46afbc61a1ded8e1687c9c9a0.html">backends</a></li><li class="navelem"><a class="el" href="dir_d86eb514662c7c08e168285f21d00ea1.html">neon</a></li><li class="navelem"><a class="el" href="dir_369c3c20501d0d10bd0354bf11c2f559.html">workloads</a></li><li class="navelem"><a class="el" href="_neon_depthwise_convolution_workload_8cpp.html">NeonDepthwiseConvolutionWorkload.cpp</a></li> + <li class="footer">Generated on Wed Nov 22 2023 10:57:07 for Arm NN by + <a href="http://www.doxygen.org/index.html"> + <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li> + </ul> +</div> +</body> +</html> |