pyg-team/pytorch_geometric

Support `AttentionalAggregation` for `HeteroConv`

Open

#7.414 aberto em 23 de mai. de 2023

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)Python (3.514 forks)batch import
1 - Priority P1featurehelp wanted

Métricas do repositório

Stars
 (19.985 stars)
Métricas de merge de PR
 (Mesclagem média 35d 1h) (14 fundiu PRs em 30d)

Description

🚀 The feature, motivation and pitch

use pyg == 2.3.0
conv = HeteroConv({
    edge_type: GraphConv(-1, second_channels) for edge_type in metadata[1]
}, aggr='attentional')

In pyg 2.3.0, can not use aggr.AttentionalAggregation to aggregation node feature from different edge type in above code, right ? (may i thought is wrong...), so can you give me some advice on how to integrate node features from different edges in pyg ?

Alternatives

No response

Additional context

No response

Guia do colaborador