junrushao commented on code in PR #12520:
URL: https://github.com/apache/tvm/pull/12520#discussion_r956482325
##########
python/tvm/meta_schedule/database/database.py:
##########
@@ -234,6 +234,71 @@ def __len__(self) -> int:
"""
return _ffi_api.DatabaseSize(self) # type: ignore # pylint:
disable=no-member
+ def query_tuning_record(self, mod: IRModule, target: Target) ->
Optional[TuningRecord]:
Review Comment:
Yes we expose `get_top_k` and `get_all_tuning_records` APIs, but it's
supposed to be less used than `query_*`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]