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

Shape

The size of an array along each direction, like (3, 4) for 3 rows and 4 columns.

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