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">
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);
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(); });
27 <script type="text/x-mathjax-config">
29 extensions: ["tex2jax.js"],
30 jax: ["input/TeX","output/HTML-CSS"],
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" />
36 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
38 <table cellspacing="0" cellpadding="0">
40 <tr style="height: 56px;">
41 <td style="padding-left: 0.5em;">
42 <div id="projectname">Compute Library
43  <span id="projectnumber">18.05</span>
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');
55 <div id="navrow1" class="tabs">
57 <li><a href="index.xhtml"><span>Main Page</span></a></li>
58 <li><a href="pages.xhtml"><span>Related 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 Structures</span></a></li>
61 <li><a href="files.xhtml"><span>Files</span></a></li>
63 <div id="MSearchBox" class="MSearchBoxInactive">
65 <img id="MSearchSelect" src="search/mag_sel.png"
66 onmouseover="return searchBox.OnSearchSelectShow()"
67 onmouseout="return searchBox.OnSearchSelectHide()"
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>
80 <div id="navrow2" class="tabs2">
82 <li><a href="annotated.xhtml"><span>Data Structures</span></a></li>
83 <li><a href="classes.xhtml"><span>Data Structure Index</span></a></li>
84 <li><a href="inherits.xhtml"><span>Class Hierarchy</span></a></li>
85 <li><a href="functions.xhtml"><span>Data Fields</span></a></li>
89 <div id="side-nav" class="ui-resizable side-nav-resizable">
91 <div id="nav-tree-contents">
92 <div id="nav-sync" class="sync"></div>
95 <div id="splitbar" style="-moz-user-select:none;"
96 class="ui-resizable-handle">
99 <script type="text/javascript">
100 $(document).ready(function(){initNavTree('classarm__compute_1_1_n_e_deconvolution_layer.xhtml','');});
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)">
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">
118 <div class="summary">
119 <a href="#pub-methods">Public Member Functions</a> |
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>
124 <div class="contents">
126 <p>Function to run the deconvolution layer.
127 <a href="classarm__compute_1_1_n_e_deconvolution_layer.xhtml#details">More...</a></p>
129 <p><code>#include <<a class="el" href="_n_e_deconvolution_layer_8h_source.xhtml">NEDeconvolutionLayer.h</a>></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>
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"> </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< <a class="el" href="classarm__compute_1_1_i_memory_manager.xhtml">IMemoryManager</a> > memory_manager=nullptr)</td></tr>
140 <tr class="memdesc:a7eed3415cae42b9a35a5ffa5267281d9"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <a href="#a7eed3415cae42b9a35a5ffa5267281d9">More...</a><br /></td></tr>
141 <tr class="separator:a7eed3415cae42b9a35a5ffa5267281d9"><td class="memSeparator" colspan="2"> </td></tr>
142 <tr class="memitem:ad14903ce0bc1e71d5d80d05652391985"><td class="memItemLeft" align="right" valign="top"> </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> &)=delete</td></tr>
143 <tr class="memdesc:ad14903ce0bc1e71d5d80d05652391985"><td class="mdescLeft"> </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"> </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> & </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> &)=delete</td></tr>
146 <tr class="memdesc:af81e2210787e1864c8bc6458b3072f6e"><td class="mdescLeft"> </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"> </td></tr>
148 <tr class="memitem:a0071ab54dfbc65a74a7f17727ce9315d"><td class="memItemLeft" align="right" valign="top"> </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> &&)=default</td></tr>
149 <tr class="memdesc:a0071ab54dfbc65a74a7f17727ce9315d"><td class="mdescLeft"> </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"> </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> & </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> &&)=default</td></tr>
152 <tr class="memdesc:ad441ee7d0846b6acc9d515383525ba52"><td class="mdescLeft"> </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"> </td></tr>
154 <tr class="memitem:a790d14a2d09d003f656bdfdf9cdb9150"><td class="memItemLeft" align="right" valign="top">virtual </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"> </td><td class="mdescRight">Default destructor. <a href="#a790d14a2d09d003f656bdfdf9cdb9150">More...</a><br /></td></tr>
156 <tr class="separator:a790d14a2d09d003f656bdfdf9cdb9150"><td class="memSeparator" colspan="2"> </td></tr>
157 <tr class="memitem:af7844db7c841f3f117547b7bd6ccfc55"><td class="memItemLeft" align="right" valign="top">void </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> &info, unsigned int inner_border_right, unsigned int inner_border_top)</td></tr>
158 <tr class="memdesc:af7844db7c841f3f117547b7bd6ccfc55"><td class="mdescLeft"> </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"> </td></tr>
160 <tr class="memitem:ad1717410afd0be936c6213a63c8005fb"><td class="memItemLeft" align="right" valign="top">void </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"> </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"> </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="-"/> 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 </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"> </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"> </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 </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"> </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"> </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> </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> &info, unsigned int inner_border_right, unsigned int inner_border_top)</td></tr>
174 <tr class="memdesc:ac8a80636a5f700d9de2fe415cb721407"><td class="mdescLeft"> </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"> </td></tr>
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 < 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>
184 <li><a class="el" href="classarm__compute_1_1_n_e_direct_convolution_layer.xhtml">NEDirectConvolutionLayer</a> </li>
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 & Destructor Documentation</h2>
189 <a class="anchor" id="a7eed3415cae42b9a35a5ffa5267281d9"></a>
190 <div class="memitem">
191 <div class="memproto">
192 <table class="memname">
194 <td class="memname"><a class="el" href="classarm__compute_1_1_n_e_deconvolution_layer.xhtml">NEDeconvolutionLayer</a> </td>
196 <td class="paramtype">std::shared_ptr< <a class="el" href="classarm__compute_1_1_i_memory_manager.xhtml">IMemoryManager</a> > </td>
197 <td class="paramname"><em>memory_manager</em> = <code>nullptr</code></td><td>)</td>
201 </div><div class="memdoc">
203 <p>Default constructor. </p>
207 <a class="anchor" id="ad14903ce0bc1e71d5d80d05652391985"></a>
208 <div class="memitem">
209 <div class="memproto">
210 <table class="mlabels">
212 <td class="mlabels-left">
213 <table class="memname">
215 <td class="memname"><a class="el" href="classarm__compute_1_1_n_e_deconvolution_layer.xhtml">NEDeconvolutionLayer</a> </td>
217 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_n_e_deconvolution_layer.xhtml">NEDeconvolutionLayer</a> & </td>
218 <td class="paramname"></td><td>)</td>
223 <td class="mlabels-right">
224 <span class="mlabels"><span class="mlabel">delete</span></span> </td>
227 </div><div class="memdoc">
229 <p>Prevent instances of this class from being copied (As this class contains pointers) </p>
233 <a class="anchor" id="a0071ab54dfbc65a74a7f17727ce9315d"></a>
234 <div class="memitem">
235 <div class="memproto">
236 <table class="mlabels">
238 <td class="mlabels-left">
239 <table class="memname">
241 <td class="memname"><a class="el" href="classarm__compute_1_1_n_e_deconvolution_layer.xhtml">NEDeconvolutionLayer</a> </td>
243 <td class="paramtype"><a class="el" href="classarm__compute_1_1_n_e_deconvolution_layer.xhtml">NEDeconvolutionLayer</a> && </td>
244 <td class="paramname"></td><td>)</td>
249 <td class="mlabels-right">
250 <span class="mlabels"><span class="mlabel">default</span></span> </td>
253 </div><div class="memdoc">
255 <p>Allow instances of this class to be moved. </p>
259 <a class="anchor" id="a790d14a2d09d003f656bdfdf9cdb9150"></a>
260 <div class="memitem">
261 <div class="memproto">
262 <table class="mlabels">
264 <td class="mlabels-left">
265 <table class="memname">
267 <td class="memname">virtual ~<a class="el" href="classarm__compute_1_1_n_e_deconvolution_layer.xhtml">NEDeconvolutionLayer</a> </td>
269 <td class="paramname"></td><td>)</td>
274 <td class="mlabels-right">
275 <span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">default</span></span> </td>
278 </div><div class="memdoc">
280 <p>Default destructor. </p>
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">
290 <td class="memname">void configure </td>
292 <td class="paramtype"><a class="el" href="classarm__compute_1_1_i_tensor.xhtml">ITensor</a> * </td>
293 <td class="paramname"><em>input</em>, </td>
296 <td class="paramkey"></td>
298 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_tensor.xhtml">ITensor</a> * </td>
299 <td class="paramname"><em>weights</em>, </td>
302 <td class="paramkey"></td>
304 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_tensor.xhtml">ITensor</a> * </td>
305 <td class="paramname"><em>bias</em>, </td>
308 <td class="paramkey"></td>
310 <td class="paramtype"><a class="el" href="classarm__compute_1_1_i_tensor.xhtml">ITensor</a> * </td>
311 <td class="paramname"><em>output</em>, </td>
314 <td class="paramkey"></td>
316 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a> & </td>
317 <td class="paramname"><em>info</em>, </td>
320 <td class="paramkey"></td>
322 <td class="paramtype">unsigned int </td>
323 <td class="paramname"><em>inner_border_right</em>, </td>
326 <td class="paramkey"></td>
328 <td class="paramtype">unsigned int </td>
329 <td class="paramname"><em>inner_border_top</em> </td>
337 </div><div class="memdoc">
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>
355 <a class="anchor" id="af81e2210787e1864c8bc6458b3072f6e"></a>
356 <div class="memitem">
357 <div class="memproto">
358 <table class="mlabels">
360 <td class="mlabels-left">
361 <table class="memname">
363 <td class="memname"><a class="el" href="classarm__compute_1_1_n_e_deconvolution_layer.xhtml">NEDeconvolutionLayer</a>& operator= </td>
365 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_n_e_deconvolution_layer.xhtml">NEDeconvolutionLayer</a> & </td>
366 <td class="paramname"></td><td>)</td>
371 <td class="mlabels-right">
372 <span class="mlabels"><span class="mlabel">delete</span></span> </td>
375 </div><div class="memdoc">
377 <p>Prevent instances of this class from being copied (As this class contains pointers) </p>
381 <a class="anchor" id="ad441ee7d0846b6acc9d515383525ba52"></a>
382 <div class="memitem">
383 <div class="memproto">
384 <table class="mlabels">
386 <td class="mlabels-left">
387 <table class="memname">
389 <td class="memname"><a class="el" href="classarm__compute_1_1_n_e_deconvolution_layer.xhtml">NEDeconvolutionLayer</a>& operator= </td>
391 <td class="paramtype"><a class="el" href="classarm__compute_1_1_n_e_deconvolution_layer.xhtml">NEDeconvolutionLayer</a> && </td>
392 <td class="paramname"></td><td>)</td>
397 <td class="mlabels-right">
398 <span class="mlabels"><span class="mlabel">default</span></span> </td>
401 </div><div class="memdoc">
403 <p>Allow instances of this class to be moved. </p>
407 <a class="anchor" id="ad1717410afd0be936c6213a63c8005fb"></a>
408 <div class="memitem">
409 <div class="memproto">
410 <table class="mlabels">
412 <td class="mlabels-left">
413 <table class="memname">
415 <td class="memname">void run </td>
417 <td class="paramname"></td><td>)</td>
422 <td class="mlabels-right">
423 <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
426 </div><div class="memdoc">
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>
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>
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>
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>
442 <p>Implements <a class="el" href="classarm__compute_1_1_i_function.xhtml#a18954417d3124a8095783ea13dc6d00b">IFunction</a>.</p>
446 <a class="anchor" id="ac8a80636a5f700d9de2fe415cb721407"></a>
447 <div class="memitem">
448 <div class="memproto">
449 <table class="mlabels">
451 <td class="mlabels-left">
452 <table class="memname">
454 <td class="memname">static <a class="el" href="classarm__compute_1_1_status.xhtml">Status</a> validate </td>
456 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_tensor_info.xhtml">ITensorInfo</a> * </td>
457 <td class="paramname"><em>input</em>, </td>
460 <td class="paramkey"></td>
462 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_tensor_info.xhtml">ITensorInfo</a> * </td>
463 <td class="paramname"><em>weights</em>, </td>
466 <td class="paramkey"></td>
468 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_tensor_info.xhtml">ITensorInfo</a> * </td>
469 <td class="paramname"><em>bias</em>, </td>
472 <td class="paramkey"></td>
474 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_tensor_info.xhtml">ITensorInfo</a> * </td>
475 <td class="paramname"><em>output</em>, </td>
478 <td class="paramkey"></td>
480 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a> & </td>
481 <td class="paramname"><em>info</em>, </td>
484 <td class="paramkey"></td>
486 <td class="paramtype">unsigned int </td>
487 <td class="paramname"><em>inner_border_right</em>, </td>
490 <td class="paramkey"></td>
492 <td class="paramtype">unsigned int </td>
493 <td class="paramname"><em>inner_border_top</em> </td>
502 <td class="mlabels-right">
503 <span class="mlabels"><span class="mlabel">static</span></span> </td>
506 </div><div class="memdoc">
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>
521 <dl class="section return"><dt>Returns</dt><dd>a status </dd></dl>
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>
528 </div><!-- contents -->
529 </div><!-- doc-content -->
530 <!-- start footer part -->
531 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
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>