Skip to content

Commit aa2ca00

Browse files
committed
update: matrix_power
1 parent b64a4c5 commit aa2ca00

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pytorch_optimizer/__init__.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,10 @@
2222
from pytorch_optimizer.sam import SAM
2323
from pytorch_optimizer.sgdp import SGDP
2424
from pytorch_optimizer.shampoo import Shampoo
25-
from pytorch_optimizer.utils import clip_grad_norm, get_optimizer_parameters, normalize_gradient, unit_norm
25+
from pytorch_optimizer.utils import (
26+
clip_grad_norm,
27+
get_optimizer_parameters,
28+
matrix_power,
29+
normalize_gradient,
30+
unit_norm,
31+
)

0 commit comments

Comments
 (0)