Deep learning sample with MNIST(Modified National Institute of Standard and Technology database) built-in data set. Mainly illustrated Tensorflow 1.6 deep learning procedures, such as library importation, data loading, deep learning network weights and bias definition, MLP (multi-layer perceptron) network architecture definition, loss function and optimizer, global initialization and model training.