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

[TF][Relay][Op] Pass module when infer shape #4287

Merged
merged 4 commits into from
Nov 11, 2019

Conversation

wweic
Copy link
Contributor

@wweic wweic commented Nov 8, 2019

The existing tests should be sufficient to validate this change. It's not easy to craft a unit test case that failed before and pass after this change.

Discussion: https://discuss.tvm.ai/t/tensorarray-globalvar-and-globaltypevar-confusion/4567/17

cc @yongwww @zhiics @icemelon9 @kevinthesun @srkreddy1238

Copy link
Contributor

@kevinthesun kevinthesun left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@icemelon icemelon left a comment

Choose a reason for hiding this comment

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

could you also add some test case?

python/tvm/relay/frontend/common.py Outdated Show resolved Hide resolved
Copy link
Contributor

@soiferj soiferj left a comment

Choose a reason for hiding this comment

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

LGTM. I had missed the strided slice part in my attempt at fixing this 😊 thanks for the fix.

@wweic
Copy link
Contributor Author

wweic commented Nov 9, 2019

Seems like the error is unrelated to my change: #4284

@wweic
Copy link
Contributor Author

wweic commented Nov 11, 2019

@icemelon9 could you take another look?

@icemelon icemelon merged commit 10b77ef into apache:master Nov 11, 2019
@icemelon
Copy link
Member

Thanks @wweic

@wweic wweic deleted the pass-module-shape-infer branch November 11, 2019 22:06
zxy844288792 pushed a commit to neo-ai/tvm that referenced this pull request Nov 13, 2019
* [TF][Relay][Op] Pass module when infer shape

* Fix lint

* Improve style

* Add test
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.

5 participants