Skip to content

Commit 09ae6a0

Browse files
authored
Update boxes.py
1 parent 966108a commit 09ae6a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchvision/ops/boxes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ def box_iou_xyxy(boxes1: Tensor, boxes2: Tensor) -> Tensor:
392392
return iou
393393

394394

395-
def _box_inter_union_cxcywh(boxes1: Tensor, boxes2: Tensor) -> Tuple[Tensor, Tensor]:
395+
def _box_inter_union_cxcywh(boxes1: Tensor, boxes2: Tensor) -> tuple[Tensor, Tensor]:
396396
area1 = box_area(boxes1, fmt="cxcywh")
397397
area2 = box_area(boxes2, fmt="cxcywh")
398398

0 commit comments

Comments
 (0)