code: def _write_image(image_path, size):
      img = np.random.randint(255, size=size + (3,), dtype=np.uint8)
      foui.write(img, image_path)
  
file_path: fiftyone/tests/intensive/utils_tests.py
imports: import os
  import numpy
  import pytest
  import eta.core.utils
  import eta.core.video
  import fiftyone
  import fiftyone.utils.image
  import fiftyone.utils.video
label_desc: Use image node_id 2 for calling a global function with example usage: _write_image(image_path, size) without return types