code: def run_resize_tests(src):
      print(f"Testing: {os.path.basename(src)}")
      height, width = 224, 224
      print("* Software decoding with PyTorch interpolate")
      cpu_resize1 = test_decode_then_resize(
          src, height=height, width=width
      )
      print("* Software decoding with FFmpeg scale")
      cpu_resize2 = test_decode_and_resize(
          src, height=height, width=width
      )
      print("* Hardware decoding with resize")
      cuda_resize = test_hw_decode_and_resize(
          src,
          decoder="h264_cuvid",
          decoder_option={"resize": f"{width}x{height}"},
      )
      return [cpu_resize1, cpu_resize2, cuda_resize]
  
imports: import torch
  import torchaudio
  import os
  import time
  import matplotlib.pyplot
  from torchaudio.io import StreamReader
  from torchaudio.utils import ffmpeg_utils
label_desc: Use image node_id 16 for calling a global function with example usage: run_resize_tests(src) and returns: list