Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Updated docs for randint operator #13541

Merged
merged 5 commits into from
Dec 6, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 11 additions & 9 deletions docs/api/python/ndarray/ndarray.md
Original file line number Diff line number Diff line change
Expand Up @@ -587,15 +587,17 @@ The `ndarray` package provides several classes:
.. autosummary::
:nosignatures:

mxnet.ndarray.random.uniform
mxnet.ndarray.random.normal
mxnet.ndarray.random.gamma
mxnet.ndarray.random.exponential
mxnet.ndarray.random.poisson
mxnet.ndarray.random.negative_binomial
mxnet.ndarray.random.generalized_negative_binomial
mxnet.ndarray.random.multinomial
mxnet.ndarray.random.shuffle
random.exponential
random.gamma
random.generalized_negative_binomial
random.multinomial
random.negative_binomial
random.normal
random.poisson
random.randint
random.randn
random.shuffle
random.uniform
mxnet.random.seed
```

Expand Down
6 changes: 4 additions & 2 deletions docs/api/python/ndarray/random.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,14 @@ In the rest of this document, we list routines provided by the `ndarray.random`
exponential
gamma
generalized_negative_binomial
multinomial
negative_binomial
normal
poisson
uniform
multinomial
randint
ChaiBapchya marked this conversation as resolved.
Show resolved Hide resolved
randn
shuffle
uniform
mxnet.random.seed
```

Expand Down
5 changes: 3 additions & 2 deletions docs/api/python/symbol/random.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,13 @@ In the rest of this document, we list routines provided by the `symbol.random` p
exponential
gamma
generalized_negative_binomial
multinomial
negative_binomial
normal
poisson
uniform
multinomial
randint
ChaiBapchya marked this conversation as resolved.
Show resolved Hide resolved
shuffle
uniform
mxnet.random.seed
```

Expand Down
19 changes: 10 additions & 9 deletions docs/api/python/symbol/symbol.md
Original file line number Diff line number Diff line change
Expand Up @@ -586,15 +586,16 @@ Composite multiple symbols into a new one by an operator.
.. autosummary::
:nosignatures:

mxnet.symbol.random.uniform
mxnet.symbol.random.normal
mxnet.symbol.random.gamma
mxnet.symbol.random.exponential
mxnet.symbol.random.poisson
mxnet.symbol.random.negative_binomial
mxnet.symbol.random.generalized_negative_binomial
mxnet.symbol.random.multinomial
mxnet.symbol.random.shuffle
random.exponential
random.gamma
random.generalized_negative_binomial
random.multinomial
random.negative_binomial
random.normal
random.poisson
random.randint
random.shuffle
random.uniform
mxnet.random.seed
```

Expand Down
2 changes: 1 addition & 1 deletion python/mxnet/ndarray/random.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

__all__ = ['uniform', 'normal', 'randn', 'poisson', 'exponential', 'gamma',
'multinomial', 'negative_binomial', 'generalized_negative_binomial',
'shuffle']
'shuffle', 'randint']


def _random_helper(random, sampler, params, shape, dtype, ctx, out, kwargs):
Expand Down
2 changes: 1 addition & 1 deletion python/mxnet/symbol/random.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@


__all__ = ['uniform', 'normal', 'poisson', 'exponential', 'gamma', 'multinomial',
'negative_binomial', 'generalized_negative_binomial', 'shuffle']
'negative_binomial', 'generalized_negative_binomial', 'shuffle', 'randint']


def _random_helper(random, sampler, params, shape, dtype, kwargs):
Expand Down