(self, imagedata)
return PIL.Image.fromarray(self.scaled_image(imagedata)
                .permute(1, 2, 0).byte().cpu().numpy())
Converts the given tensor imagedata to a PIL image, scaling
        and renormalizing as needed.
Converts the given tensor imagedata to a PIL image, scaling
        and renormalizing as needed.
Converts the given tensor imagedata to a PIL image scaling and renormalizing as needed .
def image(self, imagedata):
        '''
        Converts the given tensor imagedata to a PIL image, scaling
        and renormalizing as needed.
        '''
        return PIL.Image.fromarray(self.scaled_image(imagedata)
                .permute(1, 2, 0).byte().cpu().numpy())
def image ( self , imagedata ) : return PIL . Image . fromarray ( self . scaled_image ( imagedata ) . permute ( 1 , 2 , 0 ) . byte ( ) . cpu ( ) . numpy ( ) )