Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
83
def
normalize(x) :
84
return
x/127.5 - 1
85
86
def
save_images(images, size, image_path):
87
return
imsave(inverse_transform(images), size, image_path)
Callers
3
load_mnist
Function · 0.85
load_cifar10
Function · 0.85
preprocessing
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected