system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5 In math, what is a tensor? How is it related to tensorflow from machine learning?
gpt
A single number is called a scalar.

A set of numbers that belong together is a vector. You arrange them as a 1-Dimensional list.

If you add a second dimension by grouping multiple vectors you get a matrix wich for example allows mapping vectors to vectors.

A tensor is has 3 or more dimensions, so it's basically a generalized matrix. They are usefull in a bunch of calculations for 3D effects like tensions (hence the name). It allows you to have a single mathematical construct to represent forces that can be direct, shearing or twisting.

Tensorflow is a platform that uses tensor arithmethics to make all the calculations you need to train your AI more easy to represent.

In informatics terms: a Tensor is multidimensional array basically.