File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1059,13 +1059,13 @@ def get_params(brightness: Optional[List[float]],
1059
1059
"""Get the parameters for the randomized transform to be applied on image.
1060
1060
1061
1061
Args:
1062
- brightness (tuple of float (min, max) or None ): The range from which the brightness_factor is chosen
1062
+ brightness (tuple of float (min, max), optional ): The range from which the brightness_factor is chosen
1063
1063
uniformly. Pass None to turn off the transformation.
1064
- contrast (tuple of float (min, max) or None ): The range from which the contrast_factor is chosen
1064
+ contrast (tuple of float (min, max), optional ): The range from which the contrast_factor is chosen
1065
1065
uniformly. Pass None to turn off the transformation.
1066
- saturation (tuple of float (min, max) or None ): The range from which the saturation_factor is chosen
1066
+ saturation (tuple of float (min, max), optional ): The range from which the saturation_factor is chosen
1067
1067
uniformly. Pass None to turn off the transformation.
1068
- hue (tuple of float (min, max) or None ): The range from which the hue_factor is chosen uniformly.
1068
+ hue (tuple of float (min, max), optional ): The range from which the hue_factor is chosen uniformly.
1069
1069
Pass None to turn off the transformation.
1070
1070
1071
1071
Returns:
You can’t perform that action at this time.
0 commit comments