arm_compute v18.05
[platform/upstream/armcl.git] / documentation / benchmark_2_c_l_2_fully_connected_layer_8cpp.xhtml
index 5ebe17c..8cd94d0 100644 (file)
@@ -40,7 +40,7 @@
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
    <div id="projectname">Compute Library
-   &#160;<span id="projectnumber">v17.06</span>
+   &#160;<span id="projectnumber">18.05</span>
    </div>
   </td>
  </tr>
@@ -114,82 +114,76 @@ $(document).ready(function(){initNavTree('benchmark_2_c_l_2_fully_connected_laye
 
 <div class="header">
   <div class="summary">
-<a href="#func-members">Functions</a> &#124;
-<a href="#var-members">Variables</a>  </div>
+<a href="#namespaces">Namespaces</a> &#124;
+<a href="#typedef-members">Typedefs</a> &#124;
+<a href="#func-members">Functions</a>  </div>
   <div class="headertitle">
 <div class="title">FullyConnectedLayer.cpp File Reference</div>  </div>
 </div><!--header-->
 <div class="contents">
-<div class="textblock"><code>#include &quot;<a class="el" href="_c_l_accessor_8h_source.xhtml">CL/CLAccessor.h</a>&quot;</code><br />
-<code>#include &quot;<a class="el" href="_c_l_2_helper_8h_source.xhtml">CL/Helper.h</a>&quot;</code><br />
-<code>#include &quot;<a class="el" href="_globals_8h_source.xhtml">Globals.h</a>&quot;</code><br />
-<code>#include &quot;<a class="el" href="_tensor_library_8h_source.xhtml">TensorLibrary.h</a>&quot;</code><br />
-<code>#include &quot;<a class="el" href="benchmark_2_datasets_8h_source.xhtml">benchmark/Datasets.h</a>&quot;</code><br />
-<code>#include &quot;<a class="el" href="_profiler_8h_source.xhtml">benchmark/Profiler.h</a>&quot;</code><br />
-<code>#include &quot;<a class="el" href="_wall_clock_timer_8h_source.xhtml">benchmark/WallClockTimer.h</a>&quot;</code><br />
-<code>#include &quot;<a class="el" href="arm__compute_2core_2_helpers_8h_source.xhtml">arm_compute/core/Helpers.h</a>&quot;</code><br />
+<div class="textblock"><code>#include &quot;<a class="el" href="_tensor_shape_8h_source.xhtml">arm_compute/core/TensorShape.h</a>&quot;</code><br />
 <code>#include &quot;<a class="el" href="arm__compute_2core_2_types_8h_source.xhtml">arm_compute/core/Types.h</a>&quot;</code><br />
-<code>#include &quot;<a class="el" href="_c_l_scheduler_8h_source.xhtml">arm_compute/runtime/CL/CLScheduler.h</a>&quot;</code><br />
 <code>#include &quot;<a class="el" href="_c_l_tensor_8h_source.xhtml">arm_compute/runtime/CL/CLTensor.h</a>&quot;</code><br />
 <code>#include &quot;<a class="el" href="_c_l_tensor_allocator_8h_source.xhtml">arm_compute/runtime/CL/CLTensorAllocator.h</a>&quot;</code><br />
 <code>#include &quot;<a class="el" href="_c_l_fully_connected_layer_8h_source.xhtml">arm_compute/runtime/CL/functions/CLFullyConnectedLayer.h</a>&quot;</code><br />
-<code>#include &quot;benchmark/benchmark_api.h&quot;</code><br />
-<code>#include &lt;memory&gt;</code><br />
-<code>#include &lt;string&gt;</code><br />
-<code>#include &quot;<a class="el" href="_fully_connected_layer_8h_source.xhtml">benchmark/common/FullyConnectedLayer.h</a>&quot;</code><br />
+<code>#include &quot;<a class="el" href="_c_l_accessor_8h_source.xhtml">tests/CL/CLAccessor.h</a>&quot;</code><br />
+<code>#include &quot;tests/benchmark/fixtures/FullyConnectedLayerFixture.h&quot;</code><br />
+<code>#include &quot;tests/datasets/system_tests/alexnet/AlexNetFullyConnectedLayerDataset.h&quot;</code><br />
+<code>#include &quot;tests/datasets/system_tests/googlenet/inceptionv1/GoogLeNetInceptionV1FullyConnectedLayerDataset.h&quot;</code><br />
+<code>#include &quot;tests/datasets/system_tests/googlenet/inceptionv4/GoogLeNetInceptionV4FullyConnectedLayerDataset.h&quot;</code><br />
+<code>#include &quot;tests/datasets/system_tests/lenet5/LeNet5FullyConnectedLayerDataset.h&quot;</code><br />
+<code>#include &quot;tests/datasets/system_tests/vgg/vgg16/VGG16FullyConnectedLayerDataset.h&quot;</code><br />
+<code>#include &quot;<a class="el" href="tests_2framework_2_macros_8h_source.xhtml">tests/framework/Macros.h</a>&quot;</code><br />
+<code>#include &quot;<a class="el" href="_datasets_8h_source.xhtml">tests/framework/datasets/Datasets.h</a>&quot;</code><br />
+<code>#include &quot;<a class="el" href="utils_2_type_printer_8h_source.xhtml">utils/TypePrinter.h</a>&quot;</code><br />
 </div>
 <p><a href="benchmark_2_c_l_2_fully_connected_layer_8cpp_source.xhtml">Go to the source code of this file.</a></p>
 <table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
+Namespaces</h2></td></tr>
+<tr class="memitem:namespacearm__compute"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute.xhtml">arm_compute</a></td></tr>
+<tr class="memdesc:namespacearm__compute"><td class="mdescLeft">&#160;</td><td class="mdescRight">This file contains all available output stages for GEMMLowp on OpenCL. <br /></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:namespacearm__compute_1_1test"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test.xhtml">arm_compute::test</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:namespacearm__compute_1_1test_1_1benchmark"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test_1_1benchmark.xhtml">arm_compute::test::benchmark</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
+Typedefs</h2></td></tr>
+<tr class="memitem:a4c33955ce3f6ed3a4d756cdebf6c8b3a"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test_1_1benchmark.xhtml#a4c33955ce3f6ed3a4d756cdebf6c8b3a">CLFullyConnectedLayerFixture</a> = FullyConnectedLayerFixture&lt; CLTensor, CLFullyConnectedLayer, CLAccessor &gt;</td></tr>
+<tr class="separator:a4c33955ce3f6ed3a4d756cdebf6c8b3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table><table class="memberdecls">
 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
 Functions</h2></td></tr>
-<tr class="memitem:aeeeb4426dc4b3263e1a9af695e1c1a40"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="benchmark_2_c_l_2_fully_connected_layer_8cpp.xhtml#aeeeb4426dc4b3263e1a9af695e1c1a40">Threads</a> (1) -&gt; Apply(DataSetArgBatched&lt; <a class="el" href="classarm__compute_1_1test_1_1_alex_net_fully_connected_layer_dataset.xhtml">AlexNetFullyConnectedLayerDataset</a>, 1, 1, 4, 8 &gt;)</td></tr>
-<tr class="separator:aeeeb4426dc4b3263e1a9af695e1c1a40"><td class="memSeparator" colspan="2">&#160;</td></tr>
-</table><table class="memberdecls">
-<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
-Variables</h2></td></tr>
-<tr class="memitem:af5df1344678ebbcc23857a8a93ccdf60"><td class="memItemLeft" align="right" valign="top">::benchmark::State &amp;&#160;</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>
-<tr class="separator:af5df1344678ebbcc23857a8a93ccdf60"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a83f3fe8598aedfba981fa9f6211282ac"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test_1_1benchmark.xhtml#a83f3fe8598aedfba981fa9f6211282ac">REGISTER_FIXTURE_DATA_TEST_CASE</a> (AlexNetFullyConnectedLayer, CLFullyConnectedLayerFixture, framework::DatasetMode::ALL, framework::dataset::combine(framework::dataset::combine(datasets::AlexNetFullyConnectedLayerDataset(), data_types), framework::dataset::make(&quot;Batches&quot;, 1)))</td></tr>
+<tr class="separator:a83f3fe8598aedfba981fa9f6211282ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a2a70f2866f451484cec556a5f9b081f6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test_1_1benchmark.xhtml#a2a70f2866f451484cec556a5f9b081f6">REGISTER_FIXTURE_DATA_TEST_CASE</a> (LeNet5FullyConnectedLayer, CLFullyConnectedLayerFixture, framework::DatasetMode::ALL, framework::dataset::combine(framework::dataset::combine(datasets::LeNet5FullyConnectedLayerDataset(), data_types), framework::dataset::make(&quot;Batches&quot;, 1)))</td></tr>
+<tr class="separator:a2a70f2866f451484cec556a5f9b081f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a4b7ebda47c36e379e7f499bf7dcd39b6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test_1_1benchmark.xhtml#a4b7ebda47c36e379e7f499bf7dcd39b6">REGISTER_FIXTURE_DATA_TEST_CASE</a> (VGG16FullyConnectedLayer, CLFullyConnectedLayerFixture, framework::DatasetMode::ALL, framework::dataset::combine(framework::dataset::combine(datasets::VGG16FullyConnectedLayerDataset(), data_types), framework::dataset::make(&quot;Batches&quot;, 1)))</td></tr>
+<tr class="separator:a4b7ebda47c36e379e7f499bf7dcd39b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:af192f8f19bea0c33f4f1dc95e606b484"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test_1_1benchmark.xhtml#af192f8f19bea0c33f4f1dc95e606b484">REGISTER_FIXTURE_DATA_TEST_CASE</a> (GoogLeNetInceptionV1FullyConnectedLayer, CLFullyConnectedLayerFixture, framework::DatasetMode::ALL, framework::dataset::combine(framework::dataset::combine(datasets::GoogLeNetInceptionV1FullyConnectedLayerDataset(), data_types), framework::dataset::make(&quot;Batches&quot;, 1)))</td></tr>
+<tr class="separator:af192f8f19bea0c33f4f1dc95e606b484"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a0b725ec1516ff80d3ddb58e190d9f08b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test_1_1benchmark.xhtml#a0b725ec1516ff80d3ddb58e190d9f08b">REGISTER_FIXTURE_DATA_TEST_CASE</a> (GoogLeNetInceptionV4FullyConnectedLayer, CLFullyConnectedLayerFixture, framework::DatasetMode::ALL, framework::dataset::combine(framework::dataset::combine(datasets::GoogLeNetInceptionV4FullyConnectedLayerDataset(), data_types), framework::dataset::make(&quot;Batches&quot;, 1)))</td></tr>
+<tr class="separator:a0b725ec1516ff80d3ddb58e190d9f08b"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ae3acc98935c819ef82d135e59e9a232c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test_1_1benchmark.xhtml#ae3acc98935c819ef82d135e59e9a232c">REGISTER_FIXTURE_DATA_TEST_CASE</a> (AlexNetFullyConnectedLayer, CLFullyConnectedLayerFixture, framework::DatasetMode::NIGHTLY, framework::dataset::combine(framework::dataset::combine(datasets::AlexNetFullyConnectedLayerDataset(), data_types), framework::dataset::make(&quot;Batches&quot;,{4, 8})))</td></tr>
+<tr class="separator:ae3acc98935c819ef82d135e59e9a232c"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a7b9b861d79b9515579907028e7e8f6ff"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test_1_1benchmark.xhtml#a7b9b861d79b9515579907028e7e8f6ff">REGISTER_FIXTURE_DATA_TEST_CASE</a> (LeNet5FullyConnectedLayer, CLFullyConnectedLayerFixture, framework::DatasetMode::NIGHTLY, framework::dataset::combine(framework::dataset::combine(datasets::LeNet5FullyConnectedLayerDataset(), data_types), framework::dataset::make(&quot;Batches&quot;,{4, 8})))</td></tr>
+<tr class="separator:a7b9b861d79b9515579907028e7e8f6ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a5aa9f68ffccb34570007ce8dde1dcabc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test_1_1benchmark.xhtml#a5aa9f68ffccb34570007ce8dde1dcabc">REGISTER_FIXTURE_DATA_TEST_CASE</a> (VGG16FullyConnectedLayer, CLFullyConnectedLayerFixture, framework::DatasetMode::NIGHTLY, framework::dataset::combine(framework::dataset::combine(datasets::VGG16FullyConnectedLayerDataset(), data_types), framework::dataset::make(&quot;Batches&quot;,{4, 8})))</td></tr>
+<tr class="separator:a5aa9f68ffccb34570007ce8dde1dcabc"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ab620e0663a1ea440cbdb5586ee9c05ae"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test_1_1benchmark.xhtml#ab620e0663a1ea440cbdb5586ee9c05ae">REGISTER_FIXTURE_DATA_TEST_CASE</a> (GoogLeNetInceptionV1FullyConnectedLayer, CLFullyConnectedLayerFixture, framework::DatasetMode::NIGHTLY, framework::dataset::combine(framework::dataset::combine(datasets::GoogLeNetInceptionV1FullyConnectedLayerDataset(), data_types), framework::dataset::make(&quot;Batches&quot;,{4, 8})))</td></tr>
+<tr class="separator:ab620e0663a1ea440cbdb5586ee9c05ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a9afdac183894cb6bddc3445bf4d69744"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacearm__compute_1_1test_1_1benchmark.xhtml#a9afdac183894cb6bddc3445bf4d69744">REGISTER_FIXTURE_DATA_TEST_CASE</a> (GoogLeNetInceptionV4FullyConnectedLayer, CLFullyConnectedLayerFixture, framework::DatasetMode::NIGHTLY, framework::dataset::combine(framework::dataset::combine(datasets::GoogLeNetInceptionV4FullyConnectedLayerDataset(), data_types), framework::dataset::make(&quot;Batches&quot;,{4, 8})))</td></tr>
+<tr class="separator:a9afdac183894cb6bddc3445bf4d69744"><td class="memSeparator" colspan="2">&#160;</td></tr>
 </table>
-<h2 class="groupheader">Function Documentation</h2>
-<a class="anchor" id="aeeeb4426dc4b3263e1a9af695e1c1a40"></a>
-<div class="memitem">
-<div class="memproto">
-      <table class="memname">
-        <tr>
-          <td class="memname">Threads </td>
-          <td>(</td>
-          <td class="paramtype">1&#160;</td>
-          <td class="paramname"></td><td>)</td>
-          <td> -&gt;  Apply(DataSetArgBatched&lt; <a class="el" href="classarm__compute_1_1test_1_1_alex_net_fully_connected_layer_dataset.xhtml">AlexNetFullyConnectedLayerDataset</a>, 1, 1, 4, 8 &gt;)</td>
-        </tr>
-      </table>
-</div><div class="memdoc">
-
-</div>
-</div>
-<h2 class="groupheader">Variable Documentation</h2>
-<a class="anchor" id="af5df1344678ebbcc23857a8a93ccdf60"></a>
-<div class="memitem">
-<div class="memproto">
-      <table class="memname">
-        <tr>
-          <td class="memname">::benchmark::State&amp; state</td>
-        </tr>
-      </table>
-</div><div class="memdoc">
-<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-&gt;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">-&gt;Threads(1)</div><div class="line">-&gt;Apply(DataSetArgBatched&lt;AlexNetFullyConnectedLayerDataset, 0, 1, 4, 8&gt;)</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 &amp; 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>
-</div><!-- fragment -->
-<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>
-
-</div>
-</div>
 </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_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>
-    <li class="footer">Generated on Fri Jun 23 2017 15:44:34 for Compute Library by
+    <li class="footer">Generated on Wed May 23 2018 11:36:39 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>