haojin2 commented on a change in pull request #17234: Op Quantile/Percentile 
[Numpy]
URL: https://github.com/apache/incubator-mxnet/pull/17234#discussion_r367163259
 
 

 ##########
 File path: python/mxnet/ndarray/numpy/_op.py
 ##########
 @@ -6023,6 +6023,159 @@ def nonzero(a):
     return tuple([out[i] for i in range(len(out))])
 
 
+@set_module('mxnet.ndarray.numpy')
+def percentile(a, q, axis=None, out=None, overwrite_input=None, 
interpolation='linear', keepdims=False): # pylint: disable=too-many-arguments
+    """
+    Compute the q-th percentile of the data along the specified axis.
+    Returns the q-th percentile(s) of the array elements.
+
+    Parameters
+    ----------
+    a : array_like
 
 Review comment:
   better use `ndarray`, since `array_like` could also include list, tuple etc.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to