Rewrite reshapes that only expand or squeeze dims #1200
+354
−210
Merged
Codecov / codecov/project
succeeded
Feb 17, 2025 in 0s
82.27% (-0.02%) compared to b5a64c7
View this Pull Request on Codecov
82.27% (-0.02%) compared to b5a64c7
Details
Codecov Report
Attention: Patch coverage is 97.67442%
with 3 lines
in your changes missing coverage. Please review.
Project coverage is 82.27%. Comparing base (
b5a64c7
) to head (516f5b9
).
Files with missing lines | Patch % | Lines |
---|---|---|
pytensor/tensor/rewriting/shape.py | 97.22% | 1 Missing and 2 partials |
Additional details and impacted files
@@ Coverage Diff @@
## main #1200 +/- ##
==========================================
- Coverage 82.28% 82.27% -0.02%
==========================================
Files 186 186
Lines 47987 48018 +31
Branches 8629 8634 +5
==========================================
+ Hits 39486 39505 +19
- Misses 6347 6362 +15
+ Partials 2154 2151 -3
Files with missing lines | Coverage Δ | |
---|---|---|
pytensor/graph/rewriting/basic.py | 69.62% <ø> (-0.70%) |
⬇️ |
pytensor/tensor/elemwise.py | 89.01% <100.00%> (+0.04%) |
⬆️ |
pytensor/tensor/shape.py | 90.14% <100.00%> (-0.34%) |
⬇️ |
pytensor/tensor/slinalg.py | 93.52% <100.00%> (ø) |
|
pytensor/tensor/rewriting/shape.py | 82.71% <97.22%> (+0.68%) |
⬆️ |
Loading