-
Notifications
You must be signed in to change notification settings - Fork 869
[API Compatibility] Add paddle.cuda apis #7470
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
base: develop
Are you sure you want to change the base?
Conversation
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7470.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
📚 本次 PR 文档预览链接 (点击展开)以下是本次 PR 中变更文档的预览链接:
|
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.
LGTM
Q: 为什么paddle.device.xxx api 的代码引用不用 copy-from 的形式? |
paddle.cuda.current_device
paddle.cuda.device_count
paddle.cuda.empty_cache
paddle.cuda.memory_allocated
paddle.cuda.memory_reserved
paddle.cuda.set_device