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

Update case_analysis_cn.md #5210

Merged
merged 2 commits into from
Nov 1, 2022
Merged

Update case_analysis_cn.md #5210

merged 2 commits into from
Nov 1, 2022

Conversation

enkilee
Copy link
Contributor

@enkilee enkilee commented Aug 26, 2022

fix call and 控制流转写的links

fix __call__ and 控制流转写的links
@CLAassistant
Copy link

CLAassistant commented Aug 26, 2022

CLA assistant check
All committers have signed the CLA.

@paddle-bot
Copy link

paddle-bot bot commented Aug 26, 2022

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

@@ -326,7 +326,7 @@ another_func.pdiparams.info // 存放额外的其他信息

## 八、再谈控制流

前面[【控制流转写】(./basic_usage_cn.html#sikongzhiliuzhuanxie)]提到,不论控制流 ``if/for/while`` 语句是否需要转为静态图中的 ``cond_op/while_op`` ,都会先进行代码规范化,如 ``IfElse`` 语句会规范为如下范式:
前面[【控制流转写】](./basic_usage_cn.html#sikongzhiliuzhuanxie)提到,不论控制流 ``if/for/while`` 语句是否需要转为静态图中的 ``cond_op/while_op`` ,都会先进行代码规范化,如 ``IfElse`` 语句会规范为如下范式:
Copy link
Collaborator

Choose a reason for hiding this comment

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

此链接bug已有用户提交pr修复,但链接地址好像不正确./basic_usage_cn.html#sikongzhiliuzhuanxie无控制流转写的文档。
文档在./principle_cn.html#kongzhiliuzhuanxie,麻烦确认。#5207 好像有对这个问题的修复

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Collaborator

@momozi1996 momozi1996 left a comment

Choose a reason for hiding this comment

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

LGTM

@luotao1 luotao1 merged commit 0ae4346 into PaddlePaddle:develop Nov 1, 2022
sunzhongkai588 added a commit to sunzhongkai588/docs that referenced this pull request Nov 2, 2022
fix __call__ and 控制流转写的links

Co-authored-by: zachary sun <70642955+sunzhongkai588@users.noreply.github.com>
jzhang533 pushed a commit to sunzhongkai588/docs that referenced this pull request Nov 3, 2022
fix __call__ and 控制流转写的links

Co-authored-by: zachary sun <70642955+sunzhongkai588@users.noreply.github.com>
sunzhongkai588 added a commit to sunzhongkai588/docs that referenced this pull request Nov 3, 2022
fix __call__ and 控制流转写的links

Co-authored-by: zachary sun <70642955+sunzhongkai588@users.noreply.github.com>
jzhang533 pushed a commit that referenced this pull request Nov 3, 2022
* fix some word errors (#5383)

fix some word errors

* Update case_analysis_cn.md (#5210)

fix __call__ and 控制流转写的links

Co-authored-by: zachary sun <70642955+sunzhongkai588@users.noreply.github.com>

* fix error add links (#5386)

fix error add links

* fix method parameters in guidelines (#5284)

* fix paddle.dist,paddle.roll,paddle.nonzero  (#5365)

* Update dist_cn.rst

把参数从:改成正确的-

* Update dist_cn.rst

* Update roll_cn.rst

* Update nonzero_cn.rst

* fix paddle.meshgrid文档评估 #4417内的标点问题

* Update meshgrid_cn.rst

* Update docs/api/paddle/dist_cn.rst

Co-authored-by: 张春乔 <83450930+Liyulingyue@users.noreply.github.com>

* Update docs/api/paddle/nonzero_cn.rst

Co-authored-by: 张春乔 <83450930+Liyulingyue@users.noreply.github.com>

* help

* Update nonzero_cn.rst

* Update matmul_cn.rst

Co-authored-by: Ligoml <39876205+Ligoml@users.noreply.github.com>
Co-authored-by: 张春乔 <83450930+Liyulingyue@users.noreply.github.com>

* xpu update (#5372)

* [docs] fix paddle.CUDAPlace Parameter error (#5261)

* rm unnecessary pronouns

* Update basic_usage_cn.md

* rm Macos GPU docker

* Update macos-docker_en.md

* Update macos-docker.md

* rm unnecessary pronouns

* Update grammar_list_cn.md

* fix format

* Update case_analysis_cn.md

* add GPU architecture comparison table link

* Update windows-pip.md

* Update windows-pip_en.md

* Update linux-pip.md

* Update linux-pip_en.md

* fix format docs

* fix url lose

* [docs] fix paddle.CUDAPlace Parameter error

* Update CUDAPlace_cn.rst

* [docs] fix Synchronous English documentation

* Update take_along_axis_cn.rst

* [dosc] Supplementary index description:

* ipu_shard_guard_cn.rst

* set_ipu_shard_cn.rst

Modify note Format:

* mlu_places_cn.rst

* [docs] fix note、returns format

* fix put_along_axis_cn.rst returns format

* fix ipu_shard_guard_cn.rst note format

* fix mlu_places_cn.rst note format

* fix set_ipu_shard_cn.rst note format

* fix url change (#5347)

Co-authored-by: Infinity_lee <luhputu0815@gmail.com>
Co-authored-by: Nyakku Shigure <sigure.qaq@gmail.com>
Co-authored-by: 超级码牛 <54444805+SuperCodebull@users.noreply.github.com>
Co-authored-by: Ligoml <39876205+Ligoml@users.noreply.github.com>
Co-authored-by: 张春乔 <83450930+Liyulingyue@users.noreply.github.com>
Co-authored-by: Amberain <rain.lei.yu@qq.com>
Co-authored-by: gouzil <66515297+gouzil@users.noreply.github.com>
Co-authored-by: PuQing <me@puqing.work>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants