Replies: 1 comment
-
Hi, I am not an expert so it might be a stupid idea but couldn't you create the reverse edge_type and sample from it ?
You could create the opposite edge_type by doing:
That way, in this new edge_type, the src and dst nodes are reversed comparatively to the first edge_type. I am sure there are smarter ways to do it, but I think/hope this sould work. Good luck. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to sample source2target edges connected to seed node as source by
LinkNeighborLoader
.For example, in the below image, I want to sample edges: [0, 4] and [0, 5] by
LinkNeighborLoader
. ButLinkNeighborLoader
samples only edges to seed node, such as [1, 0], [2, 0], [3, 0].How can I achive this?
Beta Was this translation helpful? Give feedback.
All reactions