MCPcopy Create free account
hub / github.com/DeepGraphLearning/graphvite / forward

Method forward

python/graphvite/application/network.py:39–42  ·  view source on GitHub ↗
(self, indexes)

Source from the content-addressed store, hash-verified

37 self.linear = nn.Linear(embedding.size(1), num_class, bias=True)
38
39 def forward(self, indexes):
40 x = self.embeddings(indexes)
41 x = self.linear(x)
42 return x
43
44
45class LinkPredictor(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected