(self, img, lbl)
return F.center_crop(img, self.size), F.center_crop(lbl, self.size)
Args:
            img (PIL Image): Image to be cropped.
        Returns:
            PIL Image: Cropped image.
Args:
            img (PIL Image): Image to be cropped.
        Returns:
            PIL Image: Cropped image.
Args : img ( PIL Image ) : Image to be cropped . Returns : PIL Image : Cropped image .
def __call__(self, img, lbl):
        """
        Args:
            img (PIL Image): Image to be cropped.
        Returns:
            PIL Image: Cropped image.
        """
        return F.center_crop(img, self.size), F.center_crop(lbl, self.size)
def __call__ ( self , img , lbl ) : return F . center_crop ( img , self . size ) , F . center_crop ( lbl , self . size )