-
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
[Refine] Refine __cuda_array_interface__
#68227
[Refine] Refine __cuda_array_interface__
#68227
Conversation
[pull] develop from PaddlePaddle:develop
[pull] develop from PaddlePaddle:develop
…d add unitest for cuda_array_interface
你的PR提交成功,感谢你对开源项目的贡献! |
cuda array interface
__cuda array interface__
__cuda array interface__
__cuda_array_interface__
python/paddle/tensor/stat.py
Outdated
@@ -266,7 +266,7 @@ def numel(x: Tensor, name: str | None = None) -> Tensor: | |||
Returns the number of elements for a tensor, which is a 0-D int64 Tensor with shape []. | |||
|
|||
Args: | |||
x (Tensor): The input Tensor, it's data type can be bool, float16, float32, float64, int32, int64, complex64, complex128. | |||
x (Tensor): The input Tensor, it's data type can be bool, float16, float32, float64, int8, int32, int64, complex64, complex128. |
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.
uint8 是不是也应该加一下?
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.
uint8 是不是也应该加一下?
- 已添加
- 嗯,正在更新一会儿附上链接
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 Category
User Experience
PR Types
Not User Facing
Description
Pcard-75624
基于 #68192