MCPcopy Create free account
hub / github.com/deepbrainai-research/float / forward

Method forward

models/__init__.py:193–197  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

191 )
192
193 def forward(self, x):
194 b, c, _, _ = x.size()
195 y = self.avg_pool(x).view(b, c)
196 y = self.fc(y).view(b, c, 1, 1)
197 return x * y.expand_as(x)
198
199
200class SEBasicBlock(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected