def METHOD_NAME(test_case):
    device = random_device()
    ndim = 4
    permute_list = [0, 1, 2, 3]
    shuffle(permute_list)
    x = random_tensor(
        ndim=ndim,
        dim0=random(1, 7).to(int),
        dim1=random(1, 15).to(int),
        dim2=random(1, 9).to(int),
        dim3=random(1, 19).to(int),
    ).to(device)
    y = x.permute(permute_list)
    return y