class_docstr: Oxford 102 category flower dataset.
docstr: Yields examples.
docstr_tok: ["Yields","examples","."]
code: def _generate_examples(
      self, images_dir_path, labels_path, setid_path, split_name
  ):
      """Yields examples."""
      with tf.io.gfile.GFile(labels_path, "rb") as f:
          labels = tfds.core.lazy_imports.scipy.io.loadmat(f)["labels"][
              0
          ]
      with tf.io.gfile.GFile(setid_path, "rb") as f:
          examples = tfds.core.lazy_imports.scipy.io.loadmat(f)[
              split_name
          ][0]
  
      for image_id in examples:
          file_name = "image_%05d.jpg" % image_id
          record = {
              "image": os.path.join(images_dir_path, file_name),
              "label": labels[image_id - 1] - 1,
              "file_name": file_name,
          }
          yield file_name, record
  
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, labels_path, setid_path, split_name) without return types