Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Skeleton003 committed Feb 6, 2024
1 parent 17d8d2d commit c665243
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions python/dgl/graphbolt/impl/ondisk_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,7 @@ def _graph_data_to_fused_csc_sampling_graph(
indptr, indices, edge_ids = sparse_matrix.csc()
del sparse_matrix
node_type_offset = torch.tensor(node_type_offset)
type_per_edge = torch.index_select(
coo_etype, dim=0, index=edge_ids
)
type_per_edge = torch.index_select(coo_etype, dim=0, index=edge_ids)
del coo_etype
node_attributes = {}
edge_attributes = {}
Expand Down

0 comments on commit c665243

Please sign in to comment.