-
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
[Docathon] fix_cn_api_label #6220
[Docathon] fix_cn_api_label #6220
Conversation
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-6220.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
这个 PR 貌似完成了 #6170 大多数,可以在表格里标记下,避免其他人重复认领~ |
是可以的,但这里的问题是 建议: |
模型参数为模型中的 weight 和 bias 统称,在 fluid 中对应 fluid.Parameter 类,继承自 fluid.Variable,是一种可持久化的 variable。 | ||
该 API 的设置仅对模型参数生效,对通过 :ref:`cn_api_paddle_static_create_global_var` 、 :ref:`cn_api_fluid_layers_create_tensor` 等 API 创建的变量不会生效。 | ||
该 API 的设置仅对模型参数生效,对通过 :ref:`cn_api_paddle_static_create_global_var` 、 :ref:`cn_api_paddle_Tensor_create_tensor` 等 API 创建的变量不会生效。 |
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.
- fluid 弃用了,这句话描述应该改一下(参照英文即可)
- 记得新提 PR 补充一下 create_tensor 的中文文档(看API label应该得在
paddel.Tensor
下补充)
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.
get it✨
" :ref:`stop_profiler <cn_api_fluid_profiler_stop_profiler>` ", "停止使用性能分析器" | ||
" :ref:`require_version <cn_api_fluid_require_version>` ", "用于检查已安装的飞桨版本是否介于[min_version, max_version]之间" | ||
" :ref:`Profiler <cn_api_paddle_profiler_Profiler>` ", "通用性能分析器" | ||
" :ref:`require_version <cn_api_paddle_utils_require_version>` ", "用于检查已安装的飞桨版本是否介于[min_version, max_version]之间" |
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.
记得新提 PR 补充require_version
相关文档
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.
get it✨
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
#6170 fix cn api_label(修复 包含 fluid 的 api_label 引用)(都是在处理 api 目录下的引用)
缺失中文文档
暂未查找到对应 api
是否有必要新增api_label,像

.. _cn_api_paddle_profiler_Profiler_summary:
一样,子api_label添加一步文档中引用 <cn_api_[^p] ,<cn_[^a] 类似格式问题的修复(此pr未完成)
@sunzhongkai588 @SigureMo