@@ -575,8 +575,8 @@ def __init__(
575575        degrees : Union [numbers .Number , Sequence ],
576576        interpolation : Union [InterpolationMode , int ] =  InterpolationMode .NEAREST ,
577577        expand : bool  =  False ,
578-         fill : Union [datapoints ._FillType , Dict [Type , datapoints ._FillType ]] =  0 ,
579578        center : Optional [List [float ]] =  None ,
579+         fill : Union [datapoints ._FillType , Dict [Type , datapoints ._FillType ]] =  0 ,
580580    ) ->  None :
581581        super ().__init__ ()
582582        self .degrees  =  _setup_angle (degrees , name = "degrees" , req_sizes = (2 ,))
@@ -903,9 +903,9 @@ class RandomPerspective(_RandomApplyTransform):
903903    def  __init__ (
904904        self ,
905905        distortion_scale : float  =  0.5 ,
906-         fill : Union [datapoints ._FillType , Dict [Type , datapoints ._FillType ]] =  0 ,
907-         interpolation : Union [InterpolationMode , int ] =  InterpolationMode .BILINEAR ,
908906        p : float  =  0.5 ,
907+         interpolation : Union [InterpolationMode , int ] =  InterpolationMode .BILINEAR ,
908+         fill : Union [datapoints ._FillType , Dict [Type , datapoints ._FillType ]] =  0 ,
909909    ) ->  None :
910910        super ().__init__ (p = p )
911911
@@ -966,8 +966,8 @@ def __init__(
966966        self ,
967967        alpha : Union [float , Sequence [float ]] =  50.0 ,
968968        sigma : Union [float , Sequence [float ]] =  5.0 ,
969-         fill : Union [datapoints ._FillType , Dict [Type , datapoints ._FillType ]] =  0 ,
970969        interpolation : Union [InterpolationMode , int ] =  InterpolationMode .BILINEAR ,
970+         fill : Union [datapoints ._FillType , Dict [Type , datapoints ._FillType ]] =  0 ,
971971    ) ->  None :
972972        super ().__init__ ()
973973        self .alpha  =  _setup_float_or_seq (alpha , "alpha" , 2 )
0 commit comments