From eed254d02ccad0d0d3640655ba17b8e487b54c46 Mon Sep 17 00:00:00 2001 From: Albert Zeyer Date: Fri, 29 Nov 2024 16:11:51 +0100 Subject: [PATCH] MetaDataset, cleanup unused _is_same_seq_name_for_each_dataset --- returnn/datasets/meta.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/returnn/datasets/meta.py b/returnn/datasets/meta.py index 9865ca228..a57f2a640 100644 --- a/returnn/datasets/meta.py +++ b/returnn/datasets/meta.py @@ -289,16 +289,6 @@ def __init__( self.orig_seq_order_is_initialized = False self.seq_list_ordered = None # type: typing.Optional[typing.Dict[str,typing.List[str]]] - def _is_same_seq_name_for_each_dataset(self) -> bool: - """ - This should be fast. - """ - main_list = self.seq_list_original[self.default_dataset_key] - for key, other_list in self.seq_list_original.items(): - if main_list is not other_list: - return False - return True - def _load_seq_list(self, seq_list_file: Optional[str] = None) -> Dict[str, List[str]]: """ :param seq_list_file: