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

Class Hsigmoid

projects/mmdet3d_plugin/models/backbones/vovnet.py:156–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154
155
156class Hsigmoid(nn.Module):
157 def __init__(self, inplace=True):
158 super(Hsigmoid, self).__init__()
159 self.inplace = inplace
160
161 def forward(self, x):
162 return F.relu6(x + 3.0, inplace=self.inplace) / 6.0
163
164
165class eSEModule(nn.Module):

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected