class_docstr: Defines a stream that behaves like a :class:`Sequence`.
  
  This is the most common base class for streams in Avalanche as
  it implements the basic indexing and slicing functionalities
  for streams.
class_docstr_tok: ["Defines","a","stream","that","behaves","like","a",":","class",":","`","Sequence","`",".","This","is","the","most","common","base","class","for","streams","in","Avalanche","as","it","implements","the","basic","indexing","and","slicing","functionalities","for","streams","."]
code: def __iter__(self) -> Iterator[TCLExperience]:
      exp: TCLExperience
      for i in range(len(self)):
          exp = self[i]
          yield exp
  
imports: from abc import abstractmethod, ABC
  from contextlib import contextmanager
  from copy import copy
  from enum import Enum
  from types import GeneratorType
  from typing import Any, Dict, Generator, Iterator, List, Iterable, Optional, Sequence, Tuple, TypeVar, Union, Generic, overload
  from typing_extensions import final
  import numpy
  from avalanche.benchmarks.utils.dataset_utils import slice_alike_object_to_indices
label_desc: Use image node_id 2 for calling the SequenceCLStream obj's underlying member method code with example usage: obj.__iter__() without return types