load the mnist and use TB to test it.
it's a homework, to search for it, there lists many ways to test the dataset, which are all abridged. so i choose and summarize a simple method. You can search the main idea in the internet, i only provide the codes.
The dataset of the mnist has four files:training images, training labels, test images and test labels. The first two is used to train a proper result which is used to test the tests.
notice:loadImages.m for load the images, loadLabels.m for load the labels, recognize.m for training and getting the result.