class_docstr: Generate Anomaly Heatmap and segmentation.
class_docstr_tok: ["Generate","Anomaly","Heatmap","and","segmentation","."]
code: def forward(self, latent_variables: list[Tensor]) -> Tensor:
      return self.compute_anomaly_map(latent_variables)
  
file_path: anomalib/src/anomalib/models/uflow/anomaly_map.py
imports: from __future__ import annotations
  from typing import List
  import numpy
  import scipy.stats
  import torch
  import torch.nn.functional
  from mpmath import binomial, mp
  from omegaconf import ListConfig
  from scipy import integrate
  from torch import Tensor, nn
label_desc: Use image node_id 2 for calling the AnomalyMapGenerator obj's underlying member method code with example usage: obj.forward(latent_variables) and returns: self