code: def write_filled_jpeg_file(
      path: str, rgb: Collection[int], image_size: int
  ):
      """Writes an image to a file path.
  
      Args:
        path: location to write the image
        rgb: A tuple or array of rgb values in [r, g, b] format
        image_size: Int specifying the edge of the square image
      """
      tf.keras.preprocessing.image.save_img(
          path=path,
          x=fill_image(rgb, image_size),
          data_format="channels_last",
          file_format="jpeg",
      )
  
imports: from typing import Collection
  import numpy
  import tensorflow
label_desc: Use image node_id 2 for calling a global function with example usage: write_filled_jpeg_file(path, rgb, image_size) without return types