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

[Flaky]fix flaky TF crop_and_resize #8431

Merged
merged 1 commit into from
Jul 9, 2021

Conversation

mbrookhart
Copy link
Contributor

@jwfromm @masahi

#8346 Refactored the resize kernel, and in doing so accidentally introduced flakiness in the TF crop and resize kernel by forgetting that floor(x) + 1 != ceil(x) if x is an integer.

For other codepaths, I included code to normalize bounds access, but that was previously skipped for crop and resize. This enables it for that codepath to fix the flakiness

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.

Nice, LGTM!

@jwfromm jwfromm merged commit bdfbc86 into apache:main Jul 9, 2021
ylc pushed a commit to ylc/tvm that referenced this pull request Sep 29, 2021
zxy844288792 pushed a commit to zxy844288792/tvm that referenced this pull request Mar 4, 2022
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