-
Notifications
You must be signed in to change notification settings - Fork 764
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 API docs #6844
Fix API docs #6844
Conversation
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-6844.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
|
||
| PyTorch | PaddlePaddle | 备注 | | ||
| ------------- | ------------ | ------------------------------------------------------ | | ||
| tensor_indices_or_sections | num_or_indices | 表示分割的数量或索引,仅参数名不一致。 | |
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.
对于torch传入Tensor的情况,paddle是不是不支持
tensor_indices_or_sections为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.
那是直接标注功能缺失吗
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.
那是直接标注功能缺失吗
功能缺失是指整个API都缺失,这种算 输入参数类型不一致
| PyTorch | PaddlePaddle | 备注 | | ||
| ------------- | ------------ | ------------------------------------------------------ | | ||
| input | x | 表示输入的 Tensor ,仅参数名不一致。 | | ||
| tensor_indices_or_sections | num_or_indices | 表示分割的数量或索引,仅参数名不一致。 | |
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.
同上:
对于torch传入Tensor的情况,paddle是不是不支持
* fix hsplit * fix docs * fix * fix-docs1 * fix docs
修改api映射文档:
torch.hsplit
torch.Tensor.hsplit
torch.dsplit
torch.Tensor.dsplit
torch.tensor_split
torch.Tensor.tensor_split