2024-06-07 11:28:06 +08:00
<!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" lang = "en-US" >
< 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.10.0" / >
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
< title > MLX: mlx/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 >
< script type = "text/javascript" src = "clipboard.js" > < / script >
< script type = "text/javascript" src = "cookie.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 >
< 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" > MLX
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
<!-- Generated by Doxygen 1.10.0 -->
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699& dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "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');
$(function() { init_search(); });
});
/* @license-end */
< / script >
< div id = "main-nav" > < / 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" >
< div id = "MSearchResults" >
< div class = "SRPage" >
< div id = "SRIndex" >
< div id = "SRResults" > < / div >
< div class = "SRStatus" id = "Loading" > Loading...< / div >
< div class = "SRStatus" id = "Searching" > Searching...< / div >
< div class = "SRStatus" id = "NoMatches" > No Matches< / div >
< / div >
< / div >
< / div >
< / div >
< div id = "nav-path" class = "navpath" >
< ul >
< li class = "navelem" > < a class = "el" href = "dir_938ab0ecf10b8b860ff766c820f665fd.html" > mlx< / a > < / li > < / ul >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#nested-classes" > Classes< / a > |
< a href = "#namespaces" > Namespaces< / a > |
< a href = "#func-members" > Functions< / a > < / div >
< div class = "headertitle" > < div class = "title" > random.h File Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< div class = "textblock" > < code > #include < chrono> < / code > < br / >
< code > #include < optional> < / code > < br / >
< code > #include " < a class = "el" href = "array_8h_source.html" > mlx/array.h< / a > " < / code > < br / >
< code > #include " < a class = "el" href = "stream_8h_source.html" > mlx/stream.h< / a > " < / code > < br / >
2024-07-26 02:59:11 +08:00
< code > #include " < a class = "el" href = "utils_8h_source.html" > mlx/utils.h< / a > " < / code > < br / >
2024-06-07 11:28:06 +08:00
< / 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 id = "nested-classes" 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 = "classmlx_1_1core_1_1random_1_1_key_sequence.html" > mlx::core::random::KeySequence< / a > < / 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 id = "namespaces" name = "namespaces" > < / a >
Namespaces< / h2 > < / td > < / tr >
< tr class = "memitem:namespacemlx" id = "r_namespacemlx" > < td class = "memItemLeft" align = "right" valign = "top" > namespace   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacemlx.html" > mlx< / a > < / td > < / tr >
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:namespacemlx_1_1core" id = "r_namespacemlx_1_1core" > < td class = "memItemLeft" align = "right" valign = "top" > namespace   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacemlx_1_1core.html" > mlx::core< / a > < / td > < / tr >
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:namespacemlx_1_1core_1_1random" id = "r_namespacemlx_1_1core_1_1random" > < td class = "memItemLeft" align = "right" valign = "top" > namespace   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacemlx_1_1core_1_1random.html" > mlx::core::random< / a > < / 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 id = "func-members" name = "func-members" > < / a >
Functions< / h2 > < / td > < / tr >
< tr class = "memitem:acf04b6f42de11383e86dcc7f98c67bd8" id = "r_acf04b6f42de11383e86dcc7f98c67bd8" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacemlx_1_1core_1_1random.html#acf04b6f42de11383e86dcc7f98c67bd8" > mlx::core::random::key< / a > (uint64_t < a class = "el" href = "namespacemlx_1_1core_1_1random.html#ac4ad325b613257306df74595d3d0e23b" > seed< / a > )< / td > < / tr >
< tr class = "memdesc:acf04b6f42de11383e86dcc7f98c67bd8" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Get a PRNG key from a seed. < br / > < / td > < / tr >
< tr class = "separator:acf04b6f42de11383e86dcc7f98c67bd8" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ac4ad325b613257306df74595d3d0e23b" id = "r_ac4ad325b613257306df74595d3d0e23b" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacemlx_1_1core_1_1random.html#ac4ad325b613257306df74595d3d0e23b" > mlx::core::random::seed< / a > (uint64_t seed)< / td > < / tr >
< tr class = "memdesc:ac4ad325b613257306df74595d3d0e23b" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Seed the default PRNG key. < br / > < / td > < / tr >
< tr class = "separator:ac4ad325b613257306df74595d3d0e23b" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:abb895baa477f5a06b5f88e69245f1825" id = "r_abb895baa477f5a06b5f88e69245f1825" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacemlx_1_1core_1_1random.html#abb895baa477f5a06b5f88e69245f1825" > mlx::core::random::bits< / a > (const std::vector< int > & shape, int width, const std::optional< < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > > & < a class = "el" href = "namespacemlx_1_1core_1_1random.html#acf04b6f42de11383e86dcc7f98c67bd8" > key< / a > =std::nullopt, < a class = "el" href = "namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58" > StreamOrDevice< / a > s={})< / td > < / tr >
< tr class = "memdesc:abb895baa477f5a06b5f88e69245f1825" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Generate an array with type uint32 filled with random bits. < br / > < / td > < / tr >
< tr class = "separator:abb895baa477f5a06b5f88e69245f1825" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a548ffed4ba3107b89885ff850ffce5f4" id = "r_a548ffed4ba3107b89885ff850ffce5f4" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacemlx_1_1core_1_1random.html#a548ffed4ba3107b89885ff850ffce5f4" > mlx::core::random::bits< / a > (const std::vector< int > & shape, const std::optional< < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > > & < a class = "el" href = "namespacemlx_1_1core_1_1random.html#acf04b6f42de11383e86dcc7f98c67bd8" > key< / a > =std::nullopt, < a class = "el" href = "namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58" > StreamOrDevice< / a > s={})< / td > < / tr >
< tr class = "separator:a548ffed4ba3107b89885ff850ffce5f4" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a42847b435d037a977592e355eed072af" id = "r_a42847b435d037a977592e355eed072af" > < td class = "memItemLeft" align = "right" valign = "top" > std::pair< < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > , < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacemlx_1_1core_1_1random.html#a42847b435d037a977592e355eed072af" > mlx::core::random::split< / a > (const < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > & < a class = "el" href = "namespacemlx_1_1core_1_1random.html#acf04b6f42de11383e86dcc7f98c67bd8" > key< / a > , < a class = "el" href = "namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58" > StreamOrDevice< / a > s={})< / td > < / tr >
< tr class = "memdesc:a42847b435d037a977592e355eed072af" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > < a class = "el" href = "classmlx_1_1core_1_1_split.html" > Split< / a > the rng key into a pair of keys. < br / > < / td > < / tr >
< tr class = "separator:a42847b435d037a977592e355eed072af" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a7ec057064c7326c41b536f08178861e5" id = "r_a7ec057064c7326c41b536f08178861e5" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacemlx_1_1core_1_1random.html#a7ec057064c7326c41b536f08178861e5" > mlx::core::random::split< / a > (const < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > & < a class = "el" href = "namespacemlx_1_1core_1_1random.html#acf04b6f42de11383e86dcc7f98c67bd8" > key< / a > , int num, < a class = "el" href = "namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58" > StreamOrDevice< / a > s={})< / td > < / tr >
< tr class = "memdesc:a7ec057064c7326c41b536f08178861e5" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > < a class = "el" href = "classmlx_1_1core_1_1_split.html" > Split< / a > the rng key into < code > num< / code > keys. < br / > < / td > < / tr >
< tr class = "separator:a7ec057064c7326c41b536f08178861e5" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:adaa626cf75ab891978954bd1eb79a38b" id = "r_adaa626cf75ab891978954bd1eb79a38b" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacemlx_1_1core_1_1random.html#adaa626cf75ab891978954bd1eb79a38b" > mlx::core::random::uniform< / a > (const < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > & low, const < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > & high, const std::vector< int > & shape, < a class = "el" href = "structmlx_1_1core_1_1_dtype.html" > Dtype< / a > dtype=< a class = "el" href = "namespacemlx_1_1core.html#a6894543b340321193dfb8052c438a319" > float32< / a > , const std::optional< < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > > & < a class = "el" href = "namespacemlx_1_1core_1_1random.html#acf04b6f42de11383e86dcc7f98c67bd8" > key< / a > =std::nullopt, < a class = "el" href = "namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58" > StreamOrDevice< / a > s={})< / td > < / tr >
< tr class = "memdesc:adaa626cf75ab891978954bd1eb79a38b" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Generate uniform random numbers between low and high. < br / > < / td > < / tr >
< tr class = "separator:adaa626cf75ab891978954bd1eb79a38b" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ac0dd00f7e37377d621f9f5bfb5a3f8e4" id = "r_ac0dd00f7e37377d621f9f5bfb5a3f8e4" > < td class = "memTemplParams" colspan = "2" > template< typename T , typename U > < / td > < / tr >
< tr class = "memitem:ac0dd00f7e37377d621f9f5bfb5a3f8e4" > < td class = "memTemplItemLeft" align = "right" valign = "top" > < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "namespacemlx_1_1core_1_1random.html#ac0dd00f7e37377d621f9f5bfb5a3f8e4" > mlx::core::random::uniform< / a > (T low, U high, const std::vector< int > & shape, < a class = "el" href = "structmlx_1_1core_1_1_dtype.html" > Dtype< / a > dtype=< a class = "el" href = "namespacemlx_1_1core.html#a6894543b340321193dfb8052c438a319" > float32< / a > , const std::optional< < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > > & < a class = "el" href = "namespacemlx_1_1core_1_1random.html#acf04b6f42de11383e86dcc7f98c67bd8" > key< / a > =std::nullopt, < a class = "el" href = "namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58" > StreamOrDevice< / a > s={})< / td > < / tr >
< tr class = "separator:ac0dd00f7e37377d621f9f5bfb5a3f8e4" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a2922e133d9f82dcf925bae0a784cc4a7" id = "r_a2922e133d9f82dcf925bae0a784cc4a7" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacemlx_1_1core_1_1random.html#a2922e133d9f82dcf925bae0a784cc4a7" > mlx::core::random::uniform< / a > (const std::vector< int > & shape, < a class = "el" href = "structmlx_1_1core_1_1_dtype.html" > Dtype< / a > dtype, const std::optional< < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > > & < a class = "el" href = "namespacemlx_1_1core_1_1random.html#acf04b6f42de11383e86dcc7f98c67bd8" > key< / a > =std::nullopt, < a class = "el" href = "namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58" > StreamOrDevice< / a > s={})< / td > < / tr >
< tr class = "memdesc:a2922e133d9f82dcf925bae0a784cc4a7" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Generate uniform random numbers between 0 and 1. < br / > < / td > < / tr >
< tr class = "separator:a2922e133d9f82dcf925bae0a784cc4a7" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a133d2855ff4d8daf41029cffdf43cdf9" id = "r_a133d2855ff4d8daf41029cffdf43cdf9" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacemlx_1_1core_1_1random.html#a133d2855ff4d8daf41029cffdf43cdf9" > mlx::core::random::uniform< / a > (const std::vector< int > & shape, const std::optional< < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > > & < a class = "el" href = "namespacemlx_1_1core_1_1random.html#acf04b6f42de11383e86dcc7f98c67bd8" > key< / a > =std::nullopt, < a class = "el" href = "namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58" > StreamOrDevice< / a > s={})< / td > < / tr >
< tr class = "separator:a133d2855ff4d8daf41029cffdf43cdf9" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aa3977269b77f66c6397c7c72f873d17a" id = "r_aa3977269b77f66c6397c7c72f873d17a" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacemlx_1_1core_1_1random.html#aa3977269b77f66c6397c7c72f873d17a" > mlx::core::random::normal< / a > (const std::vector< int > & shape, < a class = "el" href = "structmlx_1_1core_1_1_dtype.html" > Dtype< / a > dtype, const float loc, const float scale, const std::optional< < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > > & < a class = "el" href = "namespacemlx_1_1core_1_1random.html#acf04b6f42de11383e86dcc7f98c67bd8" > key< / a > =std::nullopt, < a class = "el" href = "namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58" > StreamOrDevice< / a > s={})< / td > < / tr >
< tr class = "memdesc:aa3977269b77f66c6397c7c72f873d17a" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Generate samples from the standard normal distribution. < br / > < / td > < / tr >
< tr class = "separator:aa3977269b77f66c6397c7c72f873d17a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aa3516ace3ebc5e80ca73fb8f50df436f" id = "r_aa3516ace3ebc5e80ca73fb8f50df436f" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacemlx_1_1core_1_1random.html#aa3516ace3ebc5e80ca73fb8f50df436f" > mlx::core::random::normal< / a > (const std::vector< int > & shape, const float loc, const float scale, const std::optional< < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > > & < a class = "el" href = "namespacemlx_1_1core_1_1random.html#acf04b6f42de11383e86dcc7f98c67bd8" > key< / a > =std::nullopt, < a class = "el" href = "namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58" > StreamOrDevice< / a > s={})< / td > < / tr >
< tr class = "separator:aa3516ace3ebc5e80ca73fb8f50df436f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a75ecf88e36a4013ecda18a91cb60befb" id = "r_a75ecf88e36a4013ecda18a91cb60befb" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacemlx_1_1core_1_1random.html#a75ecf88e36a4013ecda18a91cb60befb" > mlx::core::random::normal< / a > (const std::vector< int > & shape, const < a class = "el" href = "structmlx_1_1core_1_1_dtype.html" > Dtype< / a > dtype, const std::optional< < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > > & < a class = "el" href = "namespacemlx_1_1core_1_1random.html#acf04b6f42de11383e86dcc7f98c67bd8" > key< / a > =std::nullopt, < a class = "el" href = "namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58" > StreamOrDevice< / a > s={})< / td > < / tr >
< tr class = "separator:a75ecf88e36a4013ecda18a91cb60befb" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a7723a27a0093a1f51ca31d26c1d061c8" id = "r_a7723a27a0093a1f51ca31d26c1d061c8" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacemlx_1_1core_1_1random.html#a7723a27a0093a1f51ca31d26c1d061c8" > mlx::core::random::normal< / a > (const std::vector< int > & shape, const std::optional< < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > > & < a class = "el" href = "namespacemlx_1_1core_1_1random.html#acf04b6f42de11383e86dcc7f98c67bd8" > key< / a > =std::nullopt, < a class = "el" href = "namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58" > StreamOrDevice< / a > s={})< / td > < / tr >
< tr class = "separator:a7723a27a0093a1f51ca31d26c1d061c8" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a8c37da3c1c0c561cad7499d6d9db81fb" id = "r_a8c37da3c1c0c561cad7499d6d9db81fb" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacemlx_1_1core_1_1random.html#a8c37da3c1c0c561cad7499d6d9db81fb" > mlx::core::random::multivariate_normal< / a > (const < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > & < a class = "el" href = "group__ops.html#gade46e768fd46b8b640eb16f26abeecef" > mean< / a > , const < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > & cov, const std::vector< int > & shape, < a class = "el" href = "structmlx_1_1core_1_1_dtype.html" > Dtype< / a > dtype, const std::optional< < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > > & < a class = "el" href = "namespacemlx_1_1core_1_1random.html#acf04b6f42de11383e86dcc7f98c67bd8" > key< / a > =std::nullopt, < a class = "el" href = "namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58" > StreamOrDevice< / a > s={})< / td > < / tr >
< tr class = "memdesc:a8c37da3c1c0c561cad7499d6d9db81fb" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Generate samples from a multivariate normal distribution. < br / > < / td > < / tr >
< tr class = "separator:a8c37da3c1c0c561cad7499d6d9db81fb" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a7289d3791aa4e8bfe28fafef4fb40e3b" id = "r_a7289d3791aa4e8bfe28fafef4fb40e3b" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacemlx_1_1core_1_1random.html#a7289d3791aa4e8bfe28fafef4fb40e3b" > mlx::core::random::randint< / a > (const < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > & low, const < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > & high, const std::vector< int > & shape, < a class = "el" href = "structmlx_1_1core_1_1_dtype.html" > Dtype< / a > dtype=< a class = "el" href = "namespacemlx_1_1core.html#a5d6373aad1444edc9de1eb07bfe5cad3" > int32< / a > , const std::optional< < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > > & < a class = "el" href = "namespacemlx_1_1core_1_1random.html#acf04b6f42de11383e86dcc7f98c67bd8" > key< / a > =std::nullopt, < a class = "el" href = "namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58" > StreamOrDevice< / a > s={})< / td > < / tr >
< tr class = "memdesc:a7289d3791aa4e8bfe28fafef4fb40e3b" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Generate integer samples uniformly at random. < br / > < / td > < / tr >
< tr class = "separator:a7289d3791aa4e8bfe28fafef4fb40e3b" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:afe20b1c6188f4c8a83203e60b70b8946" id = "r_afe20b1c6188f4c8a83203e60b70b8946" > < td class = "memTemplParams" colspan = "2" > template< typename T , typename U > < / td > < / tr >
< tr class = "memitem:afe20b1c6188f4c8a83203e60b70b8946" > < td class = "memTemplItemLeft" align = "right" valign = "top" > < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "namespacemlx_1_1core_1_1random.html#afe20b1c6188f4c8a83203e60b70b8946" > mlx::core::random::randint< / a > (T low, U high, const std::vector< int > & shape, < a class = "el" href = "structmlx_1_1core_1_1_dtype.html" > Dtype< / a > dtype=< a class = "el" href = "namespacemlx_1_1core.html#a5d6373aad1444edc9de1eb07bfe5cad3" > int32< / a > , const std::optional< < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > > & < a class = "el" href = "namespacemlx_1_1core_1_1random.html#acf04b6f42de11383e86dcc7f98c67bd8" > key< / a > =std::nullopt, < a class = "el" href = "namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58" > StreamOrDevice< / a > s={})< / td > < / tr >
< tr class = "separator:afe20b1c6188f4c8a83203e60b70b8946" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:acb3f278fea2c4f06dea947d3bac2e9b7" id = "r_acb3f278fea2c4f06dea947d3bac2e9b7" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacemlx_1_1core_1_1random.html#acb3f278fea2c4f06dea947d3bac2e9b7" > mlx::core::random::bernoulli< / a > (const < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > & p, const std::vector< int > & shape, const std::optional< < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > > & < a class = "el" href = "namespacemlx_1_1core_1_1random.html#acf04b6f42de11383e86dcc7f98c67bd8" > key< / a > =std::nullopt, < a class = "el" href = "namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58" > StreamOrDevice< / a > s={})< / td > < / tr >
< tr class = "memdesc:acb3f278fea2c4f06dea947d3bac2e9b7" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Generate binary variables with probability to be true equal to p. < br / > < / td > < / tr >
< tr class = "separator:acb3f278fea2c4f06dea947d3bac2e9b7" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aaa49f6c2af5496822fa09435e54275cb" id = "r_aaa49f6c2af5496822fa09435e54275cb" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacemlx_1_1core_1_1random.html#aaa49f6c2af5496822fa09435e54275cb" > mlx::core::random::bernoulli< / a > (const < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > & p, const std::optional< < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > > & < a class = "el" href = "namespacemlx_1_1core_1_1random.html#acf04b6f42de11383e86dcc7f98c67bd8" > key< / a > =std::nullopt, < a class = "el" href = "namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58" > StreamOrDevice< / a > s={})< / td > < / tr >
< tr class = "separator:aaa49f6c2af5496822fa09435e54275cb" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aa9e360f9cb7bd23221352ed9e31d83c2" id = "r_aa9e360f9cb7bd23221352ed9e31d83c2" > < td class = "memTemplParams" colspan = "2" > template< typename T > < / td > < / tr >
< tr class = "memitem:aa9e360f9cb7bd23221352ed9e31d83c2" > < td class = "memTemplItemLeft" align = "right" valign = "top" > < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "namespacemlx_1_1core_1_1random.html#aa9e360f9cb7bd23221352ed9e31d83c2" > mlx::core::random::bernoulli< / a > (T p, const std::optional< < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > > & < a class = "el" href = "namespacemlx_1_1core_1_1random.html#acf04b6f42de11383e86dcc7f98c67bd8" > key< / a > =std::nullopt, < a class = "el" href = "namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58" > StreamOrDevice< / a > s={})< / td > < / tr >
< tr class = "separator:aa9e360f9cb7bd23221352ed9e31d83c2" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a37fcba120a1d246176db5256d3201cd4" id = "r_a37fcba120a1d246176db5256d3201cd4" > < td class = "memTemplParams" colspan = "2" > template< typename T > < / td > < / tr >
< tr class = "memitem:a37fcba120a1d246176db5256d3201cd4" > < td class = "memTemplItemLeft" align = "right" valign = "top" > < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a >   < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "namespacemlx_1_1core_1_1random.html#a37fcba120a1d246176db5256d3201cd4" > mlx::core::random::bernoulli< / a > (T p, const std::vector< int > & shape, const std::optional< < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > > & < a class = "el" href = "namespacemlx_1_1core_1_1random.html#acf04b6f42de11383e86dcc7f98c67bd8" > key< / a > =std::nullopt, < a class = "el" href = "namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58" > StreamOrDevice< / a > s={})< / td > < / tr >
< tr class = "separator:a37fcba120a1d246176db5256d3201cd4" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ad7eb4467e2f9d5f74a5607b29a935b6e" id = "r_ad7eb4467e2f9d5f74a5607b29a935b6e" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacemlx_1_1core_1_1random.html#ad7eb4467e2f9d5f74a5607b29a935b6e" > mlx::core::random::bernoulli< / a > (const std::optional< < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > > & < a class = "el" href = "namespacemlx_1_1core_1_1random.html#acf04b6f42de11383e86dcc7f98c67bd8" > key< / a > =std::nullopt, < a class = "el" href = "namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58" > StreamOrDevice< / a > s={})< / td > < / tr >
< tr class = "separator:ad7eb4467e2f9d5f74a5607b29a935b6e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a00aa5746bac6d729d2ba9465153bb279" id = "r_a00aa5746bac6d729d2ba9465153bb279" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacemlx_1_1core_1_1random.html#a00aa5746bac6d729d2ba9465153bb279" > mlx::core::random::truncated_normal< / a > (const < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > & lower, const < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > & upper, const std::vector< int > & shape, < a class = "el" href = "structmlx_1_1core_1_1_dtype.html" > Dtype< / a > dtype=< a class = "el" href = "namespacemlx_1_1core.html#a6894543b340321193dfb8052c438a319" > float32< / a > , const std::optional< < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > > & < a class = "el" href = "namespacemlx_1_1core_1_1random.html#acf04b6f42de11383e86dcc7f98c67bd8" > key< / a > =std::nullopt, < a class = "el" href = "namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58" > StreamOrDevice< / a > s={})< / td > < / tr >
< tr class = "separator:a00aa5746bac6d729d2ba9465153bb279" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a39663eda0fd7b274d01499a7b1c9035f" id = "r_a39663eda0fd7b274d01499a7b1c9035f" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacemlx_1_1core_1_1random.html#a39663eda0fd7b274d01499a7b1c9035f" > mlx::core::random::truncated_normal< / a > (const < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > & lower, const < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > & upper, < a class = "el" href = "structmlx_1_1core_1_1_dtype.html" > Dtype< / a > dtype=< a class = "el" href = "namespacemlx_1_1core.html#a6894543b340321193dfb8052c438a319" > float32< / a > , const std::optional< < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > > & < a class = "el" href = "namespacemlx_1_1core_1_1random.html#acf04b6f42de11383e86dcc7f98c67bd8" > key< / a > =std::nullopt, < a class = "el" href = "namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58" > StreamOrDevice< / a > s={})< / td > < / tr >
< tr class = "separator:a39663eda0fd7b274d01499a7b1c9035f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aa849b765cd794306997bcbb9936d3d84" id = "r_aa849b765cd794306997bcbb9936d3d84" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacemlx_1_1core_1_1random.html#aa849b765cd794306997bcbb9936d3d84" > mlx::core::random::gumbel< / a > (const std::vector< int > & shape, < a class = "el" href = "structmlx_1_1core_1_1_dtype.html" > Dtype< / a > dtype=< a class = "el" href = "namespacemlx_1_1core.html#a6894543b340321193dfb8052c438a319" > float32< / a > , const std::optional< < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > > & < a class = "el" href = "namespacemlx_1_1core_1_1random.html#acf04b6f42de11383e86dcc7f98c67bd8" > key< / a > =std::nullopt, < a class = "el" href = "namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58" > StreamOrDevice< / a > s={})< / td > < / tr >
< tr class = "separator:aa849b765cd794306997bcbb9936d3d84" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a3dd7910cedd2b88c2c6f4ca0daf98967" id = "r_a3dd7910cedd2b88c2c6f4ca0daf98967" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacemlx_1_1core_1_1random.html#a3dd7910cedd2b88c2c6f4ca0daf98967" > mlx::core::random::categorical< / a > (const < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > & logits, int axis, const std::vector< int > & shape, const std::optional< < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > > & < a class = "el" href = "namespacemlx_1_1core_1_1random.html#acf04b6f42de11383e86dcc7f98c67bd8" > key< / a > =std::nullopt, < a class = "el" href = "namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58" > StreamOrDevice< / a > s={})< / td > < / tr >
< tr class = "separator:a3dd7910cedd2b88c2c6f4ca0daf98967" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aa7104c436b3972a2480cfeb54554855f" id = "r_aa7104c436b3972a2480cfeb54554855f" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacemlx_1_1core_1_1random.html#aa7104c436b3972a2480cfeb54554855f" > mlx::core::random::categorical< / a > (const < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > & logits_, int axis, int num_samples, const std::optional< < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > > & < a class = "el" href = "namespacemlx_1_1core_1_1random.html#acf04b6f42de11383e86dcc7f98c67bd8" > key< / a > =std::nullopt, < a class = "el" href = "namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58" > StreamOrDevice< / a > s={})< / td > < / tr >
< tr class = "separator:aa7104c436b3972a2480cfeb54554855f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aa336e774783543705dffe2ad5b2c49c1" id = "r_aa336e774783543705dffe2ad5b2c49c1" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacemlx_1_1core_1_1random.html#aa336e774783543705dffe2ad5b2c49c1" > mlx::core::random::categorical< / a > (const < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > & logits, int axis=-1, const std::optional< < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > > & < a class = "el" href = "namespacemlx_1_1core_1_1random.html#acf04b6f42de11383e86dcc7f98c67bd8" > key< / a > =std::nullopt, < a class = "el" href = "namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58" > StreamOrDevice< / a > s={})< / td > < / tr >
< tr class = "separator:aa336e774783543705dffe2ad5b2c49c1" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-07-26 02:59:11 +08:00
< tr class = "memitem:ad52c7cb7709542c5a464df12bfc6b0b7" id = "r_ad52c7cb7709542c5a464df12bfc6b0b7" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacemlx_1_1core_1_1random.html#ad52c7cb7709542c5a464df12bfc6b0b7" > mlx::core::random::laplace< / a > (const std::vector< int > & shape, < a class = "el" href = "structmlx_1_1core_1_1_dtype.html" > Dtype< / a > dtype, const float loc, const float scale, const std::optional< < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > > & < a class = "el" href = "namespacemlx_1_1core_1_1random.html#acf04b6f42de11383e86dcc7f98c67bd8" > key< / a > =std::nullopt, < a class = "el" href = "namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58" > StreamOrDevice< / a > s={})< / td > < / tr >
< tr class = "memdesc:ad52c7cb7709542c5a464df12bfc6b0b7" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Generate samples from the laplace distribution. < br / > < / td > < / tr >
< tr class = "separator:ad52c7cb7709542c5a464df12bfc6b0b7" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a0d0c393dd53d6fdd02e46844b3cf45d1" id = "r_a0d0c393dd53d6fdd02e46844b3cf45d1" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacemlx_1_1core_1_1random.html#a0d0c393dd53d6fdd02e46844b3cf45d1" > mlx::core::random::laplace< / a > (const std::vector< int > & shape, const float loc, const float scale, const std::optional< < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > > & < a class = "el" href = "namespacemlx_1_1core_1_1random.html#acf04b6f42de11383e86dcc7f98c67bd8" > key< / a > =std::nullopt, < a class = "el" href = "namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58" > StreamOrDevice< / a > s={})< / td > < / tr >
< tr class = "separator:a0d0c393dd53d6fdd02e46844b3cf45d1" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a0f73eb7d337529708937eef0080c0998" id = "r_a0f73eb7d337529708937eef0080c0998" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacemlx_1_1core_1_1random.html#a0f73eb7d337529708937eef0080c0998" > mlx::core::random::laplace< / a > (const std::vector< int > & shape, const < a class = "el" href = "structmlx_1_1core_1_1_dtype.html" > Dtype< / a > dtype, const std::optional< < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > > & < a class = "el" href = "namespacemlx_1_1core_1_1random.html#acf04b6f42de11383e86dcc7f98c67bd8" > key< / a > =std::nullopt, < a class = "el" href = "namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58" > StreamOrDevice< / a > s={})< / td > < / tr >
< tr class = "separator:a0f73eb7d337529708937eef0080c0998" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a96b6f40efbee7045a35218296ba12a37" id = "r_a96b6f40efbee7045a35218296ba12a37" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespacemlx_1_1core_1_1random.html#a96b6f40efbee7045a35218296ba12a37" > mlx::core::random::laplace< / a > (const std::vector< int > & shape, const std::optional< < a class = "el" href = "classmlx_1_1core_1_1array.html" > array< / a > > & < a class = "el" href = "namespacemlx_1_1core_1_1random.html#acf04b6f42de11383e86dcc7f98c67bd8" > key< / a > =std::nullopt, < a class = "el" href = "namespacemlx_1_1core.html#a95fc1013cc48fbfee0c54310711a5e58" > StreamOrDevice< / a > s={})< / td > < / tr >
< tr class = "separator:a96b6f40efbee7045a35218296ba12a37" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-06-07 11:28:06 +08:00
< / table >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
Generated by  < a href = "https://www.doxygen.org/index.html" > < img class = "footer" src = "doxygen.svg" width = "104" height = "31" alt = "doxygen" / > < / a > 1.10.0
< / small > < / address >
< / body >
< / html >