zxybazh commented on a change in pull request #7534:
URL: https://github.com/apache/tvm/pull/7534#discussion_r597209297
##########
File path: python/tvm/target/target.py
##########
@@ -494,3 +498,32 @@ def _load_config_dict(config_dict_str):
if not isinstance(key, str):
return None
return config
+
+
+def refresh_host(target, host=None, target_is_key=True):
+ """Helpfer function to return a target and target host after updating each
other.
Review comment:
A lot more clarified than mine.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]