Skip to content
Discussion options

You must be logged in to vote

Batch.from_data_list([Data(x = x[i], edge_index = edge_index) for x in range(10)]) this outputs a single large graph(Data object) with 10 disconnected components, read more here. So your GNN gets one graph with 300 nodes(a graph with 10 disconnected components of 30 nodes each) and the convolution is perform on the whole graph with 300 nodes, and thats why your output has 300 values.

Replies: 1 comment 1 reply

Comment options

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

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