Skip to content
Discussion options

You must be logged in to vote

The answer would be the same, right? edge_index would need to be defined for the edge types that exist in the union of graphs.

data[edge_type].edge_index = torch.empty(2, 0, dtype=torch.long)

Maybe I am misunderstanding the question.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@stefanschutz
Comment options

@rusty1s
Comment options

Answer selected by stefanschutz
@stefanschutz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants