Skip to content

Commit dc7d0d2

Browse files
authored
Update _augment.py
1 parent 3594f9b commit dc7d0d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchvision/prototype/transforms/functional/_augment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def mixup_one_hot_label(one_hot_label_batch: torch.Tensor, *, lam: float, inplac
2424

2525

2626
def cutmix_image(image: torch.Tensor, *, box: Tuple[int, int, int, int], inplace: bool = False) -> torch.Tensor:
27-
# Shouldn't be we using `image_batch` similar to `image_batch`, to indicate that the input must be a batch?
27+
# Shouldn't be we using `image_batch` similar to `mixup_image()`, to indicate that the input must be a batch?
2828
if not inplace:
2929
image = image.clone()
3030

0 commit comments

Comments
 (0)