(self, x)
| 139 | self.max_pool = GlobalMaxPool2d() |
| 140 | |
| 141 | def forward(self, x): |
| 142 | avg = self.avg_pool(x) |
| 143 | max_val = self.max_pool(x) |
| 144 | return torch.cat([avg, max_val], dim=1) |
| 145 | |
| 146 | class Flatten(nn.Module): |
| 147 | def __init__(self, start_dim=1): |
nothing calls this directly
no outgoing calls
no test coverage detected