tkonolige commented on a change in pull request #8010:
URL: https://github.com/apache/tvm/pull/8010#discussion_r640118396
##########
File path: python/tvm/testing.py
##########
@@ -718,33 +820,364 @@ def parametrize_targets(*args):
Example
-------
- >>> @tvm.testing.parametrize
+ >>> @tvm.testing.parametrize_targets("llvm", "cuda")
>>> def test_mytest(target, dev):
>>> ... # do something
Or
- >>> @tvm.testing.parametrize("llvm", "cuda")
+ >>> @tvm.testing.parametrize_targets
>>> def test_mytest(target, dev):
>>> ... # do something
Review comment:
I'd just remove this example as we want people to only use the decorator
with arguments.
--
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]