code: def create_dummy_video_frames(
      num_frames: int, height: int, width: int
  ):
      y, x = torch.meshgrid(
          torch.linspace(-2, 2, height), torch.linspace(-2, 2, width)
      )
      data = []
      for i in range(num_frames):
          xc = float(i) / num_frames
          yc = 1 - float(i) / (2 * num_frames)
          d = torch.exp(-((x - xc) ** 2 + (y - yc) ** 2) / 2) * 255
          data.append(d.unsqueeze(2).repeat(1, 1, 3).byte())
      return torch.stack(data, 0)
  
file_path: pytorchvideo/tests/utils.py
imports: import contextlib
  import os
  import pathlib
  import tempfile
  import av
  import numpy
  import torch
  import torchvision.io
  import torchvision.transforms
  from pytorchvideo.data.dataset_manifest_utils import EncodedVideoInfo, VideoFrameInfo, VideoInfo
  from pytorchvideo.data.utils import thwc_to_cthw
label_desc: Use image node_id 1 for calling a global function with example usage: create_dummy_video_frames(num_frames, height, width) and returns: torch