comment edgelist
This commit is contained in:
parent
deadd50d24
commit
9601a3c18d
@ -692,8 +692,8 @@ class Dataset(InMemoryDataset):
|
||||
if adj[start][end] == 1:
|
||||
edges_list.append((start, end))
|
||||
edge_type.append(1)
|
||||
edges_list.append((end, start))
|
||||
edge_type.append(1)
|
||||
# edges_list.append((end, start))
|
||||
# edge_type.append(1)
|
||||
|
||||
edge_index = torch.tensor(edges_list, dtype=torch.long).t()
|
||||
edge_type = torch.tensor(edge_type, dtype=torch.long)
|
||||
|
Loading…
Reference in New Issue
Block a user