class_docstr: CMATERdb dataset.
docstr: Generate CMATERdb examples as dicts.
  
  Args:
    data_path (str): Path to the data files
  
  Yields:
    Generator yielding the next examples
docstr_tok: ["Generate","CMATERdb","examples","as","dicts",".","Args",":","data_path","(","str",")",":","Path","to","the","data","files","Yields",":","Generator","yielding","the","next","examples"]
code: def _generate_examples(self, data_path):
      """Generate CMATERdb examples as dicts.
  
      Args:
        data_path (str): Path to the data files
  
      Yields:
        Generator yielding the next examples
      """
      with tf.io.gfile.GFile(data_path, mode="rb") as f:
          data = np.load(f)
  
      data = list(zip(data["images"], data["labels"]))
      for index, (image, label) in enumerate(data):
          yield index, {
              "image": image,
              "label": label,
          }
  
file_path: datasets/tensorflow_datasets/image_classification/cmaterdb.py
imports: 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 Cmaterdb obj's underlying member method code with example usage: obj._generate_examples(data_path) without return types