Exciting news! Gradient has launched a FREE GPU plan. Read More
Project Details

PyTorch Tutorial: Building a Neural Network

Learn how to build a neural network from scratch using PyTorch

The Gradient Team


PyTorch has quickly become today's most popular deep learning platform. In this tutorial by Soumith Chintala, one of the creators of PyTorch, you'll learn how to construct neural networks in PyTorch using the torch.nn package. Topics covered include:

  • Defining a neural network
  • Processing inputs
  • Computing the loss
  • Backpropagating the error
  • Updating the network weights