Skip to content

Commit bb3247e

Browse files
author
Yancey
authored
fix traner.py import error (#10442)
1 parent 9c83fea commit bb3247e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/paddle/fluid/trainer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
# optimizer is same as the parameter of Trainer.__init__. Rename it to opt_module
2424
import optimizer as opt_module
25-
import distribute_transpiler
25+
from transpiler import distribute_transpiler
2626

2727
__all__ = [
2828
'Trainer',

0 commit comments

Comments
 (0)