arm_compute v18.05
[platform/upstream/armcl.git] / documentation / classarm__compute_1_1_c_l_locally_connected_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: CLLocallyConnectedLayer 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_c_l_locally_connected_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">CLLocallyConnectedLayer Class Reference</div>  </div>
123 </div><!--header-->
124 <div class="contents">
125
126 <p>Basic function to compute the locally connected layer.  
127  <a href="classarm__compute_1_1_c_l_locally_connected_layer.xhtml#details">More...</a></p>
128
129 <p><code>#include &lt;<a class="el" href="_c_l_locally_connected_layer_8h_source.xhtml">CLLocallyConnectedLayer.h</a>&gt;</code></p>
130 <div class="dynheader">
131 Collaboration diagram for CLLocallyConnectedLayer:</div>
132 <div class="dyncontent">
133 <div class="center"><iframe scrolling="no" frameborder="0" src="classarm__compute_1_1_c_l_locally_connected_layer__coll__graph.svg" width="196" 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:a69b25e30cdc636553317bc9cf6f8315b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_c_l_locally_connected_layer.xhtml#a69b25e30cdc636553317bc9cf6f8315b">CLLocallyConnectedLayer</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:a69b25e30cdc636553317bc9cf6f8315b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor.  <a href="#a69b25e30cdc636553317bc9cf6f8315b">More...</a><br /></td></tr>
141 <tr class="separator:a69b25e30cdc636553317bc9cf6f8315b"><td class="memSeparator" colspan="2">&#160;</td></tr>
142 <tr class="memitem:acdf75e9de06bc0539193a07dd79632b3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_c_l_locally_connected_layer.xhtml#acdf75e9de06bc0539193a07dd79632b3">CLLocallyConnectedLayer</a> (const <a class="el" href="classarm__compute_1_1_c_l_locally_connected_layer.xhtml">CLLocallyConnectedLayer</a> &amp;)=delete</td></tr>
143 <tr class="memdesc:acdf75e9de06bc0539193a07dd79632b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prevent instances of this class from being copied (As this class contains pointers)  <a href="#acdf75e9de06bc0539193a07dd79632b3">More...</a><br /></td></tr>
144 <tr class="separator:acdf75e9de06bc0539193a07dd79632b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
145 <tr class="memitem:af42218514e8d4f0af14803f230476421"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_c_l_locally_connected_layer.xhtml#af42218514e8d4f0af14803f230476421">CLLocallyConnectedLayer</a> (<a class="el" href="classarm__compute_1_1_c_l_locally_connected_layer.xhtml">CLLocallyConnectedLayer</a> &amp;&amp;)=default</td></tr>
146 <tr class="memdesc:af42218514e8d4f0af14803f230476421"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default move constructor.  <a href="#af42218514e8d4f0af14803f230476421">More...</a><br /></td></tr>
147 <tr class="separator:af42218514e8d4f0af14803f230476421"><td class="memSeparator" colspan="2">&#160;</td></tr>
148 <tr class="memitem:a24d00f8384ab6f705aa3fe84f05c142b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1_c_l_locally_connected_layer.xhtml">CLLocallyConnectedLayer</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_c_l_locally_connected_layer.xhtml#a24d00f8384ab6f705aa3fe84f05c142b">operator=</a> (const <a class="el" href="classarm__compute_1_1_c_l_locally_connected_layer.xhtml">CLLocallyConnectedLayer</a> &amp;)=delete</td></tr>
149 <tr class="memdesc:a24d00f8384ab6f705aa3fe84f05c142b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prevent instances of this class from being copied (As this class contains pointers)  <a href="#a24d00f8384ab6f705aa3fe84f05c142b">More...</a><br /></td></tr>
150 <tr class="separator:a24d00f8384ab6f705aa3fe84f05c142b"><td class="memSeparator" colspan="2">&#160;</td></tr>
151 <tr class="memitem:a62556f200fe50d1b6f02f813ded415f0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1_c_l_locally_connected_layer.xhtml">CLLocallyConnectedLayer</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_c_l_locally_connected_layer.xhtml#a62556f200fe50d1b6f02f813ded415f0">operator=</a> (<a class="el" href="classarm__compute_1_1_c_l_locally_connected_layer.xhtml">CLLocallyConnectedLayer</a> &amp;&amp;)=default</td></tr>
152 <tr class="memdesc:a62556f200fe50d1b6f02f813ded415f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default move assignment operator.  <a href="#a62556f200fe50d1b6f02f813ded415f0">More...</a><br /></td></tr>
153 <tr class="separator:a62556f200fe50d1b6f02f813ded415f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
154 <tr class="memitem:a0e2cfb6fb263bd6f761756c816574345"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_c_l_locally_connected_layer.xhtml#a0e2cfb6fb263bd6f761756c816574345">configure</a> (const <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> *input, const <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> *weights, const <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> *biases, <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> *output, const <a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a> &amp;conv_info)</td></tr>
155 <tr class="memdesc:a0e2cfb6fb263bd6f761756c816574345"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the input and output tensors.  <a href="#a0e2cfb6fb263bd6f761756c816574345">More...</a><br /></td></tr>
156 <tr class="separator:a0e2cfb6fb263bd6f761756c816574345"><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_c_l_locally_connected_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:a335bf64c1920fdae58bac90b420e688f"><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_c_l_locally_connected_layer.xhtml#a335bf64c1920fdae58bac90b420e688f">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)</td></tr>
171 <tr class="memdesc:a335bf64c1920fdae58bac90b420e688f"><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_c_l_locally_connected_layer.xhtml">CLLocallyConnectedLayer</a>.  <a href="#a335bf64c1920fdae58bac90b420e688f">More...</a><br /></td></tr>
172 <tr class="separator:a335bf64c1920fdae58bac90b420e688f"><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 locally connected layer. </p>
176 <p>This function calls the following OpenCL kernels:</p>
177 <ol type="1">
178 <li><a class="el" href="classarm__compute_1_1_c_l_weights_reshape_kernel.xhtml">CLWeightsReshapeKernel</a> (executed only once for each configuration)</li>
179 <li><a class="el" href="classarm__compute_1_1_c_l_im2_col_kernel.xhtml">CLIm2ColKernel</a></li>
180 <li><a class="el" href="classarm__compute_1_1_c_l_locally_connected_matrix_multiply_kernel.xhtml">CLLocallyConnectedMatrixMultiplyKernel</a></li>
181 <li><a class="el" href="classarm__compute_1_1_c_l_col2_im_kernel.xhtml">CLCol2ImKernel</a> </li>
182 </ol>
183
184 <p>Definition at line <a class="el" href="_c_l_locally_connected_layer_8h_source.xhtml#l00051">51</a> of file <a class="el" href="_c_l_locally_connected_layer_8h_source.xhtml">CLLocallyConnectedLayer.h</a>.</p>
185 </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
186 <a class="anchor" id="a69b25e30cdc636553317bc9cf6f8315b"></a>
187 <div class="memitem">
188 <div class="memproto">
189       <table class="memname">
190         <tr>
191           <td class="memname"><a class="el" href="classarm__compute_1_1_c_l_locally_connected_layer.xhtml">CLLocallyConnectedLayer</a> </td>
192           <td>(</td>
193           <td class="paramtype">std::shared_ptr&lt; <a class="el" href="classarm__compute_1_1_i_memory_manager.xhtml">IMemoryManager</a> &gt;&#160;</td>
194           <td class="paramname"><em>memory_manager</em> = <code>nullptr</code></td><td>)</td>
195           <td></td>
196         </tr>
197       </table>
198 </div><div class="memdoc">
199
200 <p>Default constructor. </p>
201
202 </div>
203 </div>
204 <a class="anchor" id="acdf75e9de06bc0539193a07dd79632b3"></a>
205 <div class="memitem">
206 <div class="memproto">
207 <table class="mlabels">
208   <tr>
209   <td class="mlabels-left">
210       <table class="memname">
211         <tr>
212           <td class="memname"><a class="el" href="classarm__compute_1_1_c_l_locally_connected_layer.xhtml">CLLocallyConnectedLayer</a> </td>
213           <td>(</td>
214           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_c_l_locally_connected_layer.xhtml">CLLocallyConnectedLayer</a> &amp;&#160;</td>
215           <td class="paramname"></td><td>)</td>
216           <td></td>
217         </tr>
218       </table>
219   </td>
220   <td class="mlabels-right">
221 <span class="mlabels"><span class="mlabel">delete</span></span>  </td>
222   </tr>
223 </table>
224 </div><div class="memdoc">
225
226 <p>Prevent instances of this class from being copied (As this class contains pointers) </p>
227
228 </div>
229 </div>
230 <a class="anchor" id="af42218514e8d4f0af14803f230476421"></a>
231 <div class="memitem">
232 <div class="memproto">
233 <table class="mlabels">
234   <tr>
235   <td class="mlabels-left">
236       <table class="memname">
237         <tr>
238           <td class="memname"><a class="el" href="classarm__compute_1_1_c_l_locally_connected_layer.xhtml">CLLocallyConnectedLayer</a> </td>
239           <td>(</td>
240           <td class="paramtype"><a class="el" href="classarm__compute_1_1_c_l_locally_connected_layer.xhtml">CLLocallyConnectedLayer</a> &amp;&amp;&#160;</td>
241           <td class="paramname"></td><td>)</td>
242           <td></td>
243         </tr>
244       </table>
245   </td>
246   <td class="mlabels-right">
247 <span class="mlabels"><span class="mlabel">default</span></span>  </td>
248   </tr>
249 </table>
250 </div><div class="memdoc">
251
252 <p>Default move constructor. </p>
253
254 </div>
255 </div>
256 <h2 class="groupheader">Member Function Documentation</h2>
257 <a class="anchor" id="a0e2cfb6fb263bd6f761756c816574345"></a>
258 <div class="memitem">
259 <div class="memproto">
260       <table class="memname">
261         <tr>
262           <td class="memname">void configure </td>
263           <td>(</td>
264           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> *&#160;</td>
265           <td class="paramname"><em>input</em>, </td>
266         </tr>
267         <tr>
268           <td class="paramkey"></td>
269           <td></td>
270           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> *&#160;</td>
271           <td class="paramname"><em>weights</em>, </td>
272         </tr>
273         <tr>
274           <td class="paramkey"></td>
275           <td></td>
276           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> *&#160;</td>
277           <td class="paramname"><em>biases</em>, </td>
278         </tr>
279         <tr>
280           <td class="paramkey"></td>
281           <td></td>
282           <td class="paramtype"><a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> *&#160;</td>
283           <td class="paramname"><em>output</em>, </td>
284         </tr>
285         <tr>
286           <td class="paramkey"></td>
287           <td></td>
288           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a> &amp;&#160;</td>
289           <td class="paramname"><em>conv_info</em>&#160;</td>
290         </tr>
291         <tr>
292           <td></td>
293           <td>)</td>
294           <td></td><td></td>
295         </tr>
296       </table>
297 </div><div class="memdoc">
298
299 <p>Set the input and output tensors. </p>
300 <dl class="params"><dt>Parameters</dt><dd>
301   <table class="params">
302     <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: F32. </td></tr>
303     <tr><td class="paramdir">[in]</td><td class="paramname">weights</td><td>Weights tensor. Weights are 5D tensor with dimensions [kernel_x, kernel_y, IFM, OFM, num_patches]. Data type supported:Same as <code>input</code>. </td></tr>
304     <tr><td class="paramdir">[in]</td><td class="paramname">biases</td><td>Biases tensor. Shared biases supported. Biases are 2D tensor with dimensions [OFM, num_patches]. Data type supported:Same as <code>input</code>. </td></tr>
305     <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>
306     <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>
307   </table>
308   </dd>
309 </dl>
310
311 <p>Referenced by <a class="el" href="_c_l_2_locally_connected_8cpp_source.xhtml#l00113">arm_compute::test::validation::DATA_TEST_CASE()</a>.</p>
312
313 </div>
314 </div>
315 <a class="anchor" id="a24d00f8384ab6f705aa3fe84f05c142b"></a>
316 <div class="memitem">
317 <div class="memproto">
318 <table class="mlabels">
319   <tr>
320   <td class="mlabels-left">
321       <table class="memname">
322         <tr>
323           <td class="memname"><a class="el" href="classarm__compute_1_1_c_l_locally_connected_layer.xhtml">CLLocallyConnectedLayer</a>&amp; operator= </td>
324           <td>(</td>
325           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_c_l_locally_connected_layer.xhtml">CLLocallyConnectedLayer</a> &amp;&#160;</td>
326           <td class="paramname"></td><td>)</td>
327           <td></td>
328         </tr>
329       </table>
330   </td>
331   <td class="mlabels-right">
332 <span class="mlabels"><span class="mlabel">delete</span></span>  </td>
333   </tr>
334 </table>
335 </div><div class="memdoc">
336
337 <p>Prevent instances of this class from being copied (As this class contains pointers) </p>
338
339 </div>
340 </div>
341 <a class="anchor" id="a62556f200fe50d1b6f02f813ded415f0"></a>
342 <div class="memitem">
343 <div class="memproto">
344 <table class="mlabels">
345   <tr>
346   <td class="mlabels-left">
347       <table class="memname">
348         <tr>
349           <td class="memname"><a class="el" href="classarm__compute_1_1_c_l_locally_connected_layer.xhtml">CLLocallyConnectedLayer</a>&amp; operator= </td>
350           <td>(</td>
351           <td class="paramtype"><a class="el" href="classarm__compute_1_1_c_l_locally_connected_layer.xhtml">CLLocallyConnectedLayer</a> &amp;&amp;&#160;</td>
352           <td class="paramname"></td><td>)</td>
353           <td></td>
354         </tr>
355       </table>
356   </td>
357   <td class="mlabels-right">
358 <span class="mlabels"><span class="mlabel">default</span></span>  </td>
359   </tr>
360 </table>
361 </div><div class="memdoc">
362
363 <p>Default move assignment operator. </p>
364
365 </div>
366 </div>
367 <a class="anchor" id="ad1717410afd0be936c6213a63c8005fb"></a>
368 <div class="memitem">
369 <div class="memproto">
370 <table class="mlabels">
371   <tr>
372   <td class="mlabels-left">
373       <table class="memname">
374         <tr>
375           <td class="memname">void run </td>
376           <td>(</td>
377           <td class="paramname"></td><td>)</td>
378           <td></td>
379         </tr>
380       </table>
381   </td>
382   <td class="mlabels-right">
383 <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
384   </tr>
385 </table>
386 </div><div class="memdoc">
387
388 <p>Run the kernels contained in the function. </p>
389 <p>For NEON kernels:</p><ul>
390 <li>Multi-threading is used for the kernels which are parallelisable.</li>
391 <li>By default std::thread::hardware_concurrency() threads are used.</li>
392 </ul>
393 <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>
394 <p>For OpenCL kernels:</p><ul>
395 <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>
396 <li>The queue is then flushed.</li>
397 </ul>
398 <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>
399 <dd>
400 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>
401
402 <p>Implements <a class="el" href="classarm__compute_1_1_i_function.xhtml#a18954417d3124a8095783ea13dc6d00b">IFunction</a>.</p>
403
404 </div>
405 </div>
406 <a class="anchor" id="a335bf64c1920fdae58bac90b420e688f"></a>
407 <div class="memitem">
408 <div class="memproto">
409 <table class="mlabels">
410   <tr>
411   <td class="mlabels-left">
412       <table class="memname">
413         <tr>
414           <td class="memname">static <a class="el" href="classarm__compute_1_1_status.xhtml">Status</a> validate </td>
415           <td>(</td>
416           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_tensor_info.xhtml">ITensorInfo</a> *&#160;</td>
417           <td class="paramname"><em>input</em>, </td>
418         </tr>
419         <tr>
420           <td class="paramkey"></td>
421           <td></td>
422           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_tensor_info.xhtml">ITensorInfo</a> *&#160;</td>
423           <td class="paramname"><em>weights</em>, </td>
424         </tr>
425         <tr>
426           <td class="paramkey"></td>
427           <td></td>
428           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_tensor_info.xhtml">ITensorInfo</a> *&#160;</td>
429           <td class="paramname"><em>biases</em>, </td>
430         </tr>
431         <tr>
432           <td class="paramkey"></td>
433           <td></td>
434           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_tensor_info.xhtml">ITensorInfo</a> *&#160;</td>
435           <td class="paramname"><em>output</em>, </td>
436         </tr>
437         <tr>
438           <td class="paramkey"></td>
439           <td></td>
440           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a> &amp;&#160;</td>
441           <td class="paramname"><em>conv_info</em>&#160;</td>
442         </tr>
443         <tr>
444           <td></td>
445           <td>)</td>
446           <td></td><td></td>
447         </tr>
448       </table>
449   </td>
450   <td class="mlabels-right">
451 <span class="mlabels"><span class="mlabel">static</span></span>  </td>
452   </tr>
453 </table>
454 </div><div class="memdoc">
455
456 <p>Static function to check if given info will lead to a valid configuration of <a class="el" href="classarm__compute_1_1_c_l_locally_connected_layer.xhtml">CLLocallyConnectedLayer</a>. </p>
457 <dl class="params"><dt>Parameters</dt><dd>
458   <table class="params">
459     <tr><td class="paramdir">[in]</td><td class="paramname">input</td><td>Input tensor info. 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: F32. </td></tr>
460     <tr><td class="paramdir">[in]</td><td class="paramname">weights</td><td>Weights tensor info. Weights are 5D tensor with dimensions [kernel_x, kernel_y, IFM, OFM, num_patches]. Data type supported:Same as <code>input</code>. </td></tr>
461     <tr><td class="paramdir">[in]</td><td class="paramname">biases</td><td>Biases tensor info. Shared biases supported. Biases are 2D tensor with dimensions [OFM, num_patches]. Data type supported:Same as <code>input</code>. </td></tr>
462     <tr><td class="paramdir">[in]</td><td class="paramname">output</td><td>Output tensor info. 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>
463     <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>
464   </table>
465   </dd>
466 </dl>
467 <dl class="section return"><dt>Returns</dt><dd>a status </dd></dl>
468
469 <p>Referenced by <a class="el" href="_c_l_2_locally_connected_8cpp_source.xhtml#l00054">arm_compute::test::validation::DATA_TEST_CASE()</a>.</p>
470
471 </div>
472 </div>
473 <hr/>The documentation for this class was generated from the following file:<ul>
474 <li>arm_compute/runtime/CL/functions/<a class="el" href="_c_l_locally_connected_layer_8h_source.xhtml">CLLocallyConnectedLayer.h</a></li>
475 </ul>
476 </div><!-- contents -->
477 </div><!-- doc-content -->
478 <!-- start footer part -->
479 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
480   <ul>
481     <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_c_l_locally_connected_layer.xhtml">CLLocallyConnectedLayer</a></li>
482     <li class="footer">Generated on Wed May 23 2018 11:36:41 for Compute Library by
483     <a href="http://www.doxygen.org/index.html">
484     <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
485   </ul>
486 </div>
487 </body>
488 </html>