(bug) Fix exception when creating a TextureAtlas

Summary: Fixes GitHub issue #751. The vectorized implementation of bilinear interpolation didn't properly handle the edge cases in the same way as the `grid_sample` method in PyTorch.

Reviewed By: bottler

Differential Revision: D30684208

fbshipit-source-id: edf241ecbd72d46b94ad340a4e601e26c83db88e
This commit is contained in:
Nikhila Ravi
2021-09-01 09:08:12 -07:00
committed by Facebook GitHub Bot
parent 835e662fb5
commit fc156b50c0
2 changed files with 8 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 31 KiB