Skip to content
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

映射文档 添加部分缺失的映射文档 #6252

Merged
merged 6 commits into from
Oct 31, 2023

Conversation

RedContritio
Copy link
Contributor

@RedContritio RedContritio commented Oct 25, 2023

  • 修复 1 个不符合规范的映射文档 torch.Tensor.requires_grad_
  • 添加 9 个缺失的映射文档
    • torch.Tensor.slogdet
    • torch.utils.data.Dataset
    • torch.diag_embed
    • torch.nansum
    • torch.no_grad
    • torch.set_default_dtype
    • torch.set_grad_enabled
    • torch.t
    • torch.where
  • 修复 6 个文档的链接格式错误
  • 更新了映射目录

@zhwesky2010

@paddle-bot
Copy link

paddle-bot bot commented Oct 25, 2023

感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-6252.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html
预览工具的更多说明,请参考:飞桨文档预览工具

@@ -0,0 +1,35 @@
## [ 返回参数类型不一致 ]torch.Tensor.slogdet
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

是说映射类型都标注为 “参数不一致” 是吗,因为看到存量里有第三类的不同记法。

@RedContritio
Copy link
Contributor Author

追加 7 个映射文档

- `torch.diag_embed`
- `torch.nansum`
- `torch.no_grad`
- `torch.set_default_dtype`
- `torch.set_grad_enabled`
- `torch.t`
- `torch.where`

@RedContritio RedContritio changed the title 映射文档 修复部分不规范的映射文档 映射文档 添加部分缺失的映射文档 Oct 30, 2023
Copy link
Collaborator

@zhwesky2010 zhwesky2010 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zhwesky2010 zhwesky2010 merged commit 23144ab into PaddlePaddle:develop Oct 31, 2023
@RedContritio RedContritio deleted the add_loss_mappings branch October 31, 2023 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants