Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YesianRohn/TextSSR
/ make_zero_conv
Function
make_zero_conv
diffusers/src/diffusers/models/controlnet_xs.py:1927–1928 ·
view source on GitHub ↗
(in_channels, out_channels=None)
Source
from the content-addressed store, hash-verified
1925
1926
1927
def
make_zero_conv(in_channels, out_channels=None):
1928
return
zero_module(nn.Conv2d(in_channels, out_channels, 1, padding=0))
1929
1930
1931
def
zero_module(module):
Callers
8
get_down_block_adapter
Function · 0.85
get_mid_block_adapter
Function · 0.85
get_up_block_adapter
Function · 0.85
__init__
Method · 0.85
__init__
Method · 0.85
__init__
Method · 0.85
__init__
Method · 0.85
__init__
Method · 0.85
Calls
1
zero_module
Function · 0.70
Tested by
no test coverage detected