Graphormer icon indicating copy to clipboard operation
Graphormer copied to clipboard

Command-line Tools Dataset Documentation

Open rdh1115 opened this issue 2 years ago • 1 comments

Hi,

Can you clarify what multi_hop edge type means? The documentation is also unclear on what --num-edge-dis is, which is used to initialize this embedding during edge encoding attention bias calculation.

if self.edge_type == "multi_hop":
            self.edge_dis_encoder = nn.Embedding(
                num_edge_dis * num_heads * num_heads, 1
            )

Thank you!

rdh1115 avatar Mar 18 '23 08:03 rdh1115

同问,求解答 @zhengsx

JeremySun1224 avatar Sep 09 '23 05:09 JeremySun1224