tingying2020 commented on a change in pull request #15370: [numpy][doc-fix]
mean, transpose, stack, split, log2, rint and radians
URL: https://github.com/apache/incubator-mxnet/pull/15370#discussion_r298950953
##########
File path: python/mxnet/ndarray/numpy/_op.py
##########
@@ -178,6 +180,68 @@ def minimum(x1, x2, out=None):
return _ufunc_helper(x1, x2, _npi.minimum, _np.minimum,
_npi.minimum_scalar, None, out)
+@set_module('mxnet.ndarray.numpy')
+def mean(a, axis=None, dtype=None, out=None, keepdims=False): # pylint:
disable=arguments-differ
+ """
+ mean(a, axis=None, dtype=None, out=None, keepdims=None)
Review comment:
Here `out` should be the last parameter. Please double check it. And here
are additional two parameters, `name` and `initial`.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services