[cherry-pick] add paddle.optimizer.LBFGS API and a modify its test case by lijialin03 · Pull Request #53314 · PaddlePaddle/Paddle

@lijialin03

PR types

Others

PR changes

APIs

Describe

Pcard-66961
add paddle.optimizer.LBFGS API
modify numel in _add_grad function to shorten time

@lijialin03

@lijialin03

@paddle-bot

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@paddle-bot

❌ The PR is not created using PR's template. You can refer to this Demo.
Please use PR's template, it helps save our maintainers' time so that more developers get helped.

XieYunshen

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
单测重命名

@lijialin03 lijialin03 changed the title add paddle.optimizer.LBFGS API and a modify its test case [cherry-pick] add paddle.optimizer.LBFGS API and a modify its test case

Apr 25, 2023

@lijialin03

XieYunshen

XiaoguangHu01

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

sunzhongkai588

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM