Skip to content
Discussion options

You must be logged in to vote

In general, you need to take care about this yourself. I suggest to use a Linear layer to transform edge features to the appropriate size, e.g., Linear(num_edge_features, num_hidden_channels):

x = self.convs[i](x, edge_index, self.edge_lins[i](edge_attr))

Replies: 1 comment 1 reply

Comment options

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

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