diff --git a/python/mxnet/numpy_extension/_op.py b/python/mxnet/numpy_extension/_op.py index 44638e2c59ed..226c2753e4f4 100644 --- a/python/mxnet/numpy_extension/_op.py +++ b/python/mxnet/numpy_extension/_op.py @@ -30,7 +30,7 @@ # pylint: disable=too-many-arguments @set_module('mxnet.numpy_extension') -def softmax(data, axis=-1, length=None, temperature=None, use_length=False, dtype=None): +def softmax(data, length=None, axis=-1, temperature=None, use_length=False, dtype=None): r"""Applies the softmax function. The resulting array contains elements in the range (0,1) and the elements along the given axis sum up to 1.