-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
fix boardcasting superlink #48434
fix boardcasting superlink #48434
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
``paddle.%s`` supports broadcasting. If you want know more about broadcasting, please refer to :ref:`user_guide_broadcasting`. | ||
``paddle.%s`` supports broadcasting. If you want know more about broadcasting, please refer to please refer to `Introduction to Tensor`_ . | ||
|
||
.. _Introduction to Tensor: ../../guides/beginner/tensor_en.html#chapter5-broadcasting-of-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.
good job!
我在检查文档的过程中发现paddle.bitwise_not在文档中遗漏了broadcasting的说明,辛苦加上~
``paddle.floor_divide`` supports broadcasting. If you want know more about broadcasting, please refer to :ref:`user_guide_broadcasting` . | ||
``paddle.floor_divide`` supports broadcasting. If you want know more about broadcasting, please refer to `Introduction to Tensor`_ . | ||
|
||
.. _Introduction to Tensor: ../../guides/beginner/tensor_en.html#chapter5-broadcasting-of-tensor | ||
Also note that the name ``floor_divide`` can be misleading, as the quotinents are actually rounded toward zero, not toward negative infinite. |
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.
python/paddle/tensor/math.py
Outdated
@@ -3962,7 +3982,12 @@ def any(x, axis=None, keepdim=False, name=None): | |||
|
|||
def broadcast_shape(x_shape, y_shape): | |||
""" | |||
The function returns the shape of doing operation with broadcasting on tensors of x_shape and y_shape, please refer to :ref:`user_guide_broadcasting` for more details. | |||
The function returns the shape of doing operation with broadcasting on tensors of x_shape and y_shape, please refer to boardcasting for more details. |
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.
please refer to boardcasting for more details. 和下文的note重复了,删掉吧
Co-authored-by: Ligoml <39876205+Ligoml@users.noreply.github.com>
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.
good job!
LGTM
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
* fix boardcasting superlink * Update bitwise_op.cc * fix typo errors(from 48186) * Update python/paddle/distribution/uniform.py Co-authored-by: Ligoml <39876205+Ligoml@users.noreply.github.com> * Update math.py * Update math.py * refix * Update logic.py * BaseTransform api doc; test=docs_preview * Update python/paddle/vision/transforms/transforms.py * for text block; test=docs_preview * Update transforms.py Co-authored-by: Ligoml <39876205+Ligoml@users.noreply.github.com>
PR types
Others
PR changes
Others
Describe
原 PR 见 #48283