How to add a second edge index to use as a target in link prediction? #5247
-
I've tried adding a new attribute that I would ideally like to behave the same as the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I didn't totally follow this, could you provide an example of what it might look like? |
Beta Was this translation helpful? Give feedback.
-
If you want to have a separate attribute similar to |
Beta Was this translation helpful? Give feedback.
If you want to have a separate attribute similar to
edge_index
, you may need a customData
object and override the__cat_dim__
and__inc__
functionalities. This tutorial goes over it on more depth.