<!--- Provide a self-contained summary of your changes in the Title above -->
...
<!--- This is what will be shown in the automatic release notes: https://github.com/pymc-devs/pytensor/releases -->
### Implementation details
## Description
...
<!--- Describe your changes in detail -->
## Related Issue
### Checklist
<!--- It is good practice to first open an issue explaining the bug / new feature that is addressed by this PR -->
+[] Explain motivation and implementation 👆
<!--- Please type an `x` in one of the boxes below and provide the issue number after the # sign: -->
+[] Make sure that [the pre-commit linting/style checks pass](https://docs.pymc.io/en/latest/contributing/python_style.html).
-[] Closes issue: #
+[] Link relevant issues, preferably in [nice commit messages](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
-[] Related issue (not closed by this PR): #
+[] The commits correspond to [_relevant logical changes_](https://wiki.openstack.org/wiki/GitCommitMessages#Structural_split_of_changes). Note that if they don't, we will [rewrite/rebase/squash the git history](https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History#_rewriting_history) before merging.
+[] Are the changes covered by tests and docstrings?
## Checklist
+[] Fill out the short summary sections 👇
<!--- Make sure you have completed the following steps before submitting your PR -->
<!--- Feel free to type an `x` in all the boxes below to let us know you have completed the steps: -->
-[] Checked that [the pre-commit linting/style checks pass](https://docs.pymc.io/en/latest/contributing/python_style.html)
## Major / Breaking Changes
-[] Included tests that prove the fix is effective or that the new feature works
- ...
-[] Added necessary documentation (docstrings and/or example notebooks)
-[] If you are a pro: each commit corresponds to a [relevant logical change](https://wiki.openstack.org/wiki/GitCommitMessages#Structural_split_of_changes)
## New features
<!--- You may find this guide helpful: https://mainmatter.com/blog/2021/05/26/keeping-a-clean-git-history/ -->
- ...
## Type of change
## Bugfixes
<!--- Select one of the categories below by typing an `x` in the box -->
- ...
-[] New feature / enhancement
-[] Bug fix
## Documentation
-[] Documentation
- ...
-[] Maintenance
-[] Other (please specify):
## Maintenance
<!--- Additionally, if you are a maintainer or reviewer, please make sure that the appropriate labels are added to this PR -->