Skip to content

Commit e495331

Browse files
authored
Update collate.py
Removed old/wrong code comment.
1 parent c53947e commit e495331

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

torch_geometric/data/collate.py

-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,6 @@ def _batch_and_ptr(
218218
elif (isinstance(slices, Sequence) and not isinstance(slices, str)
219219
and isinstance(slices[0], Tensor)):
220220
# Recursively batch elements of lists.
221-
# outer list comprehension to convert list of tuples to list of lists
222221
batch, ptr = [], []
223222
for s in slices:
224223
sub_batch, sub_ptr = _batch_and_ptr(s, device)

0 commit comments

Comments
 (0)