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

Function Normalize

sat/sgm/modules/autoencoding/vqvae/movq_modules.py:65–75  ·  view source on GitHub ↗
(in_channels, zq_ch, add_conv)

Source from the content-addressed store, hash-verified

63
64
65def Normalize(in_channels, zq_ch, add_conv):
66 return SpatialNorm(
67 in_channels,
68 zq_ch,
69 norm_layer=nn.GroupNorm,
70 freeze_norm_layer=False,
71 add_conv=add_conv,
72 num_groups=32,
73 eps=1e-6,
74 affine=True,
75 )
76
77
78class Upsample(nn.Module):

Callers 3

__init__Method · 0.70
__init__Method · 0.70
__init__Method · 0.70

Calls 1

SpatialNormClass · 0.85

Tested by

no test coverage detected