MCPcopy Create free account
hub / github.com/TencentARC/MotionCtrl / Normalize

Function Normalize

lvdm/modules/attention_temporal.py:61–62  ·  view source on GitHub ↗
(in_channels)

Source from the content-addressed store, hash-verified

59
60
61def Normalize(in_channels):
62 return torch.nn.GroupNorm(num_groups=32, num_channels=in_channels, eps=1e-6, affine=True)
63
64
65# ---------------------------------------------------------------------------------------------------

Callers 1

__init__Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected