From 738260e0d2f7fb07968eccf54bdced28d52e5ad8 Mon Sep 17 00:00:00 2001 From: Ke Han Date: Thu, 6 Feb 2020 05:41:28 +0000 Subject: [PATCH] * Add restriction --- python/mxnet/symbol/numpy/_symbol.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/mxnet/symbol/numpy/_symbol.py b/python/mxnet/symbol/numpy/_symbol.py index 769cab90df4e..c2b435de205b 100644 --- a/python/mxnet/symbol/numpy/_symbol.py +++ b/python/mxnet/symbol/numpy/_symbol.py @@ -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)