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: tests/benchmark/CL/FullyConnectedLayer.cpp File 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">v17.06</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><a href="annotated.xhtml"><span>Data Structures</span></a></li>
61 <li class="current"><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="files.xhtml"><span>File List</span></a></li>
83 <li><a href="globals.xhtml"><span>Globals</span></a></li>
87 <div id="side-nav" class="ui-resizable side-nav-resizable">
89 <div id="nav-tree-contents">
90 <div id="nav-sync" class="sync"></div>
93 <div id="splitbar" style="-moz-user-select:none;"
94 class="ui-resizable-handle">
97 <script type="text/javascript">
98 $(document).ready(function(){initNavTree('benchmark_2_c_l_2_fully_connected_layer_8cpp.xhtml','');});
100 <div id="doc-content">
101 <!-- window showing the filter options -->
102 <div id="MSearchSelectWindow"
103 onmouseover="return searchBox.OnSearchSelectShow()"
104 onmouseout="return searchBox.OnSearchSelectHide()"
105 onkeydown="return searchBox.OnSearchSelectKey(event)">
108 <!-- iframe showing the search results (closed by default) -->
109 <div id="MSearchResultsWindow">
110 <iframe src="javascript:void(0)" frameborder="0"
111 name="MSearchResults" id="MSearchResults">
116 <div class="summary">
117 <a href="#func-members">Functions</a> |
118 <a href="#var-members">Variables</a> </div>
119 <div class="headertitle">
120 <div class="title">FullyConnectedLayer.cpp File Reference</div> </div>
122 <div class="contents">
123 <div class="textblock"><code>#include "<a class="el" href="_c_l_accessor_8h_source.xhtml">CL/CLAccessor.h</a>"</code><br />
124 <code>#include "<a class="el" href="_c_l_2_helper_8h_source.xhtml">CL/Helper.h</a>"</code><br />
125 <code>#include "<a class="el" href="_globals_8h_source.xhtml">Globals.h</a>"</code><br />
126 <code>#include "<a class="el" href="_tensor_library_8h_source.xhtml">TensorLibrary.h</a>"</code><br />
127 <code>#include "<a class="el" href="benchmark_2_datasets_8h_source.xhtml">benchmark/Datasets.h</a>"</code><br />
128 <code>#include "<a class="el" href="_profiler_8h_source.xhtml">benchmark/Profiler.h</a>"</code><br />
129 <code>#include "<a class="el" href="_wall_clock_timer_8h_source.xhtml">benchmark/WallClockTimer.h</a>"</code><br />
130 <code>#include "<a class="el" href="arm__compute_2core_2_helpers_8h_source.xhtml">arm_compute/core/Helpers.h</a>"</code><br />
131 <code>#include "<a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">arm_compute/core/Types.h</a>"</code><br />
132 <code>#include "<a class="el" href="_c_l_scheduler_8h_source.xhtml">arm_compute/runtime/CL/CLScheduler.h</a>"</code><br />
133 <code>#include "<a class="el" href="_c_l_tensor_8h_source.xhtml">arm_compute/runtime/CL/CLTensor.h</a>"</code><br />
134 <code>#include "<a class="el" href="_c_l_tensor_allocator_8h_source.xhtml">arm_compute/runtime/CL/CLTensorAllocator.h</a>"</code><br />
135 <code>#include "<a class="el" href="_c_l_fully_connected_layer_8h_source.xhtml">arm_compute/runtime/CL/functions/CLFullyConnectedLayer.h</a>"</code><br />
136 <code>#include "benchmark/benchmark_api.h"</code><br />
137 <code>#include <memory></code><br />
138 <code>#include <string></code><br />
139 <code>#include "<a class="el" href="_fully_connected_layer_8h_source.xhtml">benchmark/common/FullyConnectedLayer.h</a>"</code><br />
141 <p><a href="benchmark_2_c_l_2_fully_connected_layer_8cpp_source.xhtml">Go to the source code of this file.</a></p>
142 <table class="memberdecls">
143 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
144 Functions</h2></td></tr>
145 <tr class="memitem:aeeeb4426dc4b3263e1a9af695e1c1a40"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="benchmark_2_c_l_2_fully_connected_layer_8cpp.xhtml#aeeeb4426dc4b3263e1a9af695e1c1a40">Threads</a> (1) -> Apply(DataSetArgBatched< <a class="el" href="classarm__compute_1_1test_1_1_alex_net_fully_connected_layer_dataset.xhtml">AlexNetFullyConnectedLayerDataset</a>, 1, 1, 4, 8 >)</td></tr>
146 <tr class="separator:aeeeb4426dc4b3263e1a9af695e1c1a40"><td class="memSeparator" colspan="2"> </td></tr>
147 </table><table class="memberdecls">
148 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
149 Variables</h2></td></tr>
150 <tr class="memitem:af5df1344678ebbcc23857a8a93ccdf60"><td class="memItemLeft" align="right" valign="top">::benchmark::State & </td><td class="memItemRight" valign="bottom"><a class="el" href="benchmark_2_c_l_2_fully_connected_layer_8cpp.xhtml#af5df1344678ebbcc23857a8a93ccdf60">state</a></td></tr>
151 <tr class="separator:af5df1344678ebbcc23857a8a93ccdf60"><td class="memSeparator" colspan="2"> </td></tr>
153 <h2 class="groupheader">Function Documentation</h2>
154 <a class="anchor" id="aeeeb4426dc4b3263e1a9af695e1c1a40"></a>
155 <div class="memitem">
156 <div class="memproto">
157 <table class="memname">
159 <td class="memname">Threads </td>
161 <td class="paramtype">1 </td>
162 <td class="paramname"></td><td>)</td>
163 <td> -> Apply(DataSetArgBatched< <a class="el" href="classarm__compute_1_1test_1_1_alex_net_fully_connected_layer_dataset.xhtml">AlexNetFullyConnectedLayerDataset</a>, 1, 1, 4, 8 >)</td>
166 </div><div class="memdoc">
170 <h2 class="groupheader">Variable Documentation</h2>
171 <a class="anchor" id="af5df1344678ebbcc23857a8a93ccdf60"></a>
172 <div class="memitem">
173 <div class="memproto">
174 <table class="memname">
176 <td class="memname">::benchmark::State& state</td>
179 </div><div class="memdoc">
180 <b>Initial value:</b><div class="fragment"><div class="line">{</div><div class="line"> <span class="keywordflow">while</span>(<a class="code" href="benchmark_2_c_l_2_fully_connected_layer_8cpp.xhtml#af5df1344678ebbcc23857a8a93ccdf60">state</a>.KeepRunning())</div><div class="line"> {</div><div class="line"> </div><div class="line"> profiler.start();</div><div class="line"> fc_layer->run();</div><div class="line"> CLScheduler::get().sync();</div><div class="line"> profiler.stop();</div><div class="line"> }</div><div class="line">}</div><div class="line"></div><div class="line"></div><div class="line">->Threads(1)</div><div class="line">->Apply(DataSetArgBatched<AlexNetFullyConnectedLayerDataset, 0, 1, 4, 8>)</div><div class="ttc" id="benchmark_2_c_l_2_fully_connected_layer_8cpp_xhtml_af5df1344678ebbcc23857a8a93ccdf60"><div class="ttname"><a href="benchmark_2_c_l_2_fully_connected_layer_8cpp.xhtml#af5df1344678ebbcc23857a8a93ccdf60">state</a></div><div class="ttdeci">::benchmark::State & state</div><div class="ttdef"><b>Definition:</b> <a href="benchmark_2_c_l_2_fully_connected_layer_8cpp_source.xhtml#l00060">FullyConnectedLayer.cpp:60</a></div></div>
181 </div><!-- fragment -->
182 <p>Definition at line <a class="el" href="benchmark_2_c_l_2_fully_connected_layer_8cpp_source.xhtml#l00060">60</a> of file <a class="el" href="benchmark_2_c_l_2_fully_connected_layer_8cpp_source.xhtml">FullyConnectedLayer.cpp</a>.</p>
186 </div><!-- contents -->
187 </div><!-- doc-content -->
188 <!-- start footer part -->
189 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
191 <li class="navelem"><a class="el" href="dir_59425e443f801f1f2fd8bbe4959a3ccf.xhtml">tests</a></li><li class="navelem"><a class="el" href="dir_4f2df8950dc650bf7cf9176fae02facc.xhtml">benchmark</a></li><li class="navelem"><a class="el" href="dir_4da487531dc5bdc76b523c9e82b781b1.xhtml">CL</a></li><li class="navelem"><a class="el" href="benchmark_2_c_l_2_fully_connected_layer_8cpp.xhtml">FullyConnectedLayer.cpp</a></li>
192 <li class="footer">Generated on Fri Jun 23 2017 15:44:34 for Compute Library by
193 <a href="http://www.doxygen.org/index.html">
194 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>