def __init__(self, max_size: int):
        """Init.

        :param max_size: max number of input samples in the replay memory.
        """
        self.max_size = max_size
        """ Maximum size of the buffer. """
        self._buffer: AvalancheDataset = concat_datasets([])
Init.

        :param max_size: max number of input samples in the replay memory.
        
avalanche/training/storage_policy.py