MCPcopy
hub / github.com/openai/improved-diffusion / GroupNorm32

Class GroupNorm32

improved_diffusion/nn.py:17–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15
16
17class GroupNorm32(nn.GroupNorm):
18 def forward(self, x):
19 return super().forward(x.float()).type(x.dtype)
20
21
22def conv_nd(dims, *args, **kwargs):

Callers 1

normalizationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected