Is is possible to use a vector as edge feature when using GAT for graph classification?

Hi, I’ve used both node and edge features for GCN based graph classification before, and it worked well. But I’m wondering if I can use both of them in GAT models.

Attention scores can be treated as edge feature/weight, right? And I didn’t see the tutorial dealing with edge feature.

Is it possible? Is there some blogs or codes I can refer to? Thank you.

Are these edges weights or non-weight edge features?

Thank you for your reply. They are non-weight edge features.

I think you can combine graph.edata['e'] with your edge features here.

Thank you. I will try.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.