Message Passing on Undirected Bipartite Graphs #9129
Unanswered
Angelo92Git
asked this question in
Q&A
Replies: 1 comment 2 replies
-
For bi-directional message passing on bipartite graphs, I suggest to just utilize two GNN layers, i.e.: conv_A_B = SAGEConv((feat_A, feat_B), 32)
conv_B_A = SAGEConv((feat_B, feat_A), 32)
out_B = conv_A_B((in_A, in_B), edge_index_A_B)
out_A = conv_B_A((in_B, in_A), edge_index_B_A) This is also what |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Consider message passing on an undirected bipartite graph. Is there any gain in efficiency by setting the size parameter in the propagate function? How would the two sets of nodes be split up into sets of size (M, N)?
https://pytorch-geometric.readthedocs.io/en/latest/generated/torch_geometric.nn.conv.MessagePassing.html#torch_geometric.nn.conv.MessagePassing
Beta Was this translation helpful? Give feedback.
All reactions