Closed qwe1997 closed 2 years ago
As I remember, denom is the diagonal node degree matrix used in GCN, please refer to the original GCN paper: https://arxiv.org/pdf/1609.02907.pdf
Thank you very much! "denom" is the diagonal node degree matrix, "adj.sum(2)" means getting graph nodes degrees and unsqueeze(2) means generating two dimensional matrix for graph convolution calculation and +1 means adding self-loop nodes degrees!
Exactly! I am closing this issue, if you have further questions, feel free to re-open it.
In the Class of GraphConvLayer and MultiGraphConvLayer, there is a tensor called denom. I have tried to understand its meaning,however I failed.So please tell me this tensor's meaning.thanks!
` def forward(self, adj, gcn_inputs):
gcn layer