Tensor

A tensor is a “block of numbers”.

Ranks

  • Rank 0: Scalar
  • Rank 1: Vector
  • Rank 2: Matrix

Anki

A single number Tensor, eg. 42.1 is called a Scalar.

A multi number Tensor, eg. [7, 2, 1] is called a Vector.

A Tensor like [ [7, 2], [4, 12], [5, 6] ] is called a Matrix.