mirror of
https://github.com/ml-explore/mlx.git
synced 2025-06-25 01:41:17 +08:00
Fix typo in randint docstring (#1932)
This commit fixes a typo in the docstring for mlx.core.random.randint() by changing "roadcastable" to "broadcastable".
This commit is contained in:
parent
85b34d59bc
commit
392b3060b0
@ -253,7 +253,7 @@ void init_random(nb::module_& parent_module) {
|
|||||||
|
|
||||||
The values are sampled with equal probability from the integers in
|
The values are sampled with equal probability from the integers in
|
||||||
half-open interval ``[low, high)``. The lower and upper bound can be
|
half-open interval ``[low, high)``. The lower and upper bound can be
|
||||||
scalars or arrays and must be roadcastable to ``shape``.
|
scalars or arrays and must be broadcastable to ``shape``.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
low (scalar or array): Lower bound of the interval.
|
low (scalar or array): Lower bound of the interval.
|
||||||
|
Loading…
Reference in New Issue
Block a user