What you've learned

You should now know how to:

  • Prepare a PyTorch development environment.
  • Download and prepare the MNIST dataset.
  • Create a neural network architecture using PyTorch.
  • Train a neural network using PyTorch.
  • Create an Android app and loading the pre-trained model.
  • Prepare an input dataset.
  • Measure the inference time.
  • Optimize a neural network architecture using quantization and fusing.
  • Use an optimized model in the Android application.

Knowledge Check

Does the input layer of the model flatten the 28x28 pixel image into a 1D array of 784 elements?

Will the model make random predictions if it’s run before training?

Which loss function was used to train the PyTorch model on the MNIST dataset?


Back
Next