We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c53947e commit e495331Copy full SHA for e495331
torch_geometric/data/collate.py
@@ -218,7 +218,6 @@ def _batch_and_ptr(
218
elif (isinstance(slices, Sequence) and not isinstance(slices, str)
219
and isinstance(slices[0], Tensor)):
220
# Recursively batch elements of lists.
221
- # outer list comprehension to convert list of tuples to list of lists
222
batch, ptr = [], []
223
for s in slices:
224
sub_batch, sub_ptr = _batch_and_ptr(s, device)
0 commit comments