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

Commit

Permalink
* Add restriction
Browse files Browse the repository at this point in the history
  • Loading branch information
hanke580 committed Feb 7, 2020
1 parent 98950b6 commit 738260e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/mxnet/symbol/numpy/_symbol.py
Original file line number Diff line number Diff line change
Expand Up @@ -1652,6 +1652,9 @@ def sort(a, axis=-1, kind=None, order=None):
-----
This operator does not support different sorting algorithms.
"""
if order is not None:
raise NotImplementedError("order is not supported yet...")

return _npi.sort(data=a, axis=axis, is_ascend=True)


Expand Down

0 comments on commit 738260e

Please sign in to comment.