Tantalus13A98B5F commented on a change in pull request #8113:
URL: https://github.com/apache/tvm/pull/8113#discussion_r639415485
##########
File path: python/tvm/autotvm/measure/measure_methods.py
##########
@@ -242,6 +243,22 @@ def __init__(
self.executor = LocalExecutor(timeout=timeout * (self.n_parallel + 1))
+ @property
+ def ref_input(self):
+ """Fixed input for tuning special operators."""
+ return self._ref_input if hasattr(self, "_ref_input") else None
Review comment:
just come across a new idea. it would be more reasonable to set
`ref_input` on `measure_option` rather than `RPCRunner`; what's more, it can be
implemented by just forwarding `ref_input` to the runner object, and we can
still make the warning when setting the runner object. `Runner(ref_input=*)`
seems somewhat strange to me.
--
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]