pytensor
pytensor copied to clipboard
Implementation of random variables with PyTorch backend
Description
Related Issue
- [ ] Closes #
- [ ] Related to #
Checklist
- [ ] Checked that the pre-commit linting/style checks pass
- [ ] 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
Type of change
- [x] New feature / enhancement
- [ ] Bug fix
- [ ] Documentation
- [ ] Maintenance
- [ ] Other (please specify):
📚 Documentation preview 📚: https://pytensor--1075.org.readthedocs.build/en/1075/
Codecov Report
Attention: Patch coverage is 82.45614% with 10 lines in your changes missing coverage. Please review.
Project coverage is 82.11%. Comparing base (
07bd48d) to head (6176479). Report is 2 commits behind head on main.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| pytensor/link/pytorch/dispatch/random.py | 82.60% | 8 Missing :warning: |
| pytensor/link/pytorch/dispatch/basic.py | 50.00% | 1 Missing and 1 partial :warning: |
Additional details and impacted files
@@ Coverage Diff @@
## main #1075 +/- ##
=======================================
Coverage 82.10% 82.11%
=======================================
Files 185 186 +1
Lines 48089 48184 +95
Branches 8659 8673 +14
=======================================
+ Hits 39485 39564 +79
- Misses 6439 6452 +13
- Partials 2165 2168 +3
| Files with missing lines | Coverage Δ | |
|---|---|---|
| pytensor/link/pytorch/dispatch/__init__.py | 100.00% <100.00%> (ø) |
|
| pytensor/link/pytorch/linker.py | 100.00% <100.00%> (ø) |
|
| pytensor/link/pytorch/dispatch/basic.py | 93.69% <50.00%> (-0.81%) |
:arrow_down: |
| pytensor/link/pytorch/dispatch/random.py | 82.60% <82.60%> (ø) |
Looking nearly ready!