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>ARM Compute Library: CLConvolutionLayerWeightsReshapeKernel 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">ARM Compute Library
43  <span id="projectnumber">17.04</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="namespaces.xhtml"><span>Namespaces</span></a></li>
59 <li class="current"><a href="annotated.xhtml"><span>Data Structures</span></a></li>
60 <li><a href="files.xhtml"><span>Files</span></a></li>
62 <div id="MSearchBox" class="MSearchBoxInactive">
64 <img id="MSearchSelect" src="search/mag_sel.png"
65 onmouseover="return searchBox.OnSearchSelectShow()"
66 onmouseout="return searchBox.OnSearchSelectHide()"
68 <input type="text" id="MSearchField" value="Search" accesskey="S"
69 onfocus="searchBox.OnSearchFieldFocus(true)"
70 onblur="searchBox.OnSearchFieldFocus(false)"
71 onkeyup="searchBox.OnSearchFieldChange(event)"/>
72 </span><span class="right">
73 <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
79 <div id="navrow2" class="tabs2">
81 <li><a href="annotated.xhtml"><span>Data Structures</span></a></li>
82 <li><a href="classes.xhtml"><span>Data Structure Index</span></a></li>
83 <li><a href="inherits.xhtml"><span>Class Hierarchy</span></a></li>
84 <li><a href="functions.xhtml"><span>Data Fields</span></a></li>
88 <div id="side-nav" class="ui-resizable side-nav-resizable">
90 <div id="nav-tree-contents">
91 <div id="nav-sync" class="sync"></div>
94 <div id="splitbar" style="-moz-user-select:none;"
95 class="ui-resizable-handle">
98 <script type="text/javascript">
99 $(document).ready(function(){initNavTree('classarm__compute_1_1_c_l_convolution_layer_weights_reshape_kernel.xhtml','');});
101 <div id="doc-content">
102 <!-- window showing the filter options -->
103 <div id="MSearchSelectWindow"
104 onmouseover="return searchBox.OnSearchSelectShow()"
105 onmouseout="return searchBox.OnSearchSelectHide()"
106 onkeydown="return searchBox.OnSearchSelectKey(event)">
109 <!-- iframe showing the search results (closed by default) -->
110 <div id="MSearchResultsWindow">
111 <iframe src="javascript:void(0)" frameborder="0"
112 name="MSearchResults" id="MSearchResults">
117 <div class="summary">
118 <a href="#pub-methods">Public Member Functions</a> </div>
119 <div class="headertitle">
120 <div class="title">CLConvolutionLayerWeightsReshapeKernel Class Reference</div> </div>
122 <div class="contents">
124 <p>Interface for the weights reshape kernel used by convolution and fully connected layers.
125 <a href="classarm__compute_1_1_c_l_convolution_layer_weights_reshape_kernel.xhtml#details">More...</a></p>
127 <p><code>#include <<a class="el" href="_c_l_convolution_layer_weights_reshape_kernel_8h_source.xhtml">CLConvolutionLayerWeightsReshapeKernel.h</a>></code></p>
128 <div class="dynheader">
129 Collaboration diagram for CLConvolutionLayerWeightsReshapeKernel:</div>
130 <div class="dyncontent">
131 <div class="center"><iframe scrolling="no" frameborder="0" src="classarm__compute_1_1_c_l_convolution_layer_weights_reshape_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>
133 <center><span class="legend">[<a target="top" href="graph_legend.xhtml">legend</a>]</span></center></div>
134 <table class="memberdecls">
135 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
136 Public Member Functions</h2></td></tr>
137 <tr class="memitem:ab9a3d635b7642f677e665ec9e80a56ab"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_c_l_convolution_layer_weights_reshape_kernel.xhtml#ab9a3d635b7642f677e665ec9e80a56ab">CLConvolutionLayerWeightsReshapeKernel</a> ()</td></tr>
138 <tr class="memdesc:ab9a3d635b7642f677e665ec9e80a56ab"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <a href="#ab9a3d635b7642f677e665ec9e80a56ab">More...</a><br /></td></tr>
139 <tr class="separator:ab9a3d635b7642f677e665ec9e80a56ab"><td class="memSeparator" colspan="2"> </td></tr>
140 <tr class="memitem:ae0214c82efeb2ed2d6e4c0311ed19778"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_c_l_convolution_layer_weights_reshape_kernel.xhtml#ae0214c82efeb2ed2d6e4c0311ed19778">CLConvolutionLayerWeightsReshapeKernel</a> (const <a class="el" href="classarm__compute_1_1_c_l_convolution_layer_weights_reshape_kernel.xhtml">CLConvolutionLayerWeightsReshapeKernel</a> &)=delete</td></tr>
141 <tr class="memdesc:ae0214c82efeb2ed2d6e4c0311ed19778"><td class="mdescLeft"> </td><td class="mdescRight">Prevent instances of this class from being copied (As this class contains pointers) <a href="#ae0214c82efeb2ed2d6e4c0311ed19778">More...</a><br /></td></tr>
142 <tr class="separator:ae0214c82efeb2ed2d6e4c0311ed19778"><td class="memSeparator" colspan="2"> </td></tr>
143 <tr class="memitem:a6855e413477e07be21b96fb86489effb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1_c_l_convolution_layer_weights_reshape_kernel.xhtml">CLConvolutionLayerWeightsReshapeKernel</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_c_l_convolution_layer_weights_reshape_kernel.xhtml#a6855e413477e07be21b96fb86489effb">operator=</a> (const <a class="el" href="classarm__compute_1_1_c_l_convolution_layer_weights_reshape_kernel.xhtml">CLConvolutionLayerWeightsReshapeKernel</a> &)=delete</td></tr>
144 <tr class="memdesc:a6855e413477e07be21b96fb86489effb"><td class="mdescLeft"> </td><td class="mdescRight">Prevent instances of this class from being copied (As this class contains pointers) <a href="#a6855e413477e07be21b96fb86489effb">More...</a><br /></td></tr>
145 <tr class="separator:a6855e413477e07be21b96fb86489effb"><td class="memSeparator" colspan="2"> </td></tr>
146 <tr class="memitem:adc3c56d8a6ee712ffb9bff20d84e7375"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_c_l_convolution_layer_weights_reshape_kernel.xhtml#adc3c56d8a6ee712ffb9bff20d84e7375">CLConvolutionLayerWeightsReshapeKernel</a> (<a class="el" href="classarm__compute_1_1_c_l_convolution_layer_weights_reshape_kernel.xhtml">CLConvolutionLayerWeightsReshapeKernel</a> &&)=default</td></tr>
147 <tr class="memdesc:adc3c56d8a6ee712ffb9bff20d84e7375"><td class="mdescLeft"> </td><td class="mdescRight">Allow instances of this class to be moved. <a href="#adc3c56d8a6ee712ffb9bff20d84e7375">More...</a><br /></td></tr>
148 <tr class="separator:adc3c56d8a6ee712ffb9bff20d84e7375"><td class="memSeparator" colspan="2"> </td></tr>
149 <tr class="memitem:adfa0598bf65ae8e9cff93ae3769c3925"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classarm__compute_1_1_c_l_convolution_layer_weights_reshape_kernel.xhtml">CLConvolutionLayerWeightsReshapeKernel</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_c_l_convolution_layer_weights_reshape_kernel.xhtml#adfa0598bf65ae8e9cff93ae3769c3925">operator=</a> (<a class="el" href="classarm__compute_1_1_c_l_convolution_layer_weights_reshape_kernel.xhtml">CLConvolutionLayerWeightsReshapeKernel</a> &&)=default</td></tr>
150 <tr class="memdesc:adfa0598bf65ae8e9cff93ae3769c3925"><td class="mdescLeft"> </td><td class="mdescRight">Allow instances of this class to be moved. <a href="#adfa0598bf65ae8e9cff93ae3769c3925">More...</a><br /></td></tr>
151 <tr class="separator:adfa0598bf65ae8e9cff93ae3769c3925"><td class="memSeparator" colspan="2"> </td></tr>
152 <tr class="memitem:ab32afb44c79da5f80f07730a11d37060"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_c_l_convolution_layer_weights_reshape_kernel.xhtml#ab32afb44c79da5f80f07730a11d37060">~CLConvolutionLayerWeightsReshapeKernel</a> ()=default</td></tr>
153 <tr class="memdesc:ab32afb44c79da5f80f07730a11d37060"><td class="mdescLeft"> </td><td class="mdescRight">Default destructor. <a href="#ab32afb44c79da5f80f07730a11d37060">More...</a><br /></td></tr>
154 <tr class="separator:ab32afb44c79da5f80f07730a11d37060"><td class="memSeparator" colspan="2"> </td></tr>
155 <tr class="memitem:a74f55a4d6b772d24f720905b5edd8cb0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_c_l_convolution_layer_weights_reshape_kernel.xhtml#a74f55a4d6b772d24f720905b5edd8cb0">configure</a> (const <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> *input, const <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> *biases, <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> *output)</td></tr>
156 <tr class="memdesc:a74f55a4d6b772d24f720905b5edd8cb0"><td class="mdescLeft"> </td><td class="mdescRight">Set the input and output of the kernel. <a href="#a74f55a4d6b772d24f720905b5edd8cb0">More...</a><br /></td></tr>
157 <tr class="separator:a74f55a4d6b772d24f720905b5edd8cb0"><td class="memSeparator" colspan="2"> </td></tr>
158 <tr class="memitem:a493987e85723a8000eb26d1f00e2ad0e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_c_l_convolution_layer_weights_reshape_kernel.xhtml#a493987e85723a8000eb26d1f00e2ad0e">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>, cl::CommandQueue &queue) override</td></tr>
159 <tr class="memdesc:a493987e85723a8000eb26d1f00e2ad0e"><td class="mdescLeft"> </td><td class="mdescRight">Enqueue the OpenCL kernel to process the given window on the passed OpenCL command queue. <a href="#a493987e85723a8000eb26d1f00e2ad0e">More...</a><br /></td></tr>
160 <tr class="separator:a493987e85723a8000eb26d1f00e2ad0e"><td class="memSeparator" colspan="2"> </td></tr>
161 <tr class="inherit_header pub_methods_classarm__compute_1_1_i_c_l_kernel"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classarm__compute_1_1_i_c_l_kernel')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml">ICLKernel</a></td></tr>
162 <tr class="memitem:a6b10e96ce90bf901d17def86b874b019 inherit pub_methods_classarm__compute_1_1_i_c_l_kernel"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#a6b10e96ce90bf901d17def86b874b019">ICLKernel</a> ()</td></tr>
163 <tr class="memdesc:a6b10e96ce90bf901d17def86b874b019 inherit pub_methods_classarm__compute_1_1_i_c_l_kernel"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#a6b10e96ce90bf901d17def86b874b019">More...</a><br /></td></tr>
164 <tr class="separator:a6b10e96ce90bf901d17def86b874b019 inherit pub_methods_classarm__compute_1_1_i_c_l_kernel"><td class="memSeparator" colspan="2"> </td></tr>
165 <tr class="memitem:ae5121015ab09ece4d470f50c7ffe198e inherit pub_methods_classarm__compute_1_1_i_c_l_kernel"><td class="memItemLeft" align="right" valign="top">cl::Kernel & </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#ae5121015ab09ece4d470f50c7ffe198e">kernel</a> ()</td></tr>
166 <tr class="memdesc:ae5121015ab09ece4d470f50c7ffe198e inherit pub_methods_classarm__compute_1_1_i_c_l_kernel"><td class="mdescLeft"> </td><td class="mdescRight">Returns a reference to the OpenCL kernel of this object. <a href="#ae5121015ab09ece4d470f50c7ffe198e">More...</a><br /></td></tr>
167 <tr class="separator:ae5121015ab09ece4d470f50c7ffe198e inherit pub_methods_classarm__compute_1_1_i_c_l_kernel"><td class="memSeparator" colspan="2"> </td></tr>
168 <tr class="memitem:a479e7043e65dc87de35d374e108510f7 inherit pub_methods_classarm__compute_1_1_i_c_l_kernel"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#a479e7043e65dc87de35d374e108510f7">add_1D_tensor_argument</a> (unsigned int &idx, const <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> *tensor, 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>)</td></tr>
169 <tr class="memdesc:a479e7043e65dc87de35d374e108510f7 inherit pub_methods_classarm__compute_1_1_i_c_l_kernel"><td class="mdescLeft"> </td><td class="mdescRight">Add the passed 1D tensor's parameters to the object's kernel's arguments starting from the index idx. <a href="#a479e7043e65dc87de35d374e108510f7">More...</a><br /></td></tr>
170 <tr class="separator:a479e7043e65dc87de35d374e108510f7 inherit pub_methods_classarm__compute_1_1_i_c_l_kernel"><td class="memSeparator" colspan="2"> </td></tr>
171 <tr class="memitem:ac74dad3e61f79334f5e73f3c3ac603cb inherit pub_methods_classarm__compute_1_1_i_c_l_kernel"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#ac74dad3e61f79334f5e73f3c3ac603cb">add_2D_tensor_argument</a> (unsigned int &idx, const <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> *tensor, 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>)</td></tr>
172 <tr class="memdesc:ac74dad3e61f79334f5e73f3c3ac603cb inherit pub_methods_classarm__compute_1_1_i_c_l_kernel"><td class="mdescLeft"> </td><td class="mdescRight">Add the passed 2D tensor's parameters to the object's kernel's arguments starting from the index idx. <a href="#ac74dad3e61f79334f5e73f3c3ac603cb">More...</a><br /></td></tr>
173 <tr class="separator:ac74dad3e61f79334f5e73f3c3ac603cb inherit pub_methods_classarm__compute_1_1_i_c_l_kernel"><td class="memSeparator" colspan="2"> </td></tr>
174 <tr class="memitem:a28f5847162f352444c6ac1825d0e99c7 inherit pub_methods_classarm__compute_1_1_i_c_l_kernel"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#a28f5847162f352444c6ac1825d0e99c7">add_3D_tensor_argument</a> (unsigned int &idx, const <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> *tensor, 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>)</td></tr>
175 <tr class="memdesc:a28f5847162f352444c6ac1825d0e99c7 inherit pub_methods_classarm__compute_1_1_i_c_l_kernel"><td class="mdescLeft"> </td><td class="mdescRight">Add the passed 3D tensor's parameters to the object's kernel's arguments starting from the index idx. <a href="#a28f5847162f352444c6ac1825d0e99c7">More...</a><br /></td></tr>
176 <tr class="separator:a28f5847162f352444c6ac1825d0e99c7 inherit pub_methods_classarm__compute_1_1_i_c_l_kernel"><td class="memSeparator" colspan="2"> </td></tr>
177 <tr class="memitem:a770f45838881fc061294e56d64f34386 inherit pub_methods_classarm__compute_1_1_i_c_l_kernel"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#a770f45838881fc061294e56d64f34386">num_arguments_per_1D_tensor</a> () const </td></tr>
178 <tr class="memdesc:a770f45838881fc061294e56d64f34386 inherit pub_methods_classarm__compute_1_1_i_c_l_kernel"><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of arguments enqueued per 1D tensor object. <a href="#a770f45838881fc061294e56d64f34386">More...</a><br /></td></tr>
179 <tr class="separator:a770f45838881fc061294e56d64f34386 inherit pub_methods_classarm__compute_1_1_i_c_l_kernel"><td class="memSeparator" colspan="2"> </td></tr>
180 <tr class="memitem:ac734502531e7f95e25b3bf688a304a59 inherit pub_methods_classarm__compute_1_1_i_c_l_kernel"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#ac734502531e7f95e25b3bf688a304a59">num_arguments_per_2D_tensor</a> () const </td></tr>
181 <tr class="memdesc:ac734502531e7f95e25b3bf688a304a59 inherit pub_methods_classarm__compute_1_1_i_c_l_kernel"><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of arguments enqueued per 2D tensor object. <a href="#ac734502531e7f95e25b3bf688a304a59">More...</a><br /></td></tr>
182 <tr class="separator:ac734502531e7f95e25b3bf688a304a59 inherit pub_methods_classarm__compute_1_1_i_c_l_kernel"><td class="memSeparator" colspan="2"> </td></tr>
183 <tr class="memitem:a4feaae9c860cddfa843d37c953674a22 inherit pub_methods_classarm__compute_1_1_i_c_l_kernel"><td class="memItemLeft" align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#a4feaae9c860cddfa843d37c953674a22">num_arguments_per_3D_tensor</a> () const </td></tr>
184 <tr class="memdesc:a4feaae9c860cddfa843d37c953674a22 inherit pub_methods_classarm__compute_1_1_i_c_l_kernel"><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of arguments enqueued per 3D tensor object. <a href="#a4feaae9c860cddfa843d37c953674a22">More...</a><br /></td></tr>
185 <tr class="separator:a4feaae9c860cddfa843d37c953674a22 inherit pub_methods_classarm__compute_1_1_i_c_l_kernel"><td class="memSeparator" colspan="2"> </td></tr>
186 <tr class="memitem:a50f427a1d9419800972b9e03c4034311 inherit pub_methods_classarm__compute_1_1_i_c_l_kernel"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
187 <tr class="memitem:a50f427a1d9419800972b9e03c4034311 inherit pub_methods_classarm__compute_1_1_i_c_l_kernel"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#a50f427a1d9419800972b9e03c4034311">add_argument</a> (unsigned int &idx, T value)</td></tr>
188 <tr class="memdesc:a50f427a1d9419800972b9e03c4034311 inherit pub_methods_classarm__compute_1_1_i_c_l_kernel"><td class="mdescLeft"> </td><td class="mdescRight">Add the passed parameters to the object's kernel's arguments starting from the index idx. <a href="#a50f427a1d9419800972b9e03c4034311">More...</a><br /></td></tr>
189 <tr class="separator:a50f427a1d9419800972b9e03c4034311 inherit pub_methods_classarm__compute_1_1_i_c_l_kernel"><td class="memSeparator" colspan="2"> </td></tr>
190 <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>
191 <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>
192 <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>
193 <tr class="separator:a7250cb8cbaa4104a93a2d77155085507 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memSeparator" colspan="2"> </td></tr>
194 <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>
195 <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>
196 <tr class="separator:a341b60d15a5e12a5b8f3825194dd3b12 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memSeparator" colspan="2"> </td></tr>
197 <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>
198 <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>
199 <tr class="separator:abfab8f0d4928e1081d9f65b77933e24a inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memSeparator" colspan="2"> </td></tr>
200 <tr class="memitem:aa6daa9b04e2035bf007e5e5c3c4396a8 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memItemLeft" align="right" valign="top">virtual <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_i_kernel.xhtml#aa6daa9b04e2035bf007e5e5c3c4396a8">border_size</a> () const </td></tr>
201 <tr class="memdesc:aa6daa9b04e2035bf007e5e5c3c4396a8 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="mdescLeft"> </td><td class="mdescRight">The size of the border for that kernel. <a href="#aa6daa9b04e2035bf007e5e5c3c4396a8">More...</a><br /></td></tr>
202 <tr class="separator:aa6daa9b04e2035bf007e5e5c3c4396a8 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memSeparator" colspan="2"> </td></tr>
203 <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>
204 <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>
205 <tr class="separator:a3f5646133956f06348b310ccc3d36353 inherit pub_methods_classarm__compute_1_1_i_kernel"><td class="memSeparator" colspan="2"> </td></tr>
207 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
208 <div class="textblock"><p>Interface for the weights reshape kernel used by convolution and fully connected layers. </p>
209 <p>Rearranges each 3-dimensional kernel to a single row leading to a matrix with linearized kernels. In combination with the <a class="el" href="classarm__compute_1_1_c_l_im2_col_kernel.xhtml">CLIm2ColKernel</a> can transform a convolution into a matrix multiplication.</p>
210 <p>For example assuming a 3D weight kernel of 3x3 dimensions and depth of 2 we have: </p><p class="formulaDsp">
211 \[ \left( \begin{array}{ccc} a000 & a001 & a002 \\ a010 & a011 & a012 \\ a020 & a021 & a022 \\ \end{array} \right) \left( \begin{array}{ccc} a100 & a101 & a102 \\ a110 & a111 & a112 \\ a120 & a121 & a122 \\ \end{array} \right) \rightarrow \left( \begin{array}{ccccccccc} a000 & a001 & a002 & a010 & a011 & a012 & a020 & a021 & a022 & a100 & a101 & a102 & a110 & a111 & a112 & a120 & a121 & a122 \\ \end{array} \right) \]
214 <p>Definition at line <a class="el" href="_c_l_convolution_layer_weights_reshape_kernel_8h_source.xhtml#l00054">54</a> of file <a class="el" href="_c_l_convolution_layer_weights_reshape_kernel_8h_source.xhtml">CLConvolutionLayerWeightsReshapeKernel.h</a>.</p>
215 </div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
216 <a class="anchor" id="ab9a3d635b7642f677e665ec9e80a56ab"></a>
217 <div class="memitem">
218 <div class="memproto">
219 <table class="memname">
221 <td class="memname"><a class="el" href="classarm__compute_1_1_c_l_convolution_layer_weights_reshape_kernel.xhtml">CLConvolutionLayerWeightsReshapeKernel</a> </td>
223 <td class="paramname"></td><td>)</td>
227 </div><div class="memdoc">
229 <p>Default constructor. </p>
233 <a class="anchor" id="ae0214c82efeb2ed2d6e4c0311ed19778"></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_c_l_convolution_layer_weights_reshape_kernel.xhtml">CLConvolutionLayerWeightsReshapeKernel</a> </td>
243 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_c_l_convolution_layer_weights_reshape_kernel.xhtml">CLConvolutionLayerWeightsReshapeKernel</a> & </td>
244 <td class="paramname"></td><td>)</td>
249 <td class="mlabels-right">
250 <span class="mlabels"><span class="mlabel">delete</span></span> </td>
253 </div><div class="memdoc">
255 <p>Prevent instances of this class from being copied (As this class contains pointers) </p>
259 <a class="anchor" id="adc3c56d8a6ee712ffb9bff20d84e7375"></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"><a class="el" href="classarm__compute_1_1_c_l_convolution_layer_weights_reshape_kernel.xhtml">CLConvolutionLayerWeightsReshapeKernel</a> </td>
269 <td class="paramtype"><a class="el" href="classarm__compute_1_1_c_l_convolution_layer_weights_reshape_kernel.xhtml">CLConvolutionLayerWeightsReshapeKernel</a> && </td>
270 <td class="paramname"></td><td>)</td>
275 <td class="mlabels-right">
276 <span class="mlabels"><span class="mlabel">default</span></span> </td>
279 </div><div class="memdoc">
281 <p>Allow instances of this class to be moved. </p>
285 <a class="anchor" id="ab32afb44c79da5f80f07730a11d37060"></a>
286 <div class="memitem">
287 <div class="memproto">
288 <table class="mlabels">
290 <td class="mlabels-left">
291 <table class="memname">
293 <td class="memname">~<a class="el" href="classarm__compute_1_1_c_l_convolution_layer_weights_reshape_kernel.xhtml">CLConvolutionLayerWeightsReshapeKernel</a> </td>
295 <td class="paramname"></td><td>)</td>
300 <td class="mlabels-right">
301 <span class="mlabels"><span class="mlabel">default</span></span> </td>
304 </div><div class="memdoc">
306 <p>Default destructor. </p>
310 <h2 class="groupheader">Member Function Documentation</h2>
311 <a class="anchor" id="a74f55a4d6b772d24f720905b5edd8cb0"></a>
312 <div class="memitem">
313 <div class="memproto">
314 <table class="memname">
316 <td class="memname">void configure </td>
318 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> * </td>
319 <td class="paramname"><em>input</em>, </td>
322 <td class="paramkey"></td>
324 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> * </td>
325 <td class="paramname"><em>biases</em>, </td>
328 <td class="paramkey"></td>
330 <td class="paramtype"><a class="el" href="classarm__compute_1_1_i_c_l_tensor.xhtml">ICLTensor</a> * </td>
331 <td class="paramname"><em>output</em> </td>
339 </div><div class="memdoc">
341 <p>Set the input and output of the kernel. </p>
342 <dl class="params"><dt>Parameters</dt><dd>
343 <table class="params">
344 <tr><td class="paramdir">[in]</td><td class="paramname">input</td><td>The input tensor to convert. Weights are 4D tensor with dimensions [kernel_x, kernel_y, IFM, OFM]. Data types supported: F16, F32 </td></tr>
345 <tr><td class="paramdir">[in]</td><td class="paramname">biases</td><td>The shared biases tensor to append. Bias is 1D tensor with dimensions [OFM]. Data types supported: Same as <code>input</code> </td></tr>
346 <tr><td class="paramdir">[out]</td><td class="paramname">output</td><td>The output tensor. Should be a 2D <a class="el" href="classarm__compute_1_1_tensor.xhtml" title="Basic implementation of the tensor interface. ">Tensor</a>. Data types supported: Same as <code>input</code> </td></tr>
353 <a class="anchor" id="a6855e413477e07be21b96fb86489effb"></a>
354 <div class="memitem">
355 <div class="memproto">
356 <table class="mlabels">
358 <td class="mlabels-left">
359 <table class="memname">
361 <td class="memname"><a class="el" href="classarm__compute_1_1_c_l_convolution_layer_weights_reshape_kernel.xhtml">CLConvolutionLayerWeightsReshapeKernel</a>& operator= </td>
363 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_c_l_convolution_layer_weights_reshape_kernel.xhtml">CLConvolutionLayerWeightsReshapeKernel</a> & </td>
364 <td class="paramname"></td><td>)</td>
369 <td class="mlabels-right">
370 <span class="mlabels"><span class="mlabel">delete</span></span> </td>
373 </div><div class="memdoc">
375 <p>Prevent instances of this class from being copied (As this class contains pointers) </p>
379 <a class="anchor" id="adfa0598bf65ae8e9cff93ae3769c3925"></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"><a class="el" href="classarm__compute_1_1_c_l_convolution_layer_weights_reshape_kernel.xhtml">CLConvolutionLayerWeightsReshapeKernel</a>& operator= </td>
389 <td class="paramtype"><a class="el" href="classarm__compute_1_1_c_l_convolution_layer_weights_reshape_kernel.xhtml">CLConvolutionLayerWeightsReshapeKernel</a> && </td>
390 <td class="paramname"></td><td>)</td>
395 <td class="mlabels-right">
396 <span class="mlabels"><span class="mlabel">default</span></span> </td>
399 </div><div class="memdoc">
401 <p>Allow instances of this class to be moved. </p>
405 <a class="anchor" id="a493987e85723a8000eb26d1f00e2ad0e"></a>
406 <div class="memitem">
407 <div class="memproto">
408 <table class="mlabels">
410 <td class="mlabels-left">
411 <table class="memname">
413 <td class="memname">void run </td>
415 <td class="paramtype">const <a class="el" href="classarm__compute_1_1_window.xhtml">Window</a> & </td>
416 <td class="paramname"><em>window</em>, </td>
419 <td class="paramkey"></td>
421 <td class="paramtype">cl::CommandQueue & </td>
422 <td class="paramname"><em>queue</em> </td>
431 <td class="mlabels-right">
432 <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
435 </div><div class="memdoc">
437 <p>Enqueue the OpenCL kernel to process the given window on the passed OpenCL command queue. </p>
438 <dl class="section note"><dt>Note</dt><dd>The queue is <em>not</em> flushed by this method, and therefore the kernel will not have been executed by the time this method returns.</dd></dl>
439 <dl class="params"><dt>Parameters</dt><dd>
440 <table class="params">
441 <tr><td class="paramdir">[in]</td><td class="paramname">window</td><td>Region on which to execute the kernel. (Must be a valid 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>
442 <tr><td class="paramdir">[in,out]</td><td class="paramname">queue</td><td>Command queue on which to enqueue the kernel. </td></tr>
447 <p>Implements <a class="el" href="classarm__compute_1_1_i_c_l_kernel.xhtml#af6a174d47571f51f199ffc27ecc10f51">ICLKernel</a>.</p>
451 <hr/>The documentation for this class was generated from the following file:<ul>
452 <li>arm_compute/core/CL/kernels/<a class="el" href="_c_l_convolution_layer_weights_reshape_kernel_8h_source.xhtml">CLConvolutionLayerWeightsReshapeKernel.h</a></li>
454 </div><!-- contents -->
455 </div><!-- doc-content -->
456 <!-- start footer part -->
457 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
459 <li class="navelem"><a class="el" href="namespacearm__compute.xhtml">arm_compute</a></li><li class="navelem"><a class="el" href="classarm__compute_1_1_c_l_convolution_layer_weights_reshape_kernel.xhtml">CLConvolutionLayerWeightsReshapeKernel</a></li>
460 <li class="footer">Generated on Wed Apr 12 2017 14:26:05 for ARM Compute Library by
461 <a href="http://www.doxygen.org/index.html">
462 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>