def METHOD_NAME(test_case):
    x_placement = flow.placement("cpu", [0])
    x_sbp = flow.sbp.broadcast
    x = flow.ones(2, 3, placement=x_placement, sbp=x_sbp)
    y_placement = flow.placement("cuda", [0])
    y_sbp = flow.sbp.split(0)
    y = flow.ones(4, 5, placement=y_placement, sbp=y_sbp)
    old_id = id(x)
    x.data = y
    test_case.assertEqual(old_id, id(x))
    test_case.assertTrue(x.shape == (4, 5))
    test_case.assertTrue(x.placement == y_placement)
    test_case.assertTrue(x.sbp[0] == y_sbp)