Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
riship committed Jan 10, 2025
2 parents 1ca06cd + 3632cec commit 231e9f4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions torch_geometric/data/large_graph_indexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,14 @@ def to_data(self, node_feature_name: str,
"""
x = torch.Tensor(self.get_node_features(node_feature_name))
node_id = torch.LongTensor(range(len(x)))
<<<<<<< HEAD
print("self.get_edge_features(EDGE_INDEX)[:10]=",self.get_edge_features(EDGE_INDEX)[:10])
=======
print("self.get_edge_features(EDGE_INDEX)[:10]=",
self.get_edge_features(EDGE_INDEX)[:10])
print("self.get_edge_features(EDGE_INDEX)[:10]=",
self.get_edge_features(EDGE_INDEX)[10])
>>>>>>> 3632cec84da62f274e35f3907b1a3b26fc625215
edge_index = torch.t(
torch.LongTensor(self.get_edge_features(EDGE_INDEX)))
print("edge_index tensor of full graph=", edge_index[:, :10])
Expand Down

0 comments on commit 231e9f4

Please sign in to comment.