Skip to content
Discussion options

You must be logged in to vote

No, NNConv is defined to operate on edge features, and so edge features will be required to run this operator. As a workaround, you could think of creating edge features on the fly, e.g., by concatenating source and destination node features:

edge_attr = torch.cat([x[edge_index[0]], x[edge_index[1]], dim=-1)

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@AdarshMJ
Comment options

@rusty1s
Comment options

@AdarshMJ
Comment options

@rusty1s
Comment options

@AdarshMJ
Comment options

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