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: NEDirectConvolutionLayerKernel 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_direct_convolution_layer_kernel.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">NEDirectConvolutionLayerKernel Class Reference</div> </div>
124 <div class="contents">
126 <p>NEON interface for Direct Convolution Layer kernel.
127 <a href="classarm__compute_1_1_n_e_direct_convolution_layer_kernel.xhtml#details">More...</a></p>
129 <p><code>#include <<a class="el" href="_n_e_direct_convolution_layer_kernel_8h_source.xhtml">NEDirectConvolutionLayerKernel.h</a>></code></p>
130 <div class="dynheader">
131 Collaboration diagram for NEDirectConvolutionLayerKernel:</div>
132 <div class="dyncontent">
133 <div class="center"><iframe scrolling="no" frameborder="0" src="classarm__compute_1_1_n_e_direct_convolution_layer_kernel__coll__graph.svg" width="199" height="202"><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:ab5656bb5b6334bdbe6e606c715872828"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_n_e_direct_convolution_layer_kernel.xhtml#ab5656bb5b6334bdbe6e606c715872828">name</a> () const override</td></tr>
140 <tr class="memdesc:ab5656bb5b6334bdbe6e606c715872828"><td class="mdescLeft"> </td><td class="mdescRight">Name of the kernel. <a href="#ab5656bb5b6334bdbe6e606c715872828">More...</a><br /></td></tr>
141 <tr class="separator:ab5656bb5b6334bdbe6e606c715872828"><td class="memSeparator" colspan="2"> </td></tr>
142 <tr class="memitem:ac0cdf0dbaff299b1359714a7f70d6072"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_n_e_direct_convolution_layer_kernel.xhtml#ac0cdf0dbaff299b1359714a7f70d6072">NEDirectConvolutionLayerKernel</a> ()</td></tr>
143 <tr class="memdesc:ac0cdf0dbaff299b1359714a7f70d6072"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <a href="#ac0cdf0dbaff299b1359714a7f70d6072">More...</a><br /></td></tr>
144 <tr class="separator:ac0cdf0dbaff299b1359714a7f70d6072"><td class="memSeparator" colspan="2"> </td></tr>
145 <tr class="memitem:a2cb2b9e95ff81e666d4e11b645fee8db"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_n_e_direct_convolution_layer_kernel.xhtml#a2cb2b9e95ff81e666d4e11b645fee8db">NEDirectConvolutionLayerKernel</a> (const <a class="el" href="classarm__compute_1_1_n_e_direct_convolution_layer_kernel.xhtml">NEDirectConvolutionLayerKernel</a> &)=delete</td></tr>
146 <tr class="memdesc:a2cb2b9e95ff81e666d4e11b645fee8db"><td class="mdescLeft"> </td><td class="mdescRight">Prevent instances of this class from being copied (As this class contains pointers) <a href="#a2cb2b9e95ff81e666d4e11b645fee8db">More...</a><br /></td></tr>
147 <tr class="separator:a2cb2b9e95ff81e666d4e11b645fee8db"><td class="memSeparator" colspan="2"> </td></tr>
148 <tr class="memitem:ac299dc8386e25ebcf104989623cf6000"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1_n_e_direct_convolution_layer_kernel.xhtml">NEDirectConvolutionLayerKernel</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_n_e_direct_convolution_layer_kernel.xhtml#ac299dc8386e25ebcf104989623cf6000">operator=</a> (const <a class="el" href="classarm__compute_1_1_n_e_direct_convolution_layer_kernel.xhtml">NEDirectConvolutionLayerKernel</a> &)=delete</td></tr>
149 <tr class="memdesc:ac299dc8386e25ebcf104989623cf6000"><td class="mdescLeft"> </td><td class="mdescRight">Prevent instances of this class from being copied (As this class contains pointers) <a href="#ac299dc8386e25ebcf104989623cf6000">More...</a><br /></td></tr>
150 <tr class="separator:ac299dc8386e25ebcf104989623cf6000"><td class="memSeparator" colspan="2"> </td></tr>
151 <tr class="memitem:a011feff0e8a189fd41f1712c2ab63745"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_n_e_direct_convolution_layer_kernel.xhtml#a011feff0e8a189fd41f1712c2ab63745">NEDirectConvolutionLayerKernel</a> (<a class="el" href="classarm__compute_1_1_n_e_direct_convolution_layer_kernel.xhtml">NEDirectConvolutionLayerKernel</a> &&)=default</td></tr>
152 <tr class="memdesc:a011feff0e8a189fd41f1712c2ab63745"><td class="mdescLeft"> </td><td class="mdescRight">Allow instances of this class to be moved. <a href="#a011feff0e8a189fd41f1712c2ab63745">More...</a><br /></td></tr>
153 <tr class="separator:a011feff0e8a189fd41f1712c2ab63745"><td class="memSeparator" colspan="2"> </td></tr>
154 <tr class="memitem:aec3ec4dc8b3bda8ba2638fbb9d520322"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1_n_e_direct_convolution_layer_kernel.xhtml">NEDirectConvolutionLayerKernel</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_n_e_direct_convolution_layer_kernel.xhtml#aec3ec4dc8b3bda8ba2638fbb9d520322">operator=</a> (<a class="el" href="classarm__compute_1_1_n_e_direct_convolution_layer_kernel.xhtml">NEDirectConvolutionLayerKernel</a> &&)=default</td></tr>
155 <tr class="memdesc:aec3ec4dc8b3bda8ba2638fbb9d520322"><td class="mdescLeft"> </td><td class="mdescRight">Allow instances of this class to be moved. <a href="#aec3ec4dc8b3bda8ba2638fbb9d520322">More...</a><br /></td></tr>
156 <tr class="separator:aec3ec4dc8b3bda8ba2638fbb9d520322"><td class="memSeparator" colspan="2"> </td></tr>
157 <tr class="memitem:a59e6b01f2562366f54106175432079a0"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_n_e_direct_convolution_layer_kernel.xhtml#a59e6b01f2562366f54106175432079a0">~NEDirectConvolutionLayerKernel</a> ()=default</td></tr>
158 <tr class="memdesc:a59e6b01f2562366f54106175432079a0"><td class="mdescLeft"> </td><td class="mdescRight">Default destructor. <a href="#a59e6b01f2562366f54106175432079a0">More...</a><br /></td></tr>
159 <tr class="separator:a59e6b01f2562366f54106175432079a0"><td class="memSeparator" colspan="2"> </td></tr>
160 <tr class="memitem:a537ba0d35bcc8d5488da55d1a27c89a3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_n_e_direct_convolution_layer_kernel.xhtml#a537ba0d35bcc8d5488da55d1a27c89a3">configure</a> (const <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, <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> &conv_info)</td></tr>
161 <tr class="memdesc:a537ba0d35bcc8d5488da55d1a27c89a3"><td class="mdescLeft"> </td><td class="mdescRight">Set the input, weights, and output tensors. <a href="#a537ba0d35bcc8d5488da55d1a27c89a3">More...</a><br /></td></tr>
162 <tr class="separator:a537ba0d35bcc8d5488da55d1a27c89a3"><td class="memSeparator" colspan="2"> </td></tr>
163 <tr class="memitem:a112b35dd205c62ea6ed1447ef226da82"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_n_e_direct_convolution_layer_kernel.xhtml#a112b35dd205c62ea6ed1447ef226da82">run</a> (const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> &<a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">window</a>, const <a class="el" href="structarm__compute_1_1_thread_info.xhtml">ThreadInfo</a> &info) override</td></tr>
164 <tr class="memdesc:a112b35dd205c62ea6ed1447ef226da82"><td class="mdescLeft"> </td><td class="mdescRight">Execute the kernel on the passed window. <a href="#a112b35dd205c62ea6ed1447ef226da82">More...</a><br /></td></tr>
165 <tr class="separator:a112b35dd205c62ea6ed1447ef226da82"><td class="memSeparator" colspan="2"> </td></tr>
166 <tr class="memitem:a423f9a45a52983b4de5e2b347f4369c7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structarm__compute_1_1_border_size.xhtml">BorderSize</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_n_e_direct_convolution_layer_kernel.xhtml#a423f9a45a52983b4de5e2b347f4369c7">border_size</a> () const override</td></tr>
167 <tr class="memdesc:a423f9a45a52983b4de5e2b347f4369c7"><td class="mdescLeft"> </td><td class="mdescRight">The size of the border for that kernel. <a href="#a423f9a45a52983b4de5e2b347f4369c7">More...</a><br /></td></tr>
168 <tr class="separator:a423f9a45a52983b4de5e2b347f4369c7"><td class="memSeparator" colspan="2"> </td></tr>
169 <tr class="inherit_header pub_methods_classarm__compute_1_1_i_c_p_p_kernel"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarm__compute_1_1_i_c_p_p_kernel')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classarm__compute_1_1_i_c_p_p_kernel.xhtml">ICPPKernel</a></td></tr>
170 <tr class="memitem:a033d17a97e07cea7fe83eefcf23540f6 inherit pub_methods_classarm__compute_1_1_i_c_p_p_kernel"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_p_p_kernel.xhtml#a033d17a97e07cea7fe83eefcf23540f6">~ICPPKernel</a> ()=default</td></tr>
171 <tr class="memdesc:a033d17a97e07cea7fe83eefcf23540f6 inherit pub_methods_classarm__compute_1_1_i_c_p_p_kernel"><td class="mdescLeft"> </td><td class="mdescRight">Default destructor. <a href="#a033d17a97e07cea7fe83eefcf23540f6">More...</a><br /></td></tr>
172 <tr class="separator:a033d17a97e07cea7fe83eefcf23540f6 inherit pub_methods_classarm__compute_1_1_i_c_p_p_kernel"><td class="memSeparator" colspan="2"> </td></tr>
173 <tr class="inherit_header pub_methods_classarm__compute_1_1_i_kernel"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarm__compute_1_1_i_kernel')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classarm__compute_1_1_i_kernel.xhtml">IKernel</a></td></tr>
174 <tr class="memitem:a7250cb8cbaa4104a93a2d77155085507 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a7250cb8cbaa4104a93a2d77155085507">IKernel</a> ()</td></tr>
175 <tr class="memdesc:a7250cb8cbaa4104a93a2d77155085507 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#a7250cb8cbaa4104a93a2d77155085507">More...</a><br /></td></tr>
176 <tr class="separator:a7250cb8cbaa4104a93a2d77155085507 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memSeparator" colspan="2"> </td></tr>
177 <tr class="memitem:a341b60d15a5e12a5b8f3825194dd3b12 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a341b60d15a5e12a5b8f3825194dd3b12">~IKernel</a> ()=default</td></tr>
178 <tr class="memdesc:a341b60d15a5e12a5b8f3825194dd3b12 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a341b60d15a5e12a5b8f3825194dd3b12">More...</a><br /></td></tr>
179 <tr class="separator:a341b60d15a5e12a5b8f3825194dd3b12 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memSeparator" colspan="2"> </td></tr>
180 <tr class="memitem:abfab8f0d4928e1081d9f65b77933e24a inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_kernel.xhtml#abfab8f0d4928e1081d9f65b77933e24a">is_parallelisable</a> () const </td></tr>
181 <tr class="memdesc:abfab8f0d4928e1081d9f65b77933e24a inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="mdescLeft"> </td><td class="mdescRight">Indicates whether or not the kernel is parallelisable. <a href="#abfab8f0d4928e1081d9f65b77933e24a">More...</a><br /></td></tr>
182 <tr class="separator:abfab8f0d4928e1081d9f65b77933e24a inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memSeparator" colspan="2"> </td></tr>
183 <tr class="memitem:a3f5646133956f06348b310ccc3d36353 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">window</a> () const </td></tr>
184 <tr class="memdesc:a3f5646133956f06348b310ccc3d36353 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="mdescLeft"> </td><td class="mdescRight">The maximum window the kernel can be executed on. <a href="#a3f5646133956f06348b310ccc3d36353">More...</a><br /></td></tr>
185 <tr class="separator:a3f5646133956f06348b310ccc3d36353 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memSeparator" colspan="2"> </td></tr>
186 </table><table class="memberdecls">
187 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
188 Static Public Member Functions</h2></td></tr>
189 <tr class="memitem:ad668897afed0d71c6d1bb693059a37b8"><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_direct_convolution_layer_kernel.xhtml#ad668897afed0d71c6d1bb693059a37b8">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> *output, const <a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a> &conv_info)</td></tr>
190 <tr class="memdesc:ad668897afed0d71c6d1bb693059a37b8"><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_direct_convolution_layer_kernel.xhtml">NEDirectConvolutionLayerKernel</a>. <a href="#ad668897afed0d71c6d1bb693059a37b8">More...</a><br /></td></tr>
191 <tr class="separator:ad668897afed0d71c6d1bb693059a37b8"><td class="memSeparator" colspan="2"> </td></tr>
193 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
194 <div class="textblock"><p>NEON interface for Direct Convolution Layer kernel. </p>
196 <p>Definition at line <a class="el" href="_n_e_direct_convolution_layer_kernel_8h_source.xhtml#l00034">34</a> of file <a class="el" href="_n_e_direct_convolution_layer_kernel_8h_source.xhtml">NEDirectConvolutionLayerKernel.h</a>.</p>
197 </div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
198 <a class="anchor" id="ac0cdf0dbaff299b1359714a7f70d6072"></a>
199 <div class="memitem">
200 <div class="memproto">
201 <table class="memname">
203 <td class="memname"><a class="el" href="classarm__compute_1_1_n_e_direct_convolution_layer_kernel.xhtml">NEDirectConvolutionLayerKernel</a> </td>
205 <td class="paramname"></td><td>)</td>
209 </div><div class="memdoc">
211 <p>Default constructor. </p>
213 <p>Referenced by <a class="el" href="_n_e_direct_convolution_layer_kernel_8h_source.xhtml#l00037">NEDirectConvolutionLayerKernel::name()</a>.</p>
217 <a class="anchor" id="a2cb2b9e95ff81e666d4e11b645fee8db"></a>
218 <div class="memitem">
219 <div class="memproto">
220 <table class="mlabels">
222 <td class="mlabels-left">
223 <table class="memname">
225 <td class="memname"><a class="el" href="classarm__compute_1_1_n_e_direct_convolution_layer_kernel.xhtml">NEDirectConvolutionLayerKernel</a> </td>
227 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_n_e_direct_convolution_layer_kernel.xhtml">NEDirectConvolutionLayerKernel</a> & </td>
228 <td class="paramname"></td><td>)</td>
233 <td class="mlabels-right">
234 <span class="mlabels"><span class="mlabel">delete</span></span> </td>
237 </div><div class="memdoc">
239 <p>Prevent instances of this class from being copied (As this class contains pointers) </p>
243 <a class="anchor" id="a011feff0e8a189fd41f1712c2ab63745"></a>
244 <div class="memitem">
245 <div class="memproto">
246 <table class="mlabels">
248 <td class="mlabels-left">
249 <table class="memname">
251 <td class="memname"><a class="el" href="classarm__compute_1_1_n_e_direct_convolution_layer_kernel.xhtml">NEDirectConvolutionLayerKernel</a> </td>
253 <td class="paramtype"><a class="el" href="classarm__compute_1_1_n_e_direct_convolution_layer_kernel.xhtml">NEDirectConvolutionLayerKernel</a> && </td>
254 <td class="paramname"></td><td>)</td>
259 <td class="mlabels-right">
260 <span class="mlabels"><span class="mlabel">default</span></span> </td>
263 </div><div class="memdoc">
265 <p>Allow instances of this class to be moved. </p>
269 <a class="anchor" id="a59e6b01f2562366f54106175432079a0"></a>
270 <div class="memitem">
271 <div class="memproto">
272 <table class="mlabels">
274 <td class="mlabels-left">
275 <table class="memname">
277 <td class="memname">~<a class="el" href="classarm__compute_1_1_n_e_direct_convolution_layer_kernel.xhtml">NEDirectConvolutionLayerKernel</a> </td>
279 <td class="paramname"></td><td>)</td>
284 <td class="mlabels-right">
285 <span class="mlabels"><span class="mlabel">default</span></span> </td>
288 </div><div class="memdoc">
290 <p>Default destructor. </p>
292 <p>Referenced by <a class="el" href="_n_e_direct_convolution_layer_kernel_8h_source.xhtml#l00037">NEDirectConvolutionLayerKernel::name()</a>.</p>
296 <h2 class="groupheader">Member Function Documentation</h2>
297 <a class="anchor" id="a423f9a45a52983b4de5e2b347f4369c7"></a>
298 <div class="memitem">
299 <div class="memproto">
300 <table class="mlabels">
302 <td class="mlabels-left">
303 <table class="memname">
305 <td class="memname"><a class="el" href="structarm__compute_1_1_border_size.xhtml">BorderSize</a> border_size </td>
307 <td class="paramname"></td><td>)</td>
312 <td class="mlabels-right">
313 <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
316 </div><div class="memdoc">
318 <p>The size of the border for that kernel. </p>
319 <dl class="section return"><dt>Returns</dt><dd>The width in number of elements of the border. </dd></dl>
321 <p>Reimplemented from <a class="el" href="classarm__compute_1_1_i_kernel.xhtml#aa6daa9b04e2035bf007e5e5c3c4396a8">IKernel</a>.</p>
323 <p>Referenced by <a class="el" href="_n_e_direct_convolution_layer_kernel_8h_source.xhtml#l00037">NEDirectConvolutionLayerKernel::name()</a>.</p>
327 <a class="anchor" id="a537ba0d35bcc8d5488da55d1a27c89a3"></a>
328 <div class="memitem">
329 <div class="memproto">
330 <table class="memname">
332 <td class="memname">void configure </td>
334 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_tensor.xhtml">ITensor</a> * </td>
335 <td class="paramname"><em>input</em>, </td>
338 <td class="paramkey"></td>
340 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_tensor.xhtml">ITensor</a> * </td>
341 <td class="paramname"><em>weights</em>, </td>
344 <td class="paramkey"></td>
346 <td class="paramtype"><a class="el" href="classarm__compute_1_1_i_tensor.xhtml">ITensor</a> * </td>
347 <td class="paramname"><em>output</em>, </td>
350 <td class="paramkey"></td>
352 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a> & </td>
353 <td class="paramname"><em>conv_info</em> </td>
361 </div><div class="memdoc">
363 <p>Set the input, weights, and output tensors. </p>
364 <dl class="section note"><dt>Note</dt><dd>: DirectConvolution only works in the following configurations: 1x1 convolution with stride_x = 1/2/3, stride_y = 1/2/3 3x3 convolution with stride_x = 1/2/3, stride_y = 1/2/3</dd></dl>
365 <dl class="params"><dt>Parameters</dt><dd>
366 <table class="params">
367 <tr><td class="paramdir">[in]</td><td class="paramname">input</td><td>The input tensor to convolve. 3 lower dimensions represent a single input [width, height, IFM], while every optional dimension from 4 and above represent a batch of inputs. Data types supported: QS8/QS16/F16/F32. </td></tr>
368 <tr><td class="paramdir">[in]</td><td class="paramname">weights</td><td>Weights tensor. Weights are 4D tensor with dimensions [kernel_x, kernel_y, IFM, OFM]. The 3rd dimension must be the same as the input's volume 3rd dimension. Data type supported:Same as <code>input</code>. </td></tr>
369 <tr><td class="paramdir">[out]</td><td class="paramname">output</td><td>Output tensor. The 3rd dimensions must be equal to the 4th dimension of the <code>kernels</code> tensor. Data types supported: QS16/QS32/F16/F32 </td></tr>
370 <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>
375 <p>Referenced by <a class="el" href="_n_e_direct_convolution_layer_kernel_8h_source.xhtml#l00037">NEDirectConvolutionLayerKernel::name()</a>.</p>
379 <a class="anchor" id="ab5656bb5b6334bdbe6e606c715872828"></a>
380 <div class="memitem">
381 <div class="memproto">
382 <table class="mlabels">
384 <td class="mlabels-left">
385 <table class="memname">
387 <td class="memname">const char* name </td>
389 <td class="paramname"></td><td>)</td>
394 <td class="mlabels-right">
395 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
398 </div><div class="memdoc">
400 <p>Name of the kernel. </p>
401 <dl class="section return"><dt>Returns</dt><dd><a class="el" href="classarm__compute_1_1_kernel.xhtml" title="Kernel class. ">Kernel</a> name </dd></dl>
403 <p>Implements <a class="el" href="classarm__compute_1_1_i_c_p_p_kernel.xhtml#a1a30ad8f276a2310571c36239554831a">ICPPKernel</a>.</p>
405 <p>Definition at line <a class="el" href="_n_e_direct_convolution_layer_kernel_8h_source.xhtml#l00037">37</a> of file <a class="el" href="_n_e_direct_convolution_layer_kernel_8h_source.xhtml">NEDirectConvolutionLayerKernel.h</a>.</p>
407 <p>References <a class="el" href="classarm__compute_1_1_n_e_direct_convolution_layer_kernel.xhtml#a423f9a45a52983b4de5e2b347f4369c7">NEDirectConvolutionLayerKernel::border_size()</a>, <a class="el" href="classarm__compute_1_1_n_e_direct_convolution_layer_kernel.xhtml#a537ba0d35bcc8d5488da55d1a27c89a3">NEDirectConvolutionLayerKernel::configure()</a>, <a class="el" href="_c_l_2_winograd_8cpp_source.xhtml#l00360">arm_compute::test::validation::conv_info</a>, <a class="el" href="namespacearm__compute_1_1test_1_1validation.xhtml#a096668313a9a819d54a2e65ec21ff0cc">arm_compute::test::validation::info()</a>, <a class="el" href="classarm__compute_1_1_n_e_direct_convolution_layer_kernel.xhtml#ac0cdf0dbaff299b1359714a7f70d6072">NEDirectConvolutionLayerKernel::NEDirectConvolutionLayerKernel()</a>, <a class="el" href="classarm__compute_1_1_n_e_direct_convolution_layer_kernel.xhtml#ac299dc8386e25ebcf104989623cf6000">NEDirectConvolutionLayerKernel::operator=()</a>, <a class="el" href="classarm__compute_1_1_n_e_direct_convolution_layer_kernel.xhtml#a112b35dd205c62ea6ed1447ef226da82">NEDirectConvolutionLayerKernel::run()</a>, <a class="el" href="classarm__compute_1_1_n_e_direct_convolution_layer_kernel.xhtml#ad668897afed0d71c6d1bb693059a37b8">NEDirectConvolutionLayerKernel::validate()</a>, <a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353">IKernel::window()</a>, and <a class="el" href="classarm__compute_1_1_n_e_direct_convolution_layer_kernel.xhtml#a59e6b01f2562366f54106175432079a0">NEDirectConvolutionLayerKernel::~NEDirectConvolutionLayerKernel()</a>.</p>
408 <div class="fragment"><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  {</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keywordflow">return</span> <span class="stringliteral">"NEDirectConvolutionLayerKernel"</span>;</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  }</div></div><!-- fragment -->
411 <a class="anchor" id="ac299dc8386e25ebcf104989623cf6000"></a>
412 <div class="memitem">
413 <div class="memproto">
414 <table class="mlabels">
416 <td class="mlabels-left">
417 <table class="memname">
419 <td class="memname"><a class="el" href="classarm__compute_1_1_n_e_direct_convolution_layer_kernel.xhtml">NEDirectConvolutionLayerKernel</a>& operator= </td>
421 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_n_e_direct_convolution_layer_kernel.xhtml">NEDirectConvolutionLayerKernel</a> & </td>
422 <td class="paramname"></td><td>)</td>
427 <td class="mlabels-right">
428 <span class="mlabels"><span class="mlabel">delete</span></span> </td>
431 </div><div class="memdoc">
433 <p>Prevent instances of this class from being copied (As this class contains pointers) </p>
435 <p>Referenced by <a class="el" href="_n_e_direct_convolution_layer_kernel_8h_source.xhtml#l00037">NEDirectConvolutionLayerKernel::name()</a>.</p>
439 <a class="anchor" id="aec3ec4dc8b3bda8ba2638fbb9d520322"></a>
440 <div class="memitem">
441 <div class="memproto">
442 <table class="mlabels">
444 <td class="mlabels-left">
445 <table class="memname">
447 <td class="memname"><a class="el" href="classarm__compute_1_1_n_e_direct_convolution_layer_kernel.xhtml">NEDirectConvolutionLayerKernel</a>& operator= </td>
449 <td class="paramtype"><a class="el" href="classarm__compute_1_1_n_e_direct_convolution_layer_kernel.xhtml">NEDirectConvolutionLayerKernel</a> && </td>
450 <td class="paramname"></td><td>)</td>
455 <td class="mlabels-right">
456 <span class="mlabels"><span class="mlabel">default</span></span> </td>
459 </div><div class="memdoc">
461 <p>Allow instances of this class to be moved. </p>
465 <a class="anchor" id="a112b35dd205c62ea6ed1447ef226da82"></a>
466 <div class="memitem">
467 <div class="memproto">
468 <table class="mlabels">
470 <td class="mlabels-left">
471 <table class="memname">
473 <td class="memname">void run </td>
475 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> & </td>
476 <td class="paramname"><em>window</em>, </td>
479 <td class="paramkey"></td>
481 <td class="paramtype">const <a class="el" href="structarm__compute_1_1_thread_info.xhtml">ThreadInfo</a> & </td>
482 <td class="paramname"><em>info</em> </td>
491 <td class="mlabels-right">
492 <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
495 </div><div class="memdoc">
497 <p>Execute the kernel on the passed window. </p>
498 <dl class="section warning"><dt>Warning</dt><dd>If <a class="el" href="classarm__compute_1_1_i_kernel.xhtml#abfab8f0d4928e1081d9f65b77933e24a" title="Indicates whether or not the kernel is parallelisable. ">is_parallelisable()</a> returns false then the passed window must be equal to <a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353" title="The maximum window the kernel can be executed on. ">window()</a></dd></dl>
499 <dl class="section note"><dt>Note</dt><dd>The window has to be a region within the window returned by the <a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353" title="The maximum window the kernel can be executed on. ">window()</a> method</dd>
501 The width of the window has to be a multiple of num_elems_processed_per_iteration().</dd></dl>
502 <dl class="params"><dt>Parameters</dt><dd>
503 <table class="params">
504 <tr><td class="paramdir">[in]</td><td class="paramname">window</td><td>Region on which to execute the kernel. (Must be a region of the window returned by <a class="el" href="classarm__compute_1_1_i_kernel.xhtml#a3f5646133956f06348b310ccc3d36353" title="The maximum window the kernel can be executed on. ">window()</a>) </td></tr>
505 <tr><td class="paramdir">[in]</td><td class="paramname">info</td><td>Info about executing thread and CPU. </td></tr>
510 <p>Implements <a class="el" href="classarm__compute_1_1_i_c_p_p_kernel.xhtml#af814ff5e96f40f1cccf809b2b4ee19ef">ICPPKernel</a>.</p>
512 <p>Referenced by <a class="el" href="_n_e_direct_convolution_layer_kernel_8h_source.xhtml#l00037">NEDirectConvolutionLayerKernel::name()</a>.</p>
516 <a class="anchor" id="ad668897afed0d71c6d1bb693059a37b8"></a>
517 <div class="memitem">
518 <div class="memproto">
519 <table class="mlabels">
521 <td class="mlabels-left">
522 <table class="memname">
524 <td class="memname">static <a class="el" href="classarm__compute_1_1_status.xhtml">Status</a> validate </td>
526 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_tensor_info.xhtml">ITensorInfo</a> * </td>
527 <td class="paramname"><em>input</em>, </td>
530 <td class="paramkey"></td>
532 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_tensor_info.xhtml">ITensorInfo</a> * </td>
533 <td class="paramname"><em>weights</em>, </td>
536 <td class="paramkey"></td>
538 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_tensor_info.xhtml">ITensorInfo</a> * </td>
539 <td class="paramname"><em>output</em>, </td>
542 <td class="paramkey"></td>
544 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_pad_stride_info.xhtml">PadStrideInfo</a> & </td>
545 <td class="paramname"><em>conv_info</em> </td>
554 <td class="mlabels-right">
555 <span class="mlabels"><span class="mlabel">static</span></span> </td>
558 </div><div class="memdoc">
560 <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_direct_convolution_layer_kernel.xhtml">NEDirectConvolutionLayerKernel</a>. </p>
561 <dl class="params"><dt>Parameters</dt><dd>
562 <table class="params">
563 <tr><td class="paramdir">[in]</td><td class="paramname">input</td><td>The input tensor to convolve. 3 lower dimensions represent a single input [width, height, IFM], while every optional dimension from 4 and above represent a batch of inputs. Data types supported: QS8/QS16/F16/F32. </td></tr>
564 <tr><td class="paramdir">[in]</td><td class="paramname">weights</td><td>Weights tensor. Weights are 4D tensor with dimensions [kernel_x, kernel_y, IFM, OFM]. The 3rd dimension must be the same as the input's volume 3rd dimension. Data type supported:Same as <code>input</code>. </td></tr>
565 <tr><td class="paramdir">[in]</td><td class="paramname">output</td><td>Output tensor. The 3rd dimensions must be equal to the 4th dimension of the <code>kernels</code> tensor. Data types supported: QS16/QS32/F16/F32 </td></tr>
566 <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>
570 <dl class="section return"><dt>Returns</dt><dd>a status </dd></dl>
572 <p>Referenced by <a class="el" href="_n_e_direct_convolution_layer_kernel_8h_source.xhtml#l00037">NEDirectConvolutionLayerKernel::name()</a>.</p>
576 <hr/>The documentation for this class was generated from the following file:<ul>
577 <li>arm_compute/core/NEON/kernels/<a class="el" href="_n_e_direct_convolution_layer_kernel_8h_source.xhtml">NEDirectConvolutionLayerKernel.h</a></li>
579 </div><!-- contents -->
580 </div><!-- doc-content -->
581 <!-- start footer part -->
582 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
584 <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_direct_convolution_layer_kernel.xhtml">NEDirectConvolutionLayerKernel</a></li>
585 <li class="footer">Generated on Wed May 23 2018 11:36:42 for Compute Library by
586 <a href="http://www.doxygen.org/index.html">
587 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>