Load and parse the MNIST test set
The example code starts by loading and parsing the MNIST test set:
The loadMnistImage helper function is not covered here. In simple terms, it just parses the MNIST data files and returns an MnistImage struct for the requested image with a label and a 28*28=784 element array containing the data:
Previous | Next |