Skip to content
Discussion options

You must be logged in to vote

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:

class MyConv(MessagePassing):
     def __init__(self, ...):
          super().__init__(aggr=..., node_dim=0)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Nokimann
Comment options

@rusty1s
Comment options

@Nokimann
Comment options

Answer selected by Nokimann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants