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/11/30 21:09:26 UTC

[GitHub] [tvm] hypercubestart opened a new issue #7003: [Relay][Parser] units=None unrecognized in parser

hypercubestart opened a new issue #7003:
URL: https://github.com/apache/tvm/issues/7003


   Reproducible Code:
   ```
   import tvm
   from tvm import relay
   v = relay.Var("a")
   w = relay.Var("w")
   y = relay.nn.dense(v, w, units=None)
   f = relay.Function([v,w], y)
   mod = tvm.IRModule()
   mod['main'] = f
   tvm.parser.parse(mod)
   ```
   
   Error:
   ```
   error: operator `None` not found, perhaps you forgot to register it?
    --> from_string:3:26
      |
    3 |    nn.dense(%a, %w, units=None)
      |                           ^^^^
   ```
   
   cc: @jroesch @gussmith23 
   also seems related to https://github.com/apache/tvm/issues/6836


----------------------------------------------------------------
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