You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/01/18 10:36:16 UTC

[GitHub] [tvm] Cnly commented on issue #9955: [Bug] `'IntImm' object is not iterable` in hybrid.parser.visit_Subscript

Cnly commented on issue #9955:
URL: https://github.com/apache/tvm/issues/9955#issuecomment-1015281089


   @masahi Sorry I don't think I follow you... but I tried adding `print` statements in `scatter()` and `visit_Subscript()` to see the arguments and here's what I get:
   
   ```
   scatter():
   data=Tensor(shape=[3, 10], op.name=placeholder)
   indices=Tensor(shape=[3, 2], op.name=placeholder)
   
   visit_Subscript():
   node=<ast.Subscript object at 0x7f17fea956a0>
   node.slice=<ast.Constant object at 0x7f17fea955e0>
   args=0
   node.value=<ast.Attribute object at 0x7f17fea95670>
   arr=[3, 10]
   ```
   
   Do you think this makes things clearer?


-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org