What the most efficient way of moving an index to the bottom?
e.g. I have a tensor 3x2
[1, 2]
[3, 4]
[5, 6]
I want to have some function move_bottom(i), where i is the index of a row, such that if I call move_bottom(0) it will give me:
[3, 4]
[5, 6]
[1, 2]
etc