Implement reshape_transpose(t) that takes a 1D PyTorch tensor with exactly 6 elements, reshapes it into a matrix in row-major order, and returns the transpose of that matrix (shape ).
Requirements
(3, 2)Example
For input torch.tensor([1, 2, 3, 4, 5, 6]), the reshape is [[1, 2, 3], [4, 5, 6]], and its transpose is [[1, 4], [2, 5], [3, 6]].