def __init__(self, constant_value: DataT, size: int):
        """Constructor

        :param constant_value: the fixed value
        :param size: length of the sequence
        """
        self._constant_value = constant_value
        self._size = size
        self._can_flatten = False
        self._indices = None
Constructor

        :param constant_value: the fixed value
        :param size: length of the sequence
        
avalanche/benchmarks/utils/flat_data.py