<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _generate_examples(self, label_images):
 """Generate example for each image in the dict."""


    for label, image_paths in label_images.items():
      for image_path in image_paths:
        yield {
            "image": image_path,
            "label": label,
        }