def __init__(self, classes=None):
        """
        Creates an instance of StreamClassAccuracy metric
        """
        super().__init__(
            reset_at="stream", emit_at="stream", mode="eval", classes=classes
        )

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