pytensor
pytensor copied to clipboard
PyTensor allows you to define, optimize, and efficiently evaluate mathematical expressions involving multi-dimensional arrays.
### Description This adds a lot of complexity for little user benefit (most don't know about this functionality in the first place)
## Description When the `nnet` sub-module was depreciated, the old theano convolution functions went into the trashcan, along with the associated docs. This was partially reverted, but the docs and...
### Description https://pytensor.readthedocs.io/en/latest/tutorial/adding.html I think we should leave types discussion for later and emphasize the laziness until compilation instead. Could also mention the general `tensor` class
Adding equivalent to numpy.nan_to_num functionality (https://numpy.org/doc/stable/reference/generated/numpy.nan_to_num.html) addressing issue 479 (https://github.com/pymc-devs/pytensor/issues/479). ### Motivation for these changes Requested in issue #479 ### Implementation details Added nan_to_num in pytensor/tensor/math.py ### Checklist + [x]...
### Motivation for these changes Picking up this ticket on the PyData Global 2023 OSS sprint :runner: - #471 The motivating issue concerned an issue using PyMC's `Censored` functionality which...
### Description A couple of switches should do the job, no need to implement a new Op https://numpy.org/doc/stable/reference/generated/numpy.nan_to_num.html
### Description Would be great if we could `pip install pytensor` on pyodide. We can build without the cython extension and it works, however, we should create proper pyodide packages...
### Description Besides being way way faster, it would allow us to get rid of `setup.cfg` which AFAICT exists only because flake8 does not support `pyproject.toml`: https://github.com/PyCQA/flake8/issues/234. See #295 https://github.com/pymc-devs/pytensor/blob/main/setup.cfg
### Description The CI dependencies are completely dissociated from the conda pytensor-dev environment specified by `environment.yml`. This led to need a separate commit in #448 that should have gone into...
### Issue with current documentation: This is a collection place for beginner friendly issues that we can point participants to ### Idea or request for content: _No response_