(self, x)
| 44 | self.bn = nn.BatchNorm2d(channels) |
| 45 | |
| 46 | def forward(self, x): |
| 47 | tx = self.bn(self.conv(x)) |
| 48 | return torch.max(x, tx) |
| 49 | |
| 50 | class GLU(nn.Module): |
| 51 | def __init__(self, dim=-1): |
nothing calls this directly
no outgoing calls
no test coverage detected