code: def __iter__(self):
      it = self.generator_func()
      yield from it
  
imports: from torch.utils.data import IterableDataset
label_desc: Use image node_id 2 for calling the TorchIterableDataset obj's underlying member method code with example usage: obj.__iter__() without return types