code: def data_generator(data):
      """Simple data generator"""
      while True:
          for i, ele in enumerate(data):
              yield data[i]
  
file_path: delta/delta/data/datasets/utils.py
imports: import os
  import pickle
  import numpy
  from pathlib import Path
  import tempfile
  from absl import logging
  from sklearn.model_selection import train_test_split
label_desc: Use image node_id 1 for calling a global function with example usage: data_generator(data) without return types