I have a tensor t1 (with size 2nX2n), and I need to create tensor t2 (with size 2n) with the values of t1 in [i,(i+n) mod 2n] for each row i.
for example if I have