-
The code without using MessagePassing works. I got an error message.
edge_index: torch.Size([2, 36614])
|
Beta Was this translation helpful? Give feedback.
Answered by
rusty1s
Sep 29, 2022
Replies: 1 comment 3 replies
-
class MyConv(MessagePassing):
def __init__(self, ...):
super().__init__(aggr=..., node_dim=0) |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
Nokimann
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
self.propagate
works on tensors with any dimension. Importantly though, by default we expect that the node dimension is given in dimension-2
, so you may want to fix this in your case: