code: def decode_resize_cuvid(height, width, seek):
      s = StreamReader(test_src)
      s.add_video_stream(
          1,
          decoder="h264_cuvid",
          decoder_option={"resize": f"{width}x{height}"},
          hw_accel="cuda:0",
      )
      s.seek(seek)
      s.fill_buffer()
      (chunk,) = s.pop_chunks()
      return chunk.cpu()
  
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 7 for calling a global function with example usage: decode_resize_cuvid(height, width, seek) and returns: chunk