Learnable edge masking #4105
-
Hello,
The problem is that the code above would not call the Thanks for any clarification! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Beta Was this translation helpful? Give feedback.
torch.split
which helps you to split the edge weights into a list of individual edge weights for each graph. You can usedegree(batch[edge_index[0]], dtype=torch.long).tolist()
assplit_size
argument.to_undirected
) after sampling is done.edge_weight[mask]
to the GNN layer as well (which is, e.g., supported forGraphConv
).