class_mnist.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  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: Mnist 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_mnist.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_mnist-members.html">List of all members</a> </div>
  93. <div class="headertitle"><div class="title">Mnist Class Reference</div></div>
  94. </div><!--header-->
  95. <div class="contents">
  96. <p><code>#include &lt;<a class="el" href="mnist_8hpp_source.html">mnist.hpp</a>&gt;</code></p>
  97. <div class="dynheader">
  98. Inheritance diagram for Mnist:</div>
  99. <div class="dyncontent">
  100. <div class="center"><img src="class_mnist__inherit__graph.png" border="0" usemap="#a_mnist_inherit__map" alt="Inheritance graph"/></div>
  101. <map name="a_mnist_inherit__map" id="a_mnist_inherit__map">
  102. <area shape="rect" title=" " alt="" coords="13,80,71,107"/>
  103. <area shape="rect" href="class_dataset.html" title=" " alt="" coords="5,5,79,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:a4f6cda03c6bfed38f44c4752d702243b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mnist.html#a4f6cda03c6bfed38f44c4752d702243b">Mnist</a> ()</td></tr>
  110. <tr class="separator:a4f6cda03c6bfed38f44c4752d702243b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  111. <tr class="memitem:a33608fb1985e0af8b147c8de6101fdb1"><td class="memItemLeft" align="right" valign="top">pair&lt; <a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a>, <a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mnist.html#a33608fb1985e0af8b147c8de6101fdb1">get_train</a> (const size_t i) const</td></tr>
  112. <tr class="separator:a33608fb1985e0af8b147c8de6101fdb1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  113. <tr class="memitem:a743e0089d025c1be8322c81e99446c85"><td class="memItemLeft" align="right" valign="top">pair&lt; <a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a>, <a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_mnist.html#a743e0089d025c1be8322c81e99446c85">get_test</a> (const size_t i) const</td></tr>
  114. <tr class="separator:a743e0089d025c1be8322c81e99446c85"><td class="memSeparator" colspan="2">&#160;</td></tr>
  115. <tr class="inherit_header pub_methods_class_dataset"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_dataset')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_dataset.html">Dataset</a></td></tr>
  116. <tr class="memitem:a2ef0a4a688a218d55ef061c6df659a4a inherit pub_methods_class_dataset"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_dataset.html#a2ef0a4a688a218d55ef061c6df659a4a">Dataset</a> ()</td></tr>
  117. <tr class="separator:a2ef0a4a688a218d55ef061c6df659a4a inherit pub_methods_class_dataset"><td class="memSeparator" colspan="2">&#160;</td></tr>
  118. <tr class="memitem:a32fa68b53895c6b9b85866cb20111863 inherit pub_methods_class_dataset"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_dataset.html#a32fa68b53895c6b9b85866cb20111863">get_train_size</a> () const</td></tr>
  119. <tr class="separator:a32fa68b53895c6b9b85866cb20111863 inherit pub_methods_class_dataset"><td class="memSeparator" colspan="2">&#160;</td></tr>
  120. <tr class="memitem:a72fe64fb9ba5524d6b52e383190fcca6 inherit pub_methods_class_dataset"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_dataset.html#a72fe64fb9ba5524d6b52e383190fcca6">get_test_size</a> () const</td></tr>
  121. <tr class="separator:a72fe64fb9ba5524d6b52e383190fcca6 inherit pub_methods_class_dataset"><td class="memSeparator" colspan="2">&#160;</td></tr>
  122. <tr class="memitem:a4e480d79a9827e5bc75340eaff998d2c inherit pub_methods_class_dataset"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_dataset.html#a4e480d79a9827e5bc75340eaff998d2c">get_y_size</a> () const</td></tr>
  123. <tr class="separator:a4e480d79a9827e5bc75340eaff998d2c inherit pub_methods_class_dataset"><td class="memSeparator" colspan="2">&#160;</td></tr>
  124. <tr class="memitem:ad82b7125619aa7c991abe7a230459502 inherit pub_methods_class_dataset"><td class="memItemLeft" align="right" valign="top">virtual pair&lt; <a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a>, <a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_dataset.html#ad82b7125619aa7c991abe7a230459502">get_train</a> (const size_t i) const =0</td></tr>
  125. <tr class="separator:ad82b7125619aa7c991abe7a230459502 inherit pub_methods_class_dataset"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. <tr class="memitem:a05408d54a3e72a15374e7216fa730098 inherit pub_methods_class_dataset"><td class="memItemLeft" align="right" valign="top">virtual pair&lt; <a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a>, <a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_dataset.html#a05408d54a3e72a15374e7216fa730098">get_test</a> (const size_t i) const =0</td></tr>
  127. <tr class="separator:a05408d54a3e72a15374e7216fa730098 inherit pub_methods_class_dataset"><td class="memSeparator" colspan="2">&#160;</td></tr>
  128. </table><table class="memberdecls">
  129. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
  130. Additional Inherited Members</h2></td></tr>
  131. <tr class="inherit_header pro_attribs_class_dataset"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_dataset')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_dataset.html">Dataset</a></td></tr>
  132. <tr class="memitem:a694f77fcd998ee4b91dad75d57b5d2ab inherit pro_attribs_class_dataset"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_dataset.html#a694f77fcd998ee4b91dad75d57b5d2ab">train_size</a></td></tr>
  133. <tr class="separator:a694f77fcd998ee4b91dad75d57b5d2ab inherit pro_attribs_class_dataset"><td class="memSeparator" colspan="2">&#160;</td></tr>
  134. <tr class="memitem:ab69cb524866ef5b2d14a8a6701f5aea2 inherit pro_attribs_class_dataset"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_dataset.html#ab69cb524866ef5b2d14a8a6701f5aea2">test_size</a></td></tr>
  135. <tr class="separator:ab69cb524866ef5b2d14a8a6701f5aea2 inherit pro_attribs_class_dataset"><td class="memSeparator" colspan="2">&#160;</td></tr>
  136. <tr class="memitem:aefa53018e8b5bea1c4ad7d359c2e0169 inherit pro_attribs_class_dataset"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_dataset.html#aefa53018e8b5bea1c4ad7d359c2e0169">x_size</a></td></tr>
  137. <tr class="separator:aefa53018e8b5bea1c4ad7d359c2e0169 inherit pro_attribs_class_dataset"><td class="memSeparator" colspan="2">&#160;</td></tr>
  138. <tr class="memitem:a6da12c43dcebc4375bd9ce33c4a48d79 inherit pro_attribs_class_dataset"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_dataset.html#a6da12c43dcebc4375bd9ce33c4a48d79">y_size</a></td></tr>
  139. <tr class="separator:a6da12c43dcebc4375bd9ce33c4a48d79 inherit pro_attribs_class_dataset"><td class="memSeparator" colspan="2">&#160;</td></tr>
  140. </table>
  141. <h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  142. <a id="a4f6cda03c6bfed38f44c4752d702243b" name="a4f6cda03c6bfed38f44c4752d702243b"></a>
  143. <h2 class="memtitle"><span class="permalink"><a href="#a4f6cda03c6bfed38f44c4752d702243b">&#9670;&nbsp;</a></span>Mnist()</h2>
  144. <div class="memitem">
  145. <div class="memproto">
  146. <table class="memname">
  147. <tr>
  148. <td class="memname">Mnist::Mnist </td>
  149. <td>(</td>
  150. <td class="paramname"></td><td>)</td>
  151. <td></td>
  152. </tr>
  153. </table>
  154. </div><div class="memdoc">
  155. </div>
  156. </div>
  157. <h2 class="groupheader">Member Function Documentation</h2>
  158. <a id="a743e0089d025c1be8322c81e99446c85" name="a743e0089d025c1be8322c81e99446c85"></a>
  159. <h2 class="memtitle"><span class="permalink"><a href="#a743e0089d025c1be8322c81e99446c85">&#9670;&nbsp;</a></span>get_test()</h2>
  160. <div class="memitem">
  161. <div class="memproto">
  162. <table class="mlabels">
  163. <tr>
  164. <td class="mlabels-left">
  165. <table class="memname">
  166. <tr>
  167. <td class="memname">pair&lt; <a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a>, <a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a> &gt; Mnist::get_test </td>
  168. <td>(</td>
  169. <td class="paramtype">const size_t&#160;</td>
  170. <td class="paramname"><em>i</em></td><td>)</td>
  171. <td> const</td>
  172. </tr>
  173. </table>
  174. </td>
  175. <td class="mlabels-right">
  176. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
  177. </tr>
  178. </table>
  179. </div><div class="memdoc">
  180. <p>Implements <a class="el" href="class_dataset.html#a05408d54a3e72a15374e7216fa730098">Dataset</a>.</p>
  181. </div>
  182. </div>
  183. <a id="a33608fb1985e0af8b147c8de6101fdb1" name="a33608fb1985e0af8b147c8de6101fdb1"></a>
  184. <h2 class="memtitle"><span class="permalink"><a href="#a33608fb1985e0af8b147c8de6101fdb1">&#9670;&nbsp;</a></span>get_train()</h2>
  185. <div class="memitem">
  186. <div class="memproto">
  187. <table class="mlabels">
  188. <tr>
  189. <td class="mlabels-left">
  190. <table class="memname">
  191. <tr>
  192. <td class="memname">pair&lt; <a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a>, <a class="el" href="vector_8hpp.html#ab9855a300a7759f4c0f85067d44e4c38">Vector</a> &gt; Mnist::get_train </td>
  193. <td>(</td>
  194. <td class="paramtype">const size_t&#160;</td>
  195. <td class="paramname"><em>i</em></td><td>)</td>
  196. <td> const</td>
  197. </tr>
  198. </table>
  199. </td>
  200. <td class="mlabels-right">
  201. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
  202. </tr>
  203. </table>
  204. </div><div class="memdoc">
  205. <p>Implements <a class="el" href="class_dataset.html#ad82b7125619aa7c991abe7a230459502">Dataset</a>.</p>
  206. </div>
  207. </div>
  208. <hr/>The documentation for this class was generated from the following files:<ul>
  209. <li>src/mnist/<a class="el" href="mnist_8hpp_source.html">mnist.hpp</a></li>
  210. <li>src/mnist/<a class="el" href="mnist_8cpp.html">mnist.cpp</a></li>
  211. </ul>
  212. </div><!-- contents -->
  213. </div><!-- doc-content -->
  214. <!-- start footer part -->
  215. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  216. <ul>
  217. <li class="navelem"><a class="el" href="class_mnist.html">Mnist</a></li>
  218. <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>
  219. </ul>
  220. </div>
  221. </body>
  222. </html>