Skip to content

Commit

Permalink
Add FisherType and KFACType to init to make them easy to import
Browse files Browse the repository at this point in the history
  • Loading branch information
runame committed Jun 12, 2024
1 parent 188f84e commit 08cc6d8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion curvlinops/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
NeumannInverseLinearOperator,
)
from curvlinops.jacobian import JacobianLinearOperator, TransposedJacobianLinearOperator
from curvlinops.kfac import KFACLinearOperator
from curvlinops.kfac import FisherType, KFACLinearOperator, KFACType
from curvlinops.norm.hutchinson import HutchinsonSquaredFrobeniusNormEstimator
from curvlinops.papyan2020traces.spectrum import (
LanczosApproximateLogSpectrumCached,
Expand All @@ -33,6 +33,9 @@
"KFACLinearOperator",
"JacobianLinearOperator",
"TransposedJacobianLinearOperator",
# Enums
"FisherType",
"KFACType",
# inversion
"CGInverseLinearOperator",
"LSMRInverseLinearOperator",
Expand Down

0 comments on commit 08cc6d8

Please sign in to comment.