«
class documentation

class ToPILImage(object): (source)

View In Hierarchy

Transform that converts a tensor or ndarray to a PIL image, while also allowing PIL images to passthrough.

Method __call__ Undocumented
def __call__(self, img): (source)

Undocumented