i'm new to NNs with Python and Tensorflow, and I'm trying to create the inputs for my CNN. I have CIFAR10 dataset, a 50000x3072 list in Python (a list containing 50000 lists of 3072 elements), for the training images, and i'm not using the CIFAR10 dataset from keras. The CNN is the same used for the basic TF example: https://www.tensorflow.org/tutorials/images/cnn Every 3072 elements list has the following organization: the first 1024 elements are for the first color channel, the seconds 1024 for the second color channel and so on. I want to organize this list using a numpy array in the same way used in keras (an np array of 32 rows, each containing 32 np arrays of 3-dimension lists (3 color channels per pixel)).
I tried to use reshape and other basic functions but i'm not sure what to do to obtain the result.