def __init__(self, classes=None):
        """
        Creates an instance of the RunningEpochClassAccuracy metric.
        """

        super().__init__(
            reset_at="epoch", emit_at="iteration", mode="train", classes=classes
        )

        Creates an instance of the RunningEpochClassAccuracy metric.
        
avalanche/evaluation/metrics/class_accuracy.py