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

Method forward

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

Source from the content-addressed store, hash-verified

69 self.conv = nn.Conv2d(128, 80, 3, padding=1)
70
71 def forward(self, flow, corr):
72 cor = F.relu(self.convc1(corr))
73 flo = F.relu(self.convf1(flow))
74 flo = F.relu(self.convf2(flo))
75 cor_flo = torch.cat([cor, flo], dim=1)
76 out = F.relu(self.conv(cor_flo))
77 return torch.cat([out, flow], dim=1)
78
79class BasicMotionEncoder(nn.Module):
80 def __init__(self, args):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected