Closed karan6181 closed 4 years ago
argsort does not guarantee to be stable.
argsort does not guarantee to be stable.
@szha => Can you please elaborate what it means?
Unstable sort means for equal values the output order doesn't preserve the input orders
See the "Notes" section here: https://numpy.org/doc/stable/reference/generated/numpy.sort.html
Thank you both.
Description
The
mx.nd.argsort()
output is different on CPU and GPU for certain edge casesScript
Output
Environment
We recommend using our script for collecting the diagnositc information. Run the following command and paste the outputs below: