nnzhan / MTGNN

MIT License
798 stars 222 forks source link

Why using transpose of adjacent matrix in your GCN module? #29

Open tdingquan opened 2 years ago

tdingquan commented 2 years ago

https://github.com/nnzhan/MTGNN/blob/12869c7fd4f0d2b0f7d30a4498399eeb79f54392/net.py#L121

Dear author,

As provided in the above link, I notice that you use the transpose of the adjacent matrix to calculate another GCN result.

Why is this step necessary and what is the difference between using an undirected acyclic graph in a single GCN and using two GCN with a DAG and its transpose?