Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/junyanz/iGAN
/ load_batchnorm
Function
load_batchnorm
train_dcgan/train_dcgan_utils.py:43–46 ·
view source on GitHub ↗
(model_path)
Source
from the content-addressed store, hash-verified
41
42
43
def
load_batchnorm(model_path):
44
bn = utils.PickleLoad(model_path)
45
bn_params = [sharedX(b)
for
b in bn]
46
return
bn_params
47
48
49
def
gen(_z, _params, n_layers=3, n_f=128, init_sz=4, nc=3):
Callers
nothing calls this directly
Calls
1
sharedX
Function · 0.90
Tested by
no test coverage detected