Skip to content

[Frontend][TFLite] Improve support for half_pixel_centers in resize#11521

Merged
AndrewZhaoLuo merged 2 commits intoapache:mainfrom
czh978:resize
Jun 9, 2022
Merged

[Frontend][TFLite] Improve support for half_pixel_centers in resize#11521
AndrewZhaoLuo merged 2 commits intoapache:mainfrom
czh978:resize

Conversation

@czh978
Copy link
Contributor

@czh978 czh978 commented Jun 1, 2022

I add a test about resize_nearest_neighbor op when it‘s half_pixel_centers=True,the test will not to pass.
I found out that this was caused by the rounding_method value when half_pixel_centers=True.
Therefore, I improve support for half_pixel_centers in resize.

@czh978 czh978 force-pushed the resize branch 5 times, most recently from 864c49d to ebe2b9a Compare June 7, 2022 02:28
@czh978
Copy link
Contributor Author

czh978 commented Jun 9, 2022

@AndrewZhaoLuo

Copy link
Contributor

@AndrewZhaoLuo AndrewZhaoLuo left a comment

Choose a reason for hiding this comment

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

Thanks, lgtm!

@AndrewZhaoLuo AndrewZhaoLuo merged commit f528a9a into apache:main Jun 9, 2022
Kathryn-cat pushed a commit to Kathryn-cat/tvm that referenced this pull request Jun 10, 2022
…pache#11521)

* add resize_nearest_neighbor op test

* Improve support for half_pixel_centers in resize
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