class_docstr: Generate Anomaly Heatmap.
docstr: Pixel Level Anomaly Heatmap.
  
  Args:
      patch_scores (Tensor): Patch-level anomaly scores
  
  Returns:
      Tensor: Map of the pixel-level anomaly scores
code: def compute_anomaly_map(self, patch_scores: Tensor) -> Tensor:
      """Pixel Level Anomaly Heatmap.
  
      Args:
          patch_scores (Tensor): Patch-level anomaly scores
  
      Returns:
          Tensor: Map of the pixel-level anomaly scores
      """
      anomaly_map = F.interpolate(
          patch_scores, size=(self.input_size[0], self.input_size[1])
      )
      anomaly_map = self.blur(anomaly_map)
  
      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 2 for calling the AnomalyMapGenerator obj's underlying member method code with example usage: obj.compute_anomaly_map(patch_scores) and returns: anomaly_map