(self, pic)
return F.to_pil_image(pic, self.mode)
Args:
            pic (Tensor or numpy.ndarray): Image to be converted to PIL Image.

        Returns:
            PIL Image: Image converted to PIL Image.
Args:
            pic (Tensor or numpy.ndarray): Image to be converted to PIL Image.
Args : pic ( Tensor or numpy . ndarray ) : Image to be converted to PIL Image .
def __call__(self, pic):
        """
        Args:
            pic (Tensor or numpy.ndarray): Image to be converted to PIL Image.

        Returns:
            PIL Image: Image converted to PIL Image.

        """
        return F.to_pil_image(pic, self.mode)
def __call__ ( self , pic ) : return F . to_pil_image ( pic , self . mode )