class_docstr: MIT Scene Parsing Benchmark dataset.
code: def _generate_examples(self, images_dir_path, annotations_dir_path):
      for image_file in tf.io.gfile.listdir(images_dir_path):
          # get the filename
          image_id = os.path.split(image_file)[1].split(".")[0]
          yield image_id, {
              "image": os.path.join(
                  images_dir_path, "{}.jpg".format(image_id)
              ),
              "annotation": os.path.join(
                  annotations_dir_path, "{}.png".format(image_id)
              ),
          }
  
imports: import os
  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 Builder obj's underlying member method code with example usage: obj._generate_examples(images_dir_path, annotations_dir_path) without return types