Skip to content

Commit 238d3ea

Browse files
authored
Update box_iou_rotated_npu.cpp
1 parent 9e4c977 commit 238d3ea

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

mmcv/ops/csrc/pytorch/npu/box_iou_rotated_npu.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@ void box_iou_rotated_impl(const Tensor boxes1, const Tensor boxes2, Tensor ious,
88

99
void box_iou_rotated_npu(const Tensor boxes1, const Tensor boxes2, Tensor ious,
1010
const int mode_flag, const bool aligned) {
11-
1211
TORCH_CHECK(boxes1.size(1) == 5, "boxes1 must be 2D tensor (N, 5)");
1312
TORCH_CHECK(boxes1.size(1) == 5, "boxes1 must be 2D tensor (N, 5)");
14-
1513
EXEC_NPU_CMD(aclnnBoxIou, boxes1, boxes2, mode_flag, aligned, ious);
1614
return;
1715
}

0 commit comments

Comments
 (0)