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

Commit

Permalink
* Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
hanke580 committed Feb 6, 2020
1 parent d0e330b commit 0b02f8a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion python/mxnet/ndarray/numpy/_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -1229,6 +1229,7 @@ def argsort(a, axis=-1, kind=None, order=None):
def sort(a, axis=-1, kind=None, order=None):
"""
Return a sorted copy of an array.
Parameters
----------
a : ndarray
Expand All @@ -1241,6 +1242,7 @@ def sort(a, axis=-1, kind=None, order=None):
final result.
order : str or list of str, optional
Not supported yet, will raise NotImplementedError if not None.
Returns
-------
sorted_array : ndarray
Expand All @@ -1250,7 +1252,6 @@ def sort(a, axis=-1, kind=None, order=None):
-----
This operator does not support different sorting algorithms.
--------
Examples
--------
>>> a = np.array([[1,4],[3,1]])
Expand Down
3 changes: 2 additions & 1 deletion python/mxnet/numpy/multiarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -4648,6 +4648,7 @@ def argsort(a, axis=-1, kind=None, order=None):
def sort(a, axis=-1, kind=None, order=None):
"""
Return a sorted copy of an array.
Parameters
----------
a : ndarray
Expand All @@ -4660,6 +4661,7 @@ def sort(a, axis=-1, kind=None, order=None):
final result.
order : str or list of str, optional
Not supported yet, will raise NotImplementedError if not None.
Returns
-------
sorted_array : ndarray
Expand All @@ -4669,7 +4671,6 @@ def sort(a, axis=-1, kind=None, order=None):
-----
This operator does not support different sorting algorithms.
--------
Examples
--------
>>> a = np.array([[1,4],[3,1]])
Expand Down
2 changes: 2 additions & 0 deletions python/mxnet/symbol/numpy/_symbol.py
Original file line number Diff line number Diff line change
Expand Up @@ -1629,6 +1629,7 @@ def argsort(a, axis=-1, kind=None, order=None):
def sort(a, axis=-1, kind=None, order=None):
"""
Return a sorted copy of an array.
Parameters
----------
a : _Symbol
Expand All @@ -1641,6 +1642,7 @@ def sort(a, axis=-1, kind=None, order=None):
final result.
order : str or list of str, optional
Not supported yet, will raise NotImplementedError if not None.
Returns
-------
sorted_array : ndarray
Expand Down

0 comments on commit 0b02f8a

Please sign in to comment.