Skip to content
Discussion options

You must be logged in to vote

Yes, this is correct. As such, most of our functions that just expect an edge_index matrix as input also support max_num_nodes or num_nodes arguments, see here:

adj = to_dense_adj(data.edge_index, max_num_nodes=data.num_nodes)

Replies: 1 comment 1 reply

Comment options

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

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