code: def yuv_to_rgb(frames):
      frames = frames.cpu().to(torch.float)
      y = frames[..., 0, :, :]
      u = frames[..., 1, :, :]
      v = frames[..., 2, :, :]
  
      y /= 255
      u = u / 255 - 0.5
      v = v / 255 - 0.5
  
      r = y + 1.14 * v
      g = y + -0.396 * u - 0.581 * v
      b = y + 2.029 * u
  
      rgb = torch.stack([r, g, b], -1)
      rgb = (rgb * 255).clamp(0, 255).to(torch.uint8)
      return rgb.numpy()
  
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 2 for calling a global function with example usage: yuv_to_rgb(frames) and returns: rgb