Skip to content

Commit eeb78f3

Browse files
committed
Minor fix.
1 parent 681ea82 commit eeb78f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/tvm/meta_schedule/cost_model/cost_model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
class CostModel(Object):
3636
"""Cost model."""
3737

38-
def load(self, path: str) -> bool:
38+
def load(self, path: str) -> None:
3939
"""Load the cost model from given file location.
4040
4141
Parameters
@@ -45,7 +45,7 @@ def load(self, path: str) -> bool:
4545
"""
4646
_ffi_api.CostModelLoad(self, path) # type: ignore # pylint: disable=no-member
4747

48-
def save(self, path: str) -> bool:
48+
def save(self, path: str) -> None:
4949
"""Save the cost model to given file location.
5050
5151
Parameters

0 commit comments

Comments
 (0)