Skip to content
Discussion options

You must be logged in to vote

I haven't read your code in detail, but IMO you should utilize different message passing layers/parameters in order to perform edge class dependent propagation. This should be part of the model, e.g.:

def forward(self, x, edge_index, edge_class):
    out = 0
    for i in range(edge_class.max()):
          out = out + conv[i](x, edge_index[:, edge_class = i]
          

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@songsong0425
Comment options

Answer selected by songsong0425
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