class_docstr: ImageNet validation images with ReaL labels.
class_docstr_tok: ["ImageNet","validation","images","with","ReaL","labels","."]
code: def _generate_examples(self, archive, original_labels, real_labels):
      for fname, fobj in archive:
          record = {
              "file_name": fname,
              "image": fobj,
              "original_label": original_labels[fname],
              "real_label": real_labels[fname],
          }
          yield fname, record
  
file_path: datasets/tensorflow_datasets/datasets/imagenet2012_real/imagenet2012_real_dataset_builder.py
imports: import json
  import os
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  from tensorflow_datasets.datasets.imagenet2012 import imagenet_common
  import tensorflow_datasets.public_api
label_desc: Use image node_id 4 for calling the Builder obj's underlying member method code with example usage: obj._generate_examples(archive, original_labels, real_labels) without return types