Loading...

Tensor

A generalization of scalars, vectors, and matrices to any number of dimensions.

When to use: Any time data has more than 2 axes: image batches, video frames, transformer attention.

Example: Batch of 32 RGB images at 224×224 → tensor shape (32, 3, 224, 224) in PyTorch.

More Linear Algebra Glossary terms