| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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=9"/> |
| <meta name="generator" content="Doxygen 1.8.11"/> |
| <title>mxnet: /work/mxnet/3rdparty/mshadow/mshadow/random.h File 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="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/javascript"> |
| $(document).ready(function() { init_search(); }); |
| </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 style="height: 56px;"> |
| <td id="projectalign" style="padding-left: 0.5em;"> |
| <div id="projectname">mxnet |
| </div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <!-- end header part --> |
| <!-- Generated by Doxygen 1.8.11 --> |
| <script type="text/javascript"> |
| var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| </script> |
| <div id="navrow1" class="tabs"> |
| <ul class="tablist"> |
| <li><a href="index.html"><span>Main Page</span></a></li> |
| <li><a href="modules.html"><span>Modules</span></a></li> |
| <li><a href="namespaces.html"><span>Namespaces</span></a></li> |
| <li><a href="annotated.html"><span>Classes</span></a></li> |
| <li class="current"><a href="files.html"><span>Files</span></a></li> |
| <li> |
| <div id="MSearchBox" class="MSearchBoxInactive"> |
| <span class="left"> |
| <img id="MSearchSelect" src="search/mag_sel.png" |
| onmouseover="return searchBox.OnSearchSelectShow()" |
| onmouseout="return searchBox.OnSearchSelectHide()" |
| alt=""/> |
| <input type="text" id="MSearchField" value="Search" accesskey="S" |
| onfocus="searchBox.OnSearchFieldFocus(true)" |
| onblur="searchBox.OnSearchFieldFocus(false)" |
| onkeyup="searchBox.OnSearchFieldChange(event)"/> |
| </span><span class="right"> |
| <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
| </span> |
| </div> |
| </li> |
| </ul> |
| </div> |
| <div id="navrow2" class="tabs2"> |
| <ul class="tablist"> |
| <li><a href="files.html"><span>File List</span></a></li> |
| <li><a href="globals.html"><span>File Members</span></a></li> |
| </ul> |
| </div> |
| <!-- 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 id="nav-path" class="navpath"> |
| <ul> |
| <li class="navelem"><a class="el" href="dir_8cab8f464681f7cc51cee77e79a434cd.html">3rdparty</a></li><li class="navelem"><a class="el" href="dir_3e48ced36faa4eaa1b41f6d960bf0edb.html">mshadow</a></li><li class="navelem"><a class="el" href="dir_00b035bb2ad81894e6ad291054ea5f82.html">mshadow</a></li> </ul> |
| </div> |
| </div><!-- top --> |
| <div class="header"> |
| <div class="summary"> |
| <a href="#nested-classes">Classes</a> | |
| <a href="#namespaces">Namespaces</a> </div> |
| <div class="headertitle"> |
| <div class="title">random.h File Reference</div> </div> |
| </div><!--header--> |
| <div class="contents"> |
| |
| <p>Random inline functions for tensor. |
| <a href="#details">More...</a></p> |
| <div class="textblock"><code>#include <cstdlib></code><br /> |
| <code>#include <algorithm></code><br /> |
| <code>#include <random></code><br /> |
| <code>#include "<a class="el" href="3rdparty_2mshadow_2mshadow_2base_8h_source.html">./base.h</a>"</code><br /> |
| <code>#include "<a class="el" href="mshadow_2mshadow_2tensor_8h_source.html">./tensor.h</a>"</code><br /> |
| <code>#include "<a class="el" href="tensor__container_8h_source.html">./tensor_container.h</a>"</code><br /> |
| </div><div class="textblock"><div class="dynheader"> |
| Include dependency graph for random.h:</div> |
| <div class="dyncontent"> |
| <div class="center"><img src="random_8h__incl.png" border="0" usemap="#_2work_2mxnet_23rdparty_2mshadow_2mshadow_2random_8h" alt=""/></div> |
| <map name="_2work_2mxnet_23rdparty_2mshadow_2mshadow_2random_8h" id="_2work_2mxnet_23rdparty_2mshadow_2mshadow_2random_8h"> |
| <area shape="rect" id="node5" href="3rdparty_2mshadow_2mshadow_2base_8h.html" title="./base.h" alt="" coords="1219,408,1292,435"/> |
| <area shape="rect" id="node28" href="mshadow_2mshadow_2tensor_8h.html" title="./tensor.h" alt="" coords="1733,95,1815,121"/> |
| <area shape="rect" id="node49" href="tensor__container_8h.html" title="tensor container that does memory allocation and resize like STL " alt="" coords="2782,169,2931,196"/> |
| <area shape="rect" id="node23" href="half_8h.html" title="definition of half (float16) type. " alt="" coords="1666,483,1730,509"/> |
| <area shape="rect" id="node25" href="half2_8h.html" title="definition of vector float16, half2 type. " alt="" coords="1755,483,1828,509"/> |
| <area shape="rect" id="node30" href="expression_8h.html" title="definitions of abstract expressions and expressions template " alt="" coords="1344,333,1455,360"/> |
| <area shape="rect" id="node31" href="stream__gpu-inl_8h.html" title="implementation of GPU code " alt="" coords="1363,169,1502,196"/> |
| <area shape="rect" id="node33" href="extension_8h.html" title="some extension of expressions, used to support something beyond elementwise op " alt="" coords="2579,169,2683,196"/> |
| <area shape="rect" id="node34" href="expr__engine-inl_8h.html" title="definitions of how expressions should be evaluated " alt="" coords="1647,251,1786,278"/> |
| <area shape="rect" id="node46" href="tensor__cpu-inl_8h.html" title="implementation of CPU host code " alt="" coords="1085,333,1217,360"/> |
| <area shape="rect" id="node47" href="tensor__gpu-inl_8h.html" title="implementation of GPU host code " alt="" coords="1526,169,1659,196"/> |
| <area shape="rect" id="node48" href="3rdparty_2mshadow_2mshadow_2io_8h.html" title="./io.h" alt="" coords="3807,251,3861,278"/> |
| <area shape="rect" id="node50" href="expr__scalar-inl_8h.html" title="definitions of operators in expression with respect to scalar this file will be included several time..." alt="" coords="1913,169,2046,196"/> |
| <area shape="rect" id="node35" href="broadcast_8h.html" title="support for broadcast and repmat " alt="" coords="2759,251,2931,278"/> |
| <area shape="rect" id="node36" href="unpack__patch2col_8h.html" title="support for unpack " alt="" coords="2955,244,3097,285"/> |
| <area shape="rect" id="node37" href="pack__col2patch_8h.html" title="support for pack " alt="" coords="2528,251,2735,278"/> |
| <area shape="rect" id="node38" href="reshape_8h.html" title="support for reshape " alt="" coords="1810,251,1970,278"/> |
| <area shape="rect" id="node39" href="swapaxis_8h.html" title="support for swapaxis " alt="" coords="3122,251,3287,278"/> |
| <area shape="rect" id="node40" href="reduceto1d_8h.html" title="support for sum_rows and sumall_except_dim " alt="" coords="1994,251,2175,278"/> |
| <area shape="rect" id="node41" href="spatial__pool_8h.html" title="support for spatial pooling " alt="" coords="3311,244,3450,285"/> |
| <area shape="rect" id="node42" href="spatial__unpool_8h.html" title="support for unpool " alt="" coords="3474,244,3613,285"/> |
| <area shape="rect" id="node43" href="channel__pool_8h.html" title="support for chpool " alt="" coords="3637,244,3783,285"/> |
| <area shape="rect" id="node44" href="channel__unpool_8h.html" title="./extension/channel\l_unpool.h" alt="" coords="2357,244,2503,285"/> |
| <area shape="rect" id="node45" href="pad_8h.html" title="support for pad " alt="" coords="2200,251,2332,278"/> |
| </map> |
| </div> |
| </div><div class="textblock"><div class="dynheader"> |
| This graph shows which files directly or indirectly include this file:</div> |
| <div class="dyncontent"> |
| <div class="center"><img src="random_8h__dep__incl.png" border="0" usemap="#_2work_2mxnet_23rdparty_2mshadow_2mshadow_2random_8hdep" alt=""/></div> |
| <map name="_2work_2mxnet_23rdparty_2mshadow_2mshadow_2random_8hdep" id="_2work_2mxnet_23rdparty_2mshadow_2mshadow_2random_8hdep"> |
| <area shape="rect" id="node2" href="mshadow_2mshadow_2tensor_8h.html" title="/work/mxnet/3rdparty\l/mshadow/mshadow/tensor.h" alt="" coords="2892,95,3100,136"/> |
| <area shape="rect" id="node3" href="expr__engine-inl_8h.html" title="definitions of how expressions should be evaluated " alt="" coords="2463,184,2647,240"/> |
| <area shape="rect" id="node27" href="stream__gpu-inl_8h.html" title="implementation of GPU code " alt="" coords="2671,184,2873,240"/> |
| <area shape="rect" id="node28" href="tensor__cpu-inl_8h.html" title="implementation of CPU host code " alt="" coords="1952,288,2149,344"/> |
| <area shape="rect" id="node29" href="packet-inl_8h.html" title="Generic packet vectorization code. " alt="" coords="2207,191,2438,233"/> |
| <area shape="rect" id="node32" href="tensor__gpu-inl_8h.html" title="implementation of GPU host code " alt="" coords="2897,184,3095,240"/> |
| <area shape="rect" id="node33" href="3rdparty_2mshadow_2mshadow_2io_8h.html" title="/work/mxnet/3rdparty\l/mshadow/mshadow/io.h" alt="" coords="3244,191,3423,233"/> |
| <area shape="rect" id="node34" href="tensor__container_8h.html" title="tensor container that does memory allocation and resize like STL " alt="" coords="3165,288,3363,344"/> |
| <area shape="rect" id="node35" href="include_2mxnet_2base_8h.html" title="/work/mxnet/include\l/mxnet/base.h" alt="" coords="5765,191,5915,233"/> |
| <area shape="rect" id="node39" href="include_2mxnet_2op__attr__types_8h.html" title="/work/mxnet/include\l/mxnet/op_attr_types.h" alt="" coords="6411,496,6581,537"/> |
| <area shape="rect" id="node4" href="extension_8h.html" title="some extension of expressions, used to support something beyond elementwise op " alt="" coords="2669,295,2899,337"/> |
| <area shape="rect" id="node5" href="implicit__gemm_8h.html" title="support for implicit GEMM operation " alt="" coords="5,392,224,448"/> |
| <area shape="rect" id="node6" href="broadcast_8h.html" title="support for broadcast and repmat " alt="" coords="2675,392,2893,448"/> |
| <area shape="rect" id="node7" href="unpack__patch2col_8h.html" title="support for unpack " alt="" coords="2917,392,3136,448"/> |
| <area shape="rect" id="node8" href="pack__col2patch_8h.html" title="support for pack " alt="" coords="3160,392,3379,448"/> |
| <area shape="rect" id="node9" href="reshape_8h.html" title="support for reshape " alt="" coords="3403,392,3621,448"/> |
| <area shape="rect" id="node10" href="swapaxis_8h.html" title="support for swapaxis " alt="" coords="3645,392,3864,448"/> |
| <area shape="rect" id="node11" href="reduceto1d_8h.html" title="support for sum_rows and sumall_except_dim " alt="" coords="3888,392,4107,448"/> |
| <area shape="rect" id="node12" href="spatial__pool_8h.html" title="support for spatial pooling " alt="" coords="4131,392,4349,448"/> |
| <area shape="rect" id="node13" href="spatial__unpool_8h.html" title="support for unpool " alt="" coords="4373,392,4592,448"/> |
| <area shape="rect" id="node14" href="channel__pool_8h.html" title="support for chpool " alt="" coords="4616,392,4835,448"/> |
| <area shape="rect" id="node15" href="channel__unpool_8h.html" title="/work/mxnet/3rdparty\l/mshadow/mshadow/extension\l/channel_unpool.h" alt="" coords="4859,392,5077,448"/> |
| <area shape="rect" id="node16" href="pad_8h.html" title="support for pad " alt="" coords="5101,399,5360,441"/> |
| <area shape="rect" id="node17" href="crop_8h.html" title="support for crop " alt="" coords="248,392,467,448"/> |
| <area shape="rect" id="node18" href="mirror_8h.html" title="support for mirror " alt="" coords="491,392,709,448"/> |
| <area shape="rect" id="node19" href="concat_8h.html" title="support for concatenation " alt="" coords="733,392,952,448"/> |
| <area shape="rect" id="node20" href="choose_8h.html" title="support for implicit array selection operation " alt="" coords="976,392,1195,448"/> |
| <area shape="rect" id="node21" href="fill_8h.html" title="support for implicit array filling operation " alt="" coords="1219,392,1437,448"/> |
| <area shape="rect" id="node22" href="one__hot_8h.html" title="Create one-hot indicator array based on the index. " alt="" coords="1461,392,1680,448"/> |
| <area shape="rect" id="node23" href="slice_8h.html" title="support for slice a certain dimension. " alt="" coords="1704,392,1923,448"/> |
| <area shape="rect" id="node24" href="slice__ex_8h.html" title="/work/mxnet/3rdparty\l/mshadow/mshadow/extension\l/slice_ex.h" alt="" coords="1947,392,2165,448"/> |
| <area shape="rect" id="node25" href="take_8h.html" title="/work/mxnet/3rdparty\l/mshadow/mshadow/extension\l/take.h" alt="" coords="2189,392,2408,448"/> |
| <area shape="rect" id="node26" href="take__grad_8h.html" title="/work/mxnet/3rdparty\l/mshadow/mshadow/extension\l/take_grad.h" alt="" coords="2432,392,2651,448"/> |
| <area shape="rect" id="node30" href="plain-inl_8h.html" title="support of plain packet that use the plain datatype. " alt="" coords="2223,288,2422,344"/> |
| <area shape="rect" id="node31" href="sse-inl_8h.html" title="support of sse2 packet optimization of some operations " alt="" coords="2446,288,2645,344"/> |
| <area shape="rect" id="node36" href="engine_8h.html" title="Engine that schedules all the operations according to dependency. " alt="" coords="6445,295,6595,337"/> |
| <area shape="rect" id="node37" href="include_2mxnet_2ndarray_8h.html" title="/work/mxnet/include\l/mxnet/ndarray.h" alt="" coords="6287,399,6436,441"/> |
| <area shape="rect" id="node38" href="include_2mxnet_2executor_8h.html" title="/work/mxnet/include\l/mxnet/executor.h" alt="" coords="5783,675,5932,716"/> |
| <area shape="rect" id="node40" href="include_2mxnet_2operator_8h.html" title="/work/mxnet/include\l/mxnet/operator.h" alt="" coords="5783,585,5932,627"/> |
| <area shape="rect" id="node41" href="operator__util_8h.html" title="Utility functions and registries to help quickly build new operators. [Deprecated] Use the register f..." alt="" coords="5455,675,5619,716"/> |
| <area shape="rect" id="node45" href="include_2mxnet_2io_8h.html" title="/work/mxnet/include\l/mxnet/io.h" alt="" coords="5645,496,5795,537"/> |
| <area shape="rect" id="node46" href="resource_8h.html" title="Global resource allocation handling. " alt="" coords="6109,399,6259,441"/> |
| <area shape="rect" id="node47" href="storage_8h.html" title="Storage manager across multiple devices. " alt="" coords="6221,295,6371,337"/> |
| <area shape="rect" id="node48" href="random__generator_8h.html" title="Parallel random number generator. " alt="" coords="5944,295,6147,337"/> |
| <area shape="rect" id="node49" href="rtc_8h.html" title="/work/mxnet/include\l/mxnet/rtc.h" alt="" coords="5587,295,5736,337"/> |
| <area shape="rect" id="node50" href="tensor__blob_8h.html" title="TBlob class that holds common representation of arbirary dimension tensor, can be used to transformed..." alt="" coords="5761,295,5919,337"/> |
| <area shape="rect" id="node44" href="utils_8h.html" title="Basic utilility functions. " alt="" coords="6475,675,6659,716"/> |
| <area shape="rect" id="node43" href="imperative_8h.html" title="/work/mxnet/include\l/mxnet/imperative.h" alt="" coords="6237,675,6387,716"/> |
| <area shape="rect" id="node42" href="include_2mxnet_2graph__attr__types_8h.html" title="/work/mxnet/include\l/mxnet/graph_attr_types.h" alt="" coords="6400,585,6592,627"/> |
| </map> |
| </div> |
| </div> |
| <p><a href="random_8h_source.html">Go to the source code of this file.</a></p> |
| <table class="memberdecls"> |
| <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> |
| Classes</h2></td></tr> |
| <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classmshadow_1_1Random.html">mshadow::Random< Device, MSHADOW_DEFAULT_DTYPE ></a></td></tr> |
| <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">random number generator <a href="classmshadow_1_1Random.html#details">More...</a><br /></td></tr> |
| <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classmshadow_1_1Random_3_01cpu_00_01DType_01_4.html">mshadow::Random< cpu, DType ></a></td></tr> |
| <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">CPU random number generator. <a href="classmshadow_1_1Random_3_01cpu_00_01DType_01_4.html#details">More...</a><br /></td></tr> |
| <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classmshadow_1_1Random_3_01gpu_00_01DType_01_4.html">mshadow::Random< gpu, DType ></a></td></tr> |
| <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">GPU random number generator. <a href="classmshadow_1_1Random_3_01gpu_00_01DType_01_4.html#details">More...</a><br /></td></tr> |
| <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| </table><table class="memberdecls"> |
| <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> |
| Namespaces</h2></td></tr> |
| <tr class="memitem:namespacemshadow"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemshadow.html">mshadow</a></td></tr> |
| <tr class="memdesc:namespacemshadow"><td class="mdescLeft"> </td><td class="mdescRight">namespace for mshadow <br /></td></tr> |
| <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| </table> |
| <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| <div class="textblock"><p>Random inline functions for tensor. </p> |
| <p>Copyright (c) 2014 by Contributors</p> |
| <dl class="section author"><dt>Author</dt><dd>Bing Xu, Tianqi Chen Based on curand|MKL|stdlib </dd></dl> |
| </div></div><!-- contents --> |
| <!-- start footer part --> |
| <hr class="footer"/><address class="footer"><small> |
| Generated on Sat Mar 28 2020 00:52:30 for mxnet by  <a href="http://www.doxygen.org/index.html"> |
| <img class="footer" src="doxygen.png" alt="doxygen"/> |
| </a> 1.8.11 |
| </small></address> |
| </body> |
| </html> |