IDX file format parser
This is a parser for the IDX file format. The MNIST data files are provided in the data
folder.
using IDX
load("data/train-images.idx3-ubyte")
The load
function returns a triple: an array of dimensions, the datatype specified in the IDX file, and an array for the data. The data array has been reshaped to conform to the dimensions specified in the file.