def update(self, predictions: torch.Tensor, *args, **kwargs) -> None:
        """Update running min and max values with new predictions.

        Args:
            predictions (torch.Tensor): New tensor of values to include in min/max
                tracking
            *args: Additional positional arguments (unused)
            **kwargs: Additional keyword arguments (unused)
        """
        del args, kwargs  # These variables are not used.

        self.min = torch.min(self.min, torch.min(predictions))
        self.max = torch.max(self.max, torch.max(predictions))
Update running min and max values with new predictions.

        Args:
            predictions (torch.Tensor): New tensor of values to include in min/max
                tracking
            *args: Additional positional arguments (unused)
            **kwargs: Additional keyword arguments (unused)
        
src/anomalib/metrics/min_max.py