def METHOD_NAME(arr, chunk_size):
    assert len(arr) % chunk_size == 0, "arr must be evenly divisible by the chunk size"
    assert chunk_size >= 1, "chunk_size must be at least 1"
    for i in range(0, len(arr), chunk_size):
        yield arr[i : i + chunk_size]