-
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
【Hackathon No.60】 overlap_add, sign 算子FP16/BF16单测完善 #52667
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
python/paddle/tensor/math.py
Outdated
@@ -3631,7 +3631,7 @@ def sign(x, name=None): | |||
Returns sign of every element in `x`: 1 for positive, -1 for negative and 0 for zero. | |||
|
|||
Args: | |||
x (Tensor): The input tensor. The data type can be float16, float32 or float64. | |||
x (Tensor): The input tensor. The data type can be float16, float32 or float64, uint16. |
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.
文档无需修改,且描述使用unit16
也不合适,应使用bfloat16
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.
已取消文档修改,使用bfloat16不能识别
a1bc843
to
69f0b34
Compare
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
PR types
Others
PR changes
Others
Describe
overlap_add, sign 算子FP16/BF16单测完善
文档修改
PaddlePaddle/docs#5790