code: def _generate_examples(self, **gen_kwargs):
      for idx, ex in enumerate(self.config.generator(**gen_kwargs)):
          yield idx, ex
  
file_path: datasets/src/datasets/packaged_modules/generator/generator.py
imports: from dataclasses import dataclass
  from typing import Callable, Optional
  import datasets
label_desc: Use image node_id 3 for calling the Generator obj's underlying member method code with example usage: obj._generate_examples() without return types