class_docstr: Omniglot dataset.
class_docstr_tok: ["Omniglot","dataset","."]
code: def _generate_examples(self, directory):
      for example in _walk_omniglot_dir(directory):
          (
              alphabet,
              alphabet_char_id,
              label,
              image_path,
              image_id,
          ) = example
          record = {
              "image": image_path,
              "alphabet": alphabet,
              "alphabet_char_id": alphabet_char_id,
              "label": label,
          }
          yield image_id, record
  
file_path: datasets/tensorflow_datasets/image_classification/omniglot.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 Omniglot obj's underlying member method code with example usage: obj._generate_examples(directory) without return types