MCPcopy Create free account
hub / github.com/drinkingcoder/FlowFormer-Official / forward

Method forward

core/update.py:89–97  ·  view source on GitHub ↗
(self, flow, corr)

Source from the content-addressed store, hash-verified

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
99class SmallUpdateBlock(nn.Module):
100 def __init__(self, args, hidden_dim=96):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected