I have a 784 element 1-dimensional array that is a flattened 28x28 image.
Is there a nice, snappy, numpy/scipy procedure for translating that 784 element array into a 28x28 array?
Or do I have to do:
for i in range(0,28):
for j in range(0,28):
my_image[i,j] = oneD_vector[28*i + j]