123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551 |
- <!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: Network 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_network.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="#pro-methods">Protected Member Functions</a> |
- <a href="class_network-members.html">List of all members</a> </div>
- <div class="headertitle"><div class="title">Network Class Reference</div></div>
- </div><!--header-->
- <div class="contents">
- <p><code>#include <<a class="el" href="network_8hpp_source.html">network.hpp</a>></code></p>
- <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:a7256dd4fca14fcf9373591ea1a1b42d6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_network.html#a7256dd4fca14fcf9373591ea1a1b42d6">compute_last_delta</a> (<a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a> y)</td></tr>
- <tr class="separator:a7256dd4fca14fcf9373591ea1a1b42d6"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a3cc2fb4f8fa4d507077e8da85ce5a1c8"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_network.html#a3cc2fb4f8fa4d507077e8da85ce5a1c8">Network</a> ()</td></tr>
- <tr class="separator:a3cc2fb4f8fa4d507077e8da85ce5a1c8"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a790c6368ae5d69fbdb550ed7306543e5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_network.html#a790c6368ae5d69fbdb550ed7306543e5">set_cost</a> (<a class="el" href="network_8hpp.html#a0c3a80fe878325a4a277470fdc7b3eb3">CostFunction</a>)</td></tr>
- <tr class="separator:a790c6368ae5d69fbdb550ed7306543e5"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ade63dfedd3ffa5c0b9ef3e03aa58bc11"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_network.html#ade63dfedd3ffa5c0b9ef3e03aa58bc11">push_layer</a> (<a class="el" href="class_layer_1_1_layer.html">Layer::Layer</a> &l)</td></tr>
- <tr class="separator:ade63dfedd3ffa5c0b9ef3e03aa58bc11"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a33b17ec8563577be73c109bfbb267c52"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_network.html#a33b17ec8563577be73c109bfbb267c52">is_done</a> ()</td></tr>
- <tr class="separator:a33b17ec8563577be73c109bfbb267c52"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ab4a53f3e2d5c1033e9b2314826acf821"><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_network.html#ab4a53f3e2d5c1033e9b2314826acf821">feed_forward</a> (<a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a> x_in)</td></tr>
- <tr class="separator:ab4a53f3e2d5c1033e9b2314826acf821"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a08f9864a68e23b74c1c212c67ca70ed4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="vector_8hpp.html#a4b04262b81aa7d31eb5d2f607e2a35de">Real</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_network.html#a08f9864a68e23b74c1c212c67ca70ed4">eval</a> (<a class="el" href="class_dataset.html">Dataset</a> *dataset)</td></tr>
- <tr class="separator:a08f9864a68e23b74c1c212c67ca70ed4"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a7bfcf0b5c1ed41fc14771d256789a042"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_network.html#a7bfcf0b5c1ed41fc14771d256789a042">train</a> (<a class="el" href="class_dataset.html">Dataset</a> *dataset, size_t nb_epochs, size_t batch_size, <a class="el" href="vector_8hpp.html#a4b04262b81aa7d31eb5d2f607e2a35de">Real</a> eta)</td></tr>
- <tr class="separator:a7bfcf0b5c1ed41fc14771d256789a042"><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:a4bb79b836cfd07172c7ed37dade8cefd"><td class="memItemLeft" align="right" valign="top">list< <a class="el" href="class_layer_1_1_layer.html">Layer::Layer</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_network.html#a4bb79b836cfd07172c7ed37dade8cefd">layers</a></td></tr>
- <tr class="separator:a4bb79b836cfd07172c7ed37dade8cefd"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a912e19f5f19a486459cb8dac0bba7b7e"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_network.html#a912e19f5f19a486459cb8dac0bba7b7e">n_in</a></td></tr>
- <tr class="separator:a912e19f5f19a486459cb8dac0bba7b7e"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a4b6a975d8042d27ac5a7a026db5fc1f0"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_network.html#a4b6a975d8042d27ac5a7a026db5fc1f0">n_out</a></td></tr>
- <tr class="separator:a4b6a975d8042d27ac5a7a026db5fc1f0"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ad71ea0a71fa28c4510e42fb809846404"><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_network.html#ad71ea0a71fa28c4510e42fb809846404">a</a></td></tr>
- <tr class="separator:ad71ea0a71fa28c4510e42fb809846404"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a7d23ea49f6f1c5c0524210f658390cbc"><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_network.html#a7d23ea49f6f1c5c0524210f658390cbc">last_delta</a></td></tr>
- <tr class="separator:a7d23ea49f6f1c5c0524210f658390cbc"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:abf80a2387544fb826f11ab922b857d50"><td class="memItemLeft" align="right" valign="top"><a class="el" href="network_8hpp.html#a0c3a80fe878325a4a277470fdc7b3eb3">CostFunction</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_network.html#abf80a2387544fb826f11ab922b857d50">C</a></td></tr>
- <tr class="separator:abf80a2387544fb826f11ab922b857d50"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-methods" name="pro-methods"></a>
- Protected Member Functions</h2></td></tr>
- <tr class="memitem:aa515f8e09f5d2c989abdf68d97e79e26"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_network.html#aa515f8e09f5d2c989abdf68d97e79e26">shuffle</a> (size_t *tab, size_t size)</td></tr>
- <tr class="separator:aa515f8e09f5d2c989abdf68d97e79e26"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a2bb9069ed59682d142860215ed970e06"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_network.html#a2bb9069ed59682d142860215ed970e06">update_batch</a> (<a class="el" href="class_dataset.html">Dataset</a> *dataset, size_t *indices, size_t begin, size_t end, <a class="el" href="vector_8hpp.html#a4b04262b81aa7d31eb5d2f607e2a35de">Real</a> eta)</td></tr>
- <tr class="separator:a2bb9069ed59682d142860215ed970e06"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a6c324cab761fdff1c614305a6544a311"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_network.html#a6c324cab761fdff1c614305a6544a311">back_propagation</a> (<a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a> x, <a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a> y, <a class="el" href="vector_8hpp.html#a4b04262b81aa7d31eb5d2f607e2a35de">Real</a> eta)</td></tr>
- <tr class="separator:a6c324cab761fdff1c614305a6544a311"><td class="memSeparator" colspan="2"> </td></tr>
- </table>
- <h2 class="groupheader">Constructor & Destructor Documentation</h2>
- <a id="a3cc2fb4f8fa4d507077e8da85ce5a1c8" name="a3cc2fb4f8fa4d507077e8da85ce5a1c8"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a3cc2fb4f8fa4d507077e8da85ce5a1c8">◆ </a></span>Network()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">Network::Network </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <h2 class="groupheader">Member Function Documentation</h2>
- <a id="a6c324cab761fdff1c614305a6544a311" name="a6c324cab761fdff1c614305a6544a311"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a6c324cab761fdff1c614305a6544a311">◆ </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">void Network::back_propagation </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a> </td>
- <td class="paramname"><em>x</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a> </td>
- <td class="paramname"><em>y</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="vector_8hpp.html#a4b04262b81aa7d31eb5d2f607e2a35de">Real</a> </td>
- <td class="paramname"><em>eta</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">protected</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a id="a7256dd4fca14fcf9373591ea1a1b42d6" name="a7256dd4fca14fcf9373591ea1a1b42d6"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a7256dd4fca14fcf9373591ea1a1b42d6">◆ </a></span>compute_last_delta()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void Network::compute_last_delta </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a> </td>
- <td class="paramname"><em>y</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a id="a08f9864a68e23b74c1c212c67ca70ed4" name="a08f9864a68e23b74c1c212c67ca70ed4"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a08f9864a68e23b74c1c212c67ca70ed4">◆ </a></span>eval()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="vector_8hpp.html#a4b04262b81aa7d31eb5d2f607e2a35de">Real</a> Network::eval </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="class_dataset.html">Dataset</a> * </td>
- <td class="paramname"><em>dataset</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a id="ab4a53f3e2d5c1033e9b2314826acf821" name="ab4a53f3e2d5c1033e9b2314826acf821"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ab4a53f3e2d5c1033e9b2314826acf821">◆ </a></span>feed_forward()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a> Network::feed_forward </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a> </td>
- <td class="paramname"><em>x_in</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a id="a33b17ec8563577be73c109bfbb267c52" name="a33b17ec8563577be73c109bfbb267c52"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a33b17ec8563577be73c109bfbb267c52">◆ </a></span>is_done()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void Network::is_done </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a id="ade63dfedd3ffa5c0b9ef3e03aa58bc11" name="ade63dfedd3ffa5c0b9ef3e03aa58bc11"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ade63dfedd3ffa5c0b9ef3e03aa58bc11">◆ </a></span>push_layer()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void Network::push_layer </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="class_layer_1_1_layer.html">Layer::Layer</a> & </td>
- <td class="paramname"><em>l</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a id="a790c6368ae5d69fbdb550ed7306543e5" name="a790c6368ae5d69fbdb550ed7306543e5"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a790c6368ae5d69fbdb550ed7306543e5">◆ </a></span>set_cost()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void Network::set_cost </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="network_8hpp.html#a0c3a80fe878325a4a277470fdc7b3eb3">CostFunction</a> </td>
- <td class="paramname"><em>C_</em></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="aa515f8e09f5d2c989abdf68d97e79e26" name="aa515f8e09f5d2c989abdf68d97e79e26"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#aa515f8e09f5d2c989abdf68d97e79e26">◆ </a></span>shuffle()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void Network::shuffle </td>
- <td>(</td>
- <td class="paramtype">size_t * </td>
- <td class="paramname"><em>tab</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">size_t </td>
- <td class="paramname"><em>size</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">protected</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a id="a7bfcf0b5c1ed41fc14771d256789a042" name="a7bfcf0b5c1ed41fc14771d256789a042"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a7bfcf0b5c1ed41fc14771d256789a042">◆ </a></span>train()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void Network::train </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="class_dataset.html">Dataset</a> * </td>
- <td class="paramname"><em>dataset</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">size_t </td>
- <td class="paramname"><em>nb_epochs</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">size_t </td>
- <td class="paramname"><em>batch_size</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="vector_8hpp.html#a4b04262b81aa7d31eb5d2f607e2a35de">Real</a> </td>
- <td class="paramname"><em>eta</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a id="a2bb9069ed59682d142860215ed970e06" name="a2bb9069ed59682d142860215ed970e06"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a2bb9069ed59682d142860215ed970e06">◆ </a></span>update_batch()</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void Network::update_batch </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="class_dataset.html">Dataset</a> * </td>
- <td class="paramname"><em>dataset</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">size_t * </td>
- <td class="paramname"><em>indices</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">size_t </td>
- <td class="paramname"><em>begin</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">size_t </td>
- <td class="paramname"><em>end</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="vector_8hpp.html#a4b04262b81aa7d31eb5d2f607e2a35de">Real</a> </td>
- <td class="paramname"><em>eta</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">protected</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <h2 class="groupheader">Member Data Documentation</h2>
- <a id="ad71ea0a71fa28c4510e42fb809846404" name="ad71ea0a71fa28c4510e42fb809846404"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ad71ea0a71fa28c4510e42fb809846404">◆ </a></span>a</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a> Network::a</td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a id="abf80a2387544fb826f11ab922b857d50" name="abf80a2387544fb826f11ab922b857d50"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#abf80a2387544fb826f11ab922b857d50">◆ </a></span>C</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="network_8hpp.html#a0c3a80fe878325a4a277470fdc7b3eb3">CostFunction</a> Network::C</td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a id="a7d23ea49f6f1c5c0524210f658390cbc" name="a7d23ea49f6f1c5c0524210f658390cbc"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a7d23ea49f6f1c5c0524210f658390cbc">◆ </a></span>last_delta</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a> Network::last_delta</td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a id="a4bb79b836cfd07172c7ed37dade8cefd" name="a4bb79b836cfd07172c7ed37dade8cefd"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a4bb79b836cfd07172c7ed37dade8cefd">◆ </a></span>layers</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">list<<a class="el" href="class_layer_1_1_layer.html">Layer::Layer</a>*> Network::layers</td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a id="a912e19f5f19a486459cb8dac0bba7b7e" name="a912e19f5f19a486459cb8dac0bba7b7e"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a912e19f5f19a486459cb8dac0bba7b7e">◆ </a></span>n_in</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">size_t Network::n_in</td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a id="a4b6a975d8042d27ac5a7a026db5fc1f0" name="a4b6a975d8042d27ac5a7a026db5fc1f0"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a4b6a975d8042d27ac5a7a026db5fc1f0">◆ </a></span>n_out</h2>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">size_t Network::n_out</td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <hr/>The documentation for this class was generated from the following files:<ul>
- <li>src/<a class="el" href="network_8hpp_source.html">network.hpp</a></li>
- <li>src/<a class="el" href="network_8cpp.html">network.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="class_network.html">Network</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>
|