code: def _generate_jpeg(example_id, height, width):
      """Generate a fake jpeg image for the given example id."""
      jpeg = fake_data_utils.get_random_jpeg(height=height, width=width)
      filepath = os.path.join(
          _output_dir(),
          "BCCD_Dataset-1.0/BCCD/JPEGImages/BloodImage_{:05d}.jpg".format(
              example_id
          ),
      )
      dirname = os.path.dirname(filepath)
      if not tf.io.gfile.exists(dirname):
          tf.io.gfile.makedirs(dirname)
      tf.io.gfile.copy(jpeg, filepath, overwrite=True)
  
file_path: datasets/tensorflow_datasets/datasets/bccd/dummy_data_generation.py
imports: import os
  import random
  from absl import app
  from absl import flags
  from tensorflow_datasets.core import utils
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  from tensorflow_datasets.datasets.bccd import bccd_dataset_builder
  import tensorflow_datasets.public_api
  from tensorflow_datasets.testing import fake_data_utils
label_desc: Use image node_id 3 for calling a global function with example usage: _generate_jpeg(example_id, height, width) without return types