Gradient LabSign up free

ML glossary › Tensor

What is tensor in machine learning?

A grid of numbers with any number of dimensions: a list, a table, a stack of tables…

Where it shows up

Computer vision

Images as numbers

A grid of numbers with several layers is called a tensor. This one has shape 6 × 6 × 3. A phone photo is about 3000 × 4000 × 3: around 36 million numbers, all going into the network.

See tensor in motion. The lesson animates it step by step, free.

Open the lesson

Related terms