(self, img)
return transforms.functional.center_crop(img, min(img.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):
        """
        Args:
            img (PIL Image): Image to be cropped.
        Returns:
            PIL Image: Cropped image.
        """
        return transforms.functional.center_crop(img, min(img.size))
def __call__ ( self , img ) : return transforms . functional . center_crop ( img , min ( img . size ) )