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

Make GNNWrapper forward call to backbone compatible with **kwargs #126

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

abertics
Copy link
Contributor

Description

Quick fix to enable **kwargs in gnn wrapper backbone forward calls.

Issue

The forward call in GNNWrapper changed to include three arguments -- x_0, edge_index and edge_weight. It used to be just the first two. To ensure future compatibility, I changed the third one to use a keyword to be compatible with **kwargs. Otherwise all forward backbone functions will need to explicitly accept edge_weight, even if they don't need it.

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.

1 participant