---
# System prepended metadata

title: CS444 - Assignment 1

---

# CS444 - Assignment 1

**Due Date**: Sep 21, 11:59pm ET

## Instructions
### 1. Open the assignment in Google Colab

The link for the assignment is here: https://colab.research.google.com/drive/1cPGD2wCol6teqBXLcTjCc1DukYTUFsqw. Please _do not_ share this link.

### 2. Save a copy to your Google Drive

In Google Colab, click "File" -> "Save a Copy in Drive". This will save a copy of the notebook to your account. By default the name will start with "Copy of ...". Rename the notebook to be the same as the original (in this case, "PyTorch.ipynb").

### 3. Work on the assignment

Make sure you are working with your copy of the assignment. You can save your work ("File" -> "Save") and come back to it at a later time.

Colab collapses the cells by default so please make sure to expand the cells to make sure you do not miss any sections. You can expand all cells with "View" -> "Expand sections".

As indicated in the notebook, there are TODO blocks in the assignment that you will need to modify. **Do not edit any code outside of these blocks.** You may add cells for scratch work as you work through the assignment, but **please make sure to delete any extra cells before submitting.**

Each TODO block has a set of associated `assert` test cases to help you check for correctness. When we grade the assignment, there will be additional test cases not included in your notebook, so please **do not hardcode your answers to make the test cases pass**. Even though they may pass the test cases, you will get 0 points (and possibly more deducted) if you hardcode answers.

**Make sure to run all cells before submitting**. You will only get credit for code that has been run.

### 4. Download the ipynb file

Once you are finished with the assignment, click "File" -> "Download .ipynb" to download your notebook.

**Make sure your downloaded file has the same name as the original notebook**: "PyTorch.ipynb"

### 5. Submit your notebook on Canvas

Upload your PyTorch.ipynb file to canvas.