class_docstr: Generate Anomaly Heatmap.
docstr: Returns anomaly_map and anomaly_score.
  
  Args:
      patch_scores (Tensor): Patch-level anomaly scores
  
  Example
  >>> anomaly_map_generator = AnomalyMapGenerator(input_size=input_size)
  >>> map = anomaly_map_generator(patch_scores=patch_scores)
  
  Returns:
      Tensor: anomaly_map
code: def forward(self, patch_scores: Tensor) -> Tensor:
      """Returns anomaly_map and anomaly_score.
  
      Args:
          patch_scores (Tensor): Patch-level anomaly scores
  
      Example
      >>> anomaly_map_generator = AnomalyMapGenerator(input_size=input_size)
      >>> map = anomaly_map_generator(patch_scores=patch_scores)
  
      Returns:
          Tensor: anomaly_map
      """
      anomaly_map = self.compute_anomaly_map(patch_scores)
      return anomaly_map
  
file_path: anomalib/src/anomalib/models/patchcore/anomaly_map.py
imports: from __future__ import annotations
  import torch.nn.functional
  from omegaconf import ListConfig
  from torch import Tensor, nn
  from anomalib.models.components import GaussianBlur2d
label_desc: Use image node_id 3 for calling the AnomalyMapGenerator obj's underlying member method code with example usage: obj.forward(patch_scores) and returns: anomaly_map