arm_compute v18.05
[platform/upstream/armcl.git] / documentation / classarm__compute_1_1_n_e_deconvolution_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: NEDeconvolutionLayer 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_n_e_deconvolution_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">NEDeconvolutionLayer Class Reference</div>  </div>
123 </div><!--header-->
124 <div class="contents">
125
126 <p>Function to run the deconvolution layer.  
127  <a href="classarm__compute_1_1_n_e_deconvolution_layer.xhtml#details">More...</a></p>
128
129 <p><code>#include &lt;<a class="el" href="_n_e_deconvolution_layer_8h_source.xhtml">NEDeconvolutionLayer.h</a>&gt;</code></p>
130 <div class="dynheader">
131 Collaboration diagram for NEDeconvolutionLayer:</div>
132 <div class="dyncontent">
133 <div class="center"><iframe scrolling="no" frameborder="0" src="classarm__compute_1_1_n_e_deconvolution_layer__coll__graph.svg" width="178" 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:a7eed3415cae42b9a35a5ffa5267281d9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_n_e_deconvolution_layer.xhtml#a7eed3415cae42b9a35a5ffa5267281d9">NEDeconvolutionLayer</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:a7eed3415cae42b9a35a5ffa5267281d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor.  <a href="#a7eed3415cae42b9a35a5ffa5267281d9">More...</a><br /></td></tr>
141 <tr class="separator:a7eed3415cae42b9a35a5ffa5267281d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
142 <tr class="memitem:ad14903ce0bc1e71d5d80d05652391985"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_n_e_deconvolution_layer.xhtml#ad14903ce0bc1e71d5d80d05652391985">NEDeconvolutionLayer</a> (const <a class="el" href="classarm__compute_1_1_n_e_deconvolution_layer.xhtml">NEDeconvolutionLayer</a> &amp;)=delete</td></tr>
143 <tr class="memdesc:ad14903ce0bc1e71d5d80d05652391985"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prevent instances of this class from being copied (As this class contains pointers)  <a href="#ad14903ce0bc1e71d5d80d05652391985">More...</a><br /></td></tr>
144 <tr class="separator:ad14903ce0bc1e71d5d80d05652391985"><td class="memSeparator" colspan="2">&#160;</td></tr>
145 <tr class="memitem:af81e2210787e1864c8bc6458b3072f6e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1_n_e_deconvolution_layer.xhtml">NEDeconvolutionLayer</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_n_e_deconvolution_layer.xhtml#af81e2210787e1864c8bc6458b3072f6e">operator=</a> (const <a class="el" href="classarm__compute_1_1_n_e_deconvolution_layer.xhtml">NEDeconvolutionLayer</a> &amp;)=delete</td></tr>
146 <tr class="memdesc:af81e2210787e1864c8bc6458b3072f6e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prevent instances of this class from being copied (As this class contains pointers)  <a href="#af81e2210787e1864c8bc6458b3072f6e">More...</a><br /></td></tr>
147 <tr class="separator:af81e2210787e1864c8bc6458b3072f6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
148 <tr class="memitem:a0071ab54dfbc65a74a7f17727ce9315d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_n_e_deconvolution_layer.xhtml#a0071ab54dfbc65a74a7f17727ce9315d">NEDeconvolutionLayer</a> (<a class="el" href="classarm__compute_1_1_n_e_deconvolution_layer.xhtml">NEDeconvolutionLayer</a> &amp;&amp;)=default</td></tr>
149 <tr class="memdesc:a0071ab54dfbc65a74a7f17727ce9315d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allow instances of this class to be moved.  <a href="#a0071ab54dfbc65a74a7f17727ce9315d">More...</a><br /></td></tr>
150 <tr class="separator:a0071ab54dfbc65a74a7f17727ce9315d"><td class="memSeparator" colspan="2">&#160;</td></tr>
151 <tr class="memitem:ad441ee7d0846b6acc9d515383525ba52"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1_n_e_deconvolution_layer.xhtml">NEDeconvolutionLayer</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_n_e_deconvolution_layer.xhtml#ad441ee7d0846b6acc9d515383525ba52">operator=</a> (<a class="el" href="classarm__compute_1_1_n_e_deconvolution_layer.xhtml">NEDeconvolutionLayer</a> &amp;&amp;)=default</td></tr>
152 <tr class="memdesc:ad441ee7d0846b6acc9d515383525ba52"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allow instances of this class to be moved.  <a href="#ad441ee7d0846b6acc9d515383525ba52">More...</a><br /></td></tr>
153 <tr class="separator:ad441ee7d0846b6acc9d515383525ba52"><td class="memSeparator" colspan="2">&#160;</td></tr>
154 <tr class="memitem:a790d14a2d09d003f656bdfdf9cdb9150"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_n_e_deconvolution_layer.xhtml#a790d14a2d09d003f656bdfdf9cdb9150">~NEDeconvolutionLayer</a> ()=default</td></tr>
155 <tr class="memdesc:a790d14a2d09d003f656bdfdf9cdb9150"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default destructor.  <a href="#a790d14a2d09d003f656bdfdf9cdb9150">More...</a><br /></td></tr>
156 <tr class="separator:a790d14a2d09d003f656bdfdf9cdb9150"><td class="memSeparator" colspan="2">&#160;</td></tr>
157 <tr class="memitem:af7844db7c841f3f117547b7bd6ccfc55"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_n_e_deconvolution_layer.xhtml#af7844db7c841f3f117547b7bd6ccfc55">configure</a> (<a class="el" href="classarm__compute_1_1_i_tensor.xhtml">ITensor</a> *input, const <a class="el" href="classarm__compute_1_1_i_tensor.xhtml">ITensor</a> *weights, const <a class="el" href="classarm__compute_1_1_i_tensor.xhtml">ITensor</a> *bias, <a class="el" href="classarm__compute_1_1_i_tensor.xhtml">ITensor</a> *output, const <a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a> &amp;info, unsigned int inner_border_right, unsigned int inner_border_top)</td></tr>
158 <tr class="memdesc:af7844db7c841f3f117547b7bd6ccfc55"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the input, weights, biases and output tensors.  <a href="#af7844db7c841f3f117547b7bd6ccfc55">More...</a><br /></td></tr>
159 <tr class="separator:af7844db7c841f3f117547b7bd6ccfc55"><td class="memSeparator" colspan="2">&#160;</td></tr>
160 <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_n_e_deconvolution_layer.xhtml#ad1717410afd0be936c6213a63c8005fb">run</a> () override</td></tr>
161 <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>
162 <tr class="separator:ad1717410afd0be936c6213a63c8005fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
163 <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>
164 <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>
165 <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>
166 <tr class="separator:ab921ecc3f3f6ae2b4bd61f3e1998d8c4 inherit pub_methods_classarm__compute_1_1_i_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
167 <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>
168 <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>
169 <tr class="separator:a820f7291c24155a2980512fae45aac26 inherit pub_methods_classarm__compute_1_1_i_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
170 </table><table class="memberdecls">
171 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
172 Static Public Member Functions</h2></td></tr>
173 <tr class="memitem:ac8a80636a5f700d9de2fe415cb721407"><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_n_e_deconvolution_layer.xhtml#ac8a80636a5f700d9de2fe415cb721407">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> *bias, 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;info, unsigned int inner_border_right, unsigned int inner_border_top)</td></tr>
174 <tr class="memdesc:ac8a80636a5f700d9de2fe415cb721407"><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_n_e_deconvolution_layer.xhtml">NEDeconvolutionLayer</a>.  <a href="#ac8a80636a5f700d9de2fe415cb721407">More...</a><br /></td></tr>
175 <tr class="separator:ac8a80636a5f700d9de2fe415cb721407"><td class="memSeparator" colspan="2">&#160;</td></tr>
176 </table>
177 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
178 <div class="textblock"><p>Function to run the deconvolution layer. </p>
179 <p>Deconvolution Layer is the backward pass of Convolution Layer. First we transform the input depending on the stride and pad info and then perfrom a 1x1 convolution pass. Input stride defines how many zeroes we should put between each element of the input, pad is the amount of padding and finaly a is a user specified value where a &lt; stride - 1 that increases the padding top and right of the input image.</p>
180 <p>The relation between input to output is as follows: width_output = round((width_input âˆ’ 1) âˆ— (stride_x - 1) âˆ’ 2 âˆ— padding_x + kernel_x + inner_border_right ) height_output = round((height_input âˆ’ 1) âˆ— (stride_y - 1) âˆ’ 2 âˆ— padding_y + kernel_y + inner_border_top )</p>
181 <p>where width is the size of the first input dimension. height is the size of the second input dimension. width_output is the size of the first output dimension. height_output is the size of the second output dimension. kernel_x and kernel_y are the convolution sizes in x and y. inner_border_right and inner_border_top the number of zeros added to the top and right edges of the input. stride_x and stride_y is the input stride of the first and second dimension.</p>
182 <p>This function calls the following NEON kernels:</p>
183 <ol type="1">
184 <li><a class="el" href="classarm__compute_1_1_n_e_direct_convolution_layer.xhtml">NEDirectConvolutionLayer</a> </li>
185 </ol>
186
187 <p>Definition at line <a class="el" href="_n_e_deconvolution_layer_8h_source.xhtml#l00065">65</a> of file <a class="el" href="_n_e_deconvolution_layer_8h_source.xhtml">NEDeconvolutionLayer.h</a>.</p>
188 </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
189 <a class="anchor" id="a7eed3415cae42b9a35a5ffa5267281d9"></a>
190 <div class="memitem">
191 <div class="memproto">
192       <table class="memname">
193         <tr>
194           <td class="memname"><a class="el" href="classarm__compute_1_1_n_e_deconvolution_layer.xhtml">NEDeconvolutionLayer</a> </td>
195           <td>(</td>
196           <td class="paramtype">std::shared_ptr&lt; <a class="el" href="classarm__compute_1_1_i_memory_manager.xhtml">IMemoryManager</a> &gt;&#160;</td>
197           <td class="paramname"><em>memory_manager</em> = <code>nullptr</code></td><td>)</td>
198           <td></td>
199         </tr>
200       </table>
201 </div><div class="memdoc">
202
203 <p>Default constructor. </p>
204
205 </div>
206 </div>
207 <a class="anchor" id="ad14903ce0bc1e71d5d80d05652391985"></a>
208 <div class="memitem">
209 <div class="memproto">
210 <table class="mlabels">
211   <tr>
212   <td class="mlabels-left">
213       <table class="memname">
214         <tr>
215           <td class="memname"><a class="el" href="classarm__compute_1_1_n_e_deconvolution_layer.xhtml">NEDeconvolutionLayer</a> </td>
216           <td>(</td>
217           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_n_e_deconvolution_layer.xhtml">NEDeconvolutionLayer</a> &amp;&#160;</td>
218           <td class="paramname"></td><td>)</td>
219           <td></td>
220         </tr>
221       </table>
222   </td>
223   <td class="mlabels-right">
224 <span class="mlabels"><span class="mlabel">delete</span></span>  </td>
225   </tr>
226 </table>
227 </div><div class="memdoc">
228
229 <p>Prevent instances of this class from being copied (As this class contains pointers) </p>
230
231 </div>
232 </div>
233 <a class="anchor" id="a0071ab54dfbc65a74a7f17727ce9315d"></a>
234 <div class="memitem">
235 <div class="memproto">
236 <table class="mlabels">
237   <tr>
238   <td class="mlabels-left">
239       <table class="memname">
240         <tr>
241           <td class="memname"><a class="el" href="classarm__compute_1_1_n_e_deconvolution_layer.xhtml">NEDeconvolutionLayer</a> </td>
242           <td>(</td>
243           <td class="paramtype"><a class="el" href="classarm__compute_1_1_n_e_deconvolution_layer.xhtml">NEDeconvolutionLayer</a> &amp;&amp;&#160;</td>
244           <td class="paramname"></td><td>)</td>
245           <td></td>
246         </tr>
247       </table>
248   </td>
249   <td class="mlabels-right">
250 <span class="mlabels"><span class="mlabel">default</span></span>  </td>
251   </tr>
252 </table>
253 </div><div class="memdoc">
254
255 <p>Allow instances of this class to be moved. </p>
256
257 </div>
258 </div>
259 <a class="anchor" id="a790d14a2d09d003f656bdfdf9cdb9150"></a>
260 <div class="memitem">
261 <div class="memproto">
262 <table class="mlabels">
263   <tr>
264   <td class="mlabels-left">
265       <table class="memname">
266         <tr>
267           <td class="memname">virtual ~<a class="el" href="classarm__compute_1_1_n_e_deconvolution_layer.xhtml">NEDeconvolutionLayer</a> </td>
268           <td>(</td>
269           <td class="paramname"></td><td>)</td>
270           <td></td>
271         </tr>
272       </table>
273   </td>
274   <td class="mlabels-right">
275 <span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">default</span></span>  </td>
276   </tr>
277 </table>
278 </div><div class="memdoc">
279
280 <p>Default destructor. </p>
281
282 </div>
283 </div>
284 <h2 class="groupheader">Member Function Documentation</h2>
285 <a class="anchor" id="af7844db7c841f3f117547b7bd6ccfc55"></a>
286 <div class="memitem">
287 <div class="memproto">
288       <table class="memname">
289         <tr>
290           <td class="memname">void configure </td>
291           <td>(</td>
292           <td class="paramtype"><a class="el" href="classarm__compute_1_1_i_tensor.xhtml">ITensor</a> *&#160;</td>
293           <td class="paramname"><em>input</em>, </td>
294         </tr>
295         <tr>
296           <td class="paramkey"></td>
297           <td></td>
298           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_tensor.xhtml">ITensor</a> *&#160;</td>
299           <td class="paramname"><em>weights</em>, </td>
300         </tr>
301         <tr>
302           <td class="paramkey"></td>
303           <td></td>
304           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_tensor.xhtml">ITensor</a> *&#160;</td>
305           <td class="paramname"><em>bias</em>, </td>
306         </tr>
307         <tr>
308           <td class="paramkey"></td>
309           <td></td>
310           <td class="paramtype"><a class="el" href="classarm__compute_1_1_i_tensor.xhtml">ITensor</a> *&#160;</td>
311           <td class="paramname"><em>output</em>, </td>
312         </tr>
313         <tr>
314           <td class="paramkey"></td>
315           <td></td>
316           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a> &amp;&#160;</td>
317           <td class="paramname"><em>info</em>, </td>
318         </tr>
319         <tr>
320           <td class="paramkey"></td>
321           <td></td>
322           <td class="paramtype">unsigned int&#160;</td>
323           <td class="paramname"><em>inner_border_right</em>, </td>
324         </tr>
325         <tr>
326           <td class="paramkey"></td>
327           <td></td>
328           <td class="paramtype">unsigned int&#160;</td>
329           <td class="paramname"><em>inner_border_top</em>&#160;</td>
330         </tr>
331         <tr>
332           <td></td>
333           <td>)</td>
334           <td></td><td></td>
335         </tr>
336       </table>
337 </div><div class="memdoc">
338
339 <p>Set the input, weights, biases and output tensors. </p>
340 <dl class="params"><dt>Parameters</dt><dd>
341   <table class="params">
342     <tr><td class="paramdir">[in,out]</td><td class="paramname">input</td><td>Input tensor. 3 lower dimensions represent a single input, and an optional 4th dimension for batch of inputs. Data types supported: F32. </td></tr>
343     <tr><td class="paramdir">[in]</td><td class="paramname">weights</td><td>The 4d weights with dimensions [width, height, IFM, OFM]. Data type supported: Same as <code>input</code>. </td></tr>
344     <tr><td class="paramdir">[in]</td><td class="paramname">bias</td><td>Optional, ignored if NULL. The biases have one dimension. Data type supported: Same as <code>input</code>. </td></tr>
345     <tr><td class="paramdir">[out]</td><td class="paramname">output</td><td>Output tensor. The output has the same number of dimensions as the <code>input</code>. </td></tr>
346     <tr><td class="paramdir">[in]</td><td class="paramname">info</td><td>Contains padding and policies to be used in the deconvolution, this is decribed in <a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a>. </td></tr>
347     <tr><td class="paramdir">[in]</td><td class="paramname">inner_border_right</td><td>The number of zeros added to right edge of the input. </td></tr>
348     <tr><td class="paramdir">[in]</td><td class="paramname">inner_border_top</td><td>The number of zeros added to top edge of the input. </td></tr>
349   </table>
350   </dd>
351 </dl>
352
353 </div>
354 </div>
355 <a class="anchor" id="af81e2210787e1864c8bc6458b3072f6e"></a>
356 <div class="memitem">
357 <div class="memproto">
358 <table class="mlabels">
359   <tr>
360   <td class="mlabels-left">
361       <table class="memname">
362         <tr>
363           <td class="memname"><a class="el" href="classarm__compute_1_1_n_e_deconvolution_layer.xhtml">NEDeconvolutionLayer</a>&amp; operator= </td>
364           <td>(</td>
365           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_n_e_deconvolution_layer.xhtml">NEDeconvolutionLayer</a> &amp;&#160;</td>
366           <td class="paramname"></td><td>)</td>
367           <td></td>
368         </tr>
369       </table>
370   </td>
371   <td class="mlabels-right">
372 <span class="mlabels"><span class="mlabel">delete</span></span>  </td>
373   </tr>
374 </table>
375 </div><div class="memdoc">
376
377 <p>Prevent instances of this class from being copied (As this class contains pointers) </p>
378
379 </div>
380 </div>
381 <a class="anchor" id="ad441ee7d0846b6acc9d515383525ba52"></a>
382 <div class="memitem">
383 <div class="memproto">
384 <table class="mlabels">
385   <tr>
386   <td class="mlabels-left">
387       <table class="memname">
388         <tr>
389           <td class="memname"><a class="el" href="classarm__compute_1_1_n_e_deconvolution_layer.xhtml">NEDeconvolutionLayer</a>&amp; operator= </td>
390           <td>(</td>
391           <td class="paramtype"><a class="el" href="classarm__compute_1_1_n_e_deconvolution_layer.xhtml">NEDeconvolutionLayer</a> &amp;&amp;&#160;</td>
392           <td class="paramname"></td><td>)</td>
393           <td></td>
394         </tr>
395       </table>
396   </td>
397   <td class="mlabels-right">
398 <span class="mlabels"><span class="mlabel">default</span></span>  </td>
399   </tr>
400 </table>
401 </div><div class="memdoc">
402
403 <p>Allow instances of this class to be moved. </p>
404
405 </div>
406 </div>
407 <a class="anchor" id="ad1717410afd0be936c6213a63c8005fb"></a>
408 <div class="memitem">
409 <div class="memproto">
410 <table class="mlabels">
411   <tr>
412   <td class="mlabels-left">
413       <table class="memname">
414         <tr>
415           <td class="memname">void run </td>
416           <td>(</td>
417           <td class="paramname"></td><td>)</td>
418           <td></td>
419         </tr>
420       </table>
421   </td>
422   <td class="mlabels-right">
423 <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
424   </tr>
425 </table>
426 </div><div class="memdoc">
427
428 <p>Run the kernels contained in the function. </p>
429 <p>For NEON kernels:</p><ul>
430 <li>Multi-threading is used for the kernels which are parallelisable.</li>
431 <li>By default std::thread::hardware_concurrency() threads are used.</li>
432 </ul>
433 <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>
434 <p>For OpenCL kernels:</p><ul>
435 <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>
436 <li>The queue is then flushed.</li>
437 </ul>
438 <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>
439 <dd>
440 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>
441
442 <p>Implements <a class="el" href="classarm__compute_1_1_i_function.xhtml#a18954417d3124a8095783ea13dc6d00b">IFunction</a>.</p>
443
444 </div>
445 </div>
446 <a class="anchor" id="ac8a80636a5f700d9de2fe415cb721407"></a>
447 <div class="memitem">
448 <div class="memproto">
449 <table class="mlabels">
450   <tr>
451   <td class="mlabels-left">
452       <table class="memname">
453         <tr>
454           <td class="memname">static <a class="el" href="classarm__compute_1_1_status.xhtml">Status</a> validate </td>
455           <td>(</td>
456           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_tensor_info.xhtml">ITensorInfo</a> *&#160;</td>
457           <td class="paramname"><em>input</em>, </td>
458         </tr>
459         <tr>
460           <td class="paramkey"></td>
461           <td></td>
462           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_tensor_info.xhtml">ITensorInfo</a> *&#160;</td>
463           <td class="paramname"><em>weights</em>, </td>
464         </tr>
465         <tr>
466           <td class="paramkey"></td>
467           <td></td>
468           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_tensor_info.xhtml">ITensorInfo</a> *&#160;</td>
469           <td class="paramname"><em>bias</em>, </td>
470         </tr>
471         <tr>
472           <td class="paramkey"></td>
473           <td></td>
474           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_tensor_info.xhtml">ITensorInfo</a> *&#160;</td>
475           <td class="paramname"><em>output</em>, </td>
476         </tr>
477         <tr>
478           <td class="paramkey"></td>
479           <td></td>
480           <td class="paramtype">const <a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a> &amp;&#160;</td>
481           <td class="paramname"><em>info</em>, </td>
482         </tr>
483         <tr>
484           <td class="paramkey"></td>
485           <td></td>
486           <td class="paramtype">unsigned int&#160;</td>
487           <td class="paramname"><em>inner_border_right</em>, </td>
488         </tr>
489         <tr>
490           <td class="paramkey"></td>
491           <td></td>
492           <td class="paramtype">unsigned int&#160;</td>
493           <td class="paramname"><em>inner_border_top</em>&#160;</td>
494         </tr>
495         <tr>
496           <td></td>
497           <td>)</td>
498           <td></td><td></td>
499         </tr>
500       </table>
501   </td>
502   <td class="mlabels-right">
503 <span class="mlabels"><span class="mlabel">static</span></span>  </td>
504   </tr>
505 </table>
506 </div><div class="memdoc">
507
508 <p>Static function to check if given info will lead to a valid configuration of <a class="el" href="classarm__compute_1_1_n_e_deconvolution_layer.xhtml">NEDeconvolutionLayer</a>. </p>
509 <dl class="params"><dt>Parameters</dt><dd>
510   <table class="params">
511     <tr><td class="paramdir">[in]</td><td class="paramname">input</td><td>Input tensor info. 3 lower dimensions represent a single input, and an optional 4th dimension for batch of inputs. Data types supported: F32. </td></tr>
512     <tr><td class="paramdir">[in]</td><td class="paramname">weights</td><td>The 4d weights info with dimensions [width, height, IFM, OFM]. Data type supported: Same as <code>input</code>. </td></tr>
513     <tr><td class="paramdir">[in]</td><td class="paramname">bias</td><td>(Optional) The biases have one dimension. Data type supported: Same as <code>input</code>. </td></tr>
514     <tr><td class="paramdir">[in]</td><td class="paramname">output</td><td>Output tensor info. The output has the same number of dimensions as the <code>input</code>. </td></tr>
515     <tr><td class="paramdir">[in]</td><td class="paramname">info</td><td>Contains padding and policies to be used in the deconvolution, this is decribed in <a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a>. </td></tr>
516     <tr><td class="paramdir">[in]</td><td class="paramname">inner_border_right</td><td>The number of zeros added to right edge of the input. </td></tr>
517     <tr><td class="paramdir">[in]</td><td class="paramname">inner_border_top</td><td>The number of zeros added to top edge of the input.</td></tr>
518   </table>
519   </dd>
520 </dl>
521 <dl class="section return"><dt>Returns</dt><dd>a status </dd></dl>
522
523 </div>
524 </div>
525 <hr/>The documentation for this class was generated from the following file:<ul>
526 <li>arm_compute/runtime/NEON/functions/<a class="el" href="_n_e_deconvolution_layer_8h_source.xhtml">NEDeconvolutionLayer.h</a></li>
527 </ul>
528 </div><!-- contents -->
529 </div><!-- doc-content -->
530 <!-- start footer part -->
531 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
532   <ul>
533     <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_n_e_deconvolution_layer.xhtml">NEDeconvolutionLayer</a></li>
534     <li class="footer">Generated on Wed May 23 2018 11:36:42 for Compute Library by
535     <a href="http://www.doxygen.org/index.html">
536     <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
537   </ul>
538 </div>
539 </body>
540 </html>