(self, net, inp, corr, flow)
| 104 | self.flow_head = FlowHead(hidden_dim, hidden_dim=128) |
| 105 | |
| 106 | def forward(self, net, inp, corr, flow): |
| 107 | motion_features = self.encoder(flow, corr) |
| 108 | inp = torch.cat([inp, motion_features], dim=1) |
| 109 | net = self.gru(net, inp) |
| 110 | delta_flow = self.flow_head(net) |
| 111 | |
| 112 | return net, None, delta_flow |
| 113 | |
| 114 | class BasicUpdateBlock(nn.Module): |
| 115 | def __init__(self, args, hidden_dim=128, input_dim=128): |
nothing calls this directly
no outgoing calls
no test coverage detected