We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3594f9b commit dc7d0d2Copy full SHA for dc7d0d2
torchvision/prototype/transforms/functional/_augment.py
@@ -24,7 +24,7 @@ def mixup_one_hot_label(one_hot_label_batch: torch.Tensor, *, lam: float, inplac
24
25
26
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?
+ # Shouldn't be we using `image_batch` similar to `mixup_image()`, to indicate that the input must be a batch?
28
if not inplace:
29
image = image.clone()
30
0 commit comments