Skip to content

[Flaky]fix flaky TF crop_and_resize#8431

Merged
jwfromm merged 1 commit intoapache:mainfrom
mbrookhart:tf_crop_and_resize
Jul 9, 2021
Merged

[Flaky]fix flaky TF crop_and_resize#8431
jwfromm merged 1 commit intoapache:mainfrom
mbrookhart:tf_crop_and_resize

Conversation

@mbrookhart
Copy link
Copy Markdown
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
Copy Markdown
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