How to use `max` aggregate function with GraphSAGE?

I am trying to use the max aggregate function in the SAGEConv method but the only available options in the documentation are mean, lstm, gcn or pool. Is there no option to use max?

Right now it does not have the max option, although you can change the aggregation function fn.mean to fn.max in the code.

EDIT: The pool option does a similar thing except that it first passes the input to a fully-connected layer and then a ReLU before taking a maximum.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.