Skip to content

Commit

Permalink
Merge branch 'rebase-txt2kg' of https://github.com/pyg-team/pytorch_g…
Browse files Browse the repository at this point in the history
…eometric into rebase-txt2kg
  • Loading branch information
riship committed Jan 10, 2025
2 parents 7b2d2f6 + 7db3248 commit 673f8fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion torch_geometric/data/large_graph_indexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,8 @@ 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)))
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])
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 673f8fb

Please sign in to comment.