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

Function normalization

lvdm/basics.py:87–93  ·  view source on GitHub ↗

Make a standard normalization layer. :param channels: number of input channels. :return: an nn.Module for normalization.

(channels, num_groups=32)

Source from the content-addressed store, hash-verified

85
86
87def normalization(channels, num_groups=32):
88 """
89 Make a standard normalization layer.
90 :param channels: number of input channels.
91 :return: an nn.Module for normalization.
92 """
93 return GroupNormSpecific(num_groups, channels)
94
95
96class HybridConditioner(nn.Module):

Callers 3

__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.90

Calls 1

GroupNormSpecificClass · 0.85

Tested by

no test coverage detected