Skip to content

Commit

Permalink
Update python/paddle/incubate/optimizer/lars_momentum.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SigureMo authored Oct 20, 2023
1 parent ae25ee6 commit c2b857d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/paddle/incubate/optimizer/lars_momentum.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class LarsMomentumOptimizer(Optimizer):
>>> optimizer = paddle.incubate.optimizer.LarsMomentumOptimizer(learning_rate=0.001, momentum=0.9)
>>> optimizer.minimize(out)
>>> exe = paddle.static.Executor(base.CPUPlace())
>>> exe = paddle.static.Executor(paddle.CPUPlace())
>>> exe.run(paddle.static.default_startup_program())
>>> exe.run(
... feed={"inp": np_inp},
Expand Down

0 comments on commit c2b857d

Please sign in to comment.