Lecture 6: PyTorch Basics

(Last updated: Jan 27, 2026)

This lecture gives an introduction about using the PyTorch deep learning framework.

Check the GenAI usage policy if you are using the course materials with GenAI for self-study and fact-checking.

Preparation

Watch this 3-minute PyTorch in 100 Seconds video.

Lecture

Below is the link to the online notebook:

Follow the steps below to set up the notebook:

  • Have the JupyterLab environment ready.
  • Download the structured data processing module from the GitHub repository. Or you can also download the zip file from this link.
  • Open the notebook file (docs/pytorch-structured-data.ipynb) and start working on the tasks.

Additional Resources

The following resources give more detailed information about PyTorch:


This site uses Just the Docs, a documentation theme for Jekyll.