Skip to content

Commit

Permalink
Remove noqa: C901
Browse files Browse the repository at this point in the history
  • Loading branch information
runame committed May 29, 2024
1 parent 31ff781 commit 27a9095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion curvlinops/kfac.py
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down

0 comments on commit 27a9095

Please sign in to comment.