Skip to content

Commit de83694

Browse files
authored
[Typing] Clean up invalid python.paddle imports (#79313)
1 parent 886db26 commit de83694

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/paddle/amp/grad_scaler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737

3838
if TYPE_CHECKING:
3939
from paddle import Tensor
40+
from paddle.optimizer.optimizer import Optimizer
4041
from paddle.static.amp.decorator import OptimizerWithMixedPrecision
41-
from python.paddle.optimizer.optimizer import Optimizer
4242

4343
class _ScaleStateDict(TypedDict):
4444
scale: Tensor

0 commit comments

Comments
 (0)