Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update test_forward.py
  • Loading branch information
jikechao authored May 22, 2023
commit 2d71701e731c360f681a4298ee1e96b757b5832c
2 changes: 1 addition & 1 deletion tests/python/frontend/pytorch/test_forward.py
Original file line number Diff line number Diff line change
Expand Up @@ -5029,7 +5029,7 @@ def forward(self, x, y):
for _method in methods:
# bicubic was introduced when pytorch > 1.7.1
torch_version = package_version.parse(torch.__version__)
if _method=='bicubic' and torch_version <= package_version.parse("1.7.1"):
if _method == "bicubic" and torch_version <= package_version.parse("1.7.1"):
continue
for _padding in padding_modes:
for _align in align_corners:
Expand Down