Skip to content

Commit b7d43f6

Browse files
committed
format
1 parent 4196d0b commit b7d43f6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/microbench/grid_sampler.grid_sampler_2d.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
from torch.profiler import profile, ProfilerActivity
33

44
shape_list = [
5-
(6, 5, 7, 3),
6-
(4, 32, 128, 128),
5+
# (6, 5, 7, 3),
6+
# (4, 32, 128, 128),
77
(16, 128, 512, 512),
88
]
99

@@ -12,8 +12,8 @@
1212

1313
for shape in shape_list:
1414
for dtype in [torch.bfloat16, torch.float16, torch.float32]:
15-
for mode in ["bilinear", "nearest", "bicubic"]:
16-
for padding_mode in ["zeros", "border", "reflection"]:
15+
for padding_mode in ["zeros", "border", "reflection"]:
16+
for mode in ["bilinear", "bicubic","nearest"]:
1717
for align_corners in [True, False]:
1818
N, C, H, W = shape
1919

0 commit comments

Comments
 (0)