Skip to content

SparseTensor edge_index not getting batched properly? #9307

Closed Answered by Quoding
Quoding asked this question in Q&A
Discussion options

You must be logged in to vote

Seems to be a PICNIC (Problem in Chair, Not in Computer) error... The way I created my data object stores the adjacency matrix in the edge_index key.

Perhaps it would be a good idea to show how to create such objects in the documentation here?

Looking at the reference for the torch_geometric.data.Data class, it seems like the adj_t attribute is concealed within the **kwargs, which makes in a little bit unclear on how to proceed (e.g. I had assumed only edge_index existed as a valid constructor attribute).

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@rusty1s
Comment options

Answer selected by Quoding
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