// convolutional layer
for conv in self.conv_layers:
node_feat = conv(node_feat, edge_index)
// pooling
graph_feat = self.pooling(node_feat, data.batch)
graph_feat = F.leaky_relu(self.fc(graph_feat))
After Change
This is only returned when self.mode = "classification", the output consists of the
logits for classes before softmax.
node_feats = g.ndata[self.nfeat_name]
out = self.model(g, node_feats)
if self.mode == "classification":
if self.n_tasks == 1: