(self, x)
| 70 | ) |
| 71 | |
| 72 | def forward(self, x): |
| 73 | b, c, _, _ = x.size() |
| 74 | w = self.pool(x).view(b, c) |
| 75 | w = self.fc(w).view(b, c, 1, 1) |
| 76 | |
| 77 | return x * w.expand_as(x) |
| 78 | |
| 79 | |
| 80 | #------------------------------------------------------------------------------ |
nothing calls this directly
no outgoing calls
no test coverage detected