Skip to content

Commit

Permalink
change the comments of yolov3_loss to yolo_loss
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengqiwen1997 committed Dec 6, 2022
1 parent 36fffe9 commit 1d116c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/paddle/fluid/tests/unittests/test_device_guard.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def test_cpu_only_op(self):
]
anchor_mask = [0, 1, 2]
with paddle.static.device_guard("gpu"):
# yolov3_loss only has cpu kernel, so its cpu kernel will be executed
# yolo_loss only has cpu kernel, so its cpu kernel will be executed
loss = paddle.vision.ops.yolo_loss(
x=x,
gt_box=gt_box,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def test_cpu_only_op(self):
]
anchor_mask = [0, 1, 2]
with paddle.static.device_guard("xpu"):
# yolov3_loss only has cpu kernel, so its cpu kernel will be executed
# yolo_loss has cpu kernel, so its cpu kernel will be executed
loss = paddle.vision.ops.yolo_loss(
x=x,
gt_box=gt_box,
Expand Down

0 comments on commit 1d116c5

Please # to comment.