| 10 | |
| 11 | # PyTorch 1.7 has SiLU, but we support PyTorch 1.5. |
| 12 | class SiLU(nn.Module): |
| 13 | def forward(self, x): |
| 14 | return x * th.sigmoid(x) |
| 15 | |
| 16 | |
| 17 | class GroupNorm32(nn.GroupNorm): |
nothing calls this directly
no outgoing calls
no test coverage detected