We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 681ea82 commit eeb78f3Copy full SHA for eeb78f3
python/tvm/meta_schedule/cost_model/cost_model.py
@@ -35,7 +35,7 @@
35
class CostModel(Object):
36
"""Cost model."""
37
38
- def load(self, path: str) -> bool:
+ def load(self, path: str) -> None:
39
"""Load the cost model from given file location.
40
41
Parameters
@@ -45,7 +45,7 @@ def load(self, path: str) -> bool:
45
"""
46
_ffi_api.CostModelLoad(self, path) # type: ignore # pylint: disable=no-member
47
48
- def save(self, path: str) -> bool:
+ def save(self, path: str) -> None:
49
"""Save the cost model to given file location.
50
51
0 commit comments