From 27a9095c53399d2fbe0b76c3fdd7cc9ffd6f6146 Mon Sep 17 00:00:00 2001 From: runame Date: Wed, 29 May 2024 15:54:06 +0100 Subject: [PATCH] Remove noqa: C901 --- curvlinops/kfac.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curvlinops/kfac.py b/curvlinops/kfac.py index 052a64c..855d8a9 100644 --- a/curvlinops/kfac.py +++ b/curvlinops/kfac.py @@ -120,7 +120,7 @@ class KFACLinearOperator(_LinearOperator): _SUPPORTED_FISHER_TYPE: FisherType = FisherType _SUPPORTED_KFAC_APPROX: KFACType = KFACType - def __init__( # noqa: C901 + def __init__( self, model_func: Module, loss_func: Union[MSELoss, CrossEntropyLoss, BCEWithLogitsLoss],