arm_compute v18.05
[platform/upstream/armcl.git] / documentation / classarm__compute_1_1_g_c_convolution_layer.xhtml
1 <!-- HTML header for doxygen 1.8.9.1-->
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
6 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
7 <meta name="generator" content="Doxygen 1.8.11"/>
8 <meta name="robots" content="NOINDEX, NOFOLLOW" /> <!-- Prevent indexing by search engines -->
9 <title>Compute Library: GCConvolutionLayer Class Reference</title>
10 <link href="tabs.css" rel="stylesheet" type="text/css"/>
11 <script type="text/javascript" src="jquery.js"></script>
12 <script type="text/javascript" src="dynsections.js"></script>
13 <link href="navtree.css" rel="stylesheet" type="text/css"/>
14 <script type="text/javascript" src="resize.js"></script>
15 <script type="text/javascript" src="navtreedata.js"></script>
16 <script type="text/javascript" src="navtree.js"></script>
17 <script type="text/javascript">
18   $(document).ready(initResizable);
19   $(window).load(resizeHeight);
20 </script>
21 <link href="search/search.css" rel="stylesheet" type="text/css"/>
22 <script type="text/javascript" src="search/searchdata.js"></script>
23 <script type="text/javascript" src="search/search.js"></script>
24 <script type="text/javascript">
25   $(document).ready(function() { init_search(); });
26 </script>
27 <script type="text/x-mathjax-config">
28   MathJax.Hub.Config({
29     extensions: ["tex2jax.js"],
30     jax: ["input/TeX","output/HTML-CSS"],
31 });
32 </script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
33 <link href="doxygen.css" rel="stylesheet" type="text/css" />
34 </head>
35 <body>
36 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
37 <div id="titlearea">
38 <table cellspacing="0" cellpadding="0">
39  <tbody>
40  <tr style="height: 56px;">
41   <td style="padding-left: 0.5em;">
42    <div id="projectname">Compute Library
43    &#160;<span id="projectnumber">18.05</span>
44    </div>
45   </td>
46  </tr>
47  </tbody>
48 </table>
49 </div>
50 <!-- end header part -->
51 <!-- Generated by Doxygen 1.8.11 -->
52 <script type="text/javascript">
53 var searchBox = new SearchBox("searchBox", "search",false,'Search');
54 </script>
55   <div id="navrow1" class="tabs">
56     <ul class="tablist">
57       <li><a href="index.xhtml"><span>Main&#160;Page</span></a></li>
58       <li><a href="pages.xhtml"><span>Related&#160;Pages</span></a></li>
59       <li><a href="namespaces.xhtml"><span>Namespaces</span></a></li>
60       <li class="current"><a href="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
61       <li><a href="files.xhtml"><span>Files</span></a></li>
62       <li>
63         <div id="MSearchBox" class="MSearchBoxInactive">
64         <span class="left">
65           <img id="MSearchSelect" src="search/mag_sel.png"
66                onmouseover="return searchBox.OnSearchSelectShow()"
67                onmouseout="return searchBox.OnSearchSelectHide()"
68                alt=""/>
69           <input type="text" id="MSearchField" value="Search" accesskey="S"
70                onfocus="searchBox.OnSearchFieldFocus(true)" 
71                onblur="searchBox.OnSearchFieldFocus(false)" 
72                onkeyup="searchBox.OnSearchFieldChange(event)"/>
73           </span><span class="right">
74             <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
75           </span>
76         </div>
77       </li>
78     </ul>
79   </div>
80   <div id="navrow2" class="tabs2">
81     <ul class="tablist">
82       <li><a href="annotated.xhtml"><span>Data&#160;Structures</span></a></li>
83       <li><a href="classes.xhtml"><span>Data&#160;Structure&#160;Index</span></a></li>
84       <li><a href="inherits.xhtml"><span>Class&#160;Hierarchy</span></a></li>
85       <li><a href="functions.xhtml"><span>Data&#160;Fields</span></a></li>
86     </ul>
87   </div>
88 </div><!-- top -->
89 <div id="side-nav" class="ui-resizable side-nav-resizable">
90   <div id="nav-tree">
91     <div id="nav-tree-contents">
92       <div id="nav-sync" class="sync"></div>
93     </div>
94   </div>
95   <div id="splitbar" style="-moz-user-select:none;" 
96        class="ui-resizable-handle">
97   </div>
98 </div>
99 <script type="text/javascript">
100 $(document).ready(function(){initNavTree('classarm__compute_1_1_g_c_convolution_layer.xhtml','');});
101 </script>
102 <div id="doc-content">
103 <!-- window showing the filter options -->
104 <div id="MSearchSelectWindow"
105      onmouseover="return searchBox.OnSearchSelectShow()"
106      onmouseout="return searchBox.OnSearchSelectHide()"
107      onkeydown="return searchBox.OnSearchSelectKey(event)">
108 </div>
109
110 <!-- iframe showing the search results (closed by default) -->
111 <div id="MSearchResultsWindow">
112 <iframe src="javascript:void(0)" frameborder="0" 
113         name="MSearchResults" id="MSearchResults">
114 </iframe>
115 </div>
116
117 <div class="header">
118   <div class="summary">
119 <a href="#pub-methods">Public Member Functions</a> &#124;
120 <a href="#pub-static-methods">Static Public Member Functions</a>  </div>
121   <div class="headertitle">
122 <div class="title">GCConvolutionLayer Class Reference</div>  </div>
123 </div><!--header-->
124 <div class="contents">
125
126 <p>Basic function to compute the convolution layer.  
127  <a href="classarm__compute_1_1_g_c_convolution_layer.xhtml#details">More...</a></p>
128
129 <p><code>#include &lt;<a class="el" href="_g_c_convolution_layer_8h_source.xhtml">GCConvolutionLayer.h</a>&gt;</code></p>
130 <div class="dynheader">
131 Collaboration diagram for GCConvolutionLayer:</div>
132 <div class="dyncontent">
133 <div class="center"><iframe scrolling="no" frameborder="0" src="classarm__compute_1_1_g_c_convolution_layer__coll__graph.svg" width="162" height="112"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
134 </div>
135 <center><span class="legend">[<a target="top" href="graph_legend.xhtml">legend</a>]</span></center></div>
136 <table class="memberdecls">
137 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
138 Public Member Functions</h2></td></tr>
139 <tr class="memitem:a3f5eb5b7c01f8912b75ed6703327546d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_convolution_layer.xhtml#a3f5eb5b7c01f8912b75ed6703327546d">GCConvolutionLayer</a> (std::shared_ptr&lt; <a class="el" href="classarm__compute_1_1_i_memory_manager.xhtml">IMemoryManager</a> &gt; memory_manager=nullptr)</td></tr>
140 <tr class="memdesc:a3f5eb5b7c01f8912b75ed6703327546d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor.  <a href="#a3f5eb5b7c01f8912b75ed6703327546d">More...</a><br /></td></tr>
141 <tr class="separator:a3f5eb5b7c01f8912b75ed6703327546d"><td class="memSeparator" colspan="2">&#160;</td></tr>
142 <tr class="memitem:a3509ee3d42daede26e171278011a99bd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_convolution_layer.xhtml#a3509ee3d42daede26e171278011a99bd">GCConvolutionLayer</a> (const <a class="el" href="classarm__compute_1_1_g_c_convolution_layer.xhtml">GCConvolutionLayer</a> &amp;)=delete</td></tr>
143 <tr class="memdesc:a3509ee3d42daede26e171278011a99bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prevent instances of this class from being copied (As this class contains pointers)  <a href="#a3509ee3d42daede26e171278011a99bd">More...</a><br /></td></tr>
144 <tr class="separator:a3509ee3d42daede26e171278011a99bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
145 <tr class="memitem:a794be2d2a448608aa574d113ea38d5c1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_convolution_layer.xhtml#a794be2d2a448608aa574d113ea38d5c1">GCConvolutionLayer</a> (<a class="el" href="classarm__compute_1_1_g_c_convolution_layer.xhtml">GCConvolutionLayer</a> &amp;&amp;)=default</td></tr>
146 <tr class="memdesc:a794be2d2a448608aa574d113ea38d5c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default move constructor.  <a href="#a794be2d2a448608aa574d113ea38d5c1">More...</a><br /></td></tr>
147 <tr class="separator:a794be2d2a448608aa574d113ea38d5c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
148 <tr class="memitem:a87ed9138ded739663871c103fc77b36a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1_g_c_convolution_layer.xhtml">GCConvolutionLayer</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_convolution_layer.xhtml#a87ed9138ded739663871c103fc77b36a">operator=</a> (const <a class="el" href="classarm__compute_1_1_g_c_convolution_layer.xhtml">GCConvolutionLayer</a> &amp;)=delete</td></tr>
149 <tr class="memdesc:a87ed9138ded739663871c103fc77b36a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prevent instances of this class from being copied (As this class contains pointers)  <a href="#a87ed9138ded739663871c103fc77b36a">More...</a><br /></td></tr>
150 <tr class="separator:a87ed9138ded739663871c103fc77b36a"><td class="memSeparator" colspan="2">&#160;</td></tr>
151 <tr class="memitem:a0a2e80b84845bf2538dd5770089913b7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1_g_c_convolution_layer.xhtml">GCConvolutionLayer</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_convolution_layer.xhtml#a0a2e80b84845bf2538dd5770089913b7">operator=</a> (<a class="el" href="classarm__compute_1_1_g_c_convolution_layer.xhtml">GCConvolutionLayer</a> &amp;&amp;)=default</td></tr>
152 <tr class="memdesc:a0a2e80b84845bf2538dd5770089913b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default move assignment operator.  <a href="#a0a2e80b84845bf2538dd5770089913b7">More...</a><br /></td></tr>
153 <tr class="separator:a0a2e80b84845bf2538dd5770089913b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
154 <tr class="memitem:aaa2276aa1f055e47229f9e35d4e84641"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_convolution_layer.xhtml#aaa2276aa1f055e47229f9e35d4e84641">configure</a> (const <a class="el" href="classarm__compute_1_1_i_g_c_tensor.xhtml">IGCTensor</a> *input, const <a class="el" href="classarm__compute_1_1_i_g_c_tensor.xhtml">IGCTensor</a> *weights, const <a class="el" href="classarm__compute_1_1_i_g_c_tensor.xhtml">IGCTensor</a> *biases, <a class="el" href="classarm__compute_1_1_i_g_c_tensor.xhtml">IGCTensor</a> *output, const <a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a> &amp;conv_info, const <a class="el" href="classarm__compute_1_1_weights_info.xhtml">WeightsInfo</a> &amp;weights_info=<a class="el" href="classarm__compute_1_1_weights_info.xhtml">WeightsInfo</a>(), const <a class="el" href="classarm__compute_1_1_size2_d.xhtml">Size2D</a> &amp;dilation=<a class="el" href="classarm__compute_1_1_size2_d.xhtml">Size2D</a>(1U, 1U), const ActivationLayerInfo &amp;act_info=ActivationLayerInfo())</td></tr>
155 <tr class="memdesc:aaa2276aa1f055e47229f9e35d4e84641"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the input and output tensors.  <a href="#aaa2276aa1f055e47229f9e35d4e84641">More...</a><br /></td></tr>
156 <tr class="separator:aaa2276aa1f055e47229f9e35d4e84641"><td class="memSeparator" colspan="2">&#160;</td></tr>
157 <tr class="memitem:ad1717410afd0be936c6213a63c8005fb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_convolution_layer.xhtml#ad1717410afd0be936c6213a63c8005fb">run</a> () override</td></tr>
158 <tr class="memdesc:ad1717410afd0be936c6213a63c8005fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run the kernels contained in the function.  <a href="#ad1717410afd0be936c6213a63c8005fb">More...</a><br /></td></tr>
159 <tr class="separator:ad1717410afd0be936c6213a63c8005fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
160 <tr class="inherit_header pub_methods_classarm__compute_1_1_i_function"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarm__compute_1_1_i_function')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classarm__compute_1_1_i_function.xhtml">IFunction</a></td></tr>
161 <tr class="memitem:ab921ecc3f3f6ae2b4bd61f3e1998d8c4 inherit pub_methods_classarm__compute_1_1_i_function"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_function.xhtml#ab921ecc3f3f6ae2b4bd61f3e1998d8c4">~IFunction</a> ()=default</td></tr>
162 <tr class="memdesc:ab921ecc3f3f6ae2b4bd61f3e1998d8c4 inherit pub_methods_classarm__compute_1_1_i_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#ab921ecc3f3f6ae2b4bd61f3e1998d8c4">More...</a><br /></td></tr>
163 <tr class="separator:ab921ecc3f3f6ae2b4bd61f3e1998d8c4 inherit pub_methods_classarm__compute_1_1_i_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
164 <tr class="memitem:a820f7291c24155a2980512fae45aac26 inherit pub_methods_classarm__compute_1_1_i_function"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_function.xhtml#a820f7291c24155a2980512fae45aac26">prepare</a> ()</td></tr>
165 <tr class="memdesc:a820f7291c24155a2980512fae45aac26 inherit pub_methods_classarm__compute_1_1_i_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prepare the function for executing.  <a href="#a820f7291c24155a2980512fae45aac26">More...</a><br /></td></tr>
166 <tr class="separator:a820f7291c24155a2980512fae45aac26 inherit pub_methods_classarm__compute_1_1_i_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
167 </table><table class="memberdecls">
168 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
169 Static Public Member Functions</h2></td></tr>
170 <tr class="memitem:a1b7c323a478af89bec44d724a3cce2d9"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classarm__compute_1_1_status.xhtml">Status</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_g_c_convolution_layer.xhtml#a1b7c323a478af89bec44d724a3cce2d9">validate</a> (const <a class="el" href="classarm__compute_1_1_i_tensor_info.xhtml">ITensorInfo</a> *input, const <a class="el" href="classarm__compute_1_1_i_tensor_info.xhtml">ITensorInfo</a> *weights, const <a class="el" href="classarm__compute_1_1_i_tensor_info.xhtml">ITensorInfo</a> *biases, const <a class="el" href="classarm__compute_1_1_i_tensor_info.xhtml">ITensorInfo</a> *output, const <a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a> &amp;conv_info, const <a class="el" href="classarm__compute_1_1_weights_info.xhtml">WeightsInfo</a> &amp;weights_info=<a class="el" href="classarm__compute_1_1_weights_info.xhtml">WeightsInfo</a>(), const <a class="el" href="classarm__compute_1_1_size2_d.xhtml">Size2D</a> &amp;dilation=<a class="el" href="classarm__compute_1_1_size2_d.xhtml">Size2D</a>(1U, 1U), const ActivationLayerInfo &amp;act_info=ActivationLayerInfo())</td></tr>
171 <tr class="memdesc:a1b7c323a478af89bec44d724a3cce2d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Static function to check if given info will lead to a valid configuration of <a class="el" href="classarm__compute_1_1_g_c_convolution_layer.xhtml">GCConvolutionLayer</a>.  <a href="#a1b7c323a478af89bec44d724a3cce2d9">More...</a><br /></td></tr>
172 <tr class="separator:a1b7c323a478af89bec44d724a3cce2d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
173 </table>
174 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
175 <div class="textblock"><p>Basic function to compute the convolution layer. </p>
176 <p>This function calls the following GLES kernels:</p>
177 <ol type="1">
178 <li><a class="el" href="classarm__compute_1_1_g_c_weights_reshape_kernel.xhtml">GCWeightsReshapeKernel</a> (executed only once for each configuration)</li>
179 <li><a class="el" href="classarm__compute_1_1_g_c_g_e_m_m_transpose1x_w_kernel.xhtml">GCGEMMTranspose1xWKernel</a> (executed only once for each configuration)</li>
180 <li><a class="el" href="classarm__compute_1_1_g_c_im2_col_kernel.xhtml">GCIm2ColKernel</a></li>
181 <li><a class="el" href="classarm__compute_1_1_g_c_g_e_m_m_interleave4x4_kernel.xhtml">GCGEMMInterleave4x4Kernel</a></li>
182 <li><a class="el" href="classarm__compute_1_1_g_c_col2_im_kernel.xhtml">GCCol2ImKernel</a> </li>
183 </ol>
184
185 <p>Definition at line <a class="el" href="_g_c_convolution_layer_8h_source.xhtml#l00077">77</a> of file <a class="el" href="_g_c_convolution_layer_8h_source.xhtml">GCConvolutionLayer.h</a>.</p>
186 </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
187 <a class="anchor" id="a3f5eb5b7c01f8912b75ed6703327546d"></a>
188 <div class="memitem">
189 <div class="memproto">
190       <table class="memname">
191         <tr>
192           <td class="memname"><a class="el" href="classarm__compute_1_1_g_c_convolution_layer.xhtml">GCConvolutionLayer</a> </td>
193           <td>(</td>
194           <td class="paramtype">std::shared_ptr&lt; <a class="el" href="classarm__compute_1_1_i_memory_manager.xhtml">IMemoryManager</a> &gt;&#160;</td>
195           <td class="paramname"><em>memory_manager</em> = <code>nullptr</code></td><td>)</td>
196           <td></td>
197         </tr>
198       </table>
199 </div><div class="memdoc">
200
201 <p>Default constructor. </p>
202
203 </div>
204 </div>
205 <a class="anchor" id="a3509ee3d42daede26e171278011a99bd"></a>
206 <div class="memitem">
207 <div class="memproto">
208 <table class="mlabels">
209   <tr>
210   <td class="mlabels-left">
211       <table class="memname">
212         <tr>
213           <td class="memname"><a class="el" href="classarm__compute_1_1_g_c_convolution_layer.xhtml">GCConvolutionLayer</a> </td>
214           <td>(</td>
215           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_g_c_convolution_layer.xhtml">GCConvolutionLayer</a> &amp;&#160;</td>
216           <td class="paramname"></td><td>)</td>
217           <td></td>
218         </tr>
219       </table>
220   </td>
221   <td class="mlabels-right">
222 <span class="mlabels"><span class="mlabel">delete</span></span>  </td>
223   </tr>
224 </table>
225 </div><div class="memdoc">
226
227 <p>Prevent instances of this class from being copied (As this class contains pointers) </p>
228
229 </div>
230 </div>
231 <a class="anchor" id="a794be2d2a448608aa574d113ea38d5c1"></a>
232 <div class="memitem">
233 <div class="memproto">
234 <table class="mlabels">
235   <tr>
236   <td class="mlabels-left">
237       <table class="memname">
238         <tr>
239           <td class="memname"><a class="el" href="classarm__compute_1_1_g_c_convolution_layer.xhtml">GCConvolutionLayer</a> </td>
240           <td>(</td>
241           <td class="paramtype"><a class="el" href="classarm__compute_1_1_g_c_convolution_layer.xhtml">GCConvolutionLayer</a> &amp;&amp;&#160;</td>
242           <td class="paramname"></td><td>)</td>
243           <td></td>
244         </tr>
245       </table>
246   </td>
247   <td class="mlabels-right">
248 <span class="mlabels"><span class="mlabel">default</span></span>  </td>
249   </tr>
250 </table>
251 </div><div class="memdoc">
252
253 <p>Default move constructor. </p>
254
255 </div>
256 </div>
257 <h2 class="groupheader">Member Function Documentation</h2>
258 <a class="anchor" id="aaa2276aa1f055e47229f9e35d4e84641"></a>
259 <div class="memitem">
260 <div class="memproto">
261       <table class="memname">
262         <tr>
263           <td class="memname">void configure </td>
264           <td>(</td>
265           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_g_c_tensor.xhtml">IGCTensor</a> *&#160;</td>
266           <td class="paramname"><em>input</em>, </td>
267         </tr>
268         <tr>
269           <td class="paramkey"></td>
270           <td></td>
271           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_g_c_tensor.xhtml">IGCTensor</a> *&#160;</td>
272           <td class="paramname"><em>weights</em>, </td>
273         </tr>
274         <tr>
275           <td class="paramkey"></td>
276           <td></td>
277           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_g_c_tensor.xhtml">IGCTensor</a> *&#160;</td>
278           <td class="paramname"><em>biases</em>, </td>
279         </tr>
280         <tr>
281           <td class="paramkey"></td>
282           <td></td>
283           <td class="paramtype"><a class="el" href="classarm__compute_1_1_i_g_c_tensor.xhtml">IGCTensor</a> *&#160;</td>
284           <td class="paramname"><em>output</em>, </td>
285         </tr>
286         <tr>
287           <td class="paramkey"></td>
288           <td></td>
289           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a> &amp;&#160;</td>
290           <td class="paramname"><em>conv_info</em>, </td>
291         </tr>
292         <tr>
293           <td class="paramkey"></td>
294           <td></td>
295           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_weights_info.xhtml">WeightsInfo</a> &amp;&#160;</td>
296           <td class="paramname"><em>weights_info</em> = <code><a class="el" href="classarm__compute_1_1_weights_info.xhtml">WeightsInfo</a>()</code>, </td>
297         </tr>
298         <tr>
299           <td class="paramkey"></td>
300           <td></td>
301           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_size2_d.xhtml">Size2D</a> &amp;&#160;</td>
302           <td class="paramname"><em>dilation</em> = <code><a class="el" href="classarm__compute_1_1_size2_d.xhtml">Size2D</a>(1U,&#160;1U)</code>, </td>
303         </tr>
304         <tr>
305           <td class="paramkey"></td>
306           <td></td>
307           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_activation_layer_info.xhtml">ActivationLayerInfo</a> &amp;&#160;</td>
308           <td class="paramname"><em>act_info</em> = <code><a class="el" href="classarm__compute_1_1_activation_layer_info.xhtml">ActivationLayerInfo</a>()</code>&#160;</td>
309         </tr>
310         <tr>
311           <td></td>
312           <td>)</td>
313           <td></td><td></td>
314         </tr>
315       </table>
316 </div><div class="memdoc">
317
318 <p>Set the input and output tensors. </p>
319 <dl class="params"><dt>Parameters</dt><dd>
320   <table class="params">
321     <tr><td class="paramdir">[in]</td><td class="paramname">input</td><td>Source tensor. 3 lower dimensions represent a single input [width, height, IFM], while every optional dimension from 4 and above represent a batch of inputs. Data types supported: F16/F32. </td></tr>
322     <tr><td class="paramdir">[in]</td><td class="paramname">weights</td><td>Weights tensor. Weights are 4D tensor with dimensions [kernel_x, kernel_y, IFM, OFM]. Data type supported: Same as <code>input</code>. </td></tr>
323     <tr><td class="paramdir">[in]</td><td class="paramname">biases</td><td>Biases tensor. Shared biases supported. Biases are 1D tensor with dimensions [OFM]. Data type supported: Should match <code>input</code> data type, except for input of QASYMM8 type where biases should be of S32 type. </td></tr>
324     <tr><td class="paramdir">[out]</td><td class="paramname">output</td><td>Destination tensor. 3 lower dimensions represent a single output [width, height, OFM], while the rest represent batch of outputs. Data types supported: Same as <code>input</code>. </td></tr>
325     <tr><td class="paramdir">[in]</td><td class="paramname">conv_info</td><td>Contains padding and stride information described in <a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a>. </td></tr>
326     <tr><td class="paramdir">[in]</td><td class="paramname">weights_info</td><td>Specifies if the weights tensor has been reshaped with <a class="el" href="classarm__compute_1_1_g_c_weights_reshape_kernel.xhtml" title="GLES Compute kernel to perform reshaping on the weights used by convolution and locally connected lay...">GCWeightsReshapeKernel</a>. If this is not part of the fully connected layer the weights tensor has also been transposed with <a class="el" href="classarm__compute_1_1_g_c_g_e_m_m_transpose1x_w_kernel.xhtml" title="OpenGLES kernel which transposes the elements of a matrix in chunks of 1xW, where W is equal to (16 /...">GCGEMMTranspose1xWKernel</a>. Data type supported: Same as <code>input</code>. </td></tr>
327     <tr><td class="paramdir">[in]</td><td class="paramname">dilation</td><td>(Optional) Dilation, in elements, across x and y. Defaults to (1, 1). </td></tr>
328     <tr><td class="paramdir">[in]</td><td class="paramname">act_info</td><td>(Optional) Activation layer information in case of a fused activation. </td></tr>
329   </table>
330   </dd>
331 </dl>
332
333 </div>
334 </div>
335 <a class="anchor" id="a87ed9138ded739663871c103fc77b36a"></a>
336 <div class="memitem">
337 <div class="memproto">
338 <table class="mlabels">
339   <tr>
340   <td class="mlabels-left">
341       <table class="memname">
342         <tr>
343           <td class="memname"><a class="el" href="classarm__compute_1_1_g_c_convolution_layer.xhtml">GCConvolutionLayer</a>&amp; operator= </td>
344           <td>(</td>
345           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_g_c_convolution_layer.xhtml">GCConvolutionLayer</a> &amp;&#160;</td>
346           <td class="paramname"></td><td>)</td>
347           <td></td>
348         </tr>
349       </table>
350   </td>
351   <td class="mlabels-right">
352 <span class="mlabels"><span class="mlabel">delete</span></span>  </td>
353   </tr>
354 </table>
355 </div><div class="memdoc">
356
357 <p>Prevent instances of this class from being copied (As this class contains pointers) </p>
358
359 </div>
360 </div>
361 <a class="anchor" id="a0a2e80b84845bf2538dd5770089913b7"></a>
362 <div class="memitem">
363 <div class="memproto">
364 <table class="mlabels">
365   <tr>
366   <td class="mlabels-left">
367       <table class="memname">
368         <tr>
369           <td class="memname"><a class="el" href="classarm__compute_1_1_g_c_convolution_layer.xhtml">GCConvolutionLayer</a>&amp; operator= </td>
370           <td>(</td>
371           <td class="paramtype"><a class="el" href="classarm__compute_1_1_g_c_convolution_layer.xhtml">GCConvolutionLayer</a> &amp;&amp;&#160;</td>
372           <td class="paramname"></td><td>)</td>
373           <td></td>
374         </tr>
375       </table>
376   </td>
377   <td class="mlabels-right">
378 <span class="mlabels"><span class="mlabel">default</span></span>  </td>
379   </tr>
380 </table>
381 </div><div class="memdoc">
382
383 <p>Default move assignment operator. </p>
384
385 </div>
386 </div>
387 <a class="anchor" id="ad1717410afd0be936c6213a63c8005fb"></a>
388 <div class="memitem">
389 <div class="memproto">
390 <table class="mlabels">
391   <tr>
392   <td class="mlabels-left">
393       <table class="memname">
394         <tr>
395           <td class="memname">void run </td>
396           <td>(</td>
397           <td class="paramname"></td><td>)</td>
398           <td></td>
399         </tr>
400       </table>
401   </td>
402   <td class="mlabels-right">
403 <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
404   </tr>
405 </table>
406 </div><div class="memdoc">
407
408 <p>Run the kernels contained in the function. </p>
409 <p>For NEON kernels:</p><ul>
410 <li>Multi-threading is used for the kernels which are parallelisable.</li>
411 <li>By default std::thread::hardware_concurrency() threads are used.</li>
412 </ul>
413 <dl class="section note"><dt>Note</dt><dd><a class="el" href="classarm__compute_1_1_c_p_p_scheduler.xhtml#ae64eebaa07f4d2da6cc2ba538c3cb095">CPPScheduler::set_num_threads()</a> can be used to manually set the number of threads</dd></dl>
414 <p>For OpenCL kernels:</p><ul>
415 <li>All the kernels are enqueued on the queue associated with <a class="el" href="classarm__compute_1_1_c_l_scheduler.xhtml" title="Provides global access to a CL context and command queue. ">CLScheduler</a>.</li>
416 <li>The queue is then flushed.</li>
417 </ul>
418 <dl class="section note"><dt>Note</dt><dd>The function will not block until the kernels are executed. It is the user's responsibility to wait. </dd>
419 <dd>
420 Will call <a class="el" href="classarm__compute_1_1_i_function.xhtml#a820f7291c24155a2980512fae45aac26" title="Prepare the function for executing. ">prepare()</a> on first run if hasn't been done </dd></dl>
421
422 <p>Implements <a class="el" href="classarm__compute_1_1_i_function.xhtml#a18954417d3124a8095783ea13dc6d00b">IFunction</a>.</p>
423
424 </div>
425 </div>
426 <a class="anchor" id="a1b7c323a478af89bec44d724a3cce2d9"></a>
427 <div class="memitem">
428 <div class="memproto">
429 <table class="mlabels">
430   <tr>
431   <td class="mlabels-left">
432       <table class="memname">
433         <tr>
434           <td class="memname">static <a class="el" href="classarm__compute_1_1_status.xhtml">Status</a> validate </td>
435           <td>(</td>
436           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_tensor_info.xhtml">ITensorInfo</a> *&#160;</td>
437           <td class="paramname"><em>input</em>, </td>
438         </tr>
439         <tr>
440           <td class="paramkey"></td>
441           <td></td>
442           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_tensor_info.xhtml">ITensorInfo</a> *&#160;</td>
443           <td class="paramname"><em>weights</em>, </td>
444         </tr>
445         <tr>
446           <td class="paramkey"></td>
447           <td></td>
448           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_tensor_info.xhtml">ITensorInfo</a> *&#160;</td>
449           <td class="paramname"><em>biases</em>, </td>
450         </tr>
451         <tr>
452           <td class="paramkey"></td>
453           <td></td>
454           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_tensor_info.xhtml">ITensorInfo</a> *&#160;</td>
455           <td class="paramname"><em>output</em>, </td>
456         </tr>
457         <tr>
458           <td class="paramkey"></td>
459           <td></td>
460           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a> &amp;&#160;</td>
461           <td class="paramname"><em>conv_info</em>, </td>
462         </tr>
463         <tr>
464           <td class="paramkey"></td>
465           <td></td>
466           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_weights_info.xhtml">WeightsInfo</a> &amp;&#160;</td>
467           <td class="paramname"><em>weights_info</em> = <code><a class="el" href="classarm__compute_1_1_weights_info.xhtml">WeightsInfo</a>()</code>, </td>
468         </tr>
469         <tr>
470           <td class="paramkey"></td>
471           <td></td>
472           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_size2_d.xhtml">Size2D</a> &amp;&#160;</td>
473           <td class="paramname"><em>dilation</em> = <code><a class="el" href="classarm__compute_1_1_size2_d.xhtml">Size2D</a>(1U,&#160;1U)</code>, </td>
474         </tr>
475         <tr>
476           <td class="paramkey"></td>
477           <td></td>
478           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_activation_layer_info.xhtml">ActivationLayerInfo</a> &amp;&#160;</td>
479           <td class="paramname"><em>act_info</em> = <code><a class="el" href="classarm__compute_1_1_activation_layer_info.xhtml">ActivationLayerInfo</a>()</code>&#160;</td>
480         </tr>
481         <tr>
482           <td></td>
483           <td>)</td>
484           <td></td><td></td>
485         </tr>
486       </table>
487   </td>
488   <td class="mlabels-right">
489 <span class="mlabels"><span class="mlabel">static</span></span>  </td>
490   </tr>
491 </table>
492 </div><div class="memdoc">
493
494 <p>Static function to check if given info will lead to a valid configuration of <a class="el" href="classarm__compute_1_1_g_c_convolution_layer.xhtml">GCConvolutionLayer</a>. </p>
495 <dl class="params"><dt>Parameters</dt><dd>
496   <table class="params">
497     <tr><td class="paramdir">[in]</td><td class="paramname">input</td><td>Source tensor. 3 lower dimensions represent a single input [width, height, IFM], while every optional dimension from 4 and above represent a batch of inputs. Data types supported: QS8/QASYMM8/QS16/F16/F32. </td></tr>
498     <tr><td class="paramdir">[in]</td><td class="paramname">weights</td><td>Weights tensor. Weights are 4D tensor with dimensions [kernel_x, kernel_y, IFM, OFM]. Data type supported: Same as <code>input</code>. </td></tr>
499     <tr><td class="paramdir">[in]</td><td class="paramname">biases</td><td>Biases tensor. Shared biases supported. Biases are 1D tensor with dimensions [OFM]. Data type supported: Should match <code>input</code> data type, except for input of QASYMM8 type where biases should be of S32 type. </td></tr>
500     <tr><td class="paramdir">[out]</td><td class="paramname">output</td><td>Destination tensor. 3 lower dimensions represent a single output [width, height, OFM], while the rest represent batch of outputs. Data types supported: Same as <code>input</code>. </td></tr>
501     <tr><td class="paramdir">[in]</td><td class="paramname">conv_info</td><td>Contains padding and stride information described in <a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a>. </td></tr>
502     <tr><td class="paramdir">[in]</td><td class="paramname">weights_info</td><td>Specifies if the weights tensor has been reshaped with <a class="el" href="classarm__compute_1_1_g_c_weights_reshape_kernel.xhtml" title="GLES Compute kernel to perform reshaping on the weights used by convolution and locally connected lay...">GCWeightsReshapeKernel</a>. If this is not part of the fully connected layer the weights tensor has also been transposed with <a class="el" href="classarm__compute_1_1_g_c_g_e_m_m_transpose1x_w_kernel.xhtml" title="OpenGLES kernel which transposes the elements of a matrix in chunks of 1xW, where W is equal to (16 /...">GCGEMMTranspose1xWKernel</a>. Data type supported: Same as <code>input</code>. </td></tr>
503     <tr><td class="paramdir">[in]</td><td class="paramname">dilation</td><td>(Optional) Dilation, in elements, across x and y. Defaults to (1, 1). </td></tr>
504     <tr><td class="paramdir">[in]</td><td class="paramname">act_info</td><td>(Optional) Activation layer information in case of a fused activation.</td></tr>
505   </table>
506   </dd>
507 </dl>
508 <dl class="section return"><dt>Returns</dt><dd>a status </dd></dl>
509
510 </div>
511 </div>
512 <hr/>The documentation for this class was generated from the following file:<ul>
513 <li>arm_compute/runtime/GLES_COMPUTE/functions/<a class="el" href="_g_c_convolution_layer_8h_source.xhtml">GCConvolutionLayer.h</a></li>
514 </ul>
515 </div><!-- contents -->
516 </div><!-- doc-content -->
517 <!-- start footer part -->
518 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
519   <ul>
520     <li class="navelem"><a class="el" href="namespacearm__compute.xhtml">arm_compute</a></li><li class="navelem"><a class="el" href="classarm__compute_1_1_g_c_convolution_layer.xhtml">GCConvolutionLayer</a></li>
521     <li class="footer">Generated on Wed May 23 2018 11:36:41 for Compute Library by
522     <a href="http://www.doxygen.org/index.html">
523     <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
524   </ul>
525 </div>
526 </body>
527 </html>