class_docstr: Optical Flow extractor.
  
  Computes the pixel displacement between 2 consecutive frames from a video clip.
code: def __init__(self, *args, **kwargs) -> None:
      super().__init__(*args, **kwargs)
  
      weights = Raft_Large_Weights.DEFAULT
      self.model = raft_large(weights=weights)
      self.transforms = weights.transforms()
  
file_path: anomalib/src/anomalib/models/ai_vad/flow.py
imports: from __future__ import annotations
  import torch
  import torchvision.transforms.functional
  from torch import Tensor, nn
  from torchvision.models.optical_flow import Raft_Large_Weights, raft_large
label_desc: Use image node_id 1 to create a new FlowExtractor object from inherited base classes: nn with example: obj = FlowExtractor()