-
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
Update case_analysis_cn.md #5210
Conversation
fix __call__ and 控制流转写的links
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-5210.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
docs/guides/jit/case_analysis_cn.md
Outdated
@@ -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`` 语句会规范为如下范式: |
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.
此链接bug已有用户提交pr修复,但链接地址好像不正确./basic_usage_cn.html#sikongzhiliuzhuanxie
无控制流转写的文档。
文档在./principle_cn.html#kongzhiliuzhuanxie
,麻烦确认。#5207 好像有对这个问题的修复
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.
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
fix __call__ and 控制流转写的links Co-authored-by: zachary sun <70642955+sunzhongkai588@users.noreply.github.com>
fix __call__ and 控制流转写的links Co-authored-by: zachary sun <70642955+sunzhongkai588@users.noreply.github.com>
fix __call__ and 控制流转写的links Co-authored-by: zachary sun <70642955+sunzhongkai588@users.noreply.github.com>
* 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>
fix call and 控制流转写的links