class_docstr: COIL-100 Image Dataset Class.
docstr: Generate images and labels for splits.
docstr_tok: ["Generate","images","and","labels","for","splits","."]
code: def _generate_examples(self, data_dir_path):
      """Generate images and labels for splits."""
      for file_name in tf.io.gfile.listdir(data_dir_path):
          if file_name.endswith(".png"):
              image = os.path.join(data_dir_path, file_name)
              angle_label = file_name.split("_")[2].split(".")[0]
              object_id = file_name.split("_")[0]
              yield file_name, {
                  "image": image,
                  "angle_label": angle_label,
                  "object_id": object_id,
                  "angle": int(angle_label),
              }
  
file_path: datasets/tensorflow_datasets/datasets/coil100/coil100_dataset_builder.py
imports: from __future__ import annotations
  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 Builder obj's underlying member method code with example usage: obj._generate_examples(data_dir_path) without return types