Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/LTH14/mar
/ Normalize
Function
Normalize
models/vae.py:13–16 ·
view source on GitHub ↗
(in_channels, num_groups=32)
Source
from the content-addressed store, hash-verified
11
12
13
def
Normalize(in_channels, num_groups=32):
14
return
torch.nn.GroupNorm(
15
num_groups=num_groups, num_channels=in_channels, eps=1e-6, affine=True
16
)
17
18
19
class
Upsample(nn.Module):
Callers
4
__init__
Method · 0.85
__init__
Method · 0.85
__init__
Method · 0.85
__init__
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected