(self, x)
| 78 | ) |
| 79 | |
| 80 | def forward(self, x): |
| 81 | b, c, _, _ = x.size() |
| 82 | w = self.pool(x).view(b, c) |
| 83 | w = self.fc(w).view(b, c, 1, 1) |
| 84 | |
| 85 | return x * w.expand_as(x) |
| 86 | |
| 87 | |
| 88 | #------------------------------------------------------------------------------ |
nothing calls this directly
no outgoing calls
no test coverage detected