Tensors and shapes
A vector is a list and a matrix is a grid. Stack grids and you have a tensor. Reading shapes is the everyday working skill of anyone who builds models.
7 minute readOne thing to try6 questionsFree
Read the whole lesson free
Make a free account to read on, try the interactive parts, answer the 6 practice questions and keep your progress.
What this lesson covers
- A tensor is a block of numbers with any number of dimensions. Its shape lists the sizes.
- The count of numbers is the product of the shape.
- Layers act on the last dimension. The batch and position dimensions pass through.