This example illustrates PyTorch 1.12.0 deep learning classification procedures using built-in MNIST data set. This is also a good exercise of PyTorch framework learning. From data generation, batch Tensor data loader creation/usage, dense neural network MLP definition and model definition with loss function and optimizer definition, model training and evaluation, model saving /loading and predict comparison, result visualization, etc.