class_docstr: Biological 8-class classification problem.
code: def _generate_examples(self, root_dir):
      root_dir = os.path.join(root_dir, _TILES_SUBDIR)
      for i, class_name in enumerate(_CLASS_NAMES):
          class_dir = os.path.join(
              root_dir, _class_subdir(i, class_name)
          )
          fns = tf.io.gfile.listdir(class_dir)
  
          for fn in sorted(fns):
              image = _load_tif(os.path.join(class_dir, fn))
              record = {
                  "image": image,
                  "label": class_name,
                  "filename": fn,
              }
              yield "%s/%s" % (class_name, fn), record
  
file_path: datasets/tensorflow_datasets/image_classification/colorectal_histology.py
imports: import os
  import numpy
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
label_desc: Use image node_id 3 for calling the ColorectalHistology obj's underlying member method code with example usage: obj._generate_examples(root_dir) without return types