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 2020/02/05 19:38:39 UTC
[GitHub] [incubator-mxnet] reminisce commented on a change in pull request
#17517: [numpy] Add np.random.pareto and np.random.power
reminisce commented on a change in pull request #17517: [numpy] Add np.random.pareto and np.random.power
URL: https://github.com/apache/incubator-mxnet/pull/17517#discussion_r375466657
##########
File path: python/mxnet/ndarray/numpy/random.py
##########
@@ -515,6 +515,92 @@ def weibull(a, size):
return _npi.weibull(a=a, size=size)
+def pareto(a, size):
Review comment:
We need to follow the NumPy interface exactly. Please consider changing this to
```python
pareto(a, size=None)
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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