graphtransformer icon indicating copy to clipboard operation
graphtransformer copied to clipboard

Why did you divide this term?

Open sperfu opened this issue 4 years ago • 1 comments

Hi there,

I was reading your code on graphtransformer, I'm kind of curious on the operation shown below. Why did you divide the wV score by the w(or so called 'score' term), I didn't see any terms shown in your equation 4 or equation 9 in the paper. Could you illustrated that? https://github.com/graphdeeplearning/graphtransformer/blob/c9cd49368eed4507f9ae92a137d90a7a9d7efc3a/layers/graph_transformer_edge_layer.py#L112

Thanks

sperfu avatar Mar 24 '22 03:03 sperfu

Hi @sperfu, it is part of the softmax term. Please refer to this issue for the pointers to the explanation.

vijaydwivedi75 avatar Apr 01 '22 09:04 vijaydwivedi75