pyGAT
pyGAT copied to clipboard
I am confused about the calculation order for the Sparse version
hi, I read the code about the class SpGraphAttentionLayer, as following:
In the original paper, I think operation2 is before the operation1.
Can you tell me why you adjust the order?
@sh0416
The main difference between dense version and sparse version is softmax function.
There are no softmax function available in the sparse version, I calculate the nominator of softmax and the denomiator of softmax and then divide to get right softmax value.
There is a bug #16 which needs to be replace minus to substracting max value of each row.