Adds method chaining support to LightningModule.freeze() and LightningModule.unfreeze() by returning self
#21469
+16
−8
Codecov / codecov/project
succeeded
Jan 12, 2026 in 0s
79% (target 99%)
View this Pull Request on Codecov
79% (target 99%)
Details
Codecov Report
✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79%. Comparing base (be2e8d0) to head (68b34da).
✅ All tests successful. No failed tests found.
❗ There is a different number of reports uploaded between BASE (be2e8d0) and HEAD (68b34da). Click for more details.
Additional details and impacted files
@@ Coverage Diff @@
## master #21469 +/- ##
=========================================
- Coverage 87% 79% -8%
=========================================
Files 270 267 -3
Lines 24059 24004 -55
=========================================
- Hits 20855 18955 -1900
- Misses 3204 5049 +1845
Loading