Skip to content

Commit

Permalink
[DEL] Remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
f-dangel committed Nov 8, 2023
1 parent 1e52ec1 commit 2a04796
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions curvlinops/kfac.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,8 @@

from einops import rearrange
from numpy import ndarray
from torch import Generator, Tensor, cat, einsum
from torch import mean as torch_mean
from torch import no_grad, randn, stack
from torch import sum as torch_sum
from torch import Generator, Tensor, cat, einsum, randn, stack
from torch.nn import CrossEntropyLoss, Linear, Module, MSELoss, Parameter
from torch.nn.functional import log_softmax, softmax
from torch.utils.hooks import RemovableHandle

from curvlinops._base import _LinearOperator
Expand Down

0 comments on commit 2a04796

Please sign in to comment.