Skip to content
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

[Docathon][Update Doc No.29] fix the LossFunction #7227

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

Echo-Nie
Copy link
Contributor

@Echo-Nie Echo-Nie commented Apr 4, 2025

参考新文档将原来的LossFunction中使用的过时函数进行替换
Paddle 1.8 与 Paddle 2.0 API 映射表

PaddlePaddle/Paddle#71203

@sunzhongkai588 @DrRyanHuang

Copy link

paddle-bot bot commented Apr 4, 2025

感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7227.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html
预览工具的更多说明,请参考:飞桨文档预览工具

@Echo-Nie
Copy link
Contributor Author

Echo-Nie commented Apr 4, 2025

@DrRyanHuang pls review

Copy link
Collaborator

@DrRyanHuang DrRyanHuang left a comment

Choose a reason for hiding this comment

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

辛苦同学按照预览链接,修复一下 rst 文档的格式,删去与 fluid 相关的内容
http://preview-pr-7227.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/develop/api_guides/low_level/layers/loss_function.html

@@ -11,30 +11,30 @@ Paddle Fluid 中提供了面向多种任务的多种类型的损失函数,以
====

平方误差损失(squared error loss)使用预测值和真实值之间误差的平方作为样本损失,是回归问题中最为基本的损失函数。
API Reference 请参考 :ref:`cn_api_fluid_layers_square_error_cost`。
API Reference 请参考 :ref:`cn_api_nn_functional_square_error_cost`。
Copy link
Collaborator

Choose a reason for hiding this comment

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

辛苦同学以develop最新版为准修改一下,下同

Suggested change
API Reference 请参考 :ref:`cn_api_nn_functional_square_error_cost`。
API Reference 请参考 :ref:`cn_api_paddle_nn_functional_square_error_cost`。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor HappyOpenSource 快乐开源活动issue与PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants