def METHOD_NAME(sh, dtype, begin, end, strides, slice_mode):
    x = relay.var("x", shape=sh, dtype=dtype)
    f = relay.Function(
        [x],
        relay.strided_slice(x, begin=begin, end=end, strides=strides, slice_mode=slice_mode),
    )
    check_grad(f, executor_kind=executor_kind)