(self, img, lbl)
return F.rotate(img, angle, self.resample, self.expand, self.center), F.rotate(lbl, angle, self.resample, self.expand, self.center)
img (PIL Image): Image to be rotated.
            lbl (PIL Image): Label to be rotated.
        Returns:
            PIL Image: Rotated image.
            PIL Image: Rotated label.
img (PIL Image): Image to be rotated.
            lbl (PIL Image): Label to be rotated.
        Returns:
            PIL Image: Rotated image.
            PIL Image: Rotated label.
img ( PIL Image ) : Image to be rotated . lbl ( PIL Image ) : Label to be rotated . Returns : PIL Image : Rotated image . PIL Image : Rotated label .
def __call__(self, img, lbl):
        """
            img (PIL Image): Image to be rotated.
            lbl (PIL Image): Label to be rotated.
        Returns:
            PIL Image: Rotated image.
            PIL Image: Rotated label.
        """

        angle = self.get_params(self.degrees)

        return F.rotate(img, angle, self.resample, self.expand, self.center), F.rotate(lbl, angle, self.resample, self.expand, self.center)
def __call__ ( self , img , lbl ) : angle = self . get_params ( self . degrees ) return F . rotate ( img , angle , self . resample , self . expand , self . center ) , F . rotate ( lbl , angle , self . resample , self . expand , self . center )