-
Notifications
You must be signed in to change notification settings - Fork 874
新增fused transformer encoder 中文文档 #4022
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
新增fused transformer encoder 中文文档 #4022
Conversation
| ------------------------------- | ||
| .. py:class:: paddle.incubate.nn.FusedFeedForward(d_model, dim_feedforward, dropout_rate=0.1, activation='relu', act_dropout_rate=None, normalize_before=False, weight_attr=None, bias_attr=None) | ||
|
|
||
| 这是一个调用融合算子fused_feedforward(参考:ref:`cn_api_incubate_nn_functional_fused_feedforward` )。 |
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.
done
| - **dim_feedforward** (int) - 前馈神经网络中隐藏层的大小。 | ||
| - **dropout_rate** (float,可选) - 对本层的输出进行处理的dropout值, 置零的概率。默认值:0.1。 | ||
| - **activation** (str,可选) - 激活函数。默认值:``relu``。 | ||
| - **act_dropout_rate** (float,可选) - 激活函数后的dropout置零的概率。如果为 `None` 则 `act_dropout_rate = dropout_rate` 。默认值: `None` 。 |
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.
done
TCChenlong
left a comment
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
* 修改错别字 * 备注CPU不支持float16 * update example * add fused_feedforward * add fused_feedforward * add fused_feedforward * opt the description * update docs * update docs * update doc * move fused_feedforward docs position * add incubate/nn/layer * move fused transfomrer doc to incubate/nn/ * modify the doc * modify fused transformer encoder layer doc
* 新增一个融合算子:fused_feedforward (#3999) * 修改错别字 * 备注CPU不支持float16 * update example * add fused_feedforward * add fused_feedforward * add fused_feedforward * opt the description * update docs * update docs * update doc * move fused_feedforward docs position * 新增fused transformer encoder 中文文档 (#4022) * 修改错别字 * 备注CPU不支持float16 * update example * add fused_feedforward * add fused_feedforward * add fused_feedforward * opt the description * update docs * update docs * update doc * move fused_feedforward docs position * add incubate/nn/layer * move fused transfomrer doc to incubate/nn/ * modify the doc * modify fused transformer encoder layer doc
* 新增一个融合算子:fused_feedforward (#3999) * 修改错别字 * 备注CPU不支持float16 * update example * add fused_feedforward * add fused_feedforward * add fused_feedforward * opt the description * update docs * update docs * update doc * move fused_feedforward docs position * 新增fused transformer encoder 中文文档 (#4022) * 修改错别字 * 备注CPU不支持float16 * update example * add fused_feedforward * add fused_feedforward * add fused_feedforward * opt the description * update docs * update docs * update doc * move fused_feedforward docs position * add incubate/nn/layer * move fused transfomrer doc to incubate/nn/ * modify the doc * modify fused transformer encoder layer doc * add some args (#4096) * fix typo (#4105) * fix typo * fix typo * fix ffn doc * fix ffn doc * fix typo
Uh oh!
There was an error while loading. Please reload this page.