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

[ONNX] use checked_type instead of type_annotation #7522

Merged
merged 1 commit into from Feb 25, 2021

Conversation

mbrookhart
Copy link
Contributor

@jwfromm I recently ran into an error where the W input to an LSTM was not a variable, so this type_annotation call failed, so I switched it to the more generic checked_type. Updating the test to hit this case is complicated, do you want to see a regression test for this?

Copy link
Contributor

@jwfromm jwfromm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks.

@jwfromm
Copy link
Contributor

jwfromm commented Feb 25, 2021

I think its fine to skip the test in this case, it makes much more sense to use checked_type.

@jwfromm jwfromm merged commit 6274a7f into apache:main Feb 25, 2021
@mbrookhart mbrookhart deleted the type_annotations branch February 26, 2021 16:24
Lokiiiiii pushed a commit to Lokiiiiii/tvm that referenced this pull request Mar 2, 2021
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants