2.3 How Do We Use Tensors in PyTorch?
What we covered in this video lecture
In this video, we went over ten fundamental tensor usage examples, from creating tensors in PyTorch to multiplying two matrices (rank-2 tensors). We will refer to these operations many times when we implement neural networks throughout this course!
Additional resources if you want to learn more
PyTorch tensors have tons of advanced functionality. If you are curious about additional features that we didn’t discuss in this lecture, you can check out the full tensor API documentation here — however, I recommend bookmarking it for later after we trained our first neural networks!
Log in or create a free Lightning.ai account to access:
- Completion badges
- Progress tracking
- Additional downloadable content
- Additional AI education resources
- Notifications when new units are released
- Free cloud computing credits