<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">Compute Library
-  <span id="projectnumber">18.03</span>
+  <span id="projectnumber">18.05</span>
</div>
</td>
</tr>
<div class="title">GCFullyConnectedLayer.h</div> </div>
</div><!--header-->
<div class="contents">
-<a href="_g_c_fully_connected_layer_8h.xhtml">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright (c) 2017-2018 ARM Limited.</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * SPDX-License-Identifier: MIT</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> *</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining a copy</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * of this software and associated documentation files (the "Software"), to</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * deal in the Software without restriction, including without limitation the</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * sell copies of the Software, and to permit persons to whom the Software is</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * furnished to do so, subject to the following conditions:</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> *</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * The above copyright notice and this permission notice shall be included in all</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * copies or substantial portions of the Software.</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> *</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"> * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment"> * SOFTWARE.</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment"> */</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#ifndef __ARM_COMPUTE_GCFULLYCONNECTEDLAYER_H__</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#define __ARM_COMPUTE_GCFULLYCONNECTEDLAYER_H__</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include "<a class="code" href="_g_c_g_e_m_m_matrix_accumulate_biases_kernel_8h.xhtml">arm_compute/core/GLES_COMPUTE/kernels/GCGEMMMatrixAccumulateBiasesKernel.h</a>"</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include "<a class="code" href="_g_c_g_e_m_m_matrix_multiply_kernel_8h.xhtml">arm_compute/core/GLES_COMPUTE/kernels/GCGEMMMatrixMultiplyKernel.h</a>"</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include "<a class="code" href="_g_c_im2_col_kernel_8h.xhtml">arm_compute/core/GLES_COMPUTE/kernels/GCIm2ColKernel.h</a>"</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include "<a class="code" href="_g_c_transpose_kernel_8h.xhtml">arm_compute/core/GLES_COMPUTE/kernels/GCTransposeKernel.h</a>"</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include "<a class="code" href="_g_c_tensor_8h.xhtml">arm_compute/runtime/GLES_COMPUTE/GCTensor.h</a>"</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include "<a class="code" href="_i_g_c_simple_function_8h.xhtml">arm_compute/runtime/GLES_COMPUTE/IGCSimpleFunction.h</a>"</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="keyword">namespace </span><a class="code" href="namespacearm__compute.xhtml">arm_compute</a></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> {</div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classarm__compute_1_1_g_c_fully_connected_layer_reshape_weights.xhtml"> 42</a></span> <span class="keyword">class </span><a class="code" href="classarm__compute_1_1_g_c_fully_connected_layer_reshape_weights.xhtml">GCFullyConnectedLayerReshapeWeights</a> : <span class="keyword">public</span> <a class="code" href="classarm__compute_1_1_i_g_c_simple_function.xhtml">IGCSimpleFunction</a></div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> {</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keywordtype">void</span> <a class="code" href="classarm__compute_1_1_g_c_fully_connected_layer_reshape_weights.xhtml#aa029e9740bc43eb3301316be76be3b7e">configure</a>(<span class="keyword">const</span> <a class="code" href="classarm__compute_1_1_i_g_c_tensor.xhtml">IGCTensor</a> *input, <a class="code" href="classarm__compute_1_1_i_g_c_tensor.xhtml">IGCTensor</a> *output);</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> };</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> </div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="classarm__compute_1_1_g_c_fully_connected_layer.xhtml"> 62</a></span> <span class="keyword">class </span><a class="code" href="classarm__compute_1_1_g_c_fully_connected_layer.xhtml">GCFullyConnectedLayer</a> : <span class="keyword">public</span> <a class="code" href="classarm__compute_1_1_i_function.xhtml">IFunction</a></div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span> {</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <a class="code" href="classarm__compute_1_1_g_c_fully_connected_layer.xhtml">GCFullyConnectedLayer</a>();</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keywordtype">void</span> <a class="code" href="classarm__compute_1_1_g_c_fully_connected_layer_reshape_weights.xhtml#aa029e9740bc43eb3301316be76be3b7e">configure</a>(<span class="keyword">const</span> <a class="code" href="classarm__compute_1_1_i_g_c_tensor.xhtml">IGCTensor</a> *input, <span class="keyword">const</span> <a class="code" href="classarm__compute_1_1_i_g_c_tensor.xhtml">IGCTensor</a> *weights, <span class="keyword">const</span> <a class="code" href="classarm__compute_1_1_i_g_c_tensor.xhtml">IGCTensor</a> *biases, <a class="code" href="classarm__compute_1_1_i_g_c_tensor.xhtml">IGCTensor</a> *output, <span class="keywordtype">bool</span> transpose_weights = <span class="keyword">true</span>, <span class="keywordtype">bool</span> are_weights_reshaped = <span class="keyword">false</span>);</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> </div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="comment">//Inherited methods override</span></div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keywordtype">void</span> <a class="code" href="classarm__compute_1_1_i_g_c_simple_function.xhtml#ab5fd6e96c07aaaed2747c7e16ed5951e">run</a>() <span class="keyword">override</span>;</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keywordtype">void</span> configure_fc_fc(<span class="keyword">const</span> <a class="code" href="classarm__compute_1_1_i_g_c_tensor.xhtml">IGCTensor</a> *input, <span class="keyword">const</span> <a class="code" href="classarm__compute_1_1_i_g_c_tensor.xhtml">IGCTensor</a> *weights, <a class="code" href="classarm__compute_1_1_i_g_c_tensor.xhtml">IGCTensor</a> *output);</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keywordtype">void</span> configure_conv_fc(<span class="keyword">const</span> <a class="code" href="classarm__compute_1_1_i_g_c_tensor.xhtml">IGCTensor</a> *input, <span class="keyword">const</span> <a class="code" href="classarm__compute_1_1_i_g_c_tensor.xhtml">IGCTensor</a> *weights, <a class="code" href="classarm__compute_1_1_i_g_c_tensor.xhtml">IGCTensor</a> *output);</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> </div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <a class="code" href="classarm__compute_1_1_g_c_im2_col_kernel.xhtml">GCIm2ColKernel</a> _im2col_kernel;</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <a class="code" href="classarm__compute_1_1_g_c_fully_connected_layer_reshape_weights.xhtml">GCFullyConnectedLayerReshapeWeights</a> _reshape_weights_kernel;</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <a class="code" href="classarm__compute_1_1_g_c_g_e_m_m_matrix_multiply_kernel.xhtml">GCGEMMMatrixMultiplyKernel</a> _mm_kernel;</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <a class="code" href="classarm__compute_1_1_g_c_g_e_m_m_matrix_accumulate_biases_kernel.xhtml">GCGEMMMatrixAccumulateBiasesKernel</a> _accumulate_biases_kernel;</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <a class="code" href="classarm__compute_1_1_g_c_tensor.xhtml">GCTensor</a> _im2col_output;</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <a class="code" href="classarm__compute_1_1_g_c_tensor.xhtml">GCTensor</a> _reshape_weights_output;</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordtype">bool</span> _are_weights_reshaped;</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordtype">bool</span> _is_fc_after_conv;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keywordtype">bool</span> _accumulate_biases;</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> };</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> }</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="preprocessor">#endif </span><span class="comment">/* __ARM_COMPUTE_GCFULLYCONNECTEDLAYER_H__ */</span><span class="preprocessor"></span></div><div class="ttc" id="classarm__compute_1_1_i_function_xhtml"><div class="ttname"><a href="classarm__compute_1_1_i_function.xhtml">arm_compute::IFunction</a></div><div class="ttdoc">Base class for all functions. </div><div class="ttdef"><b>Definition:</b> <a href="_i_function_8h_source.xhtml#l00030">IFunction.h:30</a></div></div>
+<a href="_g_c_fully_connected_layer_8h.xhtml">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright (c) 2017-2018 ARM Limited.</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * SPDX-License-Identifier: MIT</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> *</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining a copy</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * of this software and associated documentation files (the "Software"), to</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * deal in the Software without restriction, including without limitation the</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * sell copies of the Software, and to permit persons to whom the Software is</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * furnished to do so, subject to the following conditions:</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> *</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * The above copyright notice and this permission notice shall be included in all</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * copies or substantial portions of the Software.</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> *</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"> * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment"> * SOFTWARE.</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment"> */</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#ifndef __ARM_COMPUTE_GCFULLYCONNECTEDLAYER_H__</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#define __ARM_COMPUTE_GCFULLYCONNECTEDLAYER_H__</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include "<a class="code" href="_g_c_g_e_m_m_matrix_accumulate_biases_kernel_8h.xhtml">arm_compute/core/GLES_COMPUTE/kernels/GCGEMMMatrixAccumulateBiasesKernel.h</a>"</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include "<a class="code" href="_g_c_g_e_m_m_matrix_multiply_kernel_8h.xhtml">arm_compute/core/GLES_COMPUTE/kernels/GCGEMMMatrixMultiplyKernel.h</a>"</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include "<a class="code" href="_g_c_im2_col_kernel_8h.xhtml">arm_compute/core/GLES_COMPUTE/kernels/GCIm2ColKernel.h</a>"</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include "<a class="code" href="_g_c_transpose_kernel_8h.xhtml">arm_compute/core/GLES_COMPUTE/kernels/GCTransposeKernel.h</a>"</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include "<a class="code" href="_g_c_memory_group_8h.xhtml">arm_compute/runtime/GLES_COMPUTE/GCMemoryGroup.h</a>"</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include "<a class="code" href="_g_c_tensor_8h.xhtml">arm_compute/runtime/GLES_COMPUTE/GCTensor.h</a>"</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#include "<a class="code" href="_i_g_c_simple_function_8h.xhtml">arm_compute/runtime/GLES_COMPUTE/IGCSimpleFunction.h</a>"</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">namespace </span><a class="code" href="namespacearm__compute.xhtml">arm_compute</a></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> {</div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="classarm__compute_1_1_g_c_fully_connected_layer_reshape_weights.xhtml"> 43</a></span> <span class="keyword">class </span><a class="code" href="classarm__compute_1_1_g_c_fully_connected_layer_reshape_weights.xhtml">GCFullyConnectedLayerReshapeWeights</a> : <span class="keyword">public</span> <a class="code" href="classarm__compute_1_1_i_g_c_simple_function.xhtml">IGCSimpleFunction</a></div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> {</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keywordtype">void</span> <a class="code" href="classarm__compute_1_1_g_c_fully_connected_layer_reshape_weights.xhtml#aa029e9740bc43eb3301316be76be3b7e">configure</a>(<span class="keyword">const</span> <a class="code" href="classarm__compute_1_1_i_g_c_tensor.xhtml">IGCTensor</a> *input, <a class="code" href="classarm__compute_1_1_i_g_c_tensor.xhtml">IGCTensor</a> *output);</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> };</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classarm__compute_1_1_g_c_fully_connected_layer.xhtml"> 63</a></span> <span class="keyword">class </span><a class="code" href="classarm__compute_1_1_g_c_fully_connected_layer.xhtml">GCFullyConnectedLayer</a> : <span class="keyword">public</span> <a class="code" href="classarm__compute_1_1_i_function.xhtml">IFunction</a></div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> {</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <a class="code" href="classarm__compute_1_1_g_c_fully_connected_layer.xhtml">GCFullyConnectedLayer</a>(std::shared_ptr<IMemoryManager> memory_manager = <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keywordtype">void</span> <a class="code" href="classarm__compute_1_1_g_c_fully_connected_layer_reshape_weights.xhtml#aa029e9740bc43eb3301316be76be3b7e">configure</a>(<span class="keyword">const</span> <a class="code" href="classarm__compute_1_1_i_g_c_tensor.xhtml">IGCTensor</a> *input, <span class="keyword">const</span> <a class="code" href="classarm__compute_1_1_i_g_c_tensor.xhtml">IGCTensor</a> *weights, <span class="keyword">const</span> <a class="code" href="classarm__compute_1_1_i_g_c_tensor.xhtml">IGCTensor</a> *biases, <a class="code" href="classarm__compute_1_1_i_g_c_tensor.xhtml">IGCTensor</a> *output,</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keywordtype">bool</span> transpose_weights = <span class="keyword">true</span>, <span class="keywordtype">bool</span> are_weights_reshaped = <span class="keyword">false</span>, <span class="keywordtype">bool</span> retain_internal_weights = <span class="keyword">false</span>);</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span> </div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="comment">//Inherited methods override</span></div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keywordtype">void</span> <a class="code" href="classarm__compute_1_1_i_g_c_simple_function.xhtml#ab5fd6e96c07aaaed2747c7e16ed5951e">run</a>() <span class="keyword">override</span>;</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> </div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keywordtype">void</span> configure_fc_fc(<span class="keyword">const</span> <a class="code" href="classarm__compute_1_1_i_g_c_tensor.xhtml">IGCTensor</a> *input, <span class="keyword">const</span> <a class="code" href="classarm__compute_1_1_i_g_c_tensor.xhtml">IGCTensor</a> *weights, <a class="code" href="classarm__compute_1_1_i_g_c_tensor.xhtml">IGCTensor</a> *output);</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keywordtype">void</span> configure_conv_fc(<span class="keyword">const</span> <a class="code" href="classarm__compute_1_1_i_g_c_tensor.xhtml">IGCTensor</a> *input, <span class="keyword">const</span> <a class="code" href="classarm__compute_1_1_i_g_c_tensor.xhtml">IGCTensor</a> *weights, <a class="code" href="classarm__compute_1_1_i_g_c_tensor.xhtml">IGCTensor</a> *output);</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> </div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <a class="code" href="classarm__compute_1_1_memory_group_base.xhtml">GCMemoryGroup</a> _memory_group;</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <a class="code" href="classarm__compute_1_1_g_c_im2_col_kernel.xhtml">GCIm2ColKernel</a> _im2col_kernel;</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <a class="code" href="classarm__compute_1_1_g_c_fully_connected_layer_reshape_weights.xhtml">GCFullyConnectedLayerReshapeWeights</a> _reshape_weights_kernel;</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <a class="code" href="classarm__compute_1_1_g_c_g_e_m_m_matrix_multiply_kernel.xhtml">GCGEMMMatrixMultiplyKernel</a> _mm_kernel;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <a class="code" href="classarm__compute_1_1_g_c_g_e_m_m_matrix_accumulate_biases_kernel.xhtml">GCGEMMMatrixAccumulateBiasesKernel</a> _accumulate_biases_kernel;</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <a class="code" href="classarm__compute_1_1_g_c_tensor.xhtml">GCTensor</a> _im2col_output;</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <a class="code" href="classarm__compute_1_1_g_c_tensor.xhtml">GCTensor</a> _reshape_weights_output;</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keywordtype">bool</span> _are_weights_reshaped;</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keywordtype">bool</span> _is_fc_after_conv;</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keywordtype">bool</span> _accumulate_biases;</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span> };</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span> }</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <span class="preprocessor">#endif </span><span class="comment">/* __ARM_COMPUTE_GCFULLYCONNECTEDLAYER_H__ */</span><span class="preprocessor"></span></div><div class="ttc" id="classarm__compute_1_1_i_function_xhtml"><div class="ttname"><a href="classarm__compute_1_1_i_function.xhtml">arm_compute::IFunction</a></div><div class="ttdoc">Base class for all functions. </div><div class="ttdef"><b>Definition:</b> <a href="_i_function_8h_source.xhtml#l00030">IFunction.h:30</a></div></div>
<div class="ttc" id="_g_c_g_e_m_m_matrix_multiply_kernel_8h_xhtml"><div class="ttname"><a href="_g_c_g_e_m_m_matrix_multiply_kernel_8h.xhtml">GCGEMMMatrixMultiplyKernel.h</a></div></div>
<div class="ttc" id="classarm__compute_1_1_i_g_c_tensor_xhtml"><div class="ttname"><a href="classarm__compute_1_1_i_g_c_tensor.xhtml">arm_compute::IGCTensor</a></div><div class="ttdoc">Interface for GLES Compute tensor. </div><div class="ttdef"><b>Definition:</b> <a href="_i_g_c_tensor_8h_source.xhtml#l00035">IGCTensor.h:35</a></div></div>
<div class="ttc" id="_g_c_g_e_m_m_matrix_accumulate_biases_kernel_8h_xhtml"><div class="ttname"><a href="_g_c_g_e_m_m_matrix_accumulate_biases_kernel_8h.xhtml">GCGEMMMatrixAccumulateBiasesKernel.h</a></div></div>
<div class="ttc" id="classarm__compute_1_1_g_c_im2_col_kernel_xhtml"><div class="ttname"><a href="classarm__compute_1_1_g_c_im2_col_kernel.xhtml">arm_compute::GCIm2ColKernel</a></div><div class="ttdoc">Interface for the im2col reshape kernel. </div><div class="ttdef"><b>Definition:</b> <a href="_g_c_im2_col_kernel_8h_source.xhtml#l00057">GCIm2ColKernel.h:57</a></div></div>
<div class="ttc" id="_g_c_transpose_kernel_8h_xhtml"><div class="ttname"><a href="_g_c_transpose_kernel_8h.xhtml">GCTransposeKernel.h</a></div></div>
<div class="ttc" id="classarm__compute_1_1_i_g_c_simple_function_xhtml_ab5fd6e96c07aaaed2747c7e16ed5951e"><div class="ttname"><a href="classarm__compute_1_1_i_g_c_simple_function.xhtml#ab5fd6e96c07aaaed2747c7e16ed5951e">arm_compute::IGCSimpleFunction::run</a></div><div class="ttdeci">void run() overridefinal</div><div class="ttdoc">Run the kernels contained in the function. </div></div>
-<div class="ttc" id="classarm__compute_1_1_g_c_fully_connected_layer_reshape_weights_xhtml"><div class="ttname"><a href="classarm__compute_1_1_g_c_fully_connected_layer_reshape_weights.xhtml">arm_compute::GCFullyConnectedLayerReshapeWeights</a></div><div class="ttdoc">Basic function to reshape the weights of Fully Connected layer with OpenGL ES. </div><div class="ttdef"><b>Definition:</b> <a href="_g_c_fully_connected_layer_8h_source.xhtml#l00042">GCFullyConnectedLayer.h:42</a></div></div>
+<div class="ttc" id="classarm__compute_1_1_g_c_fully_connected_layer_reshape_weights_xhtml"><div class="ttname"><a href="classarm__compute_1_1_g_c_fully_connected_layer_reshape_weights.xhtml">arm_compute::GCFullyConnectedLayerReshapeWeights</a></div><div class="ttdoc">Basic function to reshape the weights of Fully Connected layer with OpenGL ES. </div><div class="ttdef"><b>Definition:</b> <a href="_g_c_fully_connected_layer_8h_source.xhtml#l00043">GCFullyConnectedLayer.h:43</a></div></div>
<div class="ttc" id="classarm__compute_1_1_g_c_fully_connected_layer_reshape_weights_xhtml_aa029e9740bc43eb3301316be76be3b7e"><div class="ttname"><a href="classarm__compute_1_1_g_c_fully_connected_layer_reshape_weights.xhtml#aa029e9740bc43eb3301316be76be3b7e">arm_compute::GCFullyConnectedLayerReshapeWeights::configure</a></div><div class="ttdeci">void configure(const IGCTensor *input, IGCTensor *output)</div><div class="ttdoc">Set the input and output tensors. </div></div>
+<div class="ttc" id="classarm__compute_1_1_memory_group_base_xhtml"><div class="ttname"><a href="classarm__compute_1_1_memory_group_base.xhtml">arm_compute::MemoryGroupBase< GCTensor ></a></div></div>
<div class="ttc" id="_i_g_c_simple_function_8h_xhtml"><div class="ttname"><a href="_i_g_c_simple_function_8h.xhtml">IGCSimpleFunction.h</a></div></div>
+<div class="ttc" id="_g_c_memory_group_8h_xhtml"><div class="ttname"><a href="_g_c_memory_group_8h.xhtml">GCMemoryGroup.h</a></div></div>
<div class="ttc" id="_g_c_im2_col_kernel_8h_xhtml"><div class="ttname"><a href="_g_c_im2_col_kernel_8h.xhtml">GCIm2ColKernel.h</a></div></div>
<div class="ttc" id="_g_c_tensor_8h_xhtml"><div class="ttname"><a href="_g_c_tensor_8h.xhtml">GCTensor.h</a></div></div>
<div class="ttc" id="classarm__compute_1_1_i_g_c_simple_function_xhtml"><div class="ttname"><a href="classarm__compute_1_1_i_g_c_simple_function.xhtml">arm_compute::IGCSimpleFunction</a></div><div class="ttdoc">Basic interface for functions which have a single OpenGL ES kernel. </div><div class="ttdef"><b>Definition:</b> <a href="_i_g_c_simple_function_8h_source.xhtml#l00036">IGCSimpleFunction.h:36</a></div></div>
-<div class="ttc" id="classarm__compute_1_1_g_c_fully_connected_layer_xhtml"><div class="ttname"><a href="classarm__compute_1_1_g_c_fully_connected_layer.xhtml">arm_compute::GCFullyConnectedLayer</a></div><div class="ttdoc">Basic function to compute a Fully Connected layer on OpenGL ES. </div><div class="ttdef"><b>Definition:</b> <a href="_g_c_fully_connected_layer_8h_source.xhtml#l00062">GCFullyConnectedLayer.h:62</a></div></div>
-<div class="ttc" id="classarm__compute_1_1_g_c_g_e_m_m_matrix_multiply_kernel_xhtml"><div class="ttname"><a href="classarm__compute_1_1_g_c_g_e_m_m_matrix_multiply_kernel.xhtml">arm_compute::GCGEMMMatrixMultiplyKernel</a></div><div class="ttdoc">GLES Compute kernel to multiply two input matrices "A" and "B" or to multiply a vector "A" by a matri...</div><div class="ttdef"><b>Definition:</b> <a href="_g_c_g_e_m_m_matrix_multiply_kernel_8h_source.xhtml#l00041">GCGEMMMatrixMultiplyKernel.h:41</a></div></div>
+<div class="ttc" id="classarm__compute_1_1_g_c_fully_connected_layer_xhtml"><div class="ttname"><a href="classarm__compute_1_1_g_c_fully_connected_layer.xhtml">arm_compute::GCFullyConnectedLayer</a></div><div class="ttdoc">Basic function to compute a Fully Connected layer on OpenGL ES. </div><div class="ttdef"><b>Definition:</b> <a href="_g_c_fully_connected_layer_8h_source.xhtml#l00063">GCFullyConnectedLayer.h:63</a></div></div>
+<div class="ttc" id="classarm__compute_1_1_g_c_g_e_m_m_matrix_multiply_kernel_xhtml"><div class="ttname"><a href="classarm__compute_1_1_g_c_g_e_m_m_matrix_multiply_kernel.xhtml">arm_compute::GCGEMMMatrixMultiplyKernel</a></div><div class="ttdoc">GLES Compute kernel to multiply two input matrices "A" and "B" or to multiply a vector "A" by a matri...</div><div class="ttdef"><b>Definition:</b> <a href="_g_c_g_e_m_m_matrix_multiply_kernel_8h_source.xhtml#l00039">GCGEMMMatrixMultiplyKernel.h:39</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_214608ef36d61442cb2b0c1c4e9a7def.xhtml">arm_compute</a></li><li class="navelem"><a class="el" href="dir_8bc26130589aa16388b5a02f17abf2c2.xhtml">runtime</a></li><li class="navelem"><a class="el" href="dir_e83fa7cb9796f3ad7be03e3d9fcd3249.xhtml">GLES_COMPUTE</a></li><li class="navelem"><a class="el" href="dir_b2d75812ef27339cb07aa08923a4a042.xhtml">functions</a></li><li class="navelem"><a class="el" href="_g_c_fully_connected_layer_8h.xhtml">GCFullyConnectedLayer.h</a></li>
- <li class="footer">Generated on Fri Mar 2 2018 12:37:53 for Compute Library by
+ <li class="footer">Generated on Wed May 23 2018 11:36:36 for Compute Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
</ul>