class_docstr: Beans plant leaf images dataset.
docstr: Yields examples.
docstr_tok: ["Yields","examples","."]
code: def _generate_examples(self, archive):
      """Yields examples."""
      for fname, fobj in archive:
          if not fname.endswith(".jpg"):
              continue
          label = fname.split(os.path.sep)[-2]
          record = {
              "image": fobj,
              "label": label,
          }
          yield fname, record
  
imports: import os
  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(archive) without return types