Skip to content

Commit 1db28fd

Browse files
authored
fix adamw DeprecationWarining (#35869) (#36025)
1 parent 45b7627 commit 1db28fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/paddle/optimizer/adamw.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from ..fluid import framework
1919
from ..fluid.framework import Variable
2020
from ..fluid.dygraph import base as imperative_base
21-
from collections import Callable
21+
from collections.abc import Callable
2222
import paddle
2323

2424
_C_ops = core.ops

0 commit comments

Comments
 (0)