rocm_jax/docs/jax.random.rst

72 lines
1.1 KiB
ReStructuredText
Raw Normal View History

2023-01-18 10:59:42 -08:00
``jax.random`` module
=====================
2019-02-13 19:21:55 -08:00
.. automodule:: jax.random
2020-11-20 16:41:32 -08:00
2023-09-21 11:13:23 -07:00
API Reference
-------------
2020-11-20 16:41:32 -08:00
2023-09-21 11:13:23 -07:00
Key Creation & Manipulation
~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. autosummary::
:toctree: _autosummary
key
key_data
wrap_key_data
fold_in
split
2024-03-08 09:06:00 -08:00
clone
PRNGKey
2023-09-21 11:13:23 -07:00
Random Samplers
~~~~~~~~~~~~~~~
.. Generate the list of callable members:
2020-11-20 16:41:32 -08:00
>>> from jax import random
2023-09-21 11:13:23 -07:00
>>> fns = (x for x in sorted(dir(random)) if callable(getattr(random, x)))
2020-11-20 16:41:32 -08:00
>>> print('\n'.join(' ' + x for x in fns)) # doctest: +SKIP
.. autosummary::
:toctree: _autosummary
ball
2020-11-20 16:41:32 -08:00
bernoulli
beta
binomial
2023-05-01 18:22:55 -07:00
bits
2020-11-20 16:41:32 -08:00
categorical
cauchy
chisquare
2020-11-20 16:41:32 -08:00
choice
dirichlet
double_sided_maxwell
exponential
f
2020-11-20 16:41:32 -08:00
gamma
generalized_normal
geometric
2020-11-20 16:41:32 -08:00
gumbel
laplace
loggamma
2020-11-20 16:41:32 -08:00
logistic
lognormal
2020-11-20 16:41:32 -08:00
maxwell
2025-03-12 18:15:14 -04:00
multinomial
2020-11-20 16:41:32 -08:00
multivariate_normal
normal
2022-04-29 14:20:50 -04:00
orthogonal
2020-11-20 16:41:32 -08:00
pareto
permutation
poisson
rademacher
randint
rayleigh
2020-11-20 16:41:32 -08:00
t
triangular
2020-11-20 16:41:32 -08:00
truncated_normal
uniform
wald
2020-11-20 16:41:32 -08:00
weibull_min