Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
Yiyan66 committed Feb 29, 2020
1 parent d3d0285 commit b8ade47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/mxnet/ndarray/numpy/_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -6690,7 +6690,7 @@ def median(a, axis=None, out=None, overwrite_input=None, keepdims=False):
from mxnet import np, npx
npx.set_np()
return quantile(a=a, q=np.array(0.5), axis=axis, out=out, overwrite_input=overwrite_input,
interpolation='linear', keepdims=keepdims)
interpolation='midpoint', keepdims=keepdims)


@set_module('mxnet.ndarray.numpy')
Expand Down
2 changes: 1 addition & 1 deletion python/mxnet/symbol/numpy/_symbol.py
Original file line number Diff line number Diff line change
Expand Up @@ -5996,7 +5996,7 @@ def median(a, axis=None, out=None, overwrite_input=None, keepdims=False):
mean, percentile
"""
return quantile(a=a, q=0.5, axis=axis, out=out, overwrite_input=overwrite_input,
interpolation='linear', keepdims=keepdims)
interpolation='midpoint', keepdims=keepdims)


@set_module('mxnet.symbol.numpy')
Expand Down

0 comments on commit b8ade47

Please sign in to comment.