Skip to content
Discussion options

You must be logged in to vote
    def forward(self, x, edge_index, edge_attr):
        out = self.propagate(edge_index, x=x, edge_attr=edge_attr)
        return self.lin_r(x) + out

    def message(self, x_j, edge_attr):
        return self.lin_l(x_j) + self.bond_encoder(edge_attr)

should do the trick.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@j-adamczyk
Comment options

Answer selected by j-adamczyk
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