Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AlayaLab/Hive
/ zero_module
Function
zero_module
models/flowsep/diffusers/models/controlnet.py:585–588 ·
view source on GitHub ↗
(module)
Source
from the content-addressed store, hash-verified
583
584
585
def
zero_module(module):
586
for
p in module.parameters():
587
nn.init.zeros_(p)
588
return
module
Callers
2
__init__
Method · 0.70
__init__
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected