Skip to content

Commit bd2dc17

Browse files
committed
Add missing type
1 parent 7483dbc commit bd2dc17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchvision/transforms/autoaugment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ def _augmentation_space(self, num_bins: int) -> Dict[str, Tuple[Tensor, bool]]:
369369
"Invert": (torch.tensor(0.0), False),
370370
}
371371

372-
def forward(self, img: Tensor):
372+
def forward(self, img: Tensor) -> Tensor:
373373
"""
374374
img (PIL Image or Tensor): Image to be transformed.
375375

0 commit comments

Comments
 (0)