@dispatch(np.ndarray)
def chunks(x, chunksize=1024):
    start = 0
    n = len(x)
    while start < n:
        yield x[start:start + chunksize]
        start += chunksize
dataset/ETHPy150Open blaze/blaze/blaze/compute/numpy.py/chunks/original