You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/12/06 05:58:21 UTC
[GitHub] aaronmarkham closed pull request #13541: Updated docs for randint
operator
aaronmarkham closed pull request #13541: Updated docs for randint operator
URL: https://github.com/apache/incubator-mxnet/pull/13541
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/docs/api/python/ndarray/ndarray.md b/docs/api/python/ndarray/ndarray.md
index 6fcf1d428d2..6419c4ed406 100644
--- a/docs/api/python/ndarray/ndarray.md
+++ b/docs/api/python/ndarray/ndarray.md
@@ -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
```
diff --git a/docs/api/python/ndarray/random.md b/docs/api/python/ndarray/random.md
index 3ea611f5c8e..60c565dd552 100644
--- a/docs/api/python/ndarray/random.md
+++ b/docs/api/python/ndarray/random.md
@@ -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
+ randn
shuffle
+ uniform
mxnet.random.seed
```
diff --git a/docs/api/python/symbol/random.md b/docs/api/python/symbol/random.md
index b93f641334f..1ecaf38830f 100644
--- a/docs/api/python/symbol/random.md
+++ b/docs/api/python/symbol/random.md
@@ -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
shuffle
+ uniform
mxnet.random.seed
```
diff --git a/docs/api/python/symbol/symbol.md b/docs/api/python/symbol/symbol.md
index a4038d74174..9eba2618065 100644
--- a/docs/api/python/symbol/symbol.md
+++ b/docs/api/python/symbol/symbol.md
@@ -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
```
diff --git a/python/mxnet/ndarray/random.py b/python/mxnet/ndarray/random.py
index fc8be571e2e..78339a02086 100644
--- a/python/mxnet/ndarray/random.py
+++ b/python/mxnet/ndarray/random.py
@@ -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):
diff --git a/python/mxnet/symbol/random.py b/python/mxnet/symbol/random.py
index c5940ac96a5..34663cddf02 100644
--- a/python/mxnet/symbol/random.py
+++ b/python/mxnet/symbol/random.py
@@ -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):
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services