code: def shuffled_indices(n):
      indices = {}
      for i in range(n - 1, -1, -1):
          j = random.randint(0, i)
          if i not in indices:
              indices[i] = i
          if j not in indices:
              indices[j] = j
          indices[i], indices[j] = indices[j], indices[i]
          yield indices[i]
          del indices[i]
  
file_path: tinygrad/examples/mlperf/dataloader.py
imports: import random, time, ctypes, struct
  import numpy
  from PIL import Image
  from tqdm import tqdm
  import pickle
  from tinygrad import dtypes, Tensor
  from tinygrad.helpers import getenv, prod, Timing
  from multiprocessing import Queue, Process, shared_memory, connection, Lock
label_desc: Use image node_id 1 for calling a global function with example usage: shuffled_indices(n) without return types