class_docstr: Generate Anomaly Heatmap.
code: def __init__(self, input_size: ListConfig | tuple) -> None:
      super().__init__()
      self.input_size = (
          input_size
          if isinstance(input_size, tuple)
          else tuple(input_size)
      )
  
file_path: anomalib/src/anomalib/models/fastflow/anomaly_map.py
imports: from __future__ import annotations
  import torch
  import torch.nn.functional
  from omegaconf import ListConfig
  from torch import Tensor, nn
label_desc: Use image node_id 1 to create a new AnomalyMapGenerator object from inherited base classes: nn with example: obj = AnomalyMapGenerator(input_size)