-
Notifications
You must be signed in to change notification settings - Fork 777
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
Update docs #7081
base: develop
Are you sure you want to change the base?
Update docs #7081
Conversation
Xuxuanang
commented
Mar 6, 2025
- update Matcher and testcase PaConvert#555
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7081.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
docs/guides/model_convert/convert_from_pytorch/api_difference/cuda/torch.cuda.device_of.md
Outdated
Show resolved
Hide resolved
docs/guides/model_convert/convert_from_pytorch/api_difference/cuda/torch.cuda.get_rng_state.md
Show resolved
Hide resolved
...nvert/convert_from_pytorch/api_difference/distributed/torch.distributed.monitored_barrier.md
Show resolved
Hide resolved
...nvert_from_pytorch/api_difference/nn/torch.nn.modules.module.register_module_forward_hook.md
Show resolved
Hide resolved
docs/guides/model_convert/convert_from_pytorch/api_difference/torch/torch.get_default_device.md
Show resolved
Hide resolved
x = torch.cuda.get_rng_state(device='cuda:0') | ||
|
||
# Paddle 写法,返回 GeneratorState 对象 | ||
x = paddle.get_cuda_rng_state()[0] |
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.
如果device无输入的话,应该是取第一个值吗?paddle.get_cuda_rng_state()[0]
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.
这个在Matcher部分又重新修改了一下
...nvert/convert_from_pytorch/api_difference/distributed/torch.distributed.monitored_barrier.md
Outdated
Show resolved
Hide resolved
上面的改了吗 |