MCPcopy Create free account
hub / github.com/drinkingcoder/NeuralMarker / __init__

Method __init__

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

Source from the content-addressed store, hash-verified

108
109class SmallUpdateBlock(nn.Module):
110 def __init__(self, args, hidden_dim=96):
111 super(SmallUpdateBlock, self).__init__()
112 self.encoder = SmallMotionEncoder(args)
113 self.gru = ConvGRU(hidden_dim=hidden_dim, input_dim=82+64)
114 self.flow_head = FlowHead(hidden_dim, hidden_dim=128)
115
116 def forward(self, net, inp, corr, flow):
117 motion_features = self.encoder(flow, corr)

Callers

nothing calls this directly

Calls 3

SmallMotionEncoderClass · 0.85
ConvGRUClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected