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 2019/06/25 05:06:57 UTC
[GitHub] [incubator-mxnet] mli opened a new pull request #15347: [numpy]
improve np.ones document
mli opened a new pull request #15347: [numpy] improve np.ones document
URL: https://github.com/apache/incubator-mxnet/pull/15347
An example to improve the numpy.ones documents. No need to be merged. It makes the following changes:
1. a customized function signature
2. added back the order argument, so we can generate an error to say that order='F' is not supported, but codes with order='C' should still run
3. copied all other docs from numpy, but need to check the codes in the example section
4. used the 'notes' section to specify the difference between numpy.ones
btw, I enabled the numpydoc ext in sphinx, please follow this guideline to write documents https://numpydoc.readthedocs.io/en/latest/ (I need to update our theme as well...)


@haojin2 @reminisce
----------------------------------------------------------------
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