-
Couldn't load subscription status.
- Fork 869
[Docathon][Fix Doc Format No.42] fix prelu_cn API Docs #7549
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
Merged
+3
−3
Merged
Changes from 2 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
6c17320
Update PReLU_cn.rst
www2006hhh 355e341
Merge branch 'develop' into patch-1
Echo-Nie a66a24a
Merge branch 'develop' into patch-1
www2006hhh 9867a7b
Update PReLU_cn.rst
www2006hhh 4e9fcb8
Update PReLU_cn.rst
www2006hhh b368b08
Update PReLU_cn.rst
www2006hhh 92da94e
fix error
Echo-Nie a884fbe
Merge branch 'develop' into patch-1
Echo-Nie File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -12,15 +12,15 @@ PReLU 激活层(PReLU Activation Operator)。计算公式如下: | |||||
|
|
||||||
| PReLU(x) = max(0, x) + weight * min(0, x) | ||||||
|
|
||||||
| 其中,:math:`x` 为输入的 Tensor。 | ||||||
| 其中,:math: ``x`` 为输入的 Tensor。 | ||||||
|
|
||||||
| 参数 | ||||||
| :::::::::: | ||||||
| - **num_parameters** (int,可选) - 可训练`weight`数量,支持 2 种输入:1 - 输入中的所有元素使用同一个`weight`值;输入的通道数 - 在同一个通道中的元素使用同一个`weight`值。默认为 1。 | ||||||
| - **init** (float,可选) - `weight`的初始值。默认为 0.25。 | ||||||
| - **weight_attr** (ParamAttr,可选) - 指定权重参数属性的对象。默认值为 None,表示使用默认的权重参数属性。具体用法请参见 :ref:`cn_api_paddle_ParamAttr` 。 | ||||||
| - **num_parameters** (int,可选) - 可训练 ``weight`` 数量,支持 2 种输入:1 - 输入中的所有元素使用同一个 ``weight`` 值;输入的通道数 - 在同一个通道中的元素使用同一个 ``weight`` 值。默认为 1。 | ||||||
| - **init** (float,可选) - ``weight`` 的初始值。默认为 0.25。 | ||||||
| - **weight_attr** (ParamAttr,可选) - 指定权重参数属性的对象。默认值为 None,表示使用默认的权重参数属性。具体用法请参见 :ref: ``cn_api_paddle_ParamAttr`` 。 | ||||||
|
||||||
| - **weight_attr** (ParamAttr,可选) - 指定权重参数属性的对象。默认值为 None,表示使用默认的权重参数属性。具体用法请参见 :ref: ``cn_api_paddle_ParamAttr`` 。 | |
| - **weight_attr** (ParamAttr,可选) - 指定权重参数属性的对象。默认值为 None,表示使用默认的权重参数属性。具体用法请参见 :ref: `cn_api_paddle_ParamAttr` 。 |
Outdated
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.
api_guide_Name这里不用改成双反引号
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
此外,PR标题不规范,请参考图中标题进行修改