Skip to content
Discussion options

You must be logged in to vote

You can use HeteroConv to perform heterogeneous message passing with underlying message passing operators that support edge weights/edge features, e.g., GraphConv:

conv = HeteroConv({
    edge_type: GraphConv((-1, -1), 64) for edge_type in data.edge_types
}, aggr='sum')

conv(data.x_dict, data.edge_index_dict, edge_weight_dict=data.edge_weight_dict)

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@rusty1s
Comment options

@ChrisJH1
Comment options

@ChrisJH1
Comment options

@rusty1s
Comment options

@ChrisJH1
Comment options

Answer selected by ChrisJH1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants