Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Relay][Parser] units=None unrecognized in parser #7003

Closed
hypercubestart opened this issue Nov 30, 2020 · 0 comments
Closed

[Relay][Parser] units=None unrecognized in parser #7003

hypercubestart opened this issue Nov 30, 2020 · 0 comments
Labels
relay:parser Relay parser: src/parser type: bug

Comments

@hypercubestart
Copy link
Contributor

hypercubestart commented Nov 30, 2020

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.astext())

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 #6836 , this might be the root cause for the problem seen there

@areusch areusch added the needs-triage PRs or issues that need to be investigated by maintainers to find the right assignees to address it label Oct 19, 2022
@hpanda-naut hpanda-naut added relay:parser Relay parser: src/parser and removed needs-triage PRs or issues that need to be investigated by maintainers to find the right assignees to address it labels Nov 28, 2022
@tqchen tqchen closed this as completed Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
relay:parser Relay parser: src/parser type: bug
Projects
None yet
Development

No branches or pull requests

5 participants