code: def load_timg(file_name):
      """Loads the image with OpenCV and converts to torch.Tensor."""
      assert os.path.isfile(
          file_name
      ), f"Invalid file {file_name}"  # nosec
      # load image with OpenCV
      img = cv2.imread(file_name, cv2.IMREAD_COLOR)
      # convert image to torch tensor
      tensor = K.image_to_tensor(img, None).float() / 255.0
      return K.color.bgr_to_rgb(tensor)
  
imports: import os
  import cv2
  import imageio
  import torch
  import kornia
  import kornia.geometry
label_desc: Use image node_id 1 for calling a global function with example usage: load_timg(file_name) and returns: K