pyg-team / pytorch_geometric

Graph Neural Network Library for PyTorch
https://pyg.org
MIT License
21.18k stars 3.64k forks source link

GAT - Support for directed graphs ? In GATConv, make eij as 0, if there is no edge from node i to node j ? #866

Open udaymallappa opened 4 years ago

udaymallappa commented 4 years ago

🚀 Feature

In GATConv, can we make eij as 0, if there is no edge from node i to node j ?

Motivation

Applications for graphs that are directed, both cyclic and acyclic graphs.

rusty1s commented 4 years ago

That would correspond to a fully-connected graph, wouldn't it? What is the use-case here?

udaymallappa commented 4 years ago

In particular, I am referring to directed edges. Why would directed edge make it a fully-connected graph ?