Aesara supports symbolic tensor expressions. When you type,

>>> import aesara.tensor as at
>>> x = at.fmatrix()

the x is a TensorVariable instance.

The at.fmatrix object itself is an instance of TensorType. Aesara knows what type of variable x is because x.type points back to at.fmatrix.

This section of the documentation is organized as follows:

  • Tensor objects page explains the various ways in which a tensor variable can be created, the attributes and methods of TensorVariable and TensorType.

  • Tensor creation describes all the ways one can create a TensorVariable.

  • Tensor operations lists the available operations on TensorVariable.