Return tensor a sorted in ascending order.
a
Input
tensor([3.0000, 1.0000, 4.0000, 1.5000, 5.0000, 9.0000, 2.0000])
Output
tensor([1.0000, 1.5000, 2.0000, 3.0000, 4.0000, 5.0000, 9.0000])
Sign in to write and run your own code.
solve(...)