1- |Tests Status | |Coverage | | Gitter |
1+ |Tests Status | |Coverage |
22
3- |Project Name | is a fork of Aesara -- a Python library that allows one to define, optimize, and
4- efficiently evaluate mathematical expressions involving multi-dimensional
5- arrays.
3+ |Project Name | is a fork of `Aesara<https://github.com/aesara-devs/aesara> `__ -- a Python library that allows one to define, optimize, and
4+ efficiently evaluate mathematical expressions involving multi-dimensional arrays.
65
76Features
87========
@@ -19,11 +18,11 @@ Getting started
1918.. code-block :: python
2019
2120 import pytensor
22- from pytensor import tensor as at
21+ from pytensor import tensor as pt
2322
2423 # Declare two symbolic floating-point scalars
25- a = at .dscalar(" a" )
26- b = at .dscalar(" b" )
24+ a = pt .dscalar(" a" )
25+ b = pt .dscalar(" b" )
2726
2827 # Create a simple example expression
2928 c = a + b
@@ -45,8 +44,8 @@ Getting started
4544 # expression graphs by removing unnecessary operations and
4645 # replacing computations with more efficient ones.
4746
48- v = at .vector(" v" )
49- M = at .matrix(" M" )
47+ v = pt .vector(" v" )
48+ M = pt .matrix(" M" )
5049
5150 d = a/ a + (M + a).dot(v)
5251
@@ -131,5 +130,3 @@ Special thanks to `Bram Timmer <http://beside.ca>`__ for the logo.
131130 :target: https://github.com/pymc-devs/pytensor/actions?query=workflow%3ATests
132131.. |Coverage | image :: https://codecov.io/gh/pymc-devs/pytensor/branch/main/graph/badge.svg?token=WVwr8nZYmc
133132 :target: https://codecov.io/gh/pymc-devs/pytensor
134- .. |Gitter | image :: https://badges.gitter.im/pymc-devs/pytensor.svg
135- :target: https://gitter.im/pymc-devs/pytensor?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge
0 commit comments