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

Function normalize

GAN/Self_attention_GAN_tensorflow/utils.py:83–84  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

81 return x
82
83def normalize(x) :
84 return x/127.5 - 1
85
86def save_images(images, size, image_path):
87 return imsave(inverse_transform(images), size, image_path)

Callers 3

load_mnistFunction · 0.85
load_cifar10Function · 0.85
preprocessingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected