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

How to consider edge features inside a heterogeneous graph? Or how to use EdgeGATConv() in HeteroGraphConv()? #7872

Open
webzhao9125 opened this issue Mar 2, 2025 · 0 comments

Comments

@webzhao9125
Copy link

❓ Questions and Help

Before proceeding, please note that we recommend
using our discussion forum (https://discuss.dgl.ai) for
general questions. As a result, this issue will
likely be CLOSED shortly.

I am now considering a heterogeneous graph containing 3 types of nodes, each connected to each other. I consider using the HeteroGraphConv() function to implement message passing, but find that the HeteroGraphConv() function is unable to input edge features.

I want to use EdgeGATConv as a sub-module of HeteroGraphConv(), but I don't understand the usage of mod_args and mod_kwargs, how can I properly use EdgeGATConv in HeteroGraphConv()?
Or, is there any other way to implement message passing in heterogeneous graphs that takes into account edge features?
Below is my current HeteroGraphConv() construction and I don't know how to construct the forward function.

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