code: def cifar10_array_iter(X, y, batch_size):
      """Slices numpy arrays into batches"""
      start = 0
      data_size = y.shape[0]
      while start < data_size:
          yield X[start : start + batch_size], y[
              start : start + batch_size
          ]
          start += batch_size
  
file_path: neoml/NeoML/samples/python/cifar10.py
imports: import neoml
  import numpy
  import os
  import time
  import tarfile
label_desc: Use image node_id 5 for calling a global function with example usage: cifar10_array_iter(X, y, batch_size) without return types