Question: how is mnist data stored?
Answer: FILE FORMATS FOR THE MNIST DATABASE The data is stored in a very simple file format designed for storing vectors and multidimensional matrices. ... All the integers in the files are stored in the MSB first (high endian) format used by most non-Intel processors.