Skip to content

Commit 16a9add

Browse files
committed
Fix lint.
1 parent cd33cec commit 16a9add

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

python/tvm/meta_schedule/tune.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,6 @@ def tune_relay(
591591
):
592592
if backend == "graph":
593593
return relay_build(mod, target=target, params=params)
594-
elif backend == "vm":
594+
if backend == "vm":
595595
return relay.vm.compile(mod, target=target, params=params)
596-
else:
597-
raise ValueError(f"Backend {backend} not supported in ApplyHistoryBest!")
596+
raise ValueError(f"Backend {backend} not supported in ApplyHistoryBest!")

0 commit comments

Comments
 (0)