MCPcopy Create free account
hub / github.com/alibaba/euler / embed

Method embed

examples/set2set/set2set.py:67–70  ·  view source on GitHub ↗
(self, n_id, graph_index)

Source from the content-addressed store, hash-verified

65 num_layers=lstm_layers)
66
67 def embed(self, n_id, graph_index):
68 node_emb = self.gnn(n_id)
69 graph_emb = self.pool(node_emb, graph_index)
70 return graph_emb

Callers

nothing calls this directly

Calls 1

poolMethod · 0.45

Tested by

no test coverage detected