Skip to content

Add SSGConv to torch_geometric.nn.conv #5599

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

Merged
merged 7 commits into from
Oct 5, 2022
Merged

Add SSGConv to torch_geometric.nn.conv #5599

merged 7 commits into from
Oct 5, 2022

Conversation

EdisonLeeeee
Copy link
Contributor

@EdisonLeeeee EdisonLeeeee commented Oct 3, 2022

SSGConv was proposed in Simple Spectral Graph Convolution (ICLR 2021) as an improved SGConv operator. The major difference between SSGC and SGC is the introduced $\alpha$, similar to that in APPNP:

  • SGC

image

  • SSGC

image

Not sure this layer is necessary to be included in PyG :-) Let me know.

Copy link
Member

@rusty1s rusty1s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@codecov
Copy link

codecov bot commented Oct 4, 2022

Codecov Report

Merging #5599 (ca9d733) into master (947d71e) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #5599      +/-   ##
==========================================
+ Coverage   83.81%   83.85%   +0.03%     
==========================================
  Files         347      348       +1     
  Lines       19121    19167      +46     
==========================================
+ Hits        16026    16072      +46     
  Misses       3095     3095              
Impacted Files Coverage Δ
torch_geometric/nn/conv/__init__.py 100.00% <100.00%> (ø)
torch_geometric/nn/conv/ssg_conv.py 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@EdisonLeeeee EdisonLeeeee requested a review from rusty1s October 5, 2022 02:13
@rusty1s rusty1s merged commit 14fa128 into master Oct 5, 2022
@rusty1s rusty1s deleted the ssgc branch October 5, 2022 04:10
jjpietrak pushed a commit to jjpietrak/pytorch_geometric that referenced this pull request Nov 25, 2022
* add SSGConv

* doc

* add test

* README

* changelog

Co-authored-by: Matthias Fey <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants