-
Notifications
You must be signed in to change notification settings - Fork 823
【Paddle Tensor No.21】docs: Add docs for Tensor.bitwise_invert #6932
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
Conversation
bitwise_invert 复用 bitwise_not,两者功能相同
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-6932.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
Out = \sim X | ||
|
||
.. note:: | ||
``paddle.bitwise_invert`` 遵守 broadcasting,如您想了解更多,请参见 `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.
这里为什么会出现broadcasting的相关描述呢?包括英文的API docstring,bitwise系列都是一元运算,与broadcast没有任何关系吧?
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.
https://github.com/PaddlePaddle/docs/blob/develop/docs/api/paddle/bitwise_not_cn.rst
bitwise_not似乎也有一样的问题,我直接复刻过来没有仔细检查。
我要不要修改一起修改一下?以及我发现里面一些链接坏了: line 14 Tenosr介绍
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.
https://github.com/PaddlePaddle/docs/blob/develop/docs/api/paddle/bitwise_not_cn.rst
bitwise_not似乎也有一样的问题,我直接复刻过来没有仔细检查。
我要不要修改一起修改一下?以及我发现里面一些链接坏了:
line 14 Tenosr介绍
暂时只先考虑这个API吧,其他的API之后有时间有精力的话可以再提交一个PR
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得等API合入后再合入,否则CI检查无法通过 |
hi, @MrXnneHang
|
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 for docs
PR types
New features
PR changes
Docs
Describe
Tensor.bitwise_invert 复用 Tensor.bitwise_not,两者功能用法相同。
PaddlePaddle/Paddle#69197