Skip to content

Commit

Permalink
Bug fix (PaddlePaddle#5963)
Browse files Browse the repository at this point in the history
* bug fix

* bug fix

* bug fix
  • Loading branch information
Liyulingyue authored Jul 22, 2023
1 parent 4eea9b9 commit 7b91576
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
multi_label_soft_margin_loss
-------------------------------

.. py:function:: paddle.nn.functional.multi_label_soft_margin_loss(input, label, weight:Optional=None, reduction: str = 'mean', name:str=None)
.. py:function:: paddle.nn.functional.multi_label_soft_margin_loss(input, label, weight=None, reduction='mean', name=None)
计算输入 `input` 和 `label` 间的 `margin-based loss` 损失。

Expand Down
2 changes: 1 addition & 1 deletion docs/api/paddle/nn/functional/poisson_nll_loss_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

poisson_nll_loss
-------------------------------
.. py:function:: paddle.nn.functional.poisson_nll_loss(input, label, log_input=False, full=False, eps=1e-8, reduction='mean', name=None)
.. py:function:: paddle.nn.functional.poisson_nll_loss(input, label, log_input=True, full=False, epsilon=1e-8, reduction='mean', name=None)
返回 `poisson negative log likelihood`。可在 :ref:`cn_api_paddle_nn_PoissonNLLLoss` 查看详情。

Expand Down

0 comments on commit 7b91576

Please sign in to comment.