(self, inplane, outplane)
| 36 | class AlignedModule(nn.Module): |
| 37 | #SFNet-DFNet |
| 38 | def __init__(self, inplane, outplane): |
| 39 | super(AlignedModule, self).__init__() |
| 40 | self.down_h = nn.Conv2d(inplane, outplane, 1, bias=False) |
| 41 | self.down_l = nn.Conv2d(inplane, outplane, 1, bias=False) |
| 42 | self.flow_make = nn.Conv2d(outplane*2, 2, kernel_size=3, padding=1, bias=False) |
| 43 | |
| 44 | def forward(self, x): |
| 45 | low_feature, h_feature = x |