code: def read_image(path: str, channels: int = 3):
      """Reads an image file from the path and return the rgb image in tf.Tensor
      format."""
      img: tf.Tensor = tf.io.read_file(path)
      img: tf.Tensor = tf.io.decode_image(
          img, channels=channels, expand_animations=False
      )
      return img
  
label_desc: Use image node_id 1 for calling a global function with example usage: read_image(path, channels) and returns: img