you can do this with an index_copy. You can generate linear indices such as [0, 1, 2, 3] using torch.arange, and then swap 0 and 1. Then use these as indices to index_copy.
Alternatively, you can do something simpler too:
x = tlist[0].clone()
tlist[0] = tlist[1]
tlist[1] = x