Replies: 1 comment
-
I'm not sure if I understand you correctly, but in case you do not want to update some features, you can either
op = MetaLayer(EdgeModel(), NodeModel(), None)
x, edge_attr, u = op(x, edge_index, edge_attr, u, batch)
op = MetaLayer(EdgeModel(), NodeModel(), GlobalModel())
x_new, edge_attr, u = op(x, edge_index, edge_attr, u, batch)
x = torch.cat([x, x_new], dim=-1) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using Metalayer to update the edge and node properties. There are some properties that I don’t want to update, they are constant. Does anyone have an idea how I should encode that?
Example: if we think about original paper, then mass of the ball or spring constant shoul not be updated. They would be the same at the next step.
Beta Was this translation helpful? Give feedback.
All reactions