Index Ai Academy
Glossary · Phase 2 · Math, when you need it

Tensor

Also written: tensors

A grid of numbers with any number of directions: a vector is 1-D, a matrix is 2-D, a stack of matrices is 3-D.

Try it now

A table is a tensor of shape (2, 3). Sum along each axis and see which dimension disappears.

Learn it properly

Tensors · Arrays with more axes: batches, sequences, heads. About 25 minutes.

Create a free account See what's in the lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write