zfjsail / gae-pytorch

Graph Auto-Encoder in PyTorch
MIT License
417 stars 79 forks source link

adj_label #10

Open lihuiliullh opened 1 year ago

lihuiliullh commented 1 year ago

May I know why adding self loop to adj_train to get adj_label?

adj_label = adj_train + sp.eye(adj_train.shape[0])