andersch.dev

<2024-10-26 Sat>
[ ai math ]

Tensor

A tensor is a mathematical object that generalizes the concepts of scalars, vectors, and matrices. Tensors can be thought of as multi-dimensional arrays of numerical values that can represent data in various dimensions.

Order (or Rank):

Components:

In deep learning, tensors are used to represent data, such as images (3D tensors) or batches of data (4D tensors).