MCPcopy Create free account
hub / github.com/HYUNJS/SGT / init_offset

Method init_offset

projects/CenterNet/centernet/deform_conv.py:20–22  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

18 self.init_offset()
19
20 def init_offset(self):
21 nn.init.constant_(self.conv_offset_mask.weight, 0)
22 nn.init.constant_(self.conv_offset_mask.bias, 0)
23
24 def forward(self, input):
25 offset_mask = self.conv_offset_mask(input)

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected