pytensor
pytensor copied to clipboard
PyTensor allows you to define, optimize, and efficiently evaluate mathematical expressions involving multi-dimensional arrays.
### Description Make import `pytensor as pt` basically work like today's `import pytensor.tensor as pt`. For users that's all they need, besides functionality like `scan`, `ifelse`, `function`, `shared` that should...
### Description As discussed in https://github.com/pymc-devs/pytensor/discussions/637 PyTensor is geared mostly towards computational efficiency, although the same machinery could be easily tuned for symbolic simplification. We could create a database of...
### Description https://numpy.org/doc/stable/reference/generated/numpy.hstack.html Others like `vstack`, `column_stack` and so one are probably missing as well. First step is to list all of them and confirm they are missing in `pytensor.tensor`...
## Description ### 1.Function Relocation: The `register_canonicalize` function has been relocated from` tensor.rewriting.basic` to `graph.rewriting.utils`. The move encompasses all necessary imports to ensure seamless functionality in the new location.However, during...
## Description This splits out a controvertial part of #581 code cleanup. See https://github.com/pymc-devs/pytensor/pull/581#discussion_r1448620228. This runs a risk of breaking something extremely subtle, so I think we will not want...
### Description `CholeskySolve` currently raises a non-implemented error on `L_op`, but it could probably just use the generic solve gradient defined in the `SolveBase` from which it inherits. In addition,...
### Description While working on #606 and #607 it became apparent that [`pytensor.tensor.math._tensordot_as_dot`](https://github.com/pymc-devs/pytensor/blob/main/pytensor/tensor/math.py#L2142-L2266) is hard to read or understand, and that it was defective. In #607 we opted to port...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. Release notes Sourced from actions/upload-artifact's releases. v4.0.0 What's Changed The release of upload-artifact@v4 and download-artifact@v4 are major changes to the backend architecture of Artifacts....
It would be really to support complex numbers in pytensor. The feature gets [requested](https://discourse.pymc.io/t/matrix-based-predictions-and-complex-variables/13596/6) on and off. There likely needs to be some discussion over how it should be implemented....
### Description `tensor_copy` is unintuitive and does not come up where one looks for `identity` https://github.com/pymc-devs/pymc/pull/7103#discussion_r1453296462