seongjunyun / Graph_Transformer_Networks

Graph Transformer Networks (Authors' PyTorch implementation for the NeurIPS 19 paper)
960 stars 179 forks source link

how to generate candidate adjacency matrices #28

Open lihuiliullh opened 2 years ago

lihuiliullh commented 2 years ago

May I know how you generate candidate adjacency matrices? Suppose the graph contains N different edge types. Will you generate N different candidate adjacency matrices while each candidate adjacency matrix denotes the adjacency information of that edge type?

Besides, if the graph is large, the adjacency matrix should be large. It is impossible to store the whole matrix in memory. When you train the model, do you use message passing instead of matrix multiplication?