haojin2 commented on a change in pull request #17084: [numpy] add op median
URL: https://github.com/apache/incubator-mxnet/pull/17084#discussion_r358090346
##########
File path: python/mxnet/symbol/numpy/_symbol.py
##########
@@ -3429,6 +3429,59 @@ def get_list(arrays):
return _npi.stack(*arrays, axis=axis, out=out)
+@set_module('mxnet.symbol.numpy')
+def median(a, axis=None, out=None, keepdims=False):
+ r"""
+ Compute the median along the specified axis.
Review comment:
same here.
----------------------------------------------------------------
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