Skip to content

Commit 521f00c

Browse files
committed
Update schedule.py
1 parent be54547 commit 521f00c

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
@@ -1664,6 +1664,7 @@ def after_storage_align(a: T.handle, c: T.handle) -> None:
16641664

16651665
########## Schedule: Annotation ##########
16661666

1667+
@type_checked
16671668
def annotate(
16681669
self,
16691670
block_or_loop: Union[BlockRV, LoopRV],
@@ -1730,6 +1731,7 @@ def after_annotate(a: T.handle, b: T.handle) -> None:
17301731
self, block_or_loop, ann_key, ann_val
17311732
)
17321733

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

0 commit comments

Comments
 (0)