Skip to content

Commit 0a2a419

Browse files
Lint
1 parent 37c72e4 commit 0a2a419

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

torchvision/transforms/v2/functional/_geometry.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,6 @@ def _parallelogram_to_bounding_boxes(parallelogram: torch.Tensor) -> torch.Tenso
489489
delta_x = torch.where(mask, delta_x13, delta_x24)
490490
delta_y = torch.where(mask, delta_y13, delta_y24)
491491

492-
493492
# Update coordinates to form a rectangle
494493
# Keeping the points (x1, y1) and (x3, y3) unchanged.
495494
out_boxes[..., 2] = torch.where(mask, parallelogram[..., 0] + delta_x, parallelogram[..., 2])

0 commit comments

Comments
 (0)