Skip to content
Discussion options

You must be logged in to vote

Mh, I cannot reproduce this. This works for me

import torch

from torch_geometric.nn import GCNConv

conv = GCNConv(1, 1)

edge_index = torch.empty(2, 0, dtype=torch.long)
x = torch.ones(4, 1)

out = conv(x, edge_index)
print(out)

Can you confirm?

Replies: 1 comment 1 reply

Comment options

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

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