graphdeeplearning / graphtransformer

Graph Transformer Architecture. Source code for "A Generalization of Transformer Networks to Graphs", DLG-AAAI'21.
https://arxiv.org/abs/2012.09699
MIT License
872 stars 134 forks source link

node update #25

Open zhouxiaozhang opened 1 year ago

zhouxiaozhang commented 1 year ago

g.send_and_recv(eids, fn.src_mul_edge('V_h', 'score', 'V_h'), fn.sum('V_h', 'wV')) this only update target node; head_out = g.ndata['wV']/g.ndata['z'] so this only update target node;the source node not update?