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