def METHOD_NAME(test_case):
    for placement in all_placement():
        for sbp in all_sbp(placement, max_dim=2):
            if placement.type == "cuda":
                _test_flow_grid_sample_cudnn(test_case, placement, sbp)
            _test_flow_grid_sample_4d(test_case, placement, sbp)
            _test_flow_grid_sample_5d(test_case, placement, sbp)