pyg-team/pytorch_geometric

Support `AttentionalAggregation` for `HeteroConv`

Open

#7,414 创建于 2023年5月23日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)Python (3,514 fork)batch import
1 - Priority P1featurehelp wanted

仓库指标

Star
 (19,985 star)
PR 合并指标
 (平均合并 35天 1小时) (30 天内合并 14 个 PR)

描述

🚀 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

贡献者指南