-
Notifications
You must be signed in to change notification settings - Fork 875
add diff chinese doc #4122
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
add diff chinese doc #4122
Conversation
|
Thanks for your contribution! |
docs/api/paddle/diff_cn.rst
Outdated
| .. math:: | ||
| out[i] = x[i+1] - x[i] | ||
|
|
||
| 高阶的前向差值可以通过递归方式进行计算,目前只支持n=1。 |
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.
目前只支持n=1。这里也用note的格式
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.
好的,谢谢,已改正
docs/api/paddle/diff_cn.rst
Outdated
| - **n** (int, 可选) - 需要计算前向差值的次数,目前仅支持 `n=1`,默认值为1。 | ||
| - **axis** (int, 可选) - 沿着哪一维度计算前向差值,默认值为-1,也即最后一个维度。 | ||
| - **prepend** (Tensor, 可选) - 在计算前向差值之前,沿着指定维度axis附加到输入x的前面,它的维度需要和输入一致,并且除了axis维外,其他维度的形状也要和输入一致,默认值为None。 | ||
| - **prepend** (Tensor, 可选) - 在计算前向差值之前,沿着指定维度axis附加到输入x的后面,它的维度需要和输入一致,并且除了axis维外,其他维度的形状也要和输入一致,默认值为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.
这里是 append
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.
好的,谢谢,已修改
4f03ec2 to
477db78
Compare
add chinese doc for
paddle.diffop