Skip to content
Discussion options

You must be logged in to vote
  1. I think you are using it as intended. The whole idea of MetaLayer is to plug in blocks you like, depending on your use case.
  2. You could stack mlps and also maybe take difference/dot product between node features to make it more expressive in practice.
  3. Yes you could replace it with any model given that model has the following forward interface forward(self, x, edge_index, edge_attr, u, batch). For example, in GATConv the interface is forward(x, edge_index, edge_attr, size, return_attention_wieghts) which should work as NodeModel, given u is None. If its not None u will get passed as size which might cause issues, but I am not sure of that.

Replies: 1 comment 1 reply

Comment options

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

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