def __init__(self):
        """
        Creates an instance of the MAC metric.
        """
        self.hooks = []
        self._compute_cost: Optional[int] = 0

        Creates an instance of the MAC metric.
        
avalanche/evaluation/metrics/mac.py