(self, x)
| 64 | ) |
| 65 | |
| 66 | def forward(self, x): |
| 67 | b, c, f = x.shape |
| 68 | y = self.squeeze(x).view(b, c) |
| 69 | y = self.excitation(y).view(b, c, 1) |
| 70 | return x * y.expand_as(x) |
| 71 | |
| 72 | |
| 73 | class FeatureProjector(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected