Convert a numpy image or a batch of images to a PIL image. Range of input tensor is assumed to be [0, 1].
Convert a torch image to a PIL image. Range of input tensor is assumed to be [0, 1].
API Reference: