f-dangel / curvlinops

PyTorch linear operators for curvature matrices (Hessian, Fisher/GGN, KFAC, ...)
https://curvlinops.readthedocs.io/en/latest/
MIT License
18 stars 8 forks source link

[ADD] more test cases for inverse KFAC and fix bug in `KFAC.load_state_dict` #158

Open runame opened 1 day ago

runame commented 1 day ago

Follow up to #156, sorry, missed a test case.

_Edit: Added even more test cases and discovered and fixed a bug in KFAC's load_state_dict function._

coveralls commented 1 day ago

Pull Request Test Coverage Report for Build 12120638039

Details


Files with Coverage Reduction New Missed Lines %
curvlinops/fisher.py 45 25.76%
<!-- Total: 45 -->
Totals Coverage Status
Change from base Build 12098234071: -2.6%
Covered Lines: 1523
Relevant Lines: 1703

💛 - Coveralls