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 2020/09/14 19:58:36 UTC

[GitHub] [incubator-tvm] gussmith23 opened a new issue #6470: [BUG] Parser error with nn.dense

gussmith23 opened a new issue #6470:
URL: https://github.com/apache/incubator-tvm/issues/6470


   Parsing a Relay program which uses `nn.dense` seems to be finicky! I might be doing something wrong here, let me know!
   
   A minimum working example:
   ```python3
   import tvm
   from tvm import relay
   from tvm.relay.testing.mobilenet import get_workload
   
   x = relay.var('x', shape = (3,))
   y = relay.var('y', shape = (3,3))
   prog = relay.nn.dense(x, y)
   function = relay.Function([x, y], prog)
   module = tvm.IRModule.from_expr(function)
   
   print(module.astext())
   
   tvm.parser.fromtext(module.astext())
   
   # if we remove the "None" that is causing the error, we get a different error:
   tvm.parser.fromtext(
   '''
   #[version = "0.0.5"]
   def @main(%x: Tensor[(3), float32], %y: Tensor[(3, 3), float32]) -> Tensor[(3), float32] {
     nn.dense(%x, %y) /* ty=Tensor[(3), float32] */
   }
   '''
       )
   ```


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [incubator-tvm] gussmith23 commented on issue #6470: [BUG] Parser error with nn.dense

Posted by GitBox <gi...@apache.org>.
gussmith23 commented on issue #6470:
URL: https://github.com/apache/incubator-tvm/issues/6470#issuecomment-721323921


   I'm getting another error in the Rust bindings now. Will open a different issue.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [incubator-tvm] gussmith23 closed issue #6470: [BUG] Parser error with nn.dense

Posted by GitBox <gi...@apache.org>.
gussmith23 closed issue #6470:
URL: https://github.com/apache/incubator-tvm/issues/6470


   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [incubator-tvm] jroesch commented on issue #6470: [BUG] Parser error with nn.dense

Posted by GitBox <gi...@apache.org>.
jroesch commented on issue #6470:
URL: https://github.com/apache/incubator-tvm/issues/6470#issuecomment-692376106


   It could be a bug, I've fixed a ton of bugs on #6274, I'll try to add a regression there. 


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [incubator-tvm] gussmith23 commented on issue #6470: [BUG] Parser error with nn.dense

Posted by GitBox <gi...@apache.org>.
gussmith23 commented on issue #6470:
URL: https://github.com/apache/incubator-tvm/issues/6470#issuecomment-721321906


   Looks like it's gone!


----------------------------------------------------------------
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:
users@infra.apache.org