Skip to content

Commit 6c78f67

Browse files
committed
linting
1 parent 98626fe commit 6c78f67

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/python/pytorch/graphbolt/impl/test_neighbor_sampler.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ def get_hetero_graph(include_original_edge_ids):
2626
"mask": torch.BoolTensor([1, 0, 1, 0, 1, 1, 1, 0, 1, 1]),
2727
}
2828
if include_original_edge_ids:
29-
edge_attributes[gb.ORIGINAL_EDGE_ID] = torch.arange(indices.size(0), 0, -1)
29+
edge_attributes[gb.ORIGINAL_EDGE_ID] = torch.arange(
30+
indices.size(0), 0, -1
31+
)
3032
node_type_offset = torch.LongTensor([0, 1, 3, 6])
3133
return gb.fused_csc_sampling_graph(
3234
indptr,

0 commit comments

Comments
 (0)