code: def __init__(self):
      super().__init__()
  
      self.transforms = T.Compose(
          [
              T.PILToTensor(),
              T.ConvertImageDtype(torch.float32),
              T.Normalize(mean=0.5, std=0.5),  # map [0, 1] into [-1, 1]
              T.ValidateModelInput(),
          ]
      )
  
file_path: vision/references/optical_flow/presets.py
imports: import torch
  import transforms
label_desc: Use image node_id 1 to create a new OpticalFlowPresetEval object from inherited base classes: torch.nn with example: obj = OpticalFlowPresetEval()