Skip to content

Commit 0d48832

Browse files
committed
Styles.
1 parent 7608ee2 commit 0d48832

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

torchvision/transforms/transforms.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1058,11 +1058,11 @@ def get_params(brightness: Optional[List[float]],
10581058
) -> Tuple[Tensor, Optional[float], Optional[float], Optional[float], Optional[float]]:
10591059
"""Get the parameters for the randomized transform to be applied on image.
10601060
1061-
Args:
1062-
brightness (tuple of float (min, max)): The range from which the brightness_factor is chosen uniformly.
1063-
contrast (tuple of float (min, max)): The range from which the contrast_factor is chosen uniformly.
1064-
saturation (tuple of float (min, max)): The range from which the saturation_factor is chosen uniformly.
1065-
hue (tuple of float (min, max)): The range from which the hue_factor is chosen uniformly.
1061+
Args:
1062+
brightness (tuple of float (min, max)): The range from which the brightness_factor is chosen uniformly.
1063+
contrast (tuple of float (min, max)): The range from which the contrast_factor is chosen uniformly.
1064+
saturation (tuple of float (min, max)): The range from which the saturation_factor is chosen uniformly.
1065+
hue (tuple of float (min, max)): The range from which the hue_factor is chosen uniformly.
10661066
10671067
Returns:
10681068
tuple: The parameters used to apply the randomized transform

0 commit comments

Comments
 (0)