-
Notifications
You must be signed in to change notification settings - Fork 769
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix docs #7054
base: develop
Are you sure you want to change the base?
Fix docs #7054
Conversation
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7054.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
链接一下对应的PR |
@@ -19,7 +19,7 @@ paddle.distributed.fleet.distributed_optimizer(optimizer, strategy=None) | |||
|
|||
| PyTorch | PaddlePaddle | 备注 | | |||
| --------------- | ------------ | --------------------------------------------------------------------- | | |||
| optimizer_class | optimizer | 优化器。 | | |||
| optimizer_class | optimizer | 优化器,仅参数名不一致。 | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个用法应该不一致,torch的optimizer_class是一个class,torch是通过 optimizer_class、args、kwargs 三个参数,来创建一个optimizer实例对象。而paddle里的optimizer是直接传入一个实例对象。
映射文档对齐与修改