junrushao1994 commented on a change in pull request #8215: URL: https://github.com/apache/tvm/pull/8215#discussion_r648535578
########## File path: python/tvm/script/intrin.py ########## @@ -180,6 +185,11 @@ def opaque_axis(begin, end, span): return get_axis(begin, end, "opaque", span) +@register +def Select(cond, if_body, else_body, span): # pylint: disable=invalid-name Review comment: I recall that pylint would complain `unexpected-keyword-arg` if arguments mismatch occurs between TVM script and TIR node creation, for example: ```python tir.if_then_else(1 <= h and h < 15 and 1 <= w and w < 15, A[n, h - 1, w - 1, i, nn, ii], tir.float16(0), dtype="float16") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pylint(unexpected-keyword-arg): Unexpected keyword argument 'dtype' in function call ``` -- 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: us...@infra.apache.org