I think we should at some point refactor KFACLinearOperator and KFACInverseLinearOperator to inherit from KroneckerProductLinearOperator and EigendecomposedKroneckerProductLinearOperator (or similar) classes since torch_matmat and other methods can be shared. Also, currently KFACInverseLinearOperator doesn't support trace, det, etc. properties which can also be shared.
I think we should at some point refactor
KFACLinearOperator
andKFACInverseLinearOperator
to inherit fromKroneckerProductLinearOperator
andEigendecomposedKroneckerProductLinearOperator
(or similar) classes sincetorch_matmat
and other methods can be shared. Also, currentlyKFACInverseLinearOperator
doesn't support trace, det, etc. properties which can also be shared.