123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
- <meta http-equiv="X-UA-Compatible" content="IE=11"/>
- <meta name="generator" content="Doxygen 1.9.3"/>
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
- <title>Deep network: Layer::Pooling Class Reference</title>
- <link href="tabs.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="jquery.js"></script>
- <script type="text/javascript" src="dynsections.js"></script>
- <link href="navtree.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="resize.js"></script>
- <script type="text/javascript" src="navtreedata.js"></script>
- <script type="text/javascript" src="navtree.js"></script>
- <link href="search/search.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="search/searchdata.js"></script>
- <script type="text/javascript" src="search/search.js"></script>
- <script type="text/x-mathjax-config">
- MathJax.Hub.Config({
- extensions: ["tex2jax.js"],
- jax: ["input/TeX","output/HTML-CSS"],
- });
- </script>
- <script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
- <link href="doxygen.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
- <div id="titlearea">
- <table cellspacing="0" cellpadding="0">
- <tbody>
- <tr id="projectrow">
- <td id="projectalign">
- <div id="projectname">Deep network
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <!-- end header part -->
- <!-- Generated by Doxygen 1.9.3 -->
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
- var searchBox = new SearchBox("searchBox", "search",'Search','.html');
- /* @license-end */
- </script>
- <script type="text/javascript" src="menudata.js"></script>
- <script type="text/javascript" src="menu.js"></script>
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
- $(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
- });
- /* @license-end */
- </script>
- <div id="main-nav"></div>
- </div><!-- top -->
- <div id="side-nav" class="ui-resizable side-nav-resizable">
- <div id="nav-tree">
- <div id="nav-tree-contents">
- <div id="nav-sync" class="sync"></div>
- </div>
- </div>
- <div id="splitbar" style="-moz-user-select:none;"
- class="ui-resizable-handle">
- </div>
- </div>
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
- $(document).ready(function(){initNavTree('class_layer_1_1_pooling.html',''); initResizable(); });
- /* @license-end */
- </script>
- <div id="doc-content">
- <!-- window showing the filter options -->
- <div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
- </div>
- <!-- iframe showing the search results (closed by default) -->
- <div id="MSearchResultsWindow">
- <iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
- </iframe>
- </div>
- <div class="header">
- <div class="summary">
- <a href="#pub-methods">Public Member Functions</a> |
- <a href="#pub-attribs">Public Attributes</a> |
- <a href="class_layer_1_1_pooling-members.html">List of all members</a> </div>
- <div class="headertitle"><div class="title">Layer::Pooling Class Reference</div></div>
- </div><!--header-->
- <div class="contents">
- <p><code>#include <<a class="el" href="pooling_8hpp_source.html">pooling.hpp</a>></code></p>
- <div class="dynheader">
- Inheritance diagram for Layer::Pooling:</div>
- <div class="dyncontent">
- <div class="center"><img src="class_layer_1_1_pooling__inherit__graph.png" border="0" usemap="#a_layer_1_1_pooling_inherit__map" alt="Inheritance graph"/></div>
- <map name="a_layer_1_1_pooling_inherit__map" id="a_layer_1_1_pooling_inherit__map">
- <area shape="rect" title=" " alt="" coords="5,80,120,107"/>
- <area shape="rect" href="class_layer_1_1_layer.html" title=" " alt="" coords="11,5,114,32"/>
- </map>
- <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
- <table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
- Public Member Functions</h2></td></tr>
- <tr class="memitem:ae4782bcaa9306742b54d01d1f26c9837"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_pooling.html#ae4782bcaa9306742b54d01d1f26c9837">Pooling</a> (size_t <a class="el" href="class_layer_1_1_pooling.html#a39aaffa3c994629ae48acddd980debe0">nf</a>, size_t <a class="el" href="class_layer_1_1_pooling.html#aa5039166bf8e18418f4173f778adc199">ni</a>, size_t <a class="el" href="class_layer_1_1_pooling.html#a2d3205efd40debac2409d505fdcc7ecc">nj</a>, size_t <a class="el" href="class_layer_1_1_pooling.html#a9fc1a9baf77fa32e25ccf74c088b45d5">p</a>, size_t <a class="el" href="class_layer_1_1_pooling.html#ab0e8c8cc580e5fdc0f86437ee95b9d94">q</a>)</td></tr>
- <tr class="separator:ae4782bcaa9306742b54d01d1f26c9837"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:adf15e44fc1480e17420808c15aa44067"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_pooling.html#adf15e44fc1480e17420808c15aa44067">~Pooling</a> ()</td></tr>
- <tr class="separator:adf15e44fc1480e17420808c15aa44067"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a91e5d2cfd897d0f196de969909c92afc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_pooling.html#a91e5d2cfd897d0f196de969909c92afc">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>
- <tr class="separator:a91e5d2cfd897d0f196de969909c92afc"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a5c59ea7b198d3e42e334051f7a6e4645"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_pooling.html#a5c59ea7b198d3e42e334051f7a6e4645">init_nabla</a> () override</td></tr>
- <tr class="separator:a5c59ea7b198d3e42e334051f7a6e4645"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a3dc9bb1a69d3d7c2f627da9d2b737ac2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_pooling.html#a3dc9bb1a69d3d7c2f627da9d2b737ac2">back_propagation</a> (<a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a> e) override</td></tr>
- <tr class="separator:a3dc9bb1a69d3d7c2f627da9d2b737ac2"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ab04c4682d176b4bc760aee53c0ecc36a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_pooling.html#ab04c4682d176b4bc760aee53c0ecc36a">update</a> (<a class="el" href="vector_8hpp.html#a4b04262b81aa7d31eb5d2f607e2a35de">Real</a>) override</td></tr>
- <tr class="separator:ab04c4682d176b4bc760aee53c0ecc36a"><td class="memSeparator" colspan="2"> </td></tr>
- <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="-"/> Public Member Functions inherited from <a class="el" href="class_layer_1_1_layer.html">Layer::Layer</a></td></tr>
- <tr class="memitem:ac4ff1e869c508087bcf998899908be1a inherit pub_methods_class_layer_1_1_layer"><td class="memItemLeft" align="right" valign="top"> </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>
- <tr class="separator:ac4ff1e869c508087bcf998899908be1a inherit pub_methods_class_layer_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a032af2375e6bae4de0f7649b31a62318 inherit pub_methods_class_layer_1_1_layer"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_layer.html#a032af2375e6bae4de0f7649b31a62318">~Layer</a> ()</td></tr>
- <tr class="separator:a032af2375e6bae4de0f7649b31a62318 inherit pub_methods_class_layer_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a8db0801eb0439cd0a0004f3787d512f3 inherit pub_methods_class_layer_1_1_layer"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_layer.html#a8db0801eb0439cd0a0004f3787d512f3">get_input_size</a> () const</td></tr>
- <tr class="separator:a8db0801eb0439cd0a0004f3787d512f3 inherit pub_methods_class_layer_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:afe6a48cc987b246fc470082ffe58d932 inherit pub_methods_class_layer_1_1_layer"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_layer.html#afe6a48cc987b246fc470082ffe58d932">get_output_size</a> () const</td></tr>
- <tr class="separator:afe6a48cc987b246fc470082ffe58d932 inherit pub_methods_class_layer_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr>
- <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> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_layer.html#a5c9d2349c49234c1d29cdacd046788fa">get_output</a> () const</td></tr>
- <tr class="separator:a5c9d2349c49234c1d29cdacd046788fa inherit pub_methods_class_layer_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr>
- <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> </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>
- <tr class="separator:aeb5b92a01bc4e867d347bff4767e919f inherit pub_methods_class_layer_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a87dbd5d1c1091769ba285084bd3513e7 inherit pub_methods_class_layer_1_1_layer"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_layer.html#a87dbd5d1c1091769ba285084bd3513e7">init_nabla</a> ()=0</td></tr>
- <tr class="separator:a87dbd5d1c1091769ba285084bd3513e7 inherit pub_methods_class_layer_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr>
- <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> </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>
- <tr class="separator:ad9e2853fce56b014b1e9de5097e21dbd inherit pub_methods_class_layer_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a8f0801b946b94dfe856c57a632c9998f inherit pub_methods_class_layer_1_1_layer"><td class="memItemLeft" align="right" valign="top">virtual void </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>
- <tr class="separator:a8f0801b946b94dfe856c57a632c9998f inherit pub_methods_class_layer_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
- Public Attributes</h2></td></tr>
- <tr class="memitem:a39aaffa3c994629ae48acddd980debe0"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_pooling.html#a39aaffa3c994629ae48acddd980debe0">nf</a></td></tr>
- <tr class="separator:a39aaffa3c994629ae48acddd980debe0"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aa5039166bf8e18418f4173f778adc199"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_pooling.html#aa5039166bf8e18418f4173f778adc199">ni</a></td></tr>
- <tr class="separator:aa5039166bf8e18418f4173f778adc199"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a2d3205efd40debac2409d505fdcc7ecc"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_pooling.html#a2d3205efd40debac2409d505fdcc7ecc">nj</a></td></tr>
- <tr class="separator:a2d3205efd40debac2409d505fdcc7ecc"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a9fc1a9baf77fa32e25ccf74c088b45d5"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_pooling.html#a9fc1a9baf77fa32e25ccf74c088b45d5">p</a></td></tr>
- <tr class="separator:a9fc1a9baf77fa32e25ccf74c088b45d5"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ab0e8c8cc580e5fdc0f86437ee95b9d94"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_pooling.html#ab0e8c8cc580e5fdc0f86437ee95b9d94">q</a></td></tr>
- <tr class="separator:ab0e8c8cc580e5fdc0f86437ee95b9d94"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a1360199bea24a84eba49c82fa7c85afa"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_pooling.html#a1360199bea24a84eba49c82fa7c85afa">mi</a></td></tr>
- <tr class="separator:a1360199bea24a84eba49c82fa7c85afa"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a70a33709b8f2e3d623b2b7be016e0097"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_pooling.html#a70a33709b8f2e3d623b2b7be016e0097">mj</a></td></tr>
- <tr class="separator:a70a33709b8f2e3d623b2b7be016e0097"><td class="memSeparator" colspan="2"> </td></tr>
- <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="-"/> Public Attributes inherited from <a class="el" href="class_layer_1_1_layer.html">Layer::Layer</a></td></tr>
- <tr class="memitem:a4c1dfb78f590b010a7a1e11706eb12f5 inherit pub_attribs_class_layer_1_1_layer"><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_layer.html#a4c1dfb78f590b010a7a1e11706eb12f5">name</a></td></tr>
- <tr class="separator:a4c1dfb78f590b010a7a1e11706eb12f5 inherit pub_attribs_class_layer_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a99d315d8bcc460de6feba4bdac77766c inherit pub_attribs_class_layer_1_1_layer"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_layer.html#a99d315d8bcc460de6feba4bdac77766c">n</a></td></tr>
- <tr class="separator:a99d315d8bcc460de6feba4bdac77766c inherit pub_attribs_class_layer_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a8d294cb3fc3d2970a2895ad8298d2e4d inherit pub_attribs_class_layer_1_1_layer"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_layer.html#a8d294cb3fc3d2970a2895ad8298d2e4d">m</a></td></tr>
- <tr class="separator:a8d294cb3fc3d2970a2895ad8298d2e4d inherit pub_attribs_class_layer_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr>
- <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> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_layer.html#af2ebcf019bc0e4b97f41fc9205706665">x</a></td></tr>
- <tr class="separator:af2ebcf019bc0e4b97f41fc9205706665 inherit pub_attribs_class_layer_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr>
- <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> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_layer.html#acf6e43bdf3345739e8a2828a8c0606e7">y</a></td></tr>
- <tr class="separator:acf6e43bdf3345739e8a2828a8c0606e7 inherit pub_attribs_class_layer_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr>
- <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> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_layer_1_1_layer.html#affe7f5de8693b4af67765a9286686d82">d</a></td></tr>
- <tr class="separator:affe7f5de8693b4af67765a9286686d82 inherit pub_attribs_class_layer_1_1_layer"><td class="memSeparator" colspan="2"> </td></tr>
- </table>
- <h2 class="groupheader">Constructor & Destructor Documentation</h2>
- <a id="ae4782bcaa9306742b54d01d1f26c9837" name="ae4782bcaa9306742b54d01d1f26c9837"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ae4782bcaa9306742b54d01d1f26c9837">◆ </a></span>Pooling()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">Layer::Pooling::Pooling </td>
- <td>(</td>
- <td class="paramtype">size_t </td>
- <td class="paramname"><em>nf</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">size_t </td>
- <td class="paramname"><em>ni</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">size_t </td>
- <td class="paramname"><em>nj</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">size_t </td>
- <td class="paramname"><em>p</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">size_t </td>
- <td class="paramname"><em>q</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a id="adf15e44fc1480e17420808c15aa44067" name="adf15e44fc1480e17420808c15aa44067"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#adf15e44fc1480e17420808c15aa44067">◆ </a></span>~Pooling()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">Layer::Pooling::~Pooling </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <h2 class="groupheader">Member Function Documentation</h2>
- <a id="a3dc9bb1a69d3d7c2f627da9d2b737ac2" name="a3dc9bb1a69d3d7c2f627da9d2b737ac2"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a3dc9bb1a69d3d7c2f627da9d2b737ac2">◆ </a></span>back_propagation()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a> Layer::Pooling::back_propagation </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a> </td>
- <td class="paramname"><em>e</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <p>Implements <a class="el" href="class_layer_1_1_layer.html#ad9e2853fce56b014b1e9de5097e21dbd">Layer::Layer</a>.</p>
- </div>
- </div>
- <a id="a91e5d2cfd897d0f196de969909c92afc" name="a91e5d2cfd897d0f196de969909c92afc"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a91e5d2cfd897d0f196de969909c92afc">◆ </a></span>feed_forward()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a> Layer::Pooling::feed_forward </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a> </td>
- <td class="paramname"><em>x</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <p>Implements <a class="el" href="class_layer_1_1_layer.html#aeb5b92a01bc4e867d347bff4767e919f">Layer::Layer</a>.</p>
- </div>
- </div>
- <a id="a5c59ea7b198d3e42e334051f7a6e4645" name="a5c59ea7b198d3e42e334051f7a6e4645"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a5c59ea7b198d3e42e334051f7a6e4645">◆ </a></span>init_nabla()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void Layer::Pooling::init_nabla </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p >Initialize nabla vectors which are used during gradient descent. </p>
- <p>Implements <a class="el" href="class_layer_1_1_layer.html#a87dbd5d1c1091769ba285084bd3513e7">Layer::Layer</a>.</p>
- </div>
- </div>
- <a id="ab04c4682d176b4bc760aee53c0ecc36a" name="ab04c4682d176b4bc760aee53c0ecc36a"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ab04c4682d176b4bc760aee53c0ecc36a">◆ </a></span>update()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void Layer::Pooling::update </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="vector_8hpp.html#a4b04262b81aa7d31eb5d2f607e2a35de">Real</a> </td>
- <td class="paramname"><em>eta</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p >Update layer parameters using gradient descent algorithm with learning rate eta. </p>
- <p>Implements <a class="el" href="class_layer_1_1_layer.html#a8f0801b946b94dfe856c57a632c9998f">Layer::Layer</a>.</p>
- </div>
- </div>
- <h2 class="groupheader">Member Data Documentation</h2>
- <a id="a1360199bea24a84eba49c82fa7c85afa" name="a1360199bea24a84eba49c82fa7c85afa"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a1360199bea24a84eba49c82fa7c85afa">◆ </a></span>mi</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">size_t Layer::Pooling::mi</td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a id="a70a33709b8f2e3d623b2b7be016e0097" name="a70a33709b8f2e3d623b2b7be016e0097"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a70a33709b8f2e3d623b2b7be016e0097">◆ </a></span>mj</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">size_t Layer::Pooling::mj</td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a id="a39aaffa3c994629ae48acddd980debe0" name="a39aaffa3c994629ae48acddd980debe0"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a39aaffa3c994629ae48acddd980debe0">◆ </a></span>nf</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">size_t Layer::Pooling::nf</td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a id="aa5039166bf8e18418f4173f778adc199" name="aa5039166bf8e18418f4173f778adc199"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#aa5039166bf8e18418f4173f778adc199">◆ </a></span>ni</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">size_t Layer::Pooling::ni</td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a id="a2d3205efd40debac2409d505fdcc7ecc" name="a2d3205efd40debac2409d505fdcc7ecc"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a2d3205efd40debac2409d505fdcc7ecc">◆ </a></span>nj</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">size_t Layer::Pooling::nj</td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a id="a9fc1a9baf77fa32e25ccf74c088b45d5" name="a9fc1a9baf77fa32e25ccf74c088b45d5"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a9fc1a9baf77fa32e25ccf74c088b45d5">◆ </a></span>p</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">size_t Layer::Pooling::p</td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a id="ab0e8c8cc580e5fdc0f86437ee95b9d94" name="ab0e8c8cc580e5fdc0f86437ee95b9d94"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ab0e8c8cc580e5fdc0f86437ee95b9d94">◆ </a></span>q</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">size_t Layer::Pooling::q</td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <hr/>The documentation for this class was generated from the following files:<ul>
- <li>src/layers/<a class="el" href="pooling_8hpp_source.html">pooling.hpp</a></li>
- <li>src/layers/<a class="el" href="pooling_8cpp.html">pooling.cpp</a></li>
- </ul>
- </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="namespace_layer.html">Layer</a></li><li class="navelem"><a class="el" href="class_layer_1_1_pooling.html">Pooling</a></li>
- <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>
- </ul>
- </div>
- </body>
- </html>
|