Open perveil opened 2 years ago
when the node num is large,it can`t compte
Hi, thanks for your questions. The rel_rec and rel_send are the index (one hot) vectors that are used to extract the embeddings of sender and receiver:
receivers = torch.matmul(self.rel_rec, x) senders = torch.matmul(self.rel_send, x)
Each sender and receiver are the two sensor nodes from the graph. You could explore other way to get the embeddings of all nodes.
hi!I have some questions with the above code,so rel_rec 、rel_send `s mean is what? Thank you for your reply!