MCPcopy Create free account
hub / github.com/OpenDriveLab/ReSim / Normalize

Function Normalize

sat/sgm/modules/diffusionmodules/model.py:49–50  ·  view source on GitHub ↗
(in_channels, num_groups=32)

Source from the content-addressed store, hash-verified

47
48
49def Normalize(in_channels, num_groups=32):
50 return torch.nn.GroupNorm(num_groups=num_groups, num_channels=in_channels, eps=1e-6, affine=True)
51
52
53class Upsample(nn.Module):

Callers 6

__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