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/27 05:14:45 UTC

[GitHub] [incubator-mxnet] reminisce commented on a change in pull request #15370: [numpy][doc-fix] mean, transpose, stack, split, log2, rint and radians

reminisce 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_r298007410
 
 

 ##########
 File path: python/mxnet/_numpy_op_doc.py
 ##########
 @@ -173,3 +173,112 @@ def _np_cumsum(a, axis=None, dtype=None, out=None):
         `axis` is not None or `a` is a 1-d array.
     """
     pass
+
+
+def _np_mean(a, axis=None, dtype=None, out=None, keepdims=None):
+    """
+    Compute the arithmetic mean along the specified axis.
+    Returns the average of the array elements.
+    The average is taken over the flattened array by default, otherwise over the specified axis.
+
+    Parameters	
+    ----------
+    a : `NDArray`
 
 Review comment:
   Change all `NDArray` to `ndarray`.

----------------------------------------------------------------
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