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().to(int)).to(device)
    y = torch.permute(x, dims=permute_list)
    return y