def flatten(self):
        return self._transform(transformations.flatten_t())
Flattens a sequence of sequences to a single sequence of elements.
dataset/ETHPy150Open EntilZha/PyFunctional/functional/pipeline.py/Sequence.flatten