- 
                Notifications
    You must be signed in to change notification settings 
- Fork 3.7k
[TF][Relay][Op] Pass module when infer shape #4287
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this 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?
There was a problem hiding this 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.
9488d71    to
    6751030      
    Compare
  
    | Seems like the error is unrelated to my change: #4284 | 
6751030    to
    03f5174      
    Compare
  
    | @icemelon9 could you take another look? | 
| Thanks @wweic | 
* [TF][Relay][Op] Pass module when infer shape * Fix lint * Improve style * Add test
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