Reverse the 1-D tensor a so the first element becomes the last and vice versa.
a
Input
tensor([0, 1, 2, 3, 4, 5, 6, 7, 8, 9])
Output
tensor([9, 8, 7, 6, 5, 4, 3, 2, 1, 0])
Sign in to write and run your own code.
solve(...)