MCPcopy Create free account
hub / github.com/IntelligentSystemsLab/ST-EVCDP / forward

Method forward

baselines.py:18–22  ·  view source on GitHub ↗
(self, occ, prc)

Source from the content-addressed store, hash-verified

16 self.linear = nn.Linear(node*seq*feature, node)
17
18 def forward(self, occ, prc):
19 x = torch.cat((occ, prc), dim=2)
20 x = torch.flatten(x, 1, 2)
21 x = self.linear(x)
22 return x
23
24
25class LSTM(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected