Skip to content
Discussion options

You must be logged in to vote

You can use the models in nn.models as part of graph classification pipeline:

x = self.gcn(x, edge_index)
x = global_mean_pool(x, batch)
return self.classifier(x)

We assume that a GNN just learns new node representations, which can then be used for various down-stream tasks (node, edge, graph) by connecting different heads to it.

Replies: 1 comment 1 reply

Comment options

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

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