From e495331387704780e27427202585853f69467f9d Mon Sep 17 00:00:00 2001 From: jan-meissner <96341562+jan-meissner@users.noreply.github.com> Date: Wed, 29 Jun 2022 18:02:24 +0200 Subject: [PATCH] Update collate.py Removed old/wrong code comment. --- torch_geometric/data/collate.py | 1 - 1 file changed, 1 deletion(-) diff --git a/torch_geometric/data/collate.py b/torch_geometric/data/collate.py index 9ca297b71bc9..fd253301d8bf 100644 --- a/torch_geometric/data/collate.py +++ b/torch_geometric/data/collate.py @@ -218,7 +218,6 @@ def _batch_and_ptr( elif (isinstance(slices, Sequence) and not isinstance(slices, str) and isinstance(slices[0], Tensor)): # Recursively batch elements of lists. - # outer list comprehension to convert list of tuples to list of lists batch, ptr = [], [] for s in slices: sub_batch, sub_ptr = _batch_and_ptr(s, device)