This OP sorts the input along the given axis, and returns sorted output
This OP sorts the input along the given axis, and returns the corresponding index tensor for the sorted output values. The default sort algorithm is ascending, if you want the sort algorithm to be descending, you must set the :attr:`descending` as True.
data Varibale and its corresponding index Variable with the same shape as ``x``.
Args:
Args:
x(Tensor): An input N-D Tensor with type float32, float64, int16,
x(Tensor): An input N-D Tensor with type float32, float64, int16,
This OP sorts the input along the given axis, and returns sorted output
This OP sorts the input along the given axis, and returns the sorted output tensor. The default sort algorithm is ascending, if you want the sort algorithm to be descending, you must set the :attr:`descending` as True.
data Tensor and its corresponding index Tensor with the same shape as ``x``.
Args:
Args:
x(Tensor): An input N-D Tensor with type float32, float64, int16,
x(Tensor): An input N-D Tensor with type float32, float64, int16,