def into2dBlocks(arr, n0, n1):
s0, s1 = arr.shape<EOL>b = blockshaped(arr, s0// n0, s1// n1)<EOL>return b.reshape(n0, n1, *b.shape[<NUM_LIT:1>:])<EOL>
similar to blockshaped
but splits an array into n0*n1 blocks