code: def _generate_image(data, fdir, fname):
      dirname = os.path.join(_output_dir(data), fdir)
      if not os.path.exists(dirname):
          os.makedirs(dirname)
      tf.io.gfile.copy(
          fake_data_utils.get_random_jpeg(480, 720),
          os.path.join(dirname, fname),
          overwrite=True,
      )
  
file_path: datasets/tensorflow_datasets/testing/fake_data_generation/flic.py
imports: import os
  from absl import app
  from absl import flags
  import numpy
  import scipy.io
  from tensorflow_datasets.core import utils
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  from tensorflow_datasets.testing import fake_data_utils
label_desc: Use image node_id 2 for calling a global function with example usage: _generate_image(data, fdir, fname) without return types