Skip to content
Discussion options

You must be logged in to vote

I thin your GNN implementation looks fine to me. If you want to change specific input features (say data.x[0] = 100), you will need to re-evaluate the model on the complete graph (as there is a inter-dependency of outputs between nodes), e.g.:

data.x[0] = 100
output = model(data)
output[1]  # New estimation for node 1 that takes the modification of node 0 into account

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tristen-tooming
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