| x |
Input |
Input tensor for element value sorting. |
FLOAT16, FLOAT, BFLOAT16, INT8, INT16, INT32, INT64, UINT8, UINT16, UINT32, UINT64 |
ND |
| index |
Input |
Input tensor for element value sorting. |
INT32, INT64 |
ND |
| axis |
Input |
Dimension used as the sorting criterion. |
INT64 |
- |
| descending |
Input |
Controls the sorting order. True indicates descending order, and False indicates ascending order. |
BOOL |
- |
| stable |
Input |
Whether to perform stable sorting. True indicates stable sorting, and False indicates unstable sorting. |
BOOL |
- |
| y |
Output |
Output result after elements are sorted by value. |
FLOAT16, FLOAT, BFLOAT16, INT8, INT16, INT32, INT64, UINT8, UINT16, UINT32, UINT64 |
ND |
| sorted_index |
Output |
Output result after the index values are sorted along with the element values. |
INT32, INT64 |
ND |