Solved by ptrblck in post #4 
              
              
                Assuming you have precomputed the indices, which would be used for the splitting, you could recreate the order by indexing into the result tensor: 
x = torch.tensor([[0.1, 0.3],
                  [0.5, 0.2],
                  [0.7, 0.8],
                  [0.6, 0.6],
                  [0.2, 0.9]])

…