Skip to content

Commit

Permalink
fix: Wrong Type Hints in augmentation.Normalize (kornia#3003)
Browse files Browse the repository at this point in the history
Fix the type hints in the `__init__` of `augmentation.Normalize`.

This fixes kornia#3003.
  • Loading branch information
fang-d committed Aug 28, 2024
1 parent 776b26d commit f285e66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kornia/augmentation/_2d/intensity/normalize.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ class Normalize(IntensityAugmentationBase2D):

def __init__(
self,
mean: Tensor | tuple[float] | list[float] | float,
std: Tensor | tuple[float] | list[float] | float,
mean: Tensor | tuple[float, ...] | list[float] | float,
std: Tensor | tuple[float, ...] | list[float] | float,
p: float = 1.0,
keepdim: bool = False,
) -> None:
Expand Down

0 comments on commit f285e66

Please # to comment.