Add function #6679
DuanhaoranCC
started this conversation in
General
Add function
#6679
Replies: 1 comment
-
Note that edge_attr = torch.arange(6) |
Beta Was this translation helpful? Give feedback.
0 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.
-
Hi, I suggest adding remove_edges() and remove_nodes() to PyG's toolkit. I think the user is free to specify which nodes to delete. This is a commonly used function.
I am facing a problem now to delete a K-hop subgraph, but I have a little trouble and need your help.
Error: IndexError: The shape of the mask [6] at index 0 does not match the shape of the indexed tensor [7] at index 0.
This seems intuitive, but the program crashes, do you have any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions