(self, flow, corr)
| 87 | self.conv = nn.Conv2d(64+192, 128-2, 3, padding=1) |
| 88 | |
| 89 | def forward(self, flow, corr): |
| 90 | cor = F.relu(self.convc1(corr)) |
| 91 | cor = F.relu(self.convc2(cor)) |
| 92 | flo = F.relu(self.convf1(flow)) |
| 93 | flo = F.relu(self.convf2(flo)) |
| 94 | |
| 95 | cor_flo = torch.cat([cor, flo], dim=1) |
| 96 | out = F.relu(self.conv(cor_flo)) |
| 97 | return torch.cat([out, flow], dim=1) |
| 98 | |
| 99 | class SmallUpdateBlock(nn.Module): |
| 100 | def __init__(self, args, hidden_dim=96): |
nothing calls this directly
no outgoing calls
no test coverage detected