def __init__(self, **kwargs) -> None:
        """Initialize the metric states.

        Args:
            **kwargs: Additional arguments passed to parent class.
        """
        super().__init__(**kwargs)
        self.anomaly_maps: list[torch.Tensor] = []
        self.anomaly_scores: list[torch.Tensor] = []

        self.add_state("image_mean", torch.empty(0), persistent=True)
        self.add_state("image_std", torch.empty(0), persistent=True)
        self.add_state("pixel_mean", torch.empty(0), persistent=True)
        self.add_state("pixel_std", torch.empty(0), persistent=True)

        self.image_mean = torch.empty(0)
        self.image_std = torch.empty(0)
        self.pixel_mean = torch.empty(0)
        self.pixel_std = torch.empty(0)
Initialize the metric states.

        Args:
            **kwargs: Additional arguments passed to parent class.
        
src/anomalib/metrics/anomaly_score_distribution.py