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

Method __init__

networks/module.py:351–354  ·  view source on GitHub ↗
(self, in_channels, base_channels,stage=0)

Source from the content-addressed store, hash-verified

349 return results
350class CostRegNet_refine(nn.Module):
351 def __init__(self, in_channels, base_channels,stage=0):
352 super(CostRegNet_refine, self).__init__()
353 self.cosR_small=CostRegNet_part_refine(in_channels, base_channels,stage=0)
354 self.cosR_huge=CostRegNet_part_refine(in_channels, base_channels,stage=0)
355 def forward(self, x):
356 results=torch.cat((self.cosR_small(x),self.cosR_huge(x)),axis=1)
357 return results

Callers

nothing calls this directly

Calls 2

__init__Method · 0.45

Tested by

no test coverage detected