MCPcopy Create free account
hub / github.com/OUCMachineLearning/OUCML / inverse_transform

Function inverse_transform

GAN/datadownloader/utils.py:31–32  ·  view source on GitHub ↗
(images)

Source from the content-addressed store, hash-verified

29 return (np.array(cropped_image) / 127.5) - 1.
30
31def inverse_transform(images):
32 return (images + 1.) / 2.
33
34def imread(path, is_grayscale = False):
35 if (is_grayscale):

Callers 1

save_imagesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected