class_layer_1_1_convolution_layer.html 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=11"/>
  6. <meta name="generator" content="Doxygen 1.9.3"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>Deep network: Layer::ConvolutionLayer Class Reference</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="navtree.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="resize.js"></script>
  14. <script type="text/javascript" src="navtreedata.js"></script>
  15. <script type="text/javascript" src="navtree.js"></script>
  16. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  17. <script type="text/javascript" src="search/searchdata.js"></script>
  18. <script type="text/javascript" src="search/search.js"></script>
  19. <script type="text/x-mathjax-config">
  20. MathJax.Hub.Config({
  21. extensions: ["tex2jax.js"],
  22. jax: ["input/TeX","output/HTML-CSS"],
  23. });
  24. </script>
  25. <script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
  26. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  27. </head>
  28. <body>
  29. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  30. <div id="titlearea">
  31. <table cellspacing="0" cellpadding="0">
  32. <tbody>
  33. <tr id="projectrow">
  34. <td id="projectalign">
  35. <div id="projectname">Deep network
  36. </div>
  37. </td>
  38. </tr>
  39. </tbody>
  40. </table>
  41. </div>
  42. <!-- end header part -->
  43. <!-- Generated by Doxygen 1.9.3 -->
  44. <script type="text/javascript">
  45. /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  46. var searchBox = new SearchBox("searchBox", "search",'Search','.html');
  47. /* @license-end */
  48. </script>
  49. <script type="text/javascript" src="menudata.js"></script>
  50. <script type="text/javascript" src="menu.js"></script>
  51. <script type="text/javascript">
  52. /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  53. $(function() {
  54. initMenu('',true,false,'search.php','Search');
  55. $(document).ready(function() { init_search(); });
  56. });
  57. /* @license-end */
  58. </script>
  59. <div id="main-nav"></div>
  60. </div><!-- top -->
  61. <div id="side-nav" class="ui-resizable side-nav-resizable">
  62. <div id="nav-tree">
  63. <div id="nav-tree-contents">
  64. <div id="nav-sync" class="sync"></div>
  65. </div>
  66. </div>
  67. <div id="splitbar" style="-moz-user-select:none;"
  68. class="ui-resizable-handle">
  69. </div>
  70. </div>
  71. <script type="text/javascript">
  72. /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  73. $(document).ready(function(){initNavTree('class_layer_1_1_convolution_layer.html',''); initResizable(); });
  74. /* @license-end */
  75. </script>
  76. <div id="doc-content">
  77. <!-- window showing the filter options -->
  78. <div id="MSearchSelectWindow"
  79. onmouseover="return searchBox.OnSearchSelectShow()"
  80. onmouseout="return searchBox.OnSearchSelectHide()"
  81. onkeydown="return searchBox.OnSearchSelectKey(event)">
  82. </div>
  83. <!-- iframe showing the search results (closed by default) -->
  84. <div id="MSearchResultsWindow">
  85. <iframe src="javascript:void(0)" frameborder="0"
  86. name="MSearchResults" id="MSearchResults">
  87. </iframe>
  88. </div>
  89. <div class="header">
  90. <div class="summary">
  91. <a href="#pub-methods">Public Member Functions</a> &#124;
  92. <a href="class_layer_1_1_convolution_layer-members.html">List of all members</a> </div>
  93. <div class="headertitle"><div class="title">Layer::ConvolutionLayer Class Reference</div></div>
  94. </div><!--header-->
  95. <div class="contents">
  96. <p><code>#include &lt;<a class="el" href="convolution_8hpp_source.html">convolution.hpp</a>&gt;</code></p>
  97. <div class="dynheader">
  98. Inheritance diagram for Layer::ConvolutionLayer:</div>
  99. <div class="dyncontent">
  100. <div class="center"><img src="class_layer_1_1_convolution_layer__inherit__graph.png" border="0" usemap="#a_layer_1_1_convolution_layer_inherit__map" alt="Inheritance graph"/></div>
  101. <map name="a_layer_1_1_convolution_layer_inherit__map" id="a_layer_1_1_convolution_layer_inherit__map">
  102. <area shape="rect" title=" " alt="" coords="5,80,185,107"/>
  103. <area shape="rect" href="class_layer_1_1_layer.html" title=" " alt="" coords="44,5,147,32"/>
  104. </map>
  105. <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
  106. <table class="memberdecls">
  107. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
  108. Public Member Functions</h2></td></tr>
  109. <tr class="memitem:a7d76977d90ca11bd1d36dbade396f1c6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_convolution_layer.html#a7d76977d90ca11bd1d36dbade396f1c6">ConvolutionLayer</a> (size_t nf, size_t ni, size_t nj, size_t p, size_t q, size_t mf)</td></tr>
  110. <tr class="separator:a7d76977d90ca11bd1d36dbade396f1c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  111. <tr class="memitem:a0b79936c340c1667025dfda84c4c9273"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_convolution_layer.html#a0b79936c340c1667025dfda84c4c9273">~ConvolutionLayer</a> ()</td></tr>
  112. <tr class="separator:a0b79936c340c1667025dfda84c4c9273"><td class="memSeparator" colspan="2">&#160;</td></tr>
  113. <tr class="memitem:a4ec9a15fc2bb960f6c02841c6293d61a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_convolution_layer.html#a4ec9a15fc2bb960f6c02841c6293d61a">init</a> (<a class="el" href="vector_8hpp.html#a4b04262b81aa7d31eb5d2f607e2a35de">Real</a> mu, <a class="el" href="vector_8hpp.html#a4b04262b81aa7d31eb5d2f607e2a35de">Real</a> sigma)</td></tr>
  114. <tr class="separator:a4ec9a15fc2bb960f6c02841c6293d61a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  115. <tr class="memitem:a8315ef1016d165f8986fb3d4c2b65276"><td class="memItemLeft" align="right" valign="top"><a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_convolution_layer.html#a8315ef1016d165f8986fb3d4c2b65276">feed_forward</a> (<a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a> <a class="el" href="class_layer_1_1_layer.html#af2ebcf019bc0e4b97f41fc9205706665">x</a>) override</td></tr>
  116. <tr class="separator:a8315ef1016d165f8986fb3d4c2b65276"><td class="memSeparator" colspan="2">&#160;</td></tr>
  117. <tr class="memitem:a435dfabf3e575ddf07a11304e2d4fe84"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_convolution_layer.html#a435dfabf3e575ddf07a11304e2d4fe84">init_nabla</a> () override</td></tr>
  118. <tr class="separator:a435dfabf3e575ddf07a11304e2d4fe84"><td class="memSeparator" colspan="2">&#160;</td></tr>
  119. <tr class="memitem:a5ccdf83a1217d57678c8bedcecc43a2a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_convolution_layer.html#a5ccdf83a1217d57678c8bedcecc43a2a">back_propagation</a> (<a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a> e) override</td></tr>
  120. <tr class="separator:a5ccdf83a1217d57678c8bedcecc43a2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  121. <tr class="memitem:a4764f42dfc31ad2d848e0d1c22b0704b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_convolution_layer.html#a4764f42dfc31ad2d848e0d1c22b0704b">update</a> (<a class="el" href="vector_8hpp.html#a4b04262b81aa7d31eb5d2f607e2a35de">Real</a> eta) override</td></tr>
  122. <tr class="separator:a4764f42dfc31ad2d848e0d1c22b0704b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  123. <tr class="inherit_header pub_methods_class_layer_1_1_layer"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_layer_1_1_layer')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_layer_1_1_layer.html">Layer::Layer</a></td></tr>
  124. <tr class="memitem:ac4ff1e869c508087bcf998899908be1a inherit pub_methods_class_layer_1_1_layer"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_layer.html#ac4ff1e869c508087bcf998899908be1a">Layer</a> (size_t <a class="el" href="class_layer_1_1_layer.html#a99d315d8bcc460de6feba4bdac77766c">n</a>, size_t <a class="el" href="class_layer_1_1_layer.html#a8d294cb3fc3d2970a2895ad8298d2e4d">m</a>)</td></tr>
  125. <tr class="separator:ac4ff1e869c508087bcf998899908be1a inherit pub_methods_class_layer_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. <tr class="memitem:a032af2375e6bae4de0f7649b31a62318 inherit pub_methods_class_layer_1_1_layer"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_layer.html#a032af2375e6bae4de0f7649b31a62318">~Layer</a> ()</td></tr>
  127. <tr class="separator:a032af2375e6bae4de0f7649b31a62318 inherit pub_methods_class_layer_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
  128. <tr class="memitem:a8db0801eb0439cd0a0004f3787d512f3 inherit pub_methods_class_layer_1_1_layer"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_layer.html#a8db0801eb0439cd0a0004f3787d512f3">get_input_size</a> () const</td></tr>
  129. <tr class="separator:a8db0801eb0439cd0a0004f3787d512f3 inherit pub_methods_class_layer_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
  130. <tr class="memitem:afe6a48cc987b246fc470082ffe58d932 inherit pub_methods_class_layer_1_1_layer"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_layer.html#afe6a48cc987b246fc470082ffe58d932">get_output_size</a> () const</td></tr>
  131. <tr class="separator:afe6a48cc987b246fc470082ffe58d932 inherit pub_methods_class_layer_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
  132. <tr class="memitem:a5c9d2349c49234c1d29cdacd046788fa inherit pub_methods_class_layer_1_1_layer"><td class="memItemLeft" align="right" valign="top"><a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_layer.html#a5c9d2349c49234c1d29cdacd046788fa">get_output</a> () const</td></tr>
  133. <tr class="separator:a5c9d2349c49234c1d29cdacd046788fa inherit pub_methods_class_layer_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
  134. <tr class="memitem:aeb5b92a01bc4e867d347bff4767e919f inherit pub_methods_class_layer_1_1_layer"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_layer.html#aeb5b92a01bc4e867d347bff4767e919f">feed_forward</a> (<a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a> <a class="el" href="class_layer_1_1_layer.html#af2ebcf019bc0e4b97f41fc9205706665">x</a>)=0</td></tr>
  135. <tr class="separator:aeb5b92a01bc4e867d347bff4767e919f inherit pub_methods_class_layer_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
  136. <tr class="memitem:a87dbd5d1c1091769ba285084bd3513e7 inherit pub_methods_class_layer_1_1_layer"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_layer.html#a87dbd5d1c1091769ba285084bd3513e7">init_nabla</a> ()=0</td></tr>
  137. <tr class="separator:a87dbd5d1c1091769ba285084bd3513e7 inherit pub_methods_class_layer_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
  138. <tr class="memitem:ad9e2853fce56b014b1e9de5097e21dbd inherit pub_methods_class_layer_1_1_layer"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_layer.html#ad9e2853fce56b014b1e9de5097e21dbd">back_propagation</a> (<a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a> e)=0</td></tr>
  139. <tr class="separator:ad9e2853fce56b014b1e9de5097e21dbd inherit pub_methods_class_layer_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
  140. <tr class="memitem:a8f0801b946b94dfe856c57a632c9998f inherit pub_methods_class_layer_1_1_layer"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_layer.html#a8f0801b946b94dfe856c57a632c9998f">update</a> (<a class="el" href="vector_8hpp.html#a4b04262b81aa7d31eb5d2f607e2a35de">Real</a> eta)=0</td></tr>
  141. <tr class="separator:a8f0801b946b94dfe856c57a632c9998f inherit pub_methods_class_layer_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
  142. </table><table class="memberdecls">
  143. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
  144. Additional Inherited Members</h2></td></tr>
  145. <tr class="inherit_header pub_attribs_class_layer_1_1_layer"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_class_layer_1_1_layer')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="class_layer_1_1_layer.html">Layer::Layer</a></td></tr>
  146. <tr class="memitem:a4c1dfb78f590b010a7a1e11706eb12f5 inherit pub_attribs_class_layer_1_1_layer"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_layer.html#a4c1dfb78f590b010a7a1e11706eb12f5">name</a></td></tr>
  147. <tr class="separator:a4c1dfb78f590b010a7a1e11706eb12f5 inherit pub_attribs_class_layer_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
  148. <tr class="memitem:a99d315d8bcc460de6feba4bdac77766c inherit pub_attribs_class_layer_1_1_layer"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_layer.html#a99d315d8bcc460de6feba4bdac77766c">n</a></td></tr>
  149. <tr class="separator:a99d315d8bcc460de6feba4bdac77766c inherit pub_attribs_class_layer_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
  150. <tr class="memitem:a8d294cb3fc3d2970a2895ad8298d2e4d inherit pub_attribs_class_layer_1_1_layer"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_layer.html#a8d294cb3fc3d2970a2895ad8298d2e4d">m</a></td></tr>
  151. <tr class="separator:a8d294cb3fc3d2970a2895ad8298d2e4d inherit pub_attribs_class_layer_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
  152. <tr class="memitem:af2ebcf019bc0e4b97f41fc9205706665 inherit pub_attribs_class_layer_1_1_layer"><td class="memItemLeft" align="right" valign="top"><a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_layer.html#af2ebcf019bc0e4b97f41fc9205706665">x</a></td></tr>
  153. <tr class="separator:af2ebcf019bc0e4b97f41fc9205706665 inherit pub_attribs_class_layer_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
  154. <tr class="memitem:acf6e43bdf3345739e8a2828a8c0606e7 inherit pub_attribs_class_layer_1_1_layer"><td class="memItemLeft" align="right" valign="top"><a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_layer.html#acf6e43bdf3345739e8a2828a8c0606e7">y</a></td></tr>
  155. <tr class="separator:acf6e43bdf3345739e8a2828a8c0606e7 inherit pub_attribs_class_layer_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
  156. <tr class="memitem:affe7f5de8693b4af67765a9286686d82 inherit pub_attribs_class_layer_1_1_layer"><td class="memItemLeft" align="right" valign="top"><a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_layer.html#affe7f5de8693b4af67765a9286686d82">d</a></td></tr>
  157. <tr class="separator:affe7f5de8693b4af67765a9286686d82 inherit pub_attribs_class_layer_1_1_layer"><td class="memSeparator" colspan="2">&#160;</td></tr>
  158. </table>
  159. <h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  160. <a id="a7d76977d90ca11bd1d36dbade396f1c6" name="a7d76977d90ca11bd1d36dbade396f1c6"></a>
  161. <h2 class="memtitle"><span class="permalink"><a href="#a7d76977d90ca11bd1d36dbade396f1c6">&#9670;&nbsp;</a></span>ConvolutionLayer()</h2>
  162. <div class="memitem">
  163. <div class="memproto">
  164. <table class="memname">
  165. <tr>
  166. <td class="memname">Layer::ConvolutionLayer::ConvolutionLayer </td>
  167. <td>(</td>
  168. <td class="paramtype">size_t&#160;</td>
  169. <td class="paramname"><em>nf</em>, </td>
  170. </tr>
  171. <tr>
  172. <td class="paramkey"></td>
  173. <td></td>
  174. <td class="paramtype">size_t&#160;</td>
  175. <td class="paramname"><em>ni</em>, </td>
  176. </tr>
  177. <tr>
  178. <td class="paramkey"></td>
  179. <td></td>
  180. <td class="paramtype">size_t&#160;</td>
  181. <td class="paramname"><em>nj</em>, </td>
  182. </tr>
  183. <tr>
  184. <td class="paramkey"></td>
  185. <td></td>
  186. <td class="paramtype">size_t&#160;</td>
  187. <td class="paramname"><em>p</em>, </td>
  188. </tr>
  189. <tr>
  190. <td class="paramkey"></td>
  191. <td></td>
  192. <td class="paramtype">size_t&#160;</td>
  193. <td class="paramname"><em>q</em>, </td>
  194. </tr>
  195. <tr>
  196. <td class="paramkey"></td>
  197. <td></td>
  198. <td class="paramtype">size_t&#160;</td>
  199. <td class="paramname"><em>mf</em>&#160;</td>
  200. </tr>
  201. <tr>
  202. <td></td>
  203. <td>)</td>
  204. <td></td><td></td>
  205. </tr>
  206. </table>
  207. </div><div class="memdoc">
  208. </div>
  209. </div>
  210. <a id="a0b79936c340c1667025dfda84c4c9273" name="a0b79936c340c1667025dfda84c4c9273"></a>
  211. <h2 class="memtitle"><span class="permalink"><a href="#a0b79936c340c1667025dfda84c4c9273">&#9670;&nbsp;</a></span>~ConvolutionLayer()</h2>
  212. <div class="memitem">
  213. <div class="memproto">
  214. <table class="memname">
  215. <tr>
  216. <td class="memname">Layer::ConvolutionLayer::~ConvolutionLayer </td>
  217. <td>(</td>
  218. <td class="paramname"></td><td>)</td>
  219. <td></td>
  220. </tr>
  221. </table>
  222. </div><div class="memdoc">
  223. </div>
  224. </div>
  225. <h2 class="groupheader">Member Function Documentation</h2>
  226. <a id="a5ccdf83a1217d57678c8bedcecc43a2a" name="a5ccdf83a1217d57678c8bedcecc43a2a"></a>
  227. <h2 class="memtitle"><span class="permalink"><a href="#a5ccdf83a1217d57678c8bedcecc43a2a">&#9670;&nbsp;</a></span>back_propagation()</h2>
  228. <div class="memitem">
  229. <div class="memproto">
  230. <table class="mlabels">
  231. <tr>
  232. <td class="mlabels-left">
  233. <table class="memname">
  234. <tr>
  235. <td class="memname"><a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a> Layer::ConvolutionLayer::back_propagation </td>
  236. <td>(</td>
  237. <td class="paramtype"><a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a>&#160;</td>
  238. <td class="paramname"><em>e</em></td><td>)</td>
  239. <td></td>
  240. </tr>
  241. </table>
  242. </td>
  243. <td class="mlabels-right">
  244. <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
  245. </tr>
  246. </table>
  247. </div><div class="memdoc">
  248. <p >Apply back propagation algorithm on the delta output vector d. Used the input vector stored in x_in_ref during feedforward. Return a reference to the computed (and stored) input delta vector. Nabla vectors must be computed here. </p>
  249. <p>Implements <a class="el" href="class_layer_1_1_layer.html#ad9e2853fce56b014b1e9de5097e21dbd">Layer::Layer</a>.</p>
  250. </div>
  251. </div>
  252. <a id="a8315ef1016d165f8986fb3d4c2b65276" name="a8315ef1016d165f8986fb3d4c2b65276"></a>
  253. <h2 class="memtitle"><span class="permalink"><a href="#a8315ef1016d165f8986fb3d4c2b65276">&#9670;&nbsp;</a></span>feed_forward()</h2>
  254. <div class="memitem">
  255. <div class="memproto">
  256. <table class="mlabels">
  257. <tr>
  258. <td class="mlabels-left">
  259. <table class="memname">
  260. <tr>
  261. <td class="memname"><a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a> Layer::ConvolutionLayer::feed_forward </td>
  262. <td>(</td>
  263. <td class="paramtype"><a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a>&#160;</td>
  264. <td class="paramname"><em>x</em></td><td>)</td>
  265. <td></td>
  266. </tr>
  267. </table>
  268. </td>
  269. <td class="mlabels-right">
  270. <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
  271. </tr>
  272. </table>
  273. </div><div class="memdoc">
  274. <p >Apply the layer to the input vector <code>x</code>. Vectors <code>x_in_ref</code> and <code>x_out</code> must be updated in consequence. Return a reference to x_out. </p>
  275. <p>Implements <a class="el" href="class_layer_1_1_layer.html#aeb5b92a01bc4e867d347bff4767e919f">Layer::Layer</a>.</p>
  276. </div>
  277. </div>
  278. <a id="a4ec9a15fc2bb960f6c02841c6293d61a" name="a4ec9a15fc2bb960f6c02841c6293d61a"></a>
  279. <h2 class="memtitle"><span class="permalink"><a href="#a4ec9a15fc2bb960f6c02841c6293d61a">&#9670;&nbsp;</a></span>init()</h2>
  280. <div class="memitem">
  281. <div class="memproto">
  282. <table class="memname">
  283. <tr>
  284. <td class="memname">void Layer::ConvolutionLayer::init </td>
  285. <td>(</td>
  286. <td class="paramtype"><a class="el" href="vector_8hpp.html#a4b04262b81aa7d31eb5d2f607e2a35de">Real</a>&#160;</td>
  287. <td class="paramname"><em>mu</em>, </td>
  288. </tr>
  289. <tr>
  290. <td class="paramkey"></td>
  291. <td></td>
  292. <td class="paramtype"><a class="el" href="vector_8hpp.html#a4b04262b81aa7d31eb5d2f607e2a35de">Real</a>&#160;</td>
  293. <td class="paramname"><em>sigma</em>&#160;</td>
  294. </tr>
  295. <tr>
  296. <td></td>
  297. <td>)</td>
  298. <td></td><td></td>
  299. </tr>
  300. </table>
  301. </div><div class="memdoc">
  302. </div>
  303. </div>
  304. <a id="a435dfabf3e575ddf07a11304e2d4fe84" name="a435dfabf3e575ddf07a11304e2d4fe84"></a>
  305. <h2 class="memtitle"><span class="permalink"><a href="#a435dfabf3e575ddf07a11304e2d4fe84">&#9670;&nbsp;</a></span>init_nabla()</h2>
  306. <div class="memitem">
  307. <div class="memproto">
  308. <table class="mlabels">
  309. <tr>
  310. <td class="mlabels-left">
  311. <table class="memname">
  312. <tr>
  313. <td class="memname">void Layer::ConvolutionLayer::init_nabla </td>
  314. <td>(</td>
  315. <td class="paramname"></td><td>)</td>
  316. <td></td>
  317. </tr>
  318. </table>
  319. </td>
  320. <td class="mlabels-right">
  321. <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
  322. </tr>
  323. </table>
  324. </div><div class="memdoc">
  325. <p >Initialize nabla vectors which are used during gradient descent. </p>
  326. <p>Implements <a class="el" href="class_layer_1_1_layer.html#a87dbd5d1c1091769ba285084bd3513e7">Layer::Layer</a>.</p>
  327. </div>
  328. </div>
  329. <a id="a4764f42dfc31ad2d848e0d1c22b0704b" name="a4764f42dfc31ad2d848e0d1c22b0704b"></a>
  330. <h2 class="memtitle"><span class="permalink"><a href="#a4764f42dfc31ad2d848e0d1c22b0704b">&#9670;&nbsp;</a></span>update()</h2>
  331. <div class="memitem">
  332. <div class="memproto">
  333. <table class="mlabels">
  334. <tr>
  335. <td class="mlabels-left">
  336. <table class="memname">
  337. <tr>
  338. <td class="memname">void Layer::ConvolutionLayer::update </td>
  339. <td>(</td>
  340. <td class="paramtype"><a class="el" href="vector_8hpp.html#a4b04262b81aa7d31eb5d2f607e2a35de">Real</a>&#160;</td>
  341. <td class="paramname"><em>eta</em></td><td>)</td>
  342. <td></td>
  343. </tr>
  344. </table>
  345. </td>
  346. <td class="mlabels-right">
  347. <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
  348. </tr>
  349. </table>
  350. </div><div class="memdoc">
  351. <p >Update layer parameters using gradient descent algorithm with learning rate eta. </p>
  352. <p>Implements <a class="el" href="class_layer_1_1_layer.html#a8f0801b946b94dfe856c57a632c9998f">Layer::Layer</a>.</p>
  353. </div>
  354. </div>
  355. <hr/>The documentation for this class was generated from the following files:<ul>
  356. <li>src/layers/<a class="el" href="convolution_8hpp_source.html">convolution.hpp</a></li>
  357. <li>src/layers/<a class="el" href="convolution_8cpp.html">convolution.cpp</a></li>
  358. </ul>
  359. </div><!-- contents -->
  360. </div><!-- doc-content -->
  361. <!-- start footer part -->
  362. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  363. <ul>
  364. <li class="navelem"><a class="el" href="namespace_layer.html">Layer</a></li><li class="navelem"><a class="el" href="class_layer_1_1_convolution_layer.html">ConvolutionLayer</a></li>
  365. <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3 </li>
  366. </ul>
  367. </div>
  368. </body>
  369. </html>