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

[Frontend][TensorFlow] Move infer_value to _get_list_param #8051

Merged
merged 1 commit into from
May 18, 2021

Conversation

trevor-m
Copy link
Contributor

Almost all instances of _get_list_param have a fallback to use infer_value to get a static list, or if they didn't they could only benefit from it. This PR moves that code inside _get_list_param so it will be used by all ops using _get_list_param.

This is helpful for strided_slice because it didn't have the infer_value fallback which was causing an error for some models I was trying to compile.

@trevor-m
Copy link
Contributor Author

@kevinthesun Could you please review?

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

@kevinthesun kevinthesun merged commit 93f3010 into apache:main May 18, 2021
@kevinthesun
Copy link
Contributor

Thanks @trevor-m

trevor-m pushed a commit to trevor-m/tvm that referenced this pull request Jun 17, 2021
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request Jun 17, 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.

2 participants