MCPcopy Create free account
hub / github.com/DIVE128/DMVSNet / __init__

Method __init__

networks/module.py:438–443  ·  view source on GitHub ↗
(self, in_channels=32,hid_channels=1,out_channels=1,relu=True)

Source from the content-addressed store, hash-verified

436 return x
437class AggWeightNetVolume(nn.Module):
438 def __init__(self, in_channels=32,hid_channels=1,out_channels=1,relu=True):
439 super(AggWeightNetVolume, self).__init__()
440 self.w_net = nn.Sequential(
441 Conv3d(in_channels, hid_channels, kernel_size=1, stride=1, padding=0,relu=relu),
442 Conv3d(hid_channels, out_channels, kernel_size=1, stride=1, padding=0,relu=relu)
443 )
444
445 def forward(self, x):
446 """

Callers

nothing calls this directly

Calls 2

Conv3dClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected