Update encoders.py
This commit is contained in:
parent
b0bbc30be5
commit
8e0d053da2
@ -35,7 +35,6 @@ class Encoder(nn.Module):
|
|||||||
Generates embeddings for a batch of nodes.
|
Generates embeddings for a batch of nodes.
|
||||||
|
|
||||||
nodes -- list of nodes
|
nodes -- list of nodes
|
||||||
mode -- string desiginating the mode of the nodes
|
|
||||||
"""
|
"""
|
||||||
neigh_feats = self.aggregator.forward(nodes, [self.adj_lists[node] for node in nodes],
|
neigh_feats = self.aggregator.forward(nodes, [self.adj_lists[node] for node in nodes],
|
||||||
self.num_sample)
|
self.num_sample)
|
||||||
|
Loading…
Reference in New Issue
Block a user