mirror of
https://github.com/ml-explore/mlx.git
synced 2025-09-19 19:38:16 +08:00
docs update
This commit is contained in:

committed by
CircleCI Docs

parent
b95224115c
commit
6e9288a41c
10
docs/build/html/random_8h.html
vendored
10
docs/build/html/random_8h.html
vendored
@@ -86,6 +86,7 @@ $(function() {
|
||||
<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 />
|
||||
<code>#include "<a class="el" href="utils_8h_source.html">mlx/utils.h</a>"</code><br />
|
||||
</div>
|
||||
<p><a href="random_8h_source.html">Go to the source code of this file.</a></p>
|
||||
<table class="memberdecls">
|
||||
@@ -176,6 +177,15 @@ Functions</h2></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>
|
||||
<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>
|
||||
</table>
|
||||
</div><!-- contents -->
|
||||
<!-- start footer part -->
|
||||
|
Reference in New Issue
Block a user