Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/borisdayma/dalle-mini
/ deepnet_init
Function
deepnet_init
src/dalle_mini/model/modeling.py:82–88 ·
view source on GitHub ↗
(gain=1)
Source
from the content-addressed store, hash-verified
80
81
# deepnet initialization
82
def
deepnet_init(gain=1):
83
init = jax.nn.initializers.glorot_normal()
84
85
def
_init(*args, **kwargs):
86
return
gain * init(*args, **kwargs)
87
88
return
_init
89
90
91
# deepnet gain
Callers
3
setup
Method · 0.85
__call__
Method · 0.85
__call__
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected