Skip to content

Commit eec7f94

Browse files
committed
Type hints
1 parent 0206ea5 commit eec7f94

File tree

1 file changed

+1
-1
lines changed
  • pytorch_toolbelt/inference

1 file changed

+1
-1
lines changed

pytorch_toolbelt/inference/tta.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
MaybeStrOrCallable = Optional[Union[str, Callable]]
4444

4545

46-
def fivecrop_image_augment(image: Tensor, crop_size: Tuple) -> Tensor:
46+
def fivecrop_image_augment(image: Tensor, crop_size: Tuple[int, int]) -> Tensor:
4747
"""Test-time augmentation for image classification that takes five crops out of input tensor (4 on corners and central)
4848
and averages predictions from them.
4949

0 commit comments

Comments
 (0)