Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/singa
/ normalize
Function
normalize
examples/cnn/data/mnist.py:78–81 ·
view source on GitHub ↗
(train_x, val_x)
Source
from the content-addressed store, hash-verified
76
77
78
def
normalize(train_x, val_x):
79
train_x /= 255
80
val_x /= 255
81
return
train_x, val_x
82
83
84
def
load():
Callers
1
load
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected