def METHOD_NAME(test_case):
    device = random_device()
    ndim = 2
    permute_list = [0, 1]
    shuffle(permute_list)
    x = random_tensor(
        ndim=ndim, dim0=random(1, 32).to(int), dim1=random(1, 59).to(int),
    ).to(device)
    y = x.permute(permute_list)
    z = y.contiguous()
    return z