MCPcopy Create free account
hub / github.com/CompVis/diff2flow / GroupNorm32

Class GroupNorm32

diff2flow/models/unet/util.py:110–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108
109
110class GroupNorm32(nn.GroupNorm):
111 def forward(self, x):
112 return super().forward(x.float()).type(x.dtype)
113
114
115def conv_nd(dims, *args, **kwargs):

Callers 1

normalizationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected