Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/XPixelGroup/DiffBIR
/ Normalize
Function
Normalize
diffbir/model/vae.py:18–21 ·
view source on GitHub ↗
(in_channels, num_groups=32)
Source
from the content-addressed store, hash-verified
16
17
18
def
Normalize(in_channels, num_groups=32):
19
return
torch.nn.GroupNorm(
20
num_groups=num_groups, num_channels=in_channels, eps=1e-6, affine=True
21
)
22
23
24
class
Upsample(nn.Module):
Callers
7
__init__
Method · 0.70
__init__
Method · 0.70
__init__
Method · 0.70
__init__
Method · 0.70
__init__
Method · 0.70
__init__
Method · 0.70
get_transform
Function · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected