shingjan commented on a change in pull request #9492:
URL: https://github.com/apache/tvm/pull/9492#discussion_r764270724
##########
File path: python/tvm/script/parser.py
##########
@@ -440,8 +463,23 @@ def check_decorator(decorators: List[ast.Expr]) -> bool:
# add parameters of function
for arg in node.params:
arg_var = tvm.te.var(arg.name, self.parse_type(arg.ty, arg))
Review comment:
This is actually used in match buffer syntax sugar case as the
`arg.name` needs to later fetched from `self.context.func_params` to be part of
match_buffer's argument.
--
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]