Replies: 1 comment 5 replies
-
The conv = GATConv(in_channels=(64, 128), out_channels=256)
x_src = torch.randn(num_src_nodes, 64)
x_dst = torch.randn(num_dst_nodes, 128)
out = conv((x_src, x_dst), edge_index) This will compute new embeddings for target nodes based on incoming features ( |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In the below code snippet. Can you explain the scenario where x_l and x_r are different? I think x will always be a tensor. Therefore, x_l and x_r will always be the same.
The if statement will always be true in my opinion, as x is always a tensor. I tried with the TUDataset example. The else statement is not executed even once. Can you check or give an example where the other use case is valid? Any help would be appreciated. @rusty1s
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions