def __init__(self):
        """
        Creates an instance of ExperienceLoss metric
        """
        super(ExperienceLoss, self).__init__(
            reset_at="experience", emit_at="experience", mode="eval"
        )

        Creates an instance of ExperienceLoss metric
        
avalanche/evaluation/metrics/loss.py