tensor – Tensor operations in PyTensor#
PyTensor’s strength is in expressing symbolic calculations involving tensors.
PyTensor tries to emulate the numpy interface as much as possible in the tensor module.
This means that once TensorVariables are created, it should be possibly to define
symbolic expressions using calls that look just like numpy calls, such as
pt.exp(x).transpose(0, 1)[:, None]
- Basic Tensor Functionality
random– Random number functionalitytensor.utils– Tensor Utilstensor.elemwise– Tensor Elemwisetensor.extra_ops– Tensor Extra Opstensor.io– Tensor IO Opstensor.linalg– Linear Algebra Operationstensor.slinalg– Linear Algebra Ops Using Scipy (deprecated)tensor.nlinalg– Linear Algebra Ops Using Numpy (deprecated)tensor.fft– Fast Fourier Transformstensor.rewriting.math– Tensor Rewrites for Math Operationstensor.rewriting.basic– Tensor Rewritesvectorize()tensor.optimize– Symbolic Optimization Routines