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

GCNConv call() implementation #454

Open
cedavidyang opened this issue May 29, 2024 · 0 comments
Open

GCNConv call() implementation #454

cedavidyang opened this issue May 29, 2024 · 0 comments

Comments

@cedavidyang
Copy link

Based on class documentation, GCNCon should compute
$$X' = \hat D^{-1/2} \hat A \hat D^{-1/2} X W + b$$

However, the implementation in call computes the following:
$$X' = A X W + b$$

based on line 100-103 in spektral/layers/convolutional/gcn_conv.py, copied below

        output = K.dot(x, self.kernel)
        output = ops.modal_dot(a, output)
        if self.use_bias:
            output = K.bias_add(output, self.bias)
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

No branches or pull requests

1 participant