For GPU and TPU acceleration, feel free to use Google's Colaboratory environment. This is a free cloud service where you can run Python code (including TensorFlow and PyTorch, which are pre-installed) with GPU or TPU acceleration. The following steps are recommended:
Complementary readings in the textbooks are indicated for every lecture in the course schedule.