Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug fix] No backpropagation in sparse GAT #13

Merged
merged 2 commits into from
Oct 23, 2018
Merged

[Bug fix] No backpropagation in sparse GAT #13

merged 2 commits into from
Oct 23, 2018

Conversation

sh0416
Copy link
Contributor

@sh0416 sh0416 commented Oct 23, 2018

#8 isn't work correctly because copying tensor cannot backward propagation.
Therefore, I create a custom autograd function to manually calcuate the gradient and sent them.
You can get the overall graph using visualize_graph.py and the output for sparse version GAT is output/graph_visualize.pdf
output.pdf

@sh0416
Copy link
Contributor Author

sh0416 commented Oct 23, 2018

Also, there are some possible performance improvement in the backward process, but I create pull request for fixing the incorrect part.

@Diego999 Diego999 merged commit 3301fd6 into Diego999:master Oct 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants