-
I have such model with self-loops
And I have simple input data:
I run the model: And as a result I get:
Could you explain why it happened? Because I have self_loops and non-zero weights of the model
I expected to get something like (because of self-loops):
|
Beta Was this translation helpful? Give feedback.
Answered by
rusty1s
May 4, 2023
Replies: 1 comment 1 reply
-
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? |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
kenenbek
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Mh, I cannot reproduce this. This works for me
Can you confirm?