Ryan OShea | de36e4a | 2020-03-13 16:26:19 +0000 | [diff] [blame] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 3 | <head> |
| 4 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| 5 | <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| 6 | <meta name="generator" content="Doxygen 1.8.13"/> |
| 7 | <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| 8 | <title>ArmNN: ClPermuteWorkload Class Reference</title> |
| 9 | <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 10 | <script type="text/javascript" src="jquery.js"></script> |
| 11 | <script type="text/javascript" src="dynsections.js"></script> |
| 12 | <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| 13 | <script type="text/javascript" src="resize.js"></script> |
| 14 | <script type="text/javascript" src="navtreedata.js"></script> |
| 15 | <script type="text/javascript" src="navtree.js"></script> |
| 16 | <script type="text/javascript"> |
| 17 | $(document).ready(initResizable); |
| 18 | </script> |
| 19 | <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| 20 | <script type="text/javascript" src="search/searchdata.js"></script> |
| 21 | <script type="text/javascript" src="search/search.js"></script> |
| 22 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| 23 | </head> |
| 24 | <body> |
| 25 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| 26 | <div id="titlearea"> |
| 27 | <table cellspacing="0" cellpadding="0"> |
| 28 | <tbody> |
| 29 | <tr style="height: 56px;"> |
| 30 | <td id="projectalign" style="padding-left: 0.5em;"> |
| 31 | <div id="projectname">ArmNN |
| 32 |  <span id="projectnumber">NotReleased</span> |
| 33 | </div> |
| 34 | </td> |
| 35 | </tr> |
| 36 | </tbody> |
| 37 | </table> |
| 38 | </div> |
| 39 | <!-- end header part --> |
| 40 | <!-- Generated by Doxygen 1.8.13 --> |
| 41 | <script type="text/javascript"> |
| 42 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| 43 | </script> |
| 44 | <script type="text/javascript" src="menudata.js"></script> |
| 45 | <script type="text/javascript" src="menu.js"></script> |
| 46 | <script type="text/javascript"> |
| 47 | $(function() { |
| 48 | initMenu('',true,false,'search.php','Search'); |
| 49 | $(document).ready(function() { init_search(); }); |
| 50 | }); |
| 51 | </script> |
| 52 | <div id="main-nav"></div> |
| 53 | </div><!-- top --> |
| 54 | <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| 55 | <div id="nav-tree"> |
| 56 | <div id="nav-tree-contents"> |
| 57 | <div id="nav-sync" class="sync"></div> |
| 58 | </div> |
| 59 | </div> |
| 60 | <div id="splitbar" style="-moz-user-select:none;" |
| 61 | class="ui-resizable-handle"> |
| 62 | </div> |
| 63 | </div> |
| 64 | <script type="text/javascript"> |
| 65 | $(document).ready(function(){initNavTree('classarmnn_1_1_cl_permute_workload.html','');}); |
| 66 | </script> |
| 67 | <div id="doc-content"> |
| 68 | <!-- window showing the filter options --> |
| 69 | <div id="MSearchSelectWindow" |
| 70 | onmouseover="return searchBox.OnSearchSelectShow()" |
| 71 | onmouseout="return searchBox.OnSearchSelectHide()" |
| 72 | onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| 73 | </div> |
| 74 | |
| 75 | <!-- iframe showing the search results (closed by default) --> |
| 76 | <div id="MSearchResultsWindow"> |
| 77 | <iframe src="javascript:void(0)" frameborder="0" |
| 78 | name="MSearchResults" id="MSearchResults"> |
| 79 | </iframe> |
| 80 | </div> |
| 81 | |
| 82 | <div class="header"> |
| 83 | <div class="summary"> |
| 84 | <a href="#pub-methods">Public Member Functions</a> | |
| 85 | <a href="#pub-static-methods">Static Public Member Functions</a> | |
| 86 | <a href="classarmnn_1_1_cl_permute_workload-members.html">List of all members</a> </div> |
| 87 | <div class="headertitle"> |
| 88 | <div class="title">ClPermuteWorkload Class Reference</div> </div> |
| 89 | </div><!--header--> |
| 90 | <div class="contents"> |
| 91 | |
| 92 | <p><code>#include <<a class="el" href="_cl_permute_workload_8hpp_source.html">ClPermuteWorkload.hpp</a>></code></p> |
| 93 | <div class="dynheader"> |
| 94 | Inheritance diagram for ClPermuteWorkload:</div> |
| 95 | <div class="dyncontent"> |
| 96 | <div class="center"> |
| 97 | <img src="classarmnn_1_1_cl_permute_workload.png" usemap="#ClPermuteWorkload_map" alt=""/> |
| 98 | <map id="ClPermuteWorkload_map" name="ClPermuteWorkload_map"> |
| 99 | <area href="classarmnn_1_1_base_workload.html" alt="BaseWorkload< PermuteQueueDescriptor >" shape="rect" coords="0,56,260,80"/> |
| 100 | <area href="classarmnn_1_1_i_workload.html" title="Workload interface to enqueue a layer computation. " alt="IWorkload" shape="rect" coords="0,0,260,24"/> |
| 101 | </map> |
| 102 | </div></div> |
| 103 | <table class="memberdecls"> |
| 104 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| 105 | Public Member Functions</h2></td></tr> |
| 106 | <tr class="memitem:a4765d41c36bfd3a5be35f62b2fbe8d0a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_cl_permute_workload.html#a4765d41c36bfd3a5be35f62b2fbe8d0a">ClPermuteWorkload</a> (const <a class="el" href="structarmnn_1_1_permute_queue_descriptor.html">PermuteQueueDescriptor</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> |
| 107 | <tr class="separator:a4765d41c36bfd3a5be35f62b2fbe8d0a"><td class="memSeparator" colspan="2"> </td></tr> |
| 108 | <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_permute_workload.html#ae071e8822437c78baea75c3aef3a263a">Execute</a> () const override</td></tr> |
| 109 | <tr class="separator:ae071e8822437c78baea75c3aef3a263a"><td class="memSeparator" colspan="2"> </td></tr> |
| 110 | <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< PermuteQueueDescriptor ></a></td></tr> |
| 111 | <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_permute_queue_descriptor.html">PermuteQueueDescriptor</a> &descriptor, const <a class="el" href="structarmnn_1_1_workload_info.html">WorkloadInfo</a> &info)</td></tr> |
| 112 | <tr class="separator:af2ef420610280dc5a661cd3d4836d5a2 inherit pub_methods_classarmnn_1_1_base_workload"><td class="memSeparator" colspan="2"> </td></tr> |
| 113 | <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> |
| 114 | <tr class="separator:a81627f96ba06d76e147f7d392a8117ed inherit pub_methods_classarmnn_1_1_base_workload"><td class="memSeparator" colspan="2"> </td></tr> |
| 115 | <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_permute_queue_descriptor.html">PermuteQueueDescriptor</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_base_workload.html#a965cf380c7adf547d0f14b3f6d1da249">GetData</a> () const</td></tr> |
| 116 | <tr class="separator:a965cf380c7adf547d0f14b3f6d1da249 inherit pub_methods_classarmnn_1_1_base_workload"><td class="memSeparator" colspan="2"> </td></tr> |
| 117 | <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> |
| 118 | <tr class="separator:a29c2c6dd77c6fe10674fc6876751cbce inherit pub_methods_classarmnn_1_1_base_workload"><td class="memSeparator" colspan="2"> </td></tr> |
| 119 | <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> |
| 120 | <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> |
| 121 | <tr class="separator:a69c83c02ae8de866bc7a46c49e69c1ba inherit pub_methods_classarmnn_1_1_i_workload"><td class="memSeparator" colspan="2"> </td></tr> |
| 122 | <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> |
| 123 | <tr class="separator:ab81312bd5e64cbae2803de9f243bdb32 inherit pub_methods_classarmnn_1_1_i_workload"><td class="memSeparator" colspan="2"> </td></tr> |
| 124 | </table><table class="memberdecls"> |
| 125 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> |
| 126 | Static Public Member Functions</h2></td></tr> |
| 127 | <tr class="memitem:aba53afc20ccec8d0bfe48da712f050cd"><td class="memItemLeft" align="right" valign="top">static const std::string & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_cl_permute_workload.html#aba53afc20ccec8d0bfe48da712f050cd">GetName</a> ()</td></tr> |
| 128 | <tr class="separator:aba53afc20ccec8d0bfe48da712f050cd"><td class="memSeparator" colspan="2"> </td></tr> |
| 129 | </table><table class="memberdecls"> |
| 130 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> |
| 131 | Additional Inherited Members</h2></td></tr> |
| 132 | <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< PermuteQueueDescriptor ></a></td></tr> |
| 133 | <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_permute_queue_descriptor.html">PermuteQueueDescriptor</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarmnn_1_1_base_workload.html#a0a487c549c63319505095b855ea3c195">m_Data</a></td></tr> |
| 134 | <tr class="separator:a0a487c549c63319505095b855ea3c195 inherit pro_attribs_classarmnn_1_1_base_workload"><td class="memSeparator" colspan="2"> </td></tr> |
| 135 | <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> |
| 136 | <tr class="separator:a902044db290170b8467ed4697b7fed24 inherit pro_attribs_classarmnn_1_1_base_workload"><td class="memSeparator" colspan="2"> </td></tr> |
| 137 | </table> |
| 138 | <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| 139 | <div class="textblock"> |
| 140 | <p class="definition">Definition at line <a class="el" href="_cl_permute_workload_8hpp_source.html#l00023">23</a> of file <a class="el" href="_cl_permute_workload_8hpp_source.html">ClPermuteWorkload.hpp</a>.</p> |
| 141 | </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| 142 | <a id="a4765d41c36bfd3a5be35f62b2fbe8d0a"></a> |
| 143 | <h2 class="memtitle"><span class="permalink"><a href="#a4765d41c36bfd3a5be35f62b2fbe8d0a">◆ </a></span>ClPermuteWorkload()</h2> |
| 144 | |
| 145 | <div class="memitem"> |
| 146 | <div class="memproto"> |
| 147 | <table class="memname"> |
| 148 | <tr> |
| 149 | <td class="memname"><a class="el" href="classarmnn_1_1_cl_permute_workload.html">ClPermuteWorkload</a> </td> |
| 150 | <td>(</td> |
| 151 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_permute_queue_descriptor.html">PermuteQueueDescriptor</a> & </td> |
| 152 | <td class="paramname"><em>descriptor</em>, </td> |
| 153 | </tr> |
| 154 | <tr> |
| 155 | <td class="paramkey"></td> |
| 156 | <td></td> |
| 157 | <td class="paramtype">const <a class="el" href="structarmnn_1_1_workload_info.html">WorkloadInfo</a> & </td> |
| 158 | <td class="paramname"><em>info</em> </td> |
| 159 | </tr> |
| 160 | <tr> |
| 161 | <td></td> |
| 162 | <td>)</td> |
| 163 | <td></td><td></td> |
| 164 | </tr> |
| 165 | </table> |
| 166 | </div><div class="memdoc"> |
| 167 | |
| 168 | <p class="definition">Definition at line <a class="el" href="_cl_permute_workload_8cpp_source.html#l00029">29</a> of file <a class="el" href="_cl_permute_workload_8cpp_source.html">ClPermuteWorkload.cpp</a>.</p> |
| 169 | |
| 170 | <p class="reference">Referenced by <a class="el" href="_cl_permute_workload_8hpp_source.html#l00026">ClPermuteWorkload::GetName()</a>.</p> |
| 171 | <div class="fragment"><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  : BaseWorkload<PermuteQueueDescriptor>(descriptor, <a class="code" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">info</a>)</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> {</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="keyword">using</span> armcomputetensorutils::BuildArmComputePermutationVector;</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <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>(<a class="code" href="classarmnn_1_1_cl_permute_workload.html#aba53afc20ccec8d0bfe48da712f050cd">GetName</a>(), 1, 1);</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keyword">const</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="l00038"></a><span class="lineno"> 38</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="l00039"></a><span class="lineno"> 39</span>  <span class="keyword">const</span> <a class="code" href="classarmnn_1_1_permutation_vector.html">armnn::PermutationVector</a>& mappings = <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_permute_descriptor.html#a14433af2b223695b40d8c8f8ba2ebb8f">m_DimMappings</a>;</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="comment">// Run the layer.</span></div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  m_PermuteFunction.configure(&input, &output, BuildArmComputePermutationVector(mappings));</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> }</div><div class="ttc" id="classarmnn_1_1_permutation_vector_html"><div class="ttname"><a href="classarmnn_1_1_permutation_vector.html">armnn::PermutationVector</a></div><div class="ttdef"><b>Definition:</b> <a href="_types_8hpp_source.html#l00170">Types.hpp:170</a></div></div> |
| 172 | <div class="ttc" id="namespacearmnn_html_a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c"><div class="ttname"><a href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">armnn::BoostLogSeverityMapping::info</a></div></div> |
| 173 | <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> |
| 174 | <div class="ttc" id="classarmnn_1_1_cl_permute_workload_html_aba53afc20ccec8d0bfe48da712f050cd"><div class="ttname"><a href="classarmnn_1_1_cl_permute_workload.html#aba53afc20ccec8d0bfe48da712f050cd">armnn::ClPermuteWorkload::GetName</a></div><div class="ttdeci">static const std::string & GetName()</div><div class="ttdef"><b>Definition:</b> <a href="_cl_permute_workload_8hpp_source.html#l00026">ClPermuteWorkload.hpp:26</a></div></div> |
| 175 | <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< PermuteQueueDescriptor >::m_Data</a></div><div class="ttdeci">const PermuteQueueDescriptor m_Data</div><div class="ttdef"><b>Definition:</b> <a href="_workload_8hpp_source.html#l00046">Workload.hpp:46</a></div></div> |
| 176 | <div class="ttc" id="structarmnn_1_1_permute_descriptor_html_a14433af2b223695b40d8c8f8ba2ebb8f"><div class="ttname"><a href="structarmnn_1_1_permute_descriptor.html#a14433af2b223695b40d8c8f8ba2ebb8f">armnn::PermuteDescriptor::m_DimMappings</a></div><div class="ttdeci">PermutationVector m_DimMappings</div><div class="ttdoc">Indicates how to translate tensor elements from a given source into the target destination, when source and target potentially have different memory layouts e.g. {0U, 3U, 1U, 2U}. </div><div class="ttdef"><b>Definition:</b> <a href="_descriptors_8hpp_source.html#l00119">Descriptors.hpp:119</a></div></div> |
| 177 | <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> |
| 178 | <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> |
| 179 | <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> |
| 180 | </div><!-- fragment --> |
| 181 | </div> |
| 182 | </div> |
| 183 | <h2 class="groupheader">Member Function Documentation</h2> |
| 184 | <a id="ae071e8822437c78baea75c3aef3a263a"></a> |
| 185 | <h2 class="memtitle"><span class="permalink"><a href="#ae071e8822437c78baea75c3aef3a263a">◆ </a></span>Execute()</h2> |
| 186 | |
| 187 | <div class="memitem"> |
| 188 | <div class="memproto"> |
| 189 | <table class="mlabels"> |
| 190 | <tr> |
| 191 | <td class="mlabels-left"> |
| 192 | <table class="memname"> |
| 193 | <tr> |
| 194 | <td class="memname">void Execute </td> |
| 195 | <td>(</td> |
| 196 | <td class="paramname"></td><td>)</td> |
| 197 | <td> const</td> |
| 198 | </tr> |
| 199 | </table> |
| 200 | </td> |
| 201 | <td class="mlabels-right"> |
| 202 | <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td> |
| 203 | </tr> |
| 204 | </table> |
| 205 | </div><div class="memdoc"> |
| 206 | |
| 207 | <p>Implements <a class="el" href="classarmnn_1_1_i_workload.html#a72ae00e6604850c8798c5e0d825ee7e4">IWorkload</a>.</p> |
| 208 | |
| 209 | <p class="definition">Definition at line <a class="el" href="_cl_permute_workload_8cpp_source.html#l00045">45</a> of file <a class="el" href="_cl_permute_workload_8cpp_source.html">ClPermuteWorkload.cpp</a>.</p> |
| 210 | |
| 211 | <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_permute_workload_8hpp_source.html#l00026">ClPermuteWorkload::GetName()</a>, and <a class="el" href="_cl_workload_utils_8hpp_source.html#l00131">armnn::RunClFunction()</a>.</p> |
| 212 | |
| 213 | <p class="reference">Referenced by <a class="el" href="_cl_permute_workload_8hpp_source.html#l00026">ClPermuteWorkload::GetName()</a>.</p> |
| 214 | <div class="fragment"><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> {</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <a class="code" href="_cl_workload_utils_8hpp.html#a9166fc90a3ea47a2c9499a810b204daf">ARMNN_SCOPED_PROFILING_EVENT_CL</a>( <a class="code" href="classarmnn_1_1_cl_permute_workload.html#aba53afc20ccec8d0bfe48da712f050cd">GetName</a>() + <span class="stringliteral">"_Execute"</span>);</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <a class="code" href="namespacearmnn.html#aff5bee79757341daf750c7dd7c123a15">RunClFunction</a>(m_PermuteFunction, <a class="code" href="_exceptions_8hpp.html#aa3be76aec4ce713822a5ea1ecbb7bc61">CHECK_LOCATION</a>());</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</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> |
| 215 | <div class="ttc" id="classarmnn_1_1_cl_permute_workload_html_aba53afc20ccec8d0bfe48da712f050cd"><div class="ttname"><a href="classarmnn_1_1_cl_permute_workload.html#aba53afc20ccec8d0bfe48da712f050cd">armnn::ClPermuteWorkload::GetName</a></div><div class="ttdeci">static const std::string & GetName()</div><div class="ttdef"><b>Definition:</b> <a href="_cl_permute_workload_8hpp_source.html#l00026">ClPermuteWorkload.hpp:26</a></div></div> |
| 216 | <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> |
| 217 | <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> |
| 218 | </div><!-- fragment --> |
| 219 | </div> |
| 220 | </div> |
| 221 | <a id="aba53afc20ccec8d0bfe48da712f050cd"></a> |
| 222 | <h2 class="memtitle"><span class="permalink"><a href="#aba53afc20ccec8d0bfe48da712f050cd">◆ </a></span>GetName()</h2> |
| 223 | |
| 224 | <div class="memitem"> |
| 225 | <div class="memproto"> |
| 226 | <table class="mlabels"> |
| 227 | <tr> |
| 228 | <td class="mlabels-left"> |
| 229 | <table class="memname"> |
| 230 | <tr> |
| 231 | <td class="memname">static const std::string& GetName </td> |
| 232 | <td>(</td> |
| 233 | <td class="paramname"></td><td>)</td> |
| 234 | <td></td> |
| 235 | </tr> |
| 236 | </table> |
| 237 | </td> |
| 238 | <td class="mlabels-right"> |
| 239 | <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td> |
| 240 | </tr> |
| 241 | </table> |
| 242 | </div><div class="memdoc"> |
| 243 | |
| 244 | <p class="definition">Definition at line <a class="el" href="_cl_permute_workload_8hpp_source.html#l00026">26</a> of file <a class="el" href="_cl_permute_workload_8hpp_source.html">ClPermuteWorkload.hpp</a>.</p> |
| 245 | |
| 246 | <p class="reference">References <a class="el" href="_cl_permute_workload_8cpp_source.html#l00029">ClPermuteWorkload::ClPermuteWorkload()</a>, <a class="el" href="_cl_permute_workload_8cpp_source.html#l00045">ClPermuteWorkload::Execute()</a>, and <a class="el" href="namespacearmnn.html#a4dc0adc6737b5944e7671bee71788407acaf9b6b99962bf5c2264824231d7a40c">armnn::info</a>.</p> |
| 247 | |
| 248 | <p class="reference">Referenced by <a class="el" href="_cl_permute_workload_8cpp_source.html#l00045">ClPermuteWorkload::Execute()</a>.</p> |
| 249 | <div class="fragment"><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  {</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="keyword">static</span> <span class="keyword">const</span> std::string name = std::string(<span class="stringliteral">"ClPermuteWorkload"</span>);</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keywordflow">return</span> name;</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  }</div></div><!-- fragment --> |
| 250 | </div> |
| 251 | </div> |
| 252 | <hr/>The documentation for this class was generated from the following files:<ul> |
| 253 | <li>src/backends/cl/workloads/<a class="el" href="_cl_permute_workload_8hpp_source.html">ClPermuteWorkload.hpp</a></li> |
| 254 | <li>src/backends/cl/workloads/<a class="el" href="_cl_permute_workload_8cpp_source.html">ClPermuteWorkload.cpp</a></li> |
| 255 | </ul> |
| 256 | </div><!-- contents --> |
| 257 | </div><!-- doc-content --> |
| 258 | <!-- start footer part --> |
| 259 | <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| 260 | <ul> |
| 261 | <li class="navelem"><a class="el" href="namespacearmnn.html">armnn</a></li><li class="navelem"><a class="el" href="classarmnn_1_1_cl_permute_workload.html">ClPermuteWorkload</a></li> |
| 262 | <li class="footer">Generated on Fri Mar 13 2020 16:07:02 for ArmNN by |
| 263 | <a href="http://www.doxygen.org/index.html"> |
| 264 | <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li> |
| 265 | </ul> |
| 266 | </div> |
| 267 | </body> |
| 268 | </html> |