-
Notifications
You must be signed in to change notification settings - Fork 766
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
【Hackathon 6th No.1】Add AdaptiveLogSoftmaxWithLoss docs API to Paddle #6606
Conversation
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-6606.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
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.
- 在
paddle.nn.overview
里加一下这俩个 api - 用 pre-commit 自动修复下文档格式
docs/api/paddle/nn/functional/adaptive_log_softmax_with_loss_cn.rst
Outdated
Show resolved
Hide resolved
docs/api/paddle/nn/functional/adaptive_log_softmax_with_loss_cn.rst
Outdated
Show resolved
Hide resolved
docs/api/paddle/nn/functional/adaptive_log_softmax_with_loss_cn.rst
Outdated
Show resolved
Hide resolved
@Chen-Lun-Hao 改好的话,回复一个DONE,或者标记下已完成-》点一下【Resolve Conversation】按钮 |
DONE |
|
docs/api/paddle/nn/functional/adaptive_log_softmax_with_loss_cn.rst
Outdated
Show resolved
Hide resolved
docs/api/paddle/nn/Overview_cn.rst
Outdated
@@ -272,6 +272,8 @@ Loss 层 | |||
" :ref:`paddle.nn.TripletMarginWithDistanceLoss <cn_api_paddle_nn_TripletMarginWithDistanceLoss>` ", "TripletMarginWithDistanceLoss 层" | |||
" :ref:`paddle.nn.MultiLabelSoftMarginLoss <cn_api_paddle_nn_MultiLabelSoftMarginLoss>` ", "多标签 Hinge 损失层" | |||
" :ref:`paddle.nn.MultiMarginLoss <cn_api_paddle_nn_MultiMarginLoss>` ", "MultiMarginLoss 层" | |||
" :ref:`paddle.nn.functional.adaptive_log_softmax_with_loss <cn_api_paddle_nn_functional_adaptive_log_softmax_with_loss>` ", "自适应 logsoftmax 损失函数" |
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.
这个放在 损失函数
下吧,不能算是loss层的类
…n.rst Co-authored-by: zachary sun <70642955+sunzhongkai588@users.noreply.github.com>
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.
LGTM
对应pr: PaddlePaddle/Paddle#63302