def __init__(
        self, value: TCov, use_in_train: bool = False, use_in_eval: bool = False
    ):
        """Init.

        :param value: attribute value.
        :param use_in_train: if True the attribute is available at training
            time.
        :param use_in_eval: if True the attribute is available at evaluation
            time.
        """
        self.value: TCov = value
        self.use_in_train: bool = use_in_train
        self.use_in_eval: bool = use_in_eval
Init.

        :param value: attribute value.
        :param use_in_train: if True the attribute is available at training
            time.
        :param use_in_eval: if True the attribute is available at evaluation
            time.
        
avalanche/benchmarks/scenarios/generic_scenario.py