shingjan commented on code in PR #13269:
URL: https://github.com/apache/tvm/pull/13269#discussion_r1012144471
##########
python/tvm/tir/schedule/_type_checker.py:
##########
@@ -21,12 +21,17 @@
import inspect
from typing import Any, Callable, Dict, List, Optional, Tuple, TypeVar, Union
import typing
+import sys
def _is_none_type(type_: Any) -> bool:
return type_ is None or type_ is type(None)
+def get_python_version():
Review Comment:
nit: feels like we can just do something like `if sys.version_info >= (3,
9):`
--
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]