code: def main(_):
      base_dir = os.path.join(
          histology_dir(False), colorectal_histology._TILES_SUBDIR
      )
      for ci, class_name in enumerate(
          colorectal_histology._CLASS_NAMES
      ):
          subdir = os.path.join(
              base_dir,
              colorectal_histology._class_subdir(ci, class_name),
          )
          tf.io.gfile.makedirs(subdir)
  
          for i, image_data in enumerate(
              make_images(2, colorectal_histology._TILES_SIZE)
          ):
              fn = "image%d.tif" % i
              write_image(os.path.join(subdir, fn), image_data)
  
      base_dir = os.path.join(
          histology_dir(True), colorectal_histology._LARGE_SUBDIR
      )
      tf.io.gfile.makedirs(base_dir)
      write_image(
          os.path.join(base_dir, "large_image.tif"),
          make_images(1, colorectal_histology._LARGE_SIZE)[0],
      )
  
file_path: datasets/tensorflow_datasets/testing/fake_data_generation/colorectal_histology.py
imports: import os
  from absl import app
  from absl import flags
  import numpy
  from tensorflow_datasets.core import lazy_imports_lib
  from tensorflow_datasets.core import utils
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  from tensorflow_datasets.image_classification import colorectal_histology
label_desc: Use image node_id 5 for calling a global function with example usage: main(_) without return types