about attention
xinsheng44 opened this issue · comments
Hi @lao-sheng,
The code section you highlight give the outputs of Q, K, V projections.
The implementation for node to attend to its local neighborhood is carried out by this function, which is just followed after the projections.
graphtransformer/layers/graph_transformer_layer.py
Lines 51 to 59 in 3c83b4b
oh,i see.thanks!