Commit 217e26f
Negative padding for functional_tensor symmetric (#2749)
* Negative padding for functional_tensor symmetric
Along with #2744 this will make negative padding
uniform between PIL and Tensor #2381
* Enable tests for negative symmetric pad with tensor
Co-authored-by: vfdev <vfdev.5@gmail.com>1 parent 6b41eb0 commit 217e26f
File tree
3 files changed
+8
-8
lines changed- test
- torchvision/transforms
3 files changed
+8
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | 288 | | |
292 | 289 | | |
293 | 290 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | | - | |
128 | | - | |
| 126 | + | |
129 | 127 | | |
130 | 128 | | |
131 | 129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
621 | 621 | | |
622 | 622 | | |
623 | 623 | | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
624 | 631 | | |
625 | 632 | | |
626 | 633 | | |
| |||
723 | 730 | | |
724 | 731 | | |
725 | 732 | | |
726 | | - | |
727 | | - | |
728 | 733 | | |
729 | 734 | | |
730 | 735 | | |
| |||
0 commit comments