def METHOD_NAME(test_case):
    device = random_device()
    x = random_tensor(ndim=1, dim0=5)
    a = x.to(dtype=torch.float32, device=device)
    b = a.expand((4, 5))
    c = b.to(dtype=torch.double, device=device)
    return c