class_docstr: Imagewang contains Imagenette and Imagewoof combined.
docstr: Yields examples.
code: def _generate_examples(self, datapath):
      """Yields examples."""
      for label in tf.io.gfile.listdir(datapath):
          for fpath in tf.io.gfile.glob(
              os.path.join(datapath, label, "*.JPEG")
          ):
              fname = os.path.basename(fpath)
              record = {
                  "image": fpath,
                  "label": label,
              }
              yield fname, record
  
file_path: datasets/tensorflow_datasets/datasets/imagewang/imagewang_dataset_builder.py
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(datapath) without return types