MCPcopy Create free account
hub / github.com/OpenDriveLab/OccNet / __init__

Method __init__

projects/mmdet3d_plugin/models/backbones/vovnet.py:166–170  ·  view source on GitHub ↗
(self, channel, reduction=4)

Source from the content-addressed store, hash-verified

164
165class eSEModule(nn.Module):
166 def __init__(self, channel, reduction=4):
167 super(eSEModule, self).__init__()
168 self.avg_pool = nn.AdaptiveAvgPool2d(1)
169 self.fc = nn.Conv2d(channel, channel, kernel_size=1, padding=0)
170 self.hsigmoid = Hsigmoid()
171
172 def forward(self, x):
173 input = x

Callers

nothing calls this directly

Calls 2

HsigmoidClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected