| 210 | |
| 211 | # PyTorch 1.7 has SiLU, but we support PyTorch 1.5. |
| 212 | class SiLU(nn.Module): |
| 213 | def forward(self, x): |
| 214 | return x * torch.sigmoid(x) |
| 215 | |
| 216 | |
| 217 | class GroupNorm32(nn.GroupNorm): |
nothing calls this directly
no outgoing calls
no test coverage detected