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

Method __init__

baselines.py:14–16  ·  view source on GitHub ↗
(self, node=247, seq=12, feature=2)

Source from the content-addressed store, hash-verified

12
13class VAR(nn.Module):
14 def __init__(self, node=247, seq=12, feature=2): # input_dim = seq_length
15 super(VAR, self).__init__()
16 self.linear = nn.Linear(node*seq*feature, node)
17
18 def forward(self, occ, prc):
19 x = torch.cat((occ, prc), dim=2)

Callers 7

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected