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

Method __init__

core/update.py:100–104  ·  view source on GitHub ↗
(self, args, hidden_dim=96)

Source from the content-addressed store, hash-verified

98
99class SmallUpdateBlock(nn.Module):
100 def __init__(self, args, hidden_dim=96):
101 super(SmallUpdateBlock, self).__init__()
102 self.encoder = SmallMotionEncoder(args)
103 self.gru = ConvGRU(hidden_dim=hidden_dim, input_dim=82+64)
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)

Callers

nothing calls this directly

Calls 4

SmallMotionEncoderClass · 0.85
ConvGRUClass · 0.70
FlowHeadClass · 0.70
__init__Method · 0.45

Tested by

no test coverage detected