Replies: 2 comments
-
You would want to use |
Beta Was this translation helpful? Give feedback.
0 replies
-
I understand, thank you for your response! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am a newcomer in the field of GNN, and I have encountered some issues in my implementation.
When processing a batch of data, I need to obtain node representations for each graph and, additionally, obtain graph representations. Currently, I get the representation of each graph using the approach
node_embedding = node_embedding.reshape([batch_size, n_node, feature_dim])
followed by
graph_embedding = node_embedding.mean(1)
I wonder if there is any difference between this approach and using
graph_embedding = global_mean_pool(x=node_embedding , batch=batch)
Beta Was this translation helpful? Give feedback.
All reactions