junrushao1994 commented on a change in pull request #9594:
URL: https://github.com/apache/tvm/pull/9594#discussion_r758068380
##########
File path: python/tvm/script/tir/special_stmt.py
##########
@@ -17,6 +17,7 @@
"""TVM Script Parser Special Stmt Classes"""
# pylint: disable=unused-argument, no-self-argument,
inconsistent-return-statements
# pylint: disable=relative-beyond-top-level
+from ctypes import ArgumentError
Review comment:
Probably we don't need this particular kind of error from ctypes. What
about we just raise ValueError?
--
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]