Skip to content

Commit 359bf00

Browse files
committed
Update schedule.py
1 parent 451b560 commit 359bf00

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

python/tvm/tir/schedule/schedule.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1735,6 +1735,7 @@ def after_set_scope(
17351735

17361736
########## Schedule: Annotation ##########
17371737

1738+
@type_checked
17381739
def annotate(
17391740
self,
17401741
block_or_loop: Union[BlockRV, LoopRV],
@@ -1801,6 +1802,7 @@ def after_annotate(a: T.handle, b: T.handle) -> None:
18011802
self, block_or_loop, ann_key, ann_val
18021803
)
18031804

1805+
@type_checked
18041806
def unannotate(self, block_or_loop: Union[BlockRV, LoopRV], ann_key: str) -> None:
18051807
"""Unannotate a block/loop's annotation with key ann_key
18061808

0 commit comments

Comments
 (0)