class_docstr: Extends the MetricCollection class for use in the Anomalib pipeline.
code: def __init__(self, *args, **kwargs) -> None:
      super().__init__(*args, **kwargs)
      self._update_called = False
      self._threshold = 0.5
  
file_path: anomalib/src/anomalib/utils/metrics/collection.py
imports: from torchmetrics import MetricCollection
label_desc: Use image node_id 1 to create a new AnomalibMetricCollection object from inherited base classes: MetricCollection with example: obj = AnomalibMetricCollection()