forked from apache/tvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Complete pytorch grid_sample (apache#10504)
Pytorch's grid_sample() supports various interpolation options: (1) data dimension: 2D / 3D (2) interpolation method: nearest / bilinear / bicubic (3) padding_mode: zeros / border / reflection (4) align_corners: True / False However, TVM only supports a part of above options: (1) data dimension: 2D (2) interpolation method: bilinear (3) padding_mode: zeros / border (4) align_corners: True This commit completes the options not supported by TVM, and keeps existing grid_sample of onnx/pytorch uninfluenced. Co-authored-by: shukun.net
- Loading branch information
Ziqang XU
authored and
juda
committed
Jun 21, 2022
1 parent
fb4454d
commit 87e0cc4
Showing
11 changed files
with
1,076 additions
and
179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.