Skip to content

docs: update PyTorch documentation links (tasks #75-79)#7766

Open
2560925365-ux wants to merge 1 commit intoPaddlePaddle:developfrom
2560925365-ux:fix/pytorch-doc-links-75-79
Open

docs: update PyTorch documentation links (tasks #75-79)#7766
2560925365-ux wants to merge 1 commit intoPaddlePaddle:developfrom
2560925365-ux:fix/pytorch-doc-links-75-79

Conversation

@2560925365-ux
Copy link

Summary

更新 PyTorch 文档链接格式:docs.pytorch.orgpytorch.org/docs

涉及任务

修改文件

  • docs/guides/model_convert/convert_from_pytorch/api_difference/args_name_diff/torch.nn.Flatten.md
  • docs/guides/model_convert/convert_from_pytorch/api_difference/args_name_diff/torch.nn.Unflatten.md
  • docs/guides/model_convert/convert_from_pytorch/api_difference/composite_implement/torch.cuda.set_per_process_memory_fraction.md
  • docs/guides/model_convert/convert_from_pytorch/api_difference/output_args_type_diff/torch.Tensor.ge_.md

Related Issue

Refs #7735 (快乐开源任务 #75-#79)

Update PyTorch documentation URLs from old format to new format:
- `docs.pytorch.org` → `pytorch.org/docs`
- Simplified API paths

Updated files:
- torch.nn.Flatten (PaddlePaddle#75)
- torch.nn.Unflatten (PaddlePaddle#76)
- torch.cuda.set_per_process_memory_fraction (PaddlePaddle#77)
- torch.Tensor.ge_ (PaddlePaddle#79)

Note: torch.inference_mode (PaddlePaddle#78) already uses new format, no change needed.

Refs: PaddlePaddle#7735
@paddle-bot
Copy link

paddle-bot bot commented Feb 21, 2026

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

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


花薇薇 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@luotao1 luotao1 added the HappyOpenSource 快乐开源活动issue与PR label Feb 26, 2026
Copy link
Collaborator

@Echo-Nie Echo-Nie left a comment

Choose a reason for hiding this comment

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

  1. PR标题不规范,小助手会无法记录看板,请修改,参考其他PR
image
  1. 注册CLA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor HappyOpenSource 快乐开源活动issue与PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants