code: def __iter__(self):
      while True:
          yield next(self._infinite_iterator)
  
file_path: generalized-moe/domainbed/lib/fast_data_loader.py
imports: import torch
label_desc: Use image node_id 2 for calling the InfiniteDataLoader obj's underlying member method code with example usage: obj.__iter__() without return types