def __init__(self, streams: Iterable[TCLStream]):
        """Creates an instance of a Continual Learning benchmark.

        :param streams: a list of streams.
        """
        self._streams: Dict[str, TCLStream] = dict()
        for s in streams:
            self._streams[s.name] = s
        for s in streams:
            self.__dict__[s.name + "_stream"] = s
Creates an instance of a Continual Learning benchmark.

        :param streams: a list of streams.
        
avalanche/benchmarks/scenarios/generic_scenario.py