pymc-devs/pytensor
Python library for symbolic mathematical expression optimization and automatic differentiation, serving as the computational backend for PyMC.

Velocity · 7d
+0.5
★ / day
Trend
→steady
star history
PyTensor enables defining, optimizing, and efficiently evaluating mathematical expressions involving multi-dimensional arrays with automatic differentiation support. It maintains static computational graphs that can be modified in-place for advanced optimizations. The library provides compilation targets via C, JAX, and Numba, and serves as the computational backend for PyMC’s Bayesian inference workflows.