code: def split(array, chunk_size):
      while len(array) > 0:
          yield array[:chunk_size]
          array = array[chunk_size:]
  
imports: import ray
  from ray import DynamicObjectRefGenerator
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: split(array, chunk_size) without return types