Shapes, Dtypes & Indexing
Read a tensor's shape and slice into it.
Tensors Are Just Numbers in a Grid
A tensor is a box of numbers arranged in rows, columns, or deeper. Everything in deep learning flows through them.
Shape Describes the Layout
The shape tells you how many values sit along each dimension. Read it like dimensions of a box: rows by columns. 📦
All lessons in this course
- Shapes, Dtypes & Indexing
- Reshape, View, Squeeze & Unsqueeze
- Broadcasting Rules That Save You Loops
- Tensors Talk to NumPy