March 2026
Intermediate to advanced
544 pages
15h 56m
English
In the previous chapter, we learned that tensors are the building blocks for data in PyTorch. For PyTorch, neural networks take tensors as input and produce tensors as outputs. In fact, all operations within a neural network and during optimization are operations between tensors, and all parameters (e.g., weights and biases) in a neural network are tensors. Having a good sense of how to perform operations on tensors and index them effectively is central to using tools ...
Read now
Unlock full access