def METHOD_NAME():
    func = element_wise
    s = tir.Schedule(func, debug_mask='all')
    with pytest.raises(tvm.tir.ScheduleError):
        s.set_scope(s.get_block("B"), 1, "shared")
    with pytest.raises(tvm.tir.ScheduleError):
        s.set_scope(s.get_block("B"), -1, "shared")