code: def infinite_loop(train_ds):
      while True:
          for data in train_ds.generator():
              yield data
  
file_path: PGL/ogb_examples/lsc/MAG240M/utils.py
imports: import os
  import paddle
  import paddle.distributed
  import glob
  import shutil
  from pgl.utils.logger import log
label_desc: Use image node_id 4 for calling a global function with example usage: infinite_loop(train_ds) without return types