def __getitem__(self, index):
        """Index dataset.

        :param index: Index
        :return: tuple (TrainSubSeqquenceDataset, TestSubSequenceDataset),
            the i-th subsequence data, as requested by the provided index.
        """
        return (
            self.train_sub_sequence_datasets[index],
            self.test_sub_sequence_datasets[index],
        )
Index dataset.

        :param index: Index
        :return: tuple (TrainSubSeqquenceDataset, TestSubSequenceDataset),
            the i-th subsequence data, as requested by the provided index.
        
avalanche/benchmarks/datasets/endless_cl_sim/endless_cl_sim.py