MCPcopy Create free account
hub / github.com/dek924/PerX2CT / Normalize

Function Normalize

taming/modules/diffusionmodules/model.py:34–35  ·  view source on GitHub ↗
(in_channels)

Source from the content-addressed store, hash-verified

32
33
34def Normalize(in_channels):
35 return torch.nn.GroupNorm(num_groups=32, num_channels=in_channels, eps=1e-6, affine=True)
36
37
38class Upsample(nn.Module):

Callers 8

__init__Method · 0.70
__init__Method · 0.70
__init__Method · 0.70
__init__Method · 0.70
__init__Method · 0.70
__init__Method · 0.70
__init__Method · 0.70
__init__Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected