3. Reverse a Vector

Easy

Reverse the 1-D tensor a so the first element becomes the last and vice versa.

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.

Implement solve(...)