def METHOD_NAME(test_case):
    for dtype in [
        flow.float16,
        flow.float32,
        flow.float64,
        flow.double,
    ]:
        placement = flow.placement("cpu", ranks=[0])
        sbp = (flow.sbp.broadcast,)
        x_ = flow.randn((10, 1), dtype=dtype)
        x = flow.randn_like(x_, placement=placement, sbp=sbp, dtype=dtype)
        test_case.assertEqual(x.dtype, dtype)
        test_case.assertEqual(x.sbp, sbp)
        test_case.assertEqual(x.placement, placement)